{"version":3,"sources":["vendor/ember-cli/vendor-prefix.js","vendor/loader/loader.js","license.js","loader.js","@ember/-internals/browser-environment/index.js","@ember/-internals/container/index.js","@ember/-internals/environment/index.js","@ember/-internals/error-handling/index.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/runtime/index.js","@ember/-internals/runtime/lib/ext/rsvp.js","@ember/-internals/runtime/lib/mixins/-proxy.js","@ember/-internals/runtime/lib/mixins/action_handler.js","@ember/-internals/runtime/lib/mixins/comparable.js","@ember/-internals/runtime/lib/mixins/container_proxy.js","@ember/-internals/runtime/lib/mixins/registry_proxy.js","@ember/-internals/runtime/lib/mixins/target_action_support.js","@ember/-internals/string/index.js","@ember/-internals/utility-types/index.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/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/utils.js","@ember/-internals/views/lib/views/core_view.js","@ember/-internals/views/lib/views/states.js","@ember/application/index.js","@ember/application/instance.js","@ember/application/lib/lazy_load.js","@ember/application/namespace.js","@ember/array/-internals.js","@ember/array/index.js","@ember/array/lib/make-array.js","@ember/array/mutable.js","@ember/array/proxy.js","@ember/canary-features/index.js","@ember/component/helper.js","@ember/component/index.js","@ember/component/template-only.js","@ember/controller/index.js","@ember/debug/container-debug-adapter.js","@ember/debug/data-adapter.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/inspect.js","@ember/debug/lib/testing.js","@ember/debug/lib/warn.js","@ember/deprecated-features/index.js","@ember/destroyable/index.js","@ember/engine/index.js","@ember/engine/instance.js","@ember/engine/lib/engine-parent.js","@ember/enumerable/index.js","@ember/enumerable/mutable.js","@ember/helper/index.js","@ember/instrumentation/index.js","@ember/modifier/index.js","@ember/object/-internals.js","@ember/object/compat.js","@ember/object/computed.js","@ember/object/core.js","@ember/object/evented.js","@ember/object/events.js","@ember/object/index.js","@ember/object/internals.js","@ember/object/lib/computed/computed_macros.js","@ember/object/lib/computed/reduce_computed_macros.js","@ember/object/mixin.js","@ember/object/observable.js","@ember/object/observers.js","@ember/object/promise-proxy-mixin.js","@ember/object/proxy.js","@ember/owner/index.js","@ember/renderer/index.js","@ember/routing/-internals.js","@ember/routing/hash-location.js","@ember/routing/history-location.js","@ember/routing/index.js","@ember/routing/lib/cache.js","@ember/routing/lib/controller_for.js","@ember/routing/lib/dsl.js","@ember/routing/lib/engines.js","@ember/routing/lib/generate_controller.js","@ember/routing/lib/location-utils.js","@ember/routing/lib/query_params.js","@ember/routing/lib/route-info.js","@ember/routing/lib/router_state.js","@ember/routing/lib/routing-service.js","@ember/routing/lib/utils.js","@ember/routing/location.js","@ember/routing/none-location.js","@ember/routing/route-info.js","@ember/routing/route.js","@ember/routing/router-service.js","@ember/routing/router.js","@ember/routing/transition.js","@ember/runloop/-private/backburner.js","@ember/runloop/index.js","@ember/service/index.js","@ember/template-compilation/index.js","@ember/template-factory/index.js","@ember/template/index.js","@ember/test/adapter.js","@ember/test/index.js","@ember/utils/index.js","@ember/utils/lib/compare.js","@ember/utils/lib/is-equal.js","@ember/utils/lib/is_blank.js","@ember/utils/lib/is_empty.js","@ember/utils/lib/is_none.js","@ember/utils/lib/is_present.js","@ember/utils/lib/type-of.js","@ember/version/index.js","@glimmer/debug.js","@glimmer/destroyable.js","@glimmer/encoder.js","@glimmer/env.js","@glimmer/global-context.js","@glimmer/manager.js","@glimmer/node.js","@glimmer/opcode-compiler.js","@glimmer/owner.js","@glimmer/program.js","@glimmer/reference.js","@glimmer/runtime.js","@glimmer/tracking/index.js","@glimmer/tracking/primitives/cache.js","@glimmer/util.js","@glimmer/validator.js","@glimmer/vm.js","@glimmer/wire-format.js","@simple-dom/document.js","backburner.js.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/ext/application.js","ember-testing/lib/ext/rsvp.js","ember-testing/lib/helpers.js","ember-testing/lib/helpers/and_then.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/pause_test.js","ember-testing/lib/helpers/visit.js","ember-testing/lib/helpers/wait.js","ember-testing/lib/initializers.js","ember-testing/lib/public-api.js","ember-testing/lib/setup_for_testing.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","route-recognizer.js","router_js.js","rsvp.js","vendor/ember-fetch.js","../../src/utils/isFunction.js","../../src/utils/getStyleComputedProperty.js","../../src/utils/getParentNode.js","../../src/utils/getScrollParent.js","../../src/utils/getReferenceNode.js","../../src/utils/isIE.js","../../src/utils/getOffsetParent.js","../../src/utils/isOffsetContainer.js","../../src/utils/getRoot.js","../../src/utils/findCommonOffsetParent.js","../../src/utils/getScroll.js","../../src/utils/includeScroll.js","../../src/utils/getBordersSize.js","../../src/utils/getWindowSizes.js","../../src/utils/getClientRect.js","../../src/utils/getBoundingClientRect.js","../../src/utils/getOffsetRectRelativeToArbitraryNode.js","../../src/utils/getViewportOffsetRectRelativeToArtbitraryNode.js","../../src/utils/isFixed.js","../../src/utils/getFixedPositionOffsetParent.js","../../src/utils/getBoundaries.js","../../src/utils/computeAutoPlacement.js","../../src/utils/getReferenceOffsets.js","../../src/utils/getOuterSizes.js","../../src/utils/getOppositePlacement.js","../../src/utils/getPopperOffsets.js","../../src/utils/find.js","../../src/utils/findIndex.js","../../src/utils/runModifiers.js","../../src/methods/update.js","../../src/utils/isModifierEnabled.js","../../src/utils/getSupportedPropertyName.js","../../src/methods/destroy.js","../../src/utils/getWindow.js","../../src/utils/setupEventListeners.js","../../src/methods/enableEventListeners.js","../../src/utils/removeEventListeners.js","../../src/methods/disableEventListeners.js","../../src/utils/isNumeric.js","../../src/utils/setStyles.js","../../src/utils/setAttributes.js","../../src/utils/getRoundedOffsets.js","../../src/utils/isModifierRequired.js","../../src/utils/getOppositeVariation.js","../../src/utils/clockwise.js","../../src/modifiers/offset.js","../../src/modifiers/arrow.js","../../src/utils/isBrowser.js","../../src/utils/debounce.js","../../src/modifiers/computeStyle.js","../../src/modifiers/flip.js","../../src/index.js","../../src/methods/defaults.js","../../src/modifiers/index.js","../../src/modifiers/shift.js","../../src/modifiers/preventOverflow.js","../../src/modifiers/keepTogether.js","../../src/modifiers/inner.js","../../src/modifiers/hide.js","../../src/modifiers/applyStyle.js","../../js/src/dom/data.js","../../js/src/util/index.js","../../js/src/dom/event-handler.js","../../js/src/dom/manipulator.js","../../js/src/util/config.js","../../js/src/base-component.js","../../js/src/dom/selector-engine.js","../../js/src/util/component-functions.js","../../js/src/alert.js","../../js/src/button.js","../../js/src/util/swipe.js","../../js/src/carousel.js","../../js/src/collapse.js","../../js/src/dropdown.js","../../js/src/util/backdrop.js","../../js/src/util/focustrap.js","../../js/src/util/scrollbar.js","../../js/src/modal.js","../../js/src/offcanvas.js","../../js/src/util/sanitizer.js","../../js/src/util/template-factory.js","../../js/src/tooltip.js","../../js/src/popover.js","../../js/src/scrollspy.js","../../js/src/tab.js","../../js/src/toast.js","../../js/index.umd.js","addon-tree-output/@ember-data/adapter/-private.js","addon-tree-output/@ember-data/adapter/build-url-mixin-AgfAmsW-.js","addon-tree-output/@ember-data/adapter/error.js","addon-tree-output/@ember-data/adapter/index-4RESM7Oz.js","addon-tree-output/@ember-data/adapter/index.js","addon-tree-output/@ember-data/adapter/json-api.js","addon-tree-output/@ember-data/adapter/rest.js","addon-tree-output/@ember-data/adapter/serialize-into-hash-2lQbHRKN.js","addon-tree-output/@ember-data/debug/index.js","addon-tree-output/@ember-data/graph/-private.js","addon-tree-output/@ember-data/json-api/index.js","addon-tree-output/@ember-data/json-api/request.js","addon-tree-output/@ember-data/legacy-compat/-private-1aicprWG.js","addon-tree-output/@ember-data/legacy-compat/-private.js","addon-tree-output/@ember-data/legacy-compat/index.js","addon-tree-output/@ember-data/model/-private.js","addon-tree-output/@ember-data/model/has-many-PdQBns8a.js","addon-tree-output/@ember-data/model/hooks-dXmQbIOF.js","addon-tree-output/@ember-data/model/hooks.js","addon-tree-output/@ember-data/model/index.js","addon-tree-output/@ember-data/model/migration-support.js","addon-tree-output/@ember-data/model/model-YsOraZ6y.js","addon-tree-output/@ember-data/model/util-3DHZJC9h.js","addon-tree-output/@ember-data/request-utils/index.js","addon-tree-output/@ember-data/request/context-g9X123os.js","addon-tree-output/@ember-data/request/fetch.js","addon-tree-output/@ember-data/request/index.js","addon-tree-output/@ember-data/serializer/-private.js","addon-tree-output/@ember-data/serializer/embedded-records-mixin-HTw8JJT1.js","addon-tree-output/@ember-data/serializer/index.js","addon-tree-output/@ember-data/serializer/json-api.js","addon-tree-output/@ember-data/serializer/json.js","addon-tree-output/@ember-data/serializer/rest.js","addon-tree-output/@ember-data/serializer/string-A02hFTMo.js","addon-tree-output/@ember-data/serializer/transform.js","addon-tree-output/@ember-data/serializer/utils-N1ERF6HN.js","addon-tree-output/@ember-data/store/-private.js","addon-tree-output/@ember-data/store/cache-handler-XLbbNJdo.js","addon-tree-output/@ember-data/store/index.js","addon-tree-output/@ember-data/tracking/-private.js","addon-tree-output/@ember-data/tracking/index.js","addon-tree-output/@ember/legacy-built-in-components/components/_has-dom.js","addon-tree-output/@ember/legacy-built-in-components/components/_internals.js","addon-tree-output/@ember/legacy-built-in-components/components/checkbox.js","addon-tree-output/@ember/legacy-built-in-components/components/link-to.js","addon-tree-output/@ember/legacy-built-in-components/components/text-field.js","addon-tree-output/@ember/legacy-built-in-components/components/textarea.js","addon-tree-output/@ember/legacy-built-in-components/index.js","addon-tree-output/@ember/legacy-built-in-components/mixins/_target_action_support.js","addon-tree-output/@ember/legacy-built-in-components/mixins/text-support.js","addon-tree-output/@ember/legacy-built-in-components/templates/empty.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/@ember/string/cache.js","addon-tree-output/@ember/string/index.js","addon-tree-output/@ember/test-waiters/build-waiter.js","addon-tree-output/@ember/test-waiters/index.js","addon-tree-output/@ember/test-waiters/token.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/wait-for.js","addon-tree-output/@ember/test-waiters/waiter-manager.js","addon-tree-output/@embroider/macros/es-compat2.js","addon-tree-output/@embroider/macros/runtime.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/@warp-drive/core-types/identifier.js","addon-tree-output/@warp-drive/core-types/index.js","addon-tree-output/@warp-drive/core-types/request.js","addon-tree-output/@warp-drive/core-types/symbols.js","addon-tree-output/addon-canvas/components/canvas-c.js","addon-tree-output/addon-canvas/components/drawing-component.js","addon-tree-output/addon-canvas/components/saved-img.js","addon-tree-output/addon-canvas/helpers/tr.js","addon-tree-output/addon-canvas/models/CCircle.js","addon-tree-output/addon-canvas/models/CEllipse.js","addon-tree-output/addon-canvas/models/CImg.js","addon-tree-output/addon-canvas/models/CLine.js","addon-tree-output/addon-canvas/models/CPolygon.js","addon-tree-output/addon-canvas/models/CRect.js","addon-tree-output/addon-canvas/models/CShape.js","addon-tree-output/addon-canvas/models/CText.js","addon-tree-output/addon-canvas/models/CTriangle.js","addon-tree-output/addon-canvas/models/OrbitControls.js","addon-tree-output/addon-canvas/models/ParametricGeometry.js","addon-tree-output/addon-canvas/models/ParametrizedCurve.js","addon-tree-output/addon-canvas/models/canvas-buffer.js","addon-tree-output/addon-canvas/models/canvas-data-32.js","addon-tree-output/addon-canvas/models/canvas-data.js","addon-tree-output/addon-canvas/models/canvas-service.js","addon-tree-output/addon-canvas/models/canvas2d-service.js","addon-tree-output/addon-canvas/models/canvas3d-service.js","addon-tree-output/addon-canvas/models/draw-3d-service.js","addon-tree-output/addon-canvas/models/draw-service.js","addon-tree-output/addon-canvas/models/filters/EdgeDetect.js","addon-tree-output/addon-canvas/models/filters/EdgeThinner.js","addon-tree-output/addon-canvas/models/filters/Filter.js","addon-tree-output/addon-canvas/models/filters/HoughTransform.js","addon-tree-output/addon-canvas/models/shapesgenerator.js","addon-tree-output/addon-canvas/models/shapesgenerator3d.js","addon-tree-output/addon-canvas/models/trochoid.js","addon-tree-output/addon-canvas/models/video-service.js","addon-tree-output/addon-canvas/services/animation-service.js","addon-tree-output/addon-canvas/services/colors-service.js","addon-tree-output/calc-utils/models/BigDecimal.js","addon-tree-output/calc-utils/models/BitSet.js","addon-tree-output/calc-utils/models/CTrigonometry.js","addon-tree-output/calc-utils/models/Matrix.js","addon-tree-output/calc-utils/models/MersenneTwister.js","addon-tree-output/calc-utils/models/PointSet.js","addon-tree-output/calc-utils/models/Variations.js","addon-tree-output/calc-utils/models/Vector.js","addon-tree-output/calc-utils/models/grid-adapter-service.js","addon-tree-output/color/routes.js","addon-tree-output/common-components/components/form/canvas-menu.js","addon-tree-output/common-components/components/form/form-component.js","addon-tree-output/common-components/components/form/input-check-box.js","addon-tree-output/common-components/components/form/input-master.js","addon-tree-output/common-components/components/form/input-number-plus-minus.js","addon-tree-output/common-components/components/form/input-text.js","addon-tree-output/common-components/components/form/tabbed-form.js","addon-tree-output/common-components/helpers/tr.js","addon-tree-output/common-components/initializers/navigation-service.js","addon-tree-output/common-components/models/audio/sound.js","addon-tree-output/curve/routes.js","addon-tree-output/drawings/routes.js","addon-tree-output/ember-asset-loader/errors/asset-load.js","addon-tree-output/ember-asset-loader/errors/bundle-load.js","addon-tree-output/ember-asset-loader/errors/load.js","addon-tree-output/ember-asset-loader/loaders/css.js","addon-tree-output/ember-asset-loader/loaders/js.js","addon-tree-output/ember-asset-loader/loaders/utilities.js","addon-tree-output/ember-asset-loader/services/asset-loader.js","addon-tree-output/ember-cached-decorator-polyfill/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-data/-private/core.js","addon-tree-output/ember-data/-private/index.js","addon-tree-output/ember-data/adapter.js","addon-tree-output/ember-data/adapters/errors.js","addon-tree-output/ember-data/adapters/json-api.js","addon-tree-output/ember-data/adapters/rest.js","addon-tree-output/ember-data/attr.js","addon-tree-output/ember-data/index.js","addon-tree-output/ember-data/model.js","addon-tree-output/ember-data/relationships.js","addon-tree-output/ember-data/serializer.js","addon-tree-output/ember-data/serializers/embedded-records-mixin.js","addon-tree-output/ember-data/serializers/json-api.js","addon-tree-output/ember-data/serializers/json.js","addon-tree-output/ember-data/serializers/rest.js","addon-tree-output/ember-data/setup-container.js","addon-tree-output/ember-data/store.js","addon-tree-output/ember-data/transform.js","addon-tree-output/ember-data/version.js","addon-tree-output/ember-engines/-private/controller-ext.js","addon-tree-output/ember-engines/-private/deprecate-transition-methods.js","addon-tree-output/ember-engines/-private/engine-ext.js","addon-tree-output/ember-engines/-private/engine-instance-ext.js","addon-tree-output/ember-engines/-private/route-ext.js","addon-tree-output/ember-engines/-private/router-ext.js","addon-tree-output/ember-engines/components/link-to-external-component.js","addon-tree-output/ember-engines/components/link-to-external.js","addon-tree-output/ember-engines/engine.js","addon-tree-output/ember-engines/initializers/engines.js","addon-tree-output/ember-engines/routes.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-inflector/index.js","addon-tree-output/ember-inflector/lib/helpers/pluralize.js","addon-tree-output/ember-inflector/lib/helpers/singularize.js","addon-tree-output/ember-inflector/lib/system.js","addon-tree-output/ember-inflector/lib/system/inflections.js","addon-tree-output/ember-inflector/lib/system/inflector.js","addon-tree-output/ember-inflector/lib/system/string.js","addon-tree-output/ember-inflector/lib/utils/make-helper.js","addon-tree-output/ember-intl/-private/formatjs/format-date.js","addon-tree-output/ember-intl/-private/formatjs/format-list.js","addon-tree-output/ember-intl/-private/formatjs/format-message.js","addon-tree-output/ember-intl/-private/formatjs/format-number.js","addon-tree-output/ember-intl/-private/formatjs/format-relative.js","addon-tree-output/ember-intl/-private/formatjs/format-time.js","addon-tree-output/ember-intl/-private/formatjs/index.js","addon-tree-output/ember-intl/-private/utils/escape-format-message-options.js","addon-tree-output/ember-intl/-private/utils/get-dom.js","addon-tree-output/ember-intl/-private/utils/locale.js","addon-tree-output/ember-intl/-private/utils/translations.js","addon-tree-output/ember-intl/helpers/format-date.js","addon-tree-output/ember-intl/helpers/format-list.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/services/intl.js","addon-tree-output/ember-intl/template-registry.js","addon-tree-output/ember-intl/translations.js","addon-tree-output/ember-load-initializers/index.js","addon-tree-output/ember-resolver/container-debug-adapter.js","addon-tree-output/ember-resolver/features.js","addon-tree-output/ember-resolver/index.js","addon-tree-output/ember-resolver/string/cache.js","addon-tree-output/ember-resolver/string/index.js","addon-tree-output/ember-resolver/utils/class-factory.js","addon-tree-output/ember-test-waiters/index.js","addon-tree-output/fractals-lib/models/Complex.js","addon-tree-output/fractals-lib/models/fractal-parameters.js","addon-tree-output/fractals-lib/models/fractal-process.js","addon-tree-output/fractals-lib/models/fractal.js","addon-tree-output/fractals-lib/models/ganeshabrot-process.js","addon-tree-output/fractals-lib/models/ganeshabrot.js","addon-tree-output/fractals-lib/models/julia-star-functions.js","addon-tree-output/fractals-lib/models/julia-star-parameters.js","addon-tree-output/fractals-lib/models/julia-star.js","addon-tree-output/fractals-lib/models/mandelbrot-functions.js","addon-tree-output/fractals-lib/models/mandelbrot-parameters.js","addon-tree-output/fractals-lib/models/mandelbrot-process.js","addon-tree-output/fractals-lib/models/mandelbrot.js","addon-tree-output/fractals-lib/models/mandelbrot3d.js","addon-tree-output/fractals-lib/models/mandelbulb.js","addon-tree-output/fractals-lib/models/newton-fractal-extra.js","addon-tree-output/fractals-lib/models/newton-fractal-functions.js","addon-tree-output/fractals-lib/models/newton-fractal-parameters.js","addon-tree-output/fractals-lib/models/newton-fractal-process.js","addon-tree-output/fractals-lib/models/newton-fractal.js","addon-tree-output/fractals-lib/models/workers/canvas2DDrawer.js","addon-tree-output/fractals-lib/models/workers/canvas3DDrawer.js","addon-tree-output/fractals-lib/models/workers/color-drawer.js","addon-tree-output/fractals-lib/models/workers/color.js","addon-tree-output/fractals-lib/models/workers/colorDemo.js","addon-tree-output/fractals-lib/models/workers/complex.js","addon-tree-output/fractals-lib/models/workers/julia.js","addon-tree-output/fractals-lib/models/workers/juliaDemo.js","addon-tree-output/fractals-lib/models/workers/juliaGL.js","addon-tree-output/fractals-lib/models/workers/juliaWrkDrawer.js","addon-tree-output/fractals-lib/models/workers/palette.js","addon-tree-output/games/routes.js","addon-tree-output/generative/routes.js","addon-tree-output/illusions/routes.js","addon-tree-output/maths/routes.js","addon-tree-output/music/routes.js","addon-tree-output/surface/routes.js","addon-tree-output/univers-app-components/components/banner-item.js","addon-tree-output/univers-app-components/components/banner.js","addon-tree-output/univers-app-components/components/cursor-hover.js","addon-tree-output/univers-app-components/components/deviant-art-item.js","addon-tree-output/univers-app-components/components/gallery-item.js","addon-tree-output/univers-app-components/components/gallery-thumbnail.js","addon-tree-output/univers-app-components/components/gallery-thumbnails.js","addon-tree-output/univers-app-components/components/gallery.js","addon-tree-output/univers-app-components/components/index-card.js","addon-tree-output/univers-app-components/components/links-navbar.js","addon-tree-output/univers-app-components/components/main-menu.js","addon-tree-output/univers-app-components/components/main-navbar.js","addon-tree-output/univers-app-components/components/post-home-item.js","addon-tree-output/univers-app-components/components/post-item.js","addon-tree-output/univers-app-components/components/posts-list.js","addon-tree-output/univers-app-components/components/switch-lang.js","addon-tree-output/univers-app-components/components/view-component.js","addon-tree-output/univers-app-components/routes/index.js","addon-tree-output/univers-app-components/routes/view-route.js","addon-tree-output/univers-app-components/services/data-service.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\":false,\"_TEMPLATE_ONLY_GLIMMER_COMPONENTS\":true});\n\n// used to determine if the application should be booted immediately when `app-name.js` is evaluated\n// when `runningTests` the `app-name.js` file will **not** import the applications `app/app.js` and\n// call `Application.create(...)` on it. Additionally, applications can opt-out of this behavior by\n// setting `autoRun` to `false` in their `ember-cli-build.js`\n//\n// The default `test-support.js` file will set this to `true` when it runs (so that Application.create()\n// is not ran when running tests).\nvar runningTests = false;\n\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);","/*!\n * @overview  Ember - JavaScript Application Framework\n * @copyright Copyright 2011 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   5.8.0\n */","/* eslint-disable no-var */\n/* globals global globalThis self */\n/* eslint-disable-next-line no-unused-vars */\nvar define, require;\n(function () {\n  var globalObj = typeof globalThis !== 'undefined' ? globalThis : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : null;\n  if (globalObj === null) {\n    throw new Error('unable to locate global object');\n  }\n  if (typeof globalObj.define === 'function' && typeof globalObj.require === 'function') {\n    define = globalObj.define;\n    require = globalObj.require;\n    return;\n  }\n  var registry = Object.create(null);\n  var seen = Object.create(null);\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  function internalRequire(_name, referrerName) {\n    var name = _name;\n    var mod = registry[name];\n    if (!mod) {\n      name = name + '/index';\n      mod = registry[name];\n    }\n    var exports = seen[name];\n    if (exports !== undefined) {\n      return exports;\n    }\n    exports = seen[name] = {};\n    if (!mod) {\n      missingModule(_name, referrerName);\n    }\n    var deps = mod.deps;\n    var callback = mod.callback;\n    var reified = new Array(deps.length);\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] = require(deps[i], name);\n      }\n    }\n    callback.apply(this, reified);\n    return exports;\n  }\n  require = function (name) {\n    return internalRequire(name, null);\n  };\n  define = function (name, deps, callback) {\n    registry[name] = {\n      deps: deps,\n      callback: callback\n    };\n  };\n\n  // setup `require` module\n  require['default'] = require;\n  require.has = function registryHas(moduleName) {\n    return Boolean(registry[moduleName]) || Boolean(registry[moduleName + '/index']);\n  };\n  require._eak_seen = require.entries = registry;\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.window = _exports.userAgent = _exports.location = _exports.isFirefox = _exports.isChrome = _exports.history = _exports.hasDOM = void 0;\n  // check if window exists and actually is the global\n  var hasDom = _exports.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  const window = _exports.window = hasDom ? self : null;\n  const location$1 = _exports.location = hasDom ? self.location : null;\n  const history$1 = _exports.history = hasDom ? self.history : null;\n  const userAgent = _exports.userAgent = hasDom ? self.navigator.userAgent : 'Lynx (textmode)';\n  const isChrome = _exports.isChrome = hasDom ? typeof chrome === 'object' && !(typeof opera === 'object') : false;\n  const isFirefox = _exports.isFirefox = hasDom ? /Firefox|FxiOS/.test(userAgent) : false;\n});","define(\"@ember/-internals/container/index\", [\"exports\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/owner\"], function (_exports, _utils, _debug, _owner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Registry = _exports.INIT_FACTORY = _exports.Container = void 0;\n  _exports.getFactoryFor = getFactoryFor;\n  _exports.privatize = privatize;\n  _exports.setFactoryFor = setFactoryFor;\n  let leakTracking;\n  let containers;\n  if (true /* DEBUG */) {\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          let 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            reset() {\n              let values = GetWeakSetValues(containers);\n              for (let i = 0; i < values.length; i++) {\n                containers.delete(values[i]);\n              }\n            }\n          };\n        })();\n      }\n    } catch (e) {\n      // 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  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      if (true /* DEBUG */) {\n        this.validationCache = (0, _utils.dictionary)(options.validationCache || null);\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     @private\n     @property cache\n     @type InheritingDict\n     */\n    /**\n     @private\n     @property validationCache\n     @type InheritingDict\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 {RegisterOptions} [options]\n     @return {any}\n     */\n    lookup(fullName, options) {\n      if (this.isDestroyed) {\n        throw new Error(`Cannot call \\`.lookup('${fullName}')\\` after the owner has been destroyed`);\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    destroy() {\n      this.isDestroying = true;\n      destroyDestroyables(this);\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    reset(fullName) {\n      if (this.isDestroyed) return;\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    ownerInjection() {\n      let injection = {};\n      (0, _owner.setOwner)(injection, this.owner);\n      return injection;\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     @return {any}\n     */\n    factoryFor(fullName) {\n      if (this.isDestroyed) {\n        throw new Error(`Cannot call \\`.factoryFor('${fullName}')\\` after the owner has been destroyed`);\n      }\n      let 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      return factoryFor(this, normalizedName, fullName);\n    }\n  }\n  _exports.Container = Container;\n  if (true /* DEBUG */) {\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  function wrapManagerInDeprecationProxy(manager) {\n    let validator = {\n      set(_obj, prop) {\n        throw new Error(`You attempted to set \"${String(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    let m = manager;\n    let proxiedManager = {\n      class: m.class,\n      create(props) {\n        return m.create(props);\n      }\n    };\n    return new Proxy(proxiedManager, validator);\n  }\n  function isSingleton(container, fullName) {\n    return container.registry.getOption(fullName, 'singleton') !== false;\n  }\n  function isInstantiatable(container, fullName) {\n    return container.registry.getOption(fullName, 'instantiate') !== false;\n  }\n  function lookup(container, fullName, options = {}) {\n    let normalizedName = fullName;\n    if (options.singleton === true || options.singleton === undefined && isSingleton(container, fullName)) {\n      let cached = container.cache[normalizedName];\n      if (cached !== undefined) {\n        return cached;\n      }\n    }\n    return instantiateFactory(container, normalizedName, fullName, options);\n  }\n  function factoryFor(container, normalizedName, fullName) {\n    let cached = container.factoryManagerCache[normalizedName];\n    if (cached !== undefined) {\n      return cached;\n    }\n    let factory = container.registry.resolve(normalizedName);\n    if (factory === undefined) {\n      return;\n    }\n    if (true /* DEBUG */ && factory && typeof factory._onLookup === 'function') {\n      factory._onLookup(fullName);\n    }\n    let manager = new InternalFactoryManager(container, factory, fullName, normalizedName);\n    if (true /* DEBUG */) {\n      manager = wrapManagerInDeprecationProxy(manager);\n    }\n    container.factoryManagerCache[normalizedName] = manager;\n    return manager;\n  }\n  function isSingletonClass(container, fullName, {\n    instantiate,\n    singleton\n  }) {\n    return singleton !== false && !instantiate && isSingleton(container, fullName) && !isInstantiatable(container, fullName);\n  }\n  function isSingletonInstance(container, fullName, {\n    instantiate,\n    singleton\n  }) {\n    return singleton !== false && instantiate !== false && (singleton === true || isSingleton(container, fullName)) && isInstantiatable(container, fullName);\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  function isFactoryInstance(container, fullName, {\n    instantiate,\n    singleton\n  }) {\n    return instantiate !== false && (singleton === false || !isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n  }\n  function instantiateFactory(container, normalizedName, fullName, options) {\n    let factoryManager = factoryFor(container, normalizedName, fullName);\n    if (factoryManager === undefined) {\n      return;\n    }\n    // SomeClass { singleton: true, instantiate: true } | { singleton: true } | { instantiate: true } | {}\n    // By default majority of objects fall into this case\n    if (isSingletonInstance(container, fullName, options)) {\n      let instance = container.cache[normalizedName] = factoryManager.create();\n      // if this lookup happened _during_ destruction (emits a deprecation, but\n      // is still possible) ensure that it gets destroyed\n      if (container.isDestroying) {\n        if (typeof instance.destroy === 'function') {\n          instance.destroy();\n        }\n      }\n      return instance;\n    }\n    // SomeClass { singleton: false, instantiate: true }\n    if (isFactoryInstance(container, fullName, options)) {\n      return factoryManager.create();\n    }\n    // SomeClass { singleton: true, instantiate: false } | { instantiate: false } | { singleton: false, instantiation: false }\n    if (isSingletonClass(container, fullName, options) || isFactoryClass(container, fullName, options)) {\n      return factoryManager.class;\n    }\n    throw new Error('Could not create factory');\n  }\n  function destroyDestroyables(container) {\n    let cache = container.cache;\n    let keys = Object.keys(cache);\n    for (let key of keys) {\n      let value = cache[key];\n      (true && !(value) && (0, _debug.assert)('has cached value', value));\n      if (value.destroy) {\n        value.destroy();\n      }\n    }\n  }\n  function resetCache(container) {\n    container.cache = (0, _utils.dictionary)(null);\n    container.factoryManagerCache = (0, _utils.dictionary)(null);\n  }\n  function resetMember(container, fullName) {\n    let member = container.cache[fullName];\n    delete container.factoryManagerCache[fullName];\n    if (member) {\n      delete container.cache[fullName];\n      if (member.destroy) {\n        member.destroy();\n      }\n    }\n  }\n  const INIT_FACTORY = _exports.INIT_FACTORY = Symbol('INIT_FACTORY');\n  function getFactoryFor(obj) {\n    // SAFETY: since we know `obj` is an `object`, we also know we can safely ask\n    // whether a key is set on it.\n    return obj[INIT_FACTORY];\n  }\n  function setFactoryFor(obj, factory) {\n    // SAFETY: since we know `obj` is an `object`, we also know we can safely set\n    // a key it safely at this location. (The only way this could be blocked is if\n    // someone has gone out of their way to use `Object.defineProperty()` with our\n    // internal-only symbol and made it `writable: false`.)\n    obj[INIT_FACTORY] = factory;\n  }\n  class InternalFactoryManager {\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    }\n    toString() {\n      if (this.madeToString === undefined) {\n        this.madeToString = this.container.registry.makeToString(this.class, this.fullName);\n      }\n      return this.madeToString;\n    }\n    create(options) {\n      let {\n        container\n      } = this;\n      if (container.isDestroyed) {\n        throw new Error(`Cannot create new instances after the owner has been destroyed (you attempted to create ${this.fullName})`);\n      }\n      let props = options ? {\n        ...options\n      } : {};\n      (0, _owner.setOwner)(props, container.owner);\n      setFactoryFor(props, this);\n      if (true /* DEBUG */) {\n        let lazyInjections;\n        let validationCache = this.container.validationCache;\n        // Ensure that all lazy injections are valid at instantiation time\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        validationCache[this.fullName] = true;\n        (true && !(typeof this.class.create === 'function') && (0, _debug.assert)(`Failed to create an instance of '${this.normalizedName}'. Most likely an improperly defined class or an invalid module export.`, typeof this.class.create === 'function'));\n      }\n      return this.class.create(props);\n    }\n  }\n  const 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  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._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     An object that has a `resolve` method that resolves a name.\n        @private\n     @property resolver\n     @type Resolver\n     */\n    /**\n     @private\n     @property registrations\n     @type InheritingDict\n     */\n    /**\n     @private\n        @property _normalizeCache\n     @type InheritingDict\n     */\n    /**\n     @private\n        @property _resolveCache\n     @type InheritingDict\n     */\n    /**\n     @private\n        @property _options\n     @type InheritingDict\n     */\n    /**\n     @private\n        @property _typeOptions\n     @type InheritingDict\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    container(options) {\n      return new Container(this, options);\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      let 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      this._failSet.delete(normalizedName);\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    unregister(fullName) {\n      (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n      let normalizedName = this.normalize(fullName);\n      delete this.registrations[normalizedName];\n      delete this._resolveCache[normalizedName];\n      delete this._options[normalizedName];\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     @return {Function} fullName's factory\n     */\n    resolve(fullName) {\n      let factory = resolve(this, this.normalize(fullName));\n      if (factory === undefined && this.fallback !== null) {\n        factory = this.fallback.resolve(fullName);\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    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    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    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    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 typeof factory === 'string' ? factory : factory.name ?? '(unknown class)';\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    has(fullName) {\n      if (!this.isValidFullName(fullName)) {\n        return false;\n      }\n      return has(this, this.normalize(fullName));\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    optionsForType(type, options) {\n      this._typeOptions[type] = options;\n    }\n    getOptionsForType(type) {\n      let optionsForType = this._typeOptions[type];\n      if (optionsForType === undefined && this.fallback !== null) {\n        optionsForType = this.fallback.getOptionsForType(type);\n      }\n      return optionsForType;\n    }\n    /**\n     @private\n     @method options\n     @param {String} fullName\n     @param {Object} options\n     */\n    options(fullName, options) {\n      let normalizedName = this.normalize(fullName);\n      this._options[normalizedName] = options;\n    }\n    getOptions(fullName) {\n      let normalizedName = this.normalize(fullName);\n      let options = this._options[normalizedName];\n      if (options === undefined && this.fallback !== null) {\n        options = this.fallback.getOptions(fullName);\n      }\n      return options;\n    }\n    getOption(fullName, optionName) {\n      let options = this._options[fullName];\n      if (options !== undefined && options[optionName] !== undefined) {\n        return options[optionName];\n      }\n      let type = fullName.split(':')[0];\n      (true && !(type) && (0, _debug.assert)('has type', type)); // split always will have at least one value\n      options = this._typeOptions[type];\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      return undefined;\n    }\n    /**\n     @private\n     @method knownForType\n     @param {String} type the type to iterate over\n    */\n    knownForType(type) {\n      let localKnown = (0, _utils.dictionary)(null);\n      let registeredNames = Object.keys(this.registrations);\n      for (let fullName of registeredNames) {\n        let itemType = fullName.split(':')[0];\n        if (itemType === type) {\n          localKnown[fullName] = true;\n        }\n      }\n      let fallbackKnown, resolverKnown;\n      if (this.fallback !== null) {\n        fallbackKnown = this.fallback.knownForType(type);\n      }\n      if (this.resolver !== null && this.resolver.knownForType) {\n        resolverKnown = this.resolver.knownForType(type);\n      }\n      return Object.assign({}, fallbackKnown, localKnown, resolverKnown);\n    }\n    isValidFullName(fullName) {\n      return VALID_FULL_NAME_REGEXP.test(fullName);\n    }\n  }\n  _exports.Registry = Registry;\n  if (true /* DEBUG */) {\n    const proto = Registry.prototype;\n    proto.normalizeInjectionsHash = function (hash) {\n      let injections = [];\n      for (let key in hash) {\n        if (Object.prototype.hasOwnProperty.call(hash, key)) {\n          let value = hash[key];\n          (true && !(value) && (0, _debug.assert)('has value', value));\n          let {\n            specifier\n          } = value;\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          });\n        }\n      }\n      return injections;\n    };\n    proto.validateInjections = function (injections) {\n      if (!injections) {\n        return;\n      }\n      for (let injection of injections) {\n        let {\n          specifier\n        } = injection;\n        (true && !(this.has(specifier)) && (0, _debug.assert)(`Attempting to inject an unknown injection: '${specifier}'`, this.has(specifier)));\n      }\n    };\n  }\n  function resolve(registry, _normalizedName) {\n    let normalizedName = _normalizedName;\n    let cached = registry._resolveCache[normalizedName];\n    if (cached !== undefined) {\n      return cached;\n    }\n    if (registry._failSet.has(normalizedName)) {\n      return;\n    }\n    let resolved;\n    if (registry.resolver) {\n      resolved = registry.resolver.resolve(normalizedName);\n    }\n    if (resolved === undefined) {\n      resolved = registry.registrations[normalizedName];\n    }\n    if (resolved === undefined) {\n      registry._failSet.add(normalizedName);\n    } else {\n      registry._resolveCache[normalizedName] = resolved;\n    }\n    return resolved;\n  }\n  function has(registry, fullName) {\n    return registry.resolve(fullName) !== undefined;\n  }\n  const privateNames = (0, _utils.dictionary)(null);\n  const privateSuffix = `${Math.random()}${Date.now()}`.replace('.', '');\n  function privatize([fullName]) {\n    (true && !(arguments.length === 1 && fullName) && (0, _debug.assert)('has a single string argument', arguments.length === 1 && fullName));\n    let name = privateNames[fullName];\n    if (name) {\n      return name;\n    }\n    let [type, rawName] = fullName.split(':');\n    return privateNames[fullName] = (0, _utils.intern)(`${type}:${rawName}-${privateSuffix}`);\n  }\n});","define(\"@ember/-internals/environment/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.context = _exports.ENV = void 0;\n  _exports.getENV = getENV;\n  _exports.getLookup = getLookup;\n  _exports.global = void 0;\n  _exports.setLookup = setLookup;\n  // from lodash to catch fake globals\n  function checkGlobal(value) {\n    return value && value.Object === Object ? value : undefined;\n  }\n  // element ids can ruin global miss checks\n  function checkElementIdShadowing(value) {\n    return value && value.nodeType === undefined ? value : undefined;\n  }\n  // export real global\n  var global$1 = _exports.global = checkGlobal(checkElementIdShadowing(typeof global === 'object' && global)) || checkGlobal(typeof self === 'object' && self) || checkGlobal(typeof window === 'object' && window) || typeof mainContext !== 'undefined' && mainContext ||\n  // set before strict mode in Ember loader/wrapper\n  new Function('return this')(); // eval outside of strict mode\n\n  // legacy imports/exports/lookup stuff (should we keep this??)\n  const context = _exports.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  function getLookup() {\n    return context.lookup;\n  }\n  function setLookup(value) {\n    context.lookup = value;\n  }\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  const ENV = _exports.ENV = {\n    ENABLE_OPTIONAL_FEATURES: false,\n    /**\n      Determines whether Ember should add to `Array`\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    },\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      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      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      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      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      before the \"vendor\" `<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 /* DEBUG */,\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     Whether the app still has default record-loading behavior in the model\n     hook from RFC https://rfcs.emberjs.com/id/0774-implicit-record-route-loading\n     This will also remove the default store property from the route.\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 _NO_IMPLICIT_ROUTE_MODEL\n     @for EmberENV\n     @type Boolean\n     @default false\n     @private\n     */\n    _NO_IMPLICIT_ROUTE_MODEL: false,\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  (EmberENV => {\n    if (typeof EmberENV !== 'object' || EmberENV === null) return;\n    for (let flag in EmberENV) {\n      if (!Object.prototype.hasOwnProperty.call(EmberENV, flag) || flag === 'EXTEND_PROTOTYPES' || flag === 'EMBER_LOAD_HOOKS') continue;\n      let defaultValue = ENV[flag];\n      if (defaultValue === true) {\n        ENV[flag] = EmberENV[flag] !== false;\n      } else if (defaultValue === false) {\n        ENV[flag] = EmberENV[flag] === true;\n      }\n    }\n    let {\n      EXTEND_PROTOTYPES\n    } = EmberENV;\n    if (EXTEND_PROTOTYPES !== undefined) {\n      if (typeof EXTEND_PROTOTYPES === 'object' && EXTEND_PROTOTYPES !== null) {\n        ENV.EXTEND_PROTOTYPES.Array = EXTEND_PROTOTYPES.Array !== false;\n      } else {\n        ENV.EXTEND_PROTOTYPES.Array = EXTEND_PROTOTYPES !== false;\n      }\n    }\n    // TODO this does not seem to be used by anything,\n    //      can we remove it? do we need to deprecate it?\n    let {\n      EMBER_LOAD_HOOKS\n    } = EmberENV;\n    if (typeof EMBER_LOAD_HOOKS === 'object' && EMBER_LOAD_HOOKS !== null) {\n      for (let hookName in EMBER_LOAD_HOOKS) {\n        if (!Object.prototype.hasOwnProperty.call(EMBER_LOAD_HOOKS, hookName)) continue;\n        let hooks = EMBER_LOAD_HOOKS[hookName];\n        if (Array.isArray(hooks)) {\n          ENV.EMBER_LOAD_HOOKS[hookName] = hooks.filter(hook => typeof hook === 'function');\n        }\n      }\n    }\n    let {\n      FEATURES\n    } = EmberENV;\n    if (typeof FEATURES === 'object' && FEATURES !== null) {\n      for (let feature in FEATURES) {\n        if (!Object.prototype.hasOwnProperty.call(FEATURES, feature)) continue;\n        ENV.FEATURES[feature] = FEATURES[feature] === true;\n      }\n    }\n    if (true /* DEBUG */) {\n      ENV._DEBUG_RENDER_TREE = true;\n    }\n  })(global$1.EmberENV);\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.getDispatchOverride = getDispatchOverride;\n  _exports.getOnerror = getOnerror;\n  _exports.onErrorTarget = void 0;\n  _exports.setDispatchOverride = setDispatchOverride;\n  _exports.setOnerror = setOnerror;\n  let onerror;\n  const onErrorTarget = _exports.onErrorTarget = {\n    get onerror() {\n      return onerror;\n    }\n  };\n  // Ember.onerror getter\n  function getOnerror() {\n    return onerror;\n  }\n  // Ember.onerror setter\n  function setOnerror(handler) {\n    onerror = handler;\n  }\n  let dispatchOverride = null;\n  // allows testing adapter to override dispatch\n  function getDispatchOverride() {\n    return dispatchOverride;\n  }\n  function setDispatchOverride(handler) {\n    dispatchOverride = handler;\n  }\n});","define(\"@ember/-internals/glimmer/index\", [\"exports\", \"@glimmer/opcode-compiler\", \"@ember/-internals/browser-environment\", \"@ember/debug\", \"@ember/object\", \"@glimmer/reference\", \"@glimmer/validator\", \"@ember/modifier\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/utils\", \"@glimmer/manager\", \"@ember/-internals/views\", \"@ember/engine\", \"@ember/engine/instance\", \"@ember/instrumentation\", \"@ember/service\", \"@ember/-internals/runtime\", \"@glimmer/runtime\", \"@glimmer/util\", \"@ember/-internals/string\", \"@glimmer/destroyable\", \"@ember/runloop\", \"@ember/object/-internals\", \"@ember/-internals/container\", \"@ember/-internals/environment\", \"@glimmer/vm\", \"@glimmer/program\", \"rsvp\", \"@glimmer/node\", \"@glimmer/global-context\", \"@ember/array/-internals\", \"@ember/-internals/glimmer\", \"@ember/array\", \"@ember/routing/-internals\", \"@ember/template-factory\"], function (_exports, _opcodeCompiler, _browserEnvironment, _debug, _object, _reference, _validator, _modifier, _metal, _owner2, _utils, _manager, _views, _engine, _instance, _instrumentation, _service, _runtime, _runtime2, _util, _string, _destroyable, _runloop, _internals, _container, _environment2, _vm, _program, _rsvp, _node, _globalContext, _internals2, _glimmer, _array, _internals3, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Component = void 0;\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  _exports.LinkTo = _exports.Input = _exports.Helper = void 0;\n  Object.defineProperty(_exports, \"NodeDOMTreeConstruction\", {\n    enumerable: true,\n    get: function () {\n      return _node.NodeDOMTreeConstruction;\n    }\n  });\n  _exports.Textarea = _exports.SafeString = _exports.RootTemplate = _exports.Renderer = _exports.OutletView = void 0;\n  _exports._resetRenderers = _resetRenderers;\n  _exports.componentCapabilities = void 0;\n  _exports.escapeExpression = escapeExpression;\n  _exports.getTemplate = getTemplate;\n  _exports.getTemplates = getTemplates;\n  _exports.hasTemplate = hasTemplate;\n  _exports.helper = helper$1;\n  _exports.htmlSafe = htmlSafe;\n  _exports.isHTMLSafe = isHTMLSafe;\n  Object.defineProperty(_exports, \"isSerializationFirstNode\", {\n    enumerable: true,\n    get: function () {\n      return _runtime2.isSerializationFirstNode;\n    }\n  });\n  _exports.modifierCapabilities = void 0;\n  _exports.renderSettled = renderSettled;\n  _exports.setComponentManager = setComponentManager;\n  _exports.setTemplate = setTemplate;\n  _exports.setTemplates = setTemplates;\n  _exports.setupApplicationRegistry = setupApplicationRegistry;\n  _exports.setupEngineRegistry = setupEngineRegistry;\n  Object.defineProperty(_exports, \"template\", {\n    enumerable: true,\n    get: function () {\n      return _opcodeCompiler.templateFactory;\n    }\n  });\n  Object.defineProperty(_exports, \"templateCacheCounters\", {\n    enumerable: true,\n    get: function () {\n      return _opcodeCompiler.templateCacheCounters;\n    }\n  });\n  _exports.uniqueId = uniqueId$1;\n  var RootTemplate = _exports.RootTemplate = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{component this}}\n  */\n  {\n    \"id\": \"tjANIXCV\",\n    \"block\": \"[[[46,[30,0],null,null,null]],[],false,[\\\"component\\\"]]\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/root.hbs\",\n    \"isStrictMode\": true\n  });\n  var InputTemplate = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <input\n    {{!-- for compatibility --}}\n    id={{this.id}}\n    class={{this.class}}\n  \n    ...attributes\n  \n    type={{this.type}}\n    checked={{this.checked}}\n    value={{this.value}}\n  \n    {{on \"change\" this.change}}\n    {{on \"input\" this.input}}\n    {{on \"keyup\" this.keyUp}}\n    {{on \"paste\" this.valueDidChange}}\n    {{on \"cut\" this.valueDidChange}}\n  />\n  */\n  {\n    \"id\": \"4z3DuGQ3\",\n    \"block\": \"[[[11,\\\"input\\\"],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[17,1],[16,4,[30,0,[\\\"type\\\"]]],[16,\\\"checked\\\",[30,0,[\\\"checked\\\"]]],[16,2,[30,0,[\\\"value\\\"]]],[4,[32,0],[\\\"change\\\",[30,0,[\\\"change\\\"]]],null],[4,[32,0],[\\\"input\\\",[30,0,[\\\"input\\\"]]],null],[4,[32,0],[\\\"keyup\\\",[30,0,[\\\"keyUp\\\"]]],null],[4,[32,0],[\\\"paste\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[4,[32,0],[\\\"cut\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[12],[13]],[\\\"&attrs\\\"],false,[]]\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/input.hbs\",\n    \"scope\": () => [_modifier.on],\n    \"isStrictMode\": true\n  });\n  function NOOP$2() {}\n  class InternalComponent {\n    // Override this\n    static toString() {\n      return 'internal component';\n    }\n    constructor(owner, args, caller) {\n      this.owner = owner;\n      this.args = args;\n      this.caller = caller;\n      (0, _owner2.setOwner)(this, owner);\n    }\n    /**\n     * The default HTML id attribute. We don't really _need_ one, this is just\n     * added for compatibility as it's hard to tell if people rely on it being\n     * present, and it doens't really hurt.\n     *\n     * However, don't rely on this internally, like passing it to `getElementId`.\n     * This can be (and often is) overriden by passing an `id` attribute on the\n     * invocation, which shadows this default id via `...attributes`.\n     */\n    get id() {\n      return (0, _utils.guidFor)(this);\n    }\n    /**\n     * The default HTML class attribute. Similar to the above, we don't _need_\n     * them, they are just added for compatibility as it's similarly hard to tell\n     * if people rely on it in their CSS etc, and it doens't really hurt.\n     */\n    get class() {\n      return 'ember-view';\n    }\n    validateArguments() {\n      for (let name of Object.keys(this.args.named)) {\n        if (!this.isSupportedArgument(name)) {\n          this.onUnsupportedArgument(name);\n        }\n      }\n    }\n    named(name) {\n      let ref = this.args.named[name];\n      return ref ? (0, _reference.valueForRef)(ref) : undefined;\n    }\n    positional(index) {\n      let ref = this.args.positional[index];\n      return ref ? (0, _reference.valueForRef)(ref) : undefined;\n    }\n    listenerFor(name) {\n      let listener = this.named(name);\n      if (listener) {\n        (true && !(typeof listener === 'function') && (0, _debug.assert)(`The \\`@${name}\\` argument to the <${this.constructor}> component must be a function`, typeof listener === 'function'));\n        return listener;\n      } else {\n        return NOOP$2;\n      }\n    }\n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    isSupportedArgument(_name) {\n      return false;\n    }\n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    onUnsupportedArgument(_name) {}\n    toString() {\n      return `<${this.constructor}:${(0, _utils.guidFor)(this)}>`;\n    }\n  }\n  const OPAQUE_CONSTRUCTOR_MAP = new WeakMap();\n  function opaquify(constructor, template) {\n    let _opaque = {\n      // Factory interface\n      create() {\n        throw (0, _debug.assert)('Use constructor instead of create');\n      },\n      toString() {\n        return constructor.toString();\n      }\n    };\n    let opaque = _opaque;\n    OPAQUE_CONSTRUCTOR_MAP.set(opaque, constructor);\n    (0, _manager.setInternalComponentManager)(INTERNAL_COMPONENT_MANAGER, opaque);\n    (0, _manager.setComponentTemplate)(template, opaque);\n    return opaque;\n  }\n  function deopaquify(opaque) {\n    let constructor = OPAQUE_CONSTRUCTOR_MAP.get(opaque);\n    (true && !(constructor) && (0, _debug.assert)(`[BUG] Invalid internal component constructor: ${opaque}`, constructor));\n    return constructor;\n  }\n  const CAPABILITIES$2 = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: true,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: true,\n    dynamicScope: false,\n    updateHook: false,\n    createInstance: true,\n    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  class InternalManager {\n    getCapabilities() {\n      return CAPABILITIES$2;\n    }\n    create(owner, definition, args, _env, _dynamicScope, caller) {\n      (true && !((0, _reference.isConstRef)(caller)) && (0, _debug.assert)('caller must be const', (0, _reference.isConstRef)(caller)));\n      let ComponentClass = deopaquify(definition);\n      let instance = new ComponentClass(owner, args.capture(), (0, _reference.valueForRef)(caller));\n      (0, _validator.untrack)(instance['validateArguments'].bind(instance));\n      return instance;\n    }\n    didCreate() {}\n    didUpdate() {}\n    didRenderLayout() {}\n    didUpdateLayout() {}\n    getDebugName(definition) {\n      return definition.toString();\n    }\n    getSelf(instance) {\n      return (0, _reference.createConstRef)(instance, 'this');\n    }\n    getDestroyable(instance) {\n      return instance;\n    }\n  }\n  const INTERNAL_COMPONENT_MANAGER = new InternalManager();\n  var __decorate$3 = undefined && undefined.__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n  };\n  const UNINITIALIZED = Object.freeze({});\n  function elementForEvent(event) {\n    (true && !(event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement) && (0, _debug.assert)('[BUG] event target must be an <input> or <textarea> element', event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement));\n    return event.target;\n  }\n  function valueForEvent(event) {\n    return elementForEvent(event).value;\n  }\n  function devirtualize(callback) {\n    return event => callback(valueForEvent(event), event);\n  }\n  function valueFrom(reference) {\n    if (reference === undefined) {\n      return new LocalValue(undefined);\n    } else if ((0, _reference.isConstRef)(reference)) {\n      return new LocalValue((0, _reference.valueForRef)(reference));\n    } else if ((0, _reference.isUpdatableRef)(reference)) {\n      return new UpstreamValue(reference);\n    } else {\n      return new ForkedValue(reference);\n    }\n  }\n  class LocalValue {\n    constructor(value) {\n      this.value = value;\n    }\n    get() {\n      return this.value;\n    }\n    set(value) {\n      this.value = value;\n    }\n  }\n  __decorate$3([_metal.tracked], LocalValue.prototype, \"value\", void 0);\n  class UpstreamValue {\n    constructor(reference) {\n      this.reference = reference;\n    }\n    get() {\n      return (0, _reference.valueForRef)(this.reference);\n    }\n    set(value) {\n      (0, _reference.updateRef)(this.reference, value);\n    }\n  }\n  class ForkedValue {\n    constructor(reference) {\n      this.lastUpstreamValue = UNINITIALIZED;\n      this.upstream = new UpstreamValue(reference);\n    }\n    get() {\n      let upstreamValue = this.upstream.get();\n      if (upstreamValue !== this.lastUpstreamValue) {\n        this.lastUpstreamValue = upstreamValue;\n        this.local = new LocalValue(upstreamValue);\n      }\n      (true && !(this.local) && (0, _debug.assert)('[BUG] this.local must have been initialized at this point', this.local));\n      return this.local.get();\n    }\n    set(value) {\n      (true && !(this.local) && (0, _debug.assert)('[BUG] this.local must have been initialized at this point', this.local));\n      this.local.set(value);\n    }\n  }\n  class AbstractInput extends InternalComponent {\n    constructor() {\n      super(...arguments);\n      this._value = valueFrom(this.args.named['value']);\n    }\n    validateArguments() {\n      (true && !(this.args.positional.length === 0) && (0, _debug.assert)(`The ${this.constructor} component does not take any positional arguments`, this.args.positional.length === 0));\n      super.validateArguments();\n    }\n    get value() {\n      return this._value.get();\n    }\n    set value(value) {\n      this._value.set(value);\n    }\n    valueDidChange(event) {\n      this.value = valueForEvent(event);\n    }\n    /**\n     * The `change` and `input` actions need to be overridden in the `Input`\n     * subclass. Unfortunately, some ember-source builds currently uses babel\n     * loose mode to transpile its classes. Having the `@action` decorator on the\n     * super class creates a getter on the prototype, and when the subclass\n     * overrides the method, the loose mode transpilation would emit something\n     * like `Subclass.prototype['change'] = function change() { ... }`, which\n     * fails because `prototype['change']` is getter-only/readonly. The correct\n     * solution is to use `Object.defineProperty(prototype, 'change', ...)` but\n     * that requires disabling loose mode. For now, the workaround is to add the\n     * decorator only on the subclass. This is more of a configuration issue on\n     * our own builds and doesn't really affect apps.\n     */\n    /* @action */\n    change(event) {\n      this.valueDidChange(event);\n    }\n    /* @action */\n    input(event) {\n      this.valueDidChange(event);\n    }\n    keyUp(event) {\n      switch (event.key) {\n        case 'Enter':\n          this.listenerFor('enter')(event);\n          this.listenerFor('insert-newline')(event);\n          break;\n        case 'Escape':\n          this.listenerFor('escape-press')(event);\n          break;\n      }\n    }\n    listenerFor(name) {\n      let listener = super.listenerFor(name);\n      if (this.isVirtualEventListener(name, listener)) {\n        return devirtualize(listener);\n      } else {\n        return listener;\n      }\n    }\n    isVirtualEventListener(name, _listener) {\n      let virtualEvents = ['enter', 'insert-newline', 'escape-press'];\n      return virtualEvents.indexOf(name) !== -1;\n    }\n  }\n  __decorate$3([_object.action], AbstractInput.prototype, \"valueDidChange\", null);\n  __decorate$3([_object.action], AbstractInput.prototype, \"keyUp\", null);\n  var __decorate$2 = undefined && undefined.__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n  };\n  let isValidInputType;\n  if (_browserEnvironment.hasDOM) {\n    const INPUT_TYPES = Object.create(null);\n    const INPUT_ELEMENT = document.createElement('input');\n    INPUT_TYPES[''] = false;\n    INPUT_TYPES['text'] = true;\n    INPUT_TYPES['checkbox'] = true;\n    isValidInputType = type => {\n      let isValid = INPUT_TYPES[type];\n      if (isValid === undefined) {\n        try {\n          INPUT_ELEMENT.type = type;\n          isValid = INPUT_ELEMENT.type === type;\n        } catch (e) {\n          isValid = false;\n        } finally {\n          INPUT_ELEMENT.type = 'text';\n        }\n        INPUT_TYPES[type] = isValid;\n      }\n      return isValid;\n    };\n  } else {\n    isValidInputType = type => type !== '';\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    An opaque interface which can be imported and used in strict-mode\n    templates to call <Input>.\n  \n    See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).\n  \n    @for @ember/component\n    @method Input\n    @see {Ember.Templates.components.Input}\n    @public\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-down`\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    Starting with Ember Octane, we recommend using the `{{on}}` modifier to call actions\n    on specific events, such as the input event.\n  \n    ```handlebars\n    <label for=\"input-name\">Name:</label>\n    <Input\n      @id=\"input-name\"\n      @value={{this.name}}\n      {{on \"input\" this.validateName}}\n    />\n    ```\n  \n    The event name (e.g. `focusout`, `input`, `keydown`) always follows the casing\n    that the HTML standard uses.\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    ### 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    @method Input\n    @for Ember.Templates.components\n    @param {Hash} options\n    @public\n  */\n  class _Input extends AbstractInput {\n    constructor() {\n      super(...arguments);\n      this._checked = valueFrom(this.args.named['checked']);\n    }\n    static toString() {\n      return 'Input';\n    }\n    /**\n     * The HTML class attribute.\n     */\n    get class() {\n      if (this.isCheckbox) {\n        return 'ember-checkbox ember-view';\n      } else {\n        return 'ember-text-field ember-view';\n      }\n    }\n    /**\n     * The HTML type attribute.\n     */\n    get type() {\n      let type = this.named('type');\n      if (type === null || type === undefined) {\n        return 'text';\n      }\n      (true && !(typeof type === 'string') && (0, _debug.assert)('The `@type` argument to the <Input> component must be a string', typeof type === 'string'));\n      return isValidInputType(type) ? type : 'text';\n    }\n    get isCheckbox() {\n      return this.named('type') === 'checkbox';\n    }\n    get checked() {\n      if (this.isCheckbox) {\n        (true && (0, _debug.warn)('`<Input @type=\"checkbox\" />` reflects its checked state via the `@checked` argument. ' + 'You wrote `<Input @type=\"checkbox\" @value={{...}} />` which is likely not what you intended. ' + 'Did you mean `<Input @type=\"checkbox\" @checked={{...}} />`?', (0, _validator.untrack)(() => this.args.named['checked'] !== undefined || this.args.named['value'] === undefined || typeof (0, _reference.valueForRef)(this.args.named['value']) === 'string'), {\n          id: 'ember.built-in-components.input-checkbox-value'\n        }));\n        return this._checked.get();\n      } else {\n        return undefined;\n      }\n    }\n    set checked(checked) {\n      (true && (0, _debug.warn)('`<Input @type=\"checkbox\" />` reflects its checked state via the `@checked` argument. ' + 'You wrote `<Input @type=\"checkbox\" @value={{...}} />` which is likely not what you intended. ' + 'Did you mean `<Input @type=\"checkbox\" @checked={{...}} />`?', (0, _validator.untrack)(() => this.args.named['checked'] !== undefined || this.args.named['value'] === undefined || typeof (0, _reference.valueForRef)(this.args.named['value']) === 'string'), {\n        id: 'ember.built-in-components.input-checkbox-value'\n      }));\n      this._checked.set(checked);\n    }\n    change(event) {\n      if (this.isCheckbox) {\n        this.checkedDidChange(event);\n      } else {\n        super.change(event);\n      }\n    }\n    input(event) {\n      if (!this.isCheckbox) {\n        super.input(event);\n      }\n    }\n    checkedDidChange(event) {\n      let element = event.target;\n      (true && !(element instanceof HTMLInputElement) && (0, _debug.assert)('[BUG] element must be an <input>', element instanceof HTMLInputElement));\n      this.checked = element.checked;\n    }\n    isSupportedArgument(name) {\n      let supportedArguments = ['type', 'value', 'checked', 'enter', 'insert-newline', 'escape-press'];\n      return supportedArguments.indexOf(name) !== -1 || super.isSupportedArgument(name);\n    }\n  }\n  __decorate$2([_object.action], _Input.prototype, \"change\", null);\n  __decorate$2([_object.action], _Input.prototype, \"input\", null);\n  __decorate$2([_object.action], _Input.prototype, \"checkedDidChange\", null);\n  const Input = _exports.Input = opaquify(_Input, InputTemplate);\n  var LinkToTemplate = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <a\n    {{!-- for compatibility --}}\n    id={{this.id}}\n    class={{this.class}}\n  \n    {{!-- deprecated attribute bindings --}}\n    role={{this.role}}\n    title={{this.title}}\n    rel={{this.rel}}\n    tabindex={{this.tabindex}}\n    target={{this.target}}\n  \n    ...attributes\n  \n    href={{this.href}}\n  \n    {{on 'click' this.click}}\n  >{{yield}}</a>\n  */\n  {\n    \"id\": \"Ub0nir+H\",\n    \"block\": \"[[[11,3],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[16,\\\"role\\\",[30,0,[\\\"role\\\"]]],[16,\\\"title\\\",[30,0,[\\\"title\\\"]]],[16,\\\"rel\\\",[30,0,[\\\"rel\\\"]]],[16,\\\"tabindex\\\",[30,0,[\\\"tabindex\\\"]]],[16,\\\"target\\\",[30,0,[\\\"target\\\"]]],[17,1],[16,6,[30,0,[\\\"href\\\"]]],[4,[32,0],[\\\"click\\\",[30,0,[\\\"click\\\"]]],null],[12],[18,2,null],[13]],[\\\"&attrs\\\",\\\"&default\\\"],false,[\\\"yield\\\"]]\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/link-to.hbs\",\n    \"scope\": () => [_modifier.on],\n    \"isStrictMode\": true\n  });\n  var __decorate$1 = undefined && undefined.__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n  };\n  const EMPTY_ARRAY = [];\n  const EMPTY_QUERY_PARAMS = {};\n  (0, _debug.debugFreeze)(EMPTY_ARRAY);\n  (0, _debug.debugFreeze)(EMPTY_QUERY_PARAMS);\n  function isMissing(value) {\n    return value === null || value === undefined;\n  }\n  function isPresent(value) {\n    return !isMissing(value);\n  }\n  function isQueryParams(value) {\n    return typeof value === 'object' && value !== null && value['isQueryParams'] === true;\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    ### Supplying query parameters\n  \n    If you need to add optional key-value pairs that appear to the right of the ? in a URL,\n    you can use the `query` argument.\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @query={{hash page=1 per_page=20}}>\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    This will result in:\n  \n    ```html\n    <a href=\"/hamster-photos?page=1&per_page=20\">\n      Great Hamster Photos\n    </a>\n    ```\n  \n    @for Ember.Templates.components\n    @method LinkTo\n    @public\n  */\n  /**\n    @module @ember/routing\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    An opaque interface which can be imported and used in strict-mode\n    templates to call <LinkTo>.\n  \n    See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).\n  \n    @for @ember/routing\n    @method LinkTo\n    @see {Ember.Templates.components.LinkTo}\n    @public\n  **/\n  class _LinkTo extends InternalComponent {\n    constructor() {\n      super(...arguments);\n      // GH #17963\n      this.currentRouteCache = (0, _validator.createCache)(() => {\n        (0, _validator.consumeTag)((0, _validator.tagFor)(this.routing, 'currentState'));\n        return (0, _validator.untrack)(() => this.routing.currentRouteName);\n      });\n    }\n    static toString() {\n      return 'LinkTo';\n    }\n    validateArguments() {\n      (true && !(!this.isEngine || this.engineMountPoint !== undefined) && (0, _debug.assert)('You attempted to use the <LinkTo> component within a routeless engine, this is not supported. ' + 'If you are using the ember-engines addon, use the <LinkToExternal> component instead. ' + 'See https://ember-engines.com/docs/links for more info.', !this.isEngine || this.engineMountPoint !== undefined));\n      (true && !('route' in this.args.named || 'model' in this.args.named || 'models' in this.args.named || 'query' in this.args.named) && (0, _debug.assert)('You must provide at least one of the `@route`, `@model`, `@models` or `@query` arguments to `<LinkTo>`.', 'route' in this.args.named || 'model' in this.args.named || 'models' in this.args.named || 'query' in this.args.named));\n      (true && !(!('model' in this.args.named && 'models' in this.args.named)) && (0, _debug.assert)('You cannot provide both the `@model` and `@models` arguments to the <LinkTo> component.', !('model' in this.args.named && 'models' in this.args.named)));\n      super.validateArguments();\n    }\n    get class() {\n      let classes = 'ember-view';\n      if (this.isActive) {\n        classes += this.classFor('active');\n        if (this.willBeActive === false) {\n          classes += ' ember-transitioning-out';\n        }\n      } else if (this.willBeActive) {\n        classes += ' ember-transitioning-in';\n      }\n      if (this.isLoading) {\n        classes += this.classFor('loading');\n      }\n      if (this.isDisabled) {\n        classes += this.classFor('disabled');\n      }\n      return classes;\n    }\n    get href() {\n      if (this.isLoading) {\n        return '#';\n      }\n      let {\n        routing,\n        route,\n        models,\n        query\n      } = this;\n      (true && !(isPresent(route)) && (0, _debug.assert)('[BUG] route can only be missing if isLoading is true', isPresent(route))); // consume the current router state so we invalidate when QP changes\n      // TODO: can we narrow this down to QP changes only?\n      (0, _validator.consumeTag)((0, _validator.tagFor)(routing, 'currentState'));\n      if (true /* DEBUG */) {\n        try {\n          return routing.generateURL(route, models, query);\n        } catch (e) {\n          let details = e instanceof Error ? e.message : (0, _debug.inspect)(e);\n          let message = `While generating link to route \"${route}\": ${details}`;\n          if (e instanceof Error) {\n            e.message = message;\n            throw e;\n          } else {\n            throw message;\n          }\n        }\n      } else {\n        return routing.generateURL(route, models, query);\n      }\n    }\n    click(event) {\n      if (!(0, _views.isSimpleClick)(event)) {\n        return;\n      }\n      let element = event.currentTarget;\n      (true && !(element instanceof HTMLAnchorElement) && (0, _debug.assert)('[BUG] must be an <a> element', element instanceof HTMLAnchorElement));\n      let isSelf = element.target === '' || element.target === '_self';\n      if (isSelf) {\n        this.preventDefault(event);\n      } else {\n        return;\n      }\n      if (this.isDisabled) {\n        return;\n      }\n      if (this.isLoading) {\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;\n      }\n      let {\n        routing,\n        route,\n        models,\n        query,\n        replace\n      } = this;\n      let payload = {\n        routeName: route,\n        queryParams: query,\n        transition: undefined\n      };\n      (0, _instrumentation.flaggedInstrument)('interaction.link-to', payload, () => {\n        (true && !(isPresent(route)) && (0, _debug.assert)('[BUG] route can only be missing if isLoading is true', isPresent(route)));\n        payload.transition = routing.transitionTo(route, models, query, replace);\n      });\n    }\n    get route() {\n      if ('route' in this.args.named) {\n        let route = this.named('route');\n        (true && !(isMissing(route) || typeof route === 'string') && (0, _debug.assert)('The `@route` argument to the <LinkTo> component must be a string', isMissing(route) || typeof route === 'string'));\n        return route && this.namespaceRoute(route);\n      } else {\n        return this.currentRoute;\n      }\n    }\n    get currentRoute() {\n      return (0, _validator.getValue)(this.currentRouteCache);\n    }\n    // TODO: not sure why generateURL takes {}[] instead of unknown[]\n    get models() {\n      if ('models' in this.args.named) {\n        let models = this.named('models');\n        (true && !(Array.isArray(models)) && (0, _debug.assert)('The `@models` argument to the <LinkTo> component must be an array.', Array.isArray(models)));\n        return models;\n      } else if ('model' in this.args.named) {\n        return [this.named('model')];\n      } else {\n        return EMPTY_ARRAY;\n      }\n    }\n    get query() {\n      if ('query' in this.args.named) {\n        let query = this.named('query');\n        (true && !(query !== null && typeof query === 'object') && (0, _debug.assert)('The `@query` argument to the <LinkTo> component must be an object.', query !== null && typeof query === 'object'));\n        return {\n          ...query\n        };\n      } else {\n        return EMPTY_QUERY_PARAMS;\n      }\n    }\n    get replace() {\n      return this.named('replace') === true;\n    }\n    get isActive() {\n      return this.isActiveForState(this.routing.currentState);\n    }\n    get willBeActive() {\n      let current = this.routing.currentState;\n      let target = this.routing.targetState;\n      if (current === target) {\n        return null;\n      } else {\n        return this.isActiveForState(target);\n      }\n    }\n    get isLoading() {\n      return isMissing(this.route) || this.models.some(model => isMissing(model));\n    }\n    get isDisabled() {\n      return Boolean(this.named('disabled'));\n    }\n    get isEngine() {\n      let owner = this.owner;\n      return owner instanceof _instance.default && (0, _engine.getEngineParent)(owner) !== undefined;\n    }\n    get engineMountPoint() {\n      let owner = this.owner;\n      return owner instanceof _instance.default ? owner.mountPoint : undefined;\n    }\n    classFor(state) {\n      let className = this.named(`${state}Class`);\n      (true && !(isMissing(className) || typeof className === 'string' || typeof className === 'boolean') && (0, _debug.assert)(`The \\`@${state}Class\\` argument to the <LinkTo> component must be a string or boolean`, isMissing(className) || typeof className === 'string' || typeof className === 'boolean'));\n      if (className === true || isMissing(className)) {\n        return ` ${state}`;\n      } else if (className) {\n        return ` ${className}`;\n      } else {\n        return '';\n      }\n    }\n    namespaceRoute(route) {\n      let {\n        engineMountPoint\n      } = this;\n      if (engineMountPoint === undefined) {\n        return route;\n      } else if (route === 'application') {\n        return engineMountPoint;\n      } else {\n        return `${engineMountPoint}.${route}`;\n      }\n    }\n    isActiveForState(state) {\n      if (!isPresent(state)) {\n        return false;\n      }\n      if (this.isLoading) {\n        return false;\n      }\n      let currentWhen = this.named('current-when');\n      if (typeof currentWhen === 'boolean') {\n        return currentWhen;\n      } else if (typeof currentWhen === 'string') {\n        let {\n          models,\n          routing\n        } = this;\n        return currentWhen.split(' ').some(route => routing.isActiveForRoute(models, undefined, this.namespaceRoute(route), state));\n      } else {\n        let {\n          route,\n          models,\n          query,\n          routing\n        } = this;\n        (true && !(isPresent(route)) && (0, _debug.assert)('[BUG] route can only be missing if isLoading is true', isPresent(route)));\n        return routing.isActiveForRoute(models, query, route, state);\n      }\n    }\n    preventDefault(event) {\n      event.preventDefault();\n    }\n    isSupportedArgument(name) {\n      let supportedArguments = ['route', 'model', 'models', 'query', 'replace', 'disabled', 'current-when', 'activeClass', 'loadingClass', 'disabledClass'];\n      return supportedArguments.indexOf(name) !== -1 || super.isSupportedArgument(name);\n    }\n  }\n  __decorate$1([(0, _service.service)('-routing')], _LinkTo.prototype, \"routing\", void 0);\n  __decorate$1([_object.action], _LinkTo.prototype, \"click\", null);\n  let {\n    prototype\n  } = _LinkTo;\n  let descriptorFor = (target, property) => {\n    if (target) {\n      return Object.getOwnPropertyDescriptor(target, property) || descriptorFor(Object.getPrototypeOf(target), property);\n    } else {\n      return null;\n    }\n  };\n  // @href\n  {\n    let superOnUnsupportedArgument = prototype['onUnsupportedArgument'];\n    Object.defineProperty(prototype, 'onUnsupportedArgument', {\n      configurable: true,\n      enumerable: false,\n      value: function onUnsupportedArgument(name) {\n        if (name === 'href') {\n          (true && !(false) && (0, _debug.assert)(`Passing the \\`@href\\` argument to <LinkTo> is not supported.`));\n        } else {\n          superOnUnsupportedArgument.call(this, name);\n        }\n      }\n    });\n  }\n  // QP\n  {\n    let superModelsDescriptor = descriptorFor(prototype, 'models');\n    (true && !(superModelsDescriptor && typeof superModelsDescriptor.get === 'function') && (0, _debug.assert)(`[BUG] expecting models to be a getter on <LinkTo>`, superModelsDescriptor && typeof superModelsDescriptor.get === 'function'));\n    let superModelsGetter = superModelsDescriptor.get;\n    Object.defineProperty(prototype, 'models', {\n      configurable: true,\n      enumerable: false,\n      get: function models() {\n        let models = superModelsGetter.call(this);\n        if (models.length > 0 && !('query' in this.args.named)) {\n          if (isQueryParams(models[models.length - 1])) {\n            models = models.slice(0, -1);\n          }\n        }\n        return models;\n      }\n    });\n    let superQueryDescriptor = descriptorFor(prototype, 'query');\n    (true && !(superQueryDescriptor && typeof superQueryDescriptor.get === 'function') && (0, _debug.assert)(`[BUG] expecting query to be a getter on <LinkTo>`, superQueryDescriptor && typeof superQueryDescriptor.get === 'function'));\n    let superQueryGetter = superQueryDescriptor.get;\n    Object.defineProperty(prototype, 'query', {\n      configurable: true,\n      enumerable: false,\n      get: function query() {\n        if ('query' in this.args.named) {\n          let qp = superQueryGetter.call(this);\n          if (isQueryParams(qp)) {\n            return qp.values ?? EMPTY_QUERY_PARAMS;\n          } else {\n            return qp;\n          }\n        } else {\n          let models = superModelsGetter.call(this);\n          if (models.length > 0) {\n            let qp = models[models.length - 1];\n            if (isQueryParams(qp) && qp.values !== null) {\n              return qp.values;\n            }\n          }\n          return EMPTY_QUERY_PARAMS;\n        }\n      }\n    });\n  }\n  // Positional Arguments\n  {\n    let superOnUnsupportedArgument = prototype['onUnsupportedArgument'];\n    Object.defineProperty(prototype, 'onUnsupportedArgument', {\n      configurable: true,\n      enumerable: false,\n      value: function onUnsupportedArgument(name) {\n        if (name !== 'params') {\n          superOnUnsupportedArgument.call(this, name);\n        }\n      }\n    });\n  }\n  const LinkTo = _exports.LinkTo = opaquify(_LinkTo, LinkToTemplate);\n  var TextareaTemplate = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <textarea\n    {{!-- for compatibility --}}\n    id={{this.id}}\n    class={{this.class}}\n  \n    ...attributes\n  \n    value={{this.value}}\n  \n    {{on \"change\" this.change}}\n    {{on \"input\" this.input}}\n    {{on \"keyup\" this.keyUp}}\n    {{on \"paste\" this.valueDidChange}}\n    {{on \"cut\" this.valueDidChange}}\n  />\n  */\n  {\n    \"id\": \"112WKCh2\",\n    \"block\": \"[[[11,\\\"textarea\\\"],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[17,1],[16,2,[30,0,[\\\"value\\\"]]],[4,[32,0],[\\\"change\\\",[30,0,[\\\"change\\\"]]],null],[4,[32,0],[\\\"input\\\",[30,0,[\\\"input\\\"]]],null],[4,[32,0],[\\\"keyup\\\",[30,0,[\\\"keyUp\\\"]]],null],[4,[32,0],[\\\"paste\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[4,[32,0],[\\\"cut\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[12],[13]],[\\\"&attrs\\\"],false,[]]\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/textarea.hbs\",\n    \"scope\": () => [_modifier.on],\n    \"isStrictMode\": true\n  });\n  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\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    @public\n  */\n  /**\n    See [Ember.Templates.components.Textarea](/ember/release/classes/Ember.Templates.components/methods/Textarea?anchor=Textarea)\n  \n    @method textarea\n    @for Ember.Templates.helpers\n    @see {Ember.Templates.components.Textarea}\n    @public\n  */\n  /**\n    An opaque interface which can be imported and used in strict-mode\n    templates to call <Textarea>.\n  \n    See [Ember.Templates.components.Textarea](/ember/release/classes/Ember.Templates.components/methods/Textarea?anchor=Textarea).\n  \n    @for @ember/component\n    @method Textarea\n    @see {Ember.Templates.components.Textarea}\n    @public\n  **/\n  class _Textarea extends AbstractInput {\n    static toString() {\n      return 'Textarea';\n    }\n    get class() {\n      return 'ember-text-area ember-view';\n    }\n    // See abstract-input.ts for why these are needed\n    change(event) {\n      super.change(event);\n    }\n    input(event) {\n      super.input(event);\n    }\n    isSupportedArgument(name) {\n      let supportedArguments = ['type', 'value', 'enter', 'insert-newline', 'escape-press'];\n      return supportedArguments.indexOf(name) !== -1 || super.isSupportedArgument(name);\n    }\n  }\n  __decorate([_object.action], _Textarea.prototype, \"change\", null);\n  __decorate([_object.action], _Textarea.prototype, \"input\", null);\n  const Textarea = _exports.Textarea = opaquify(_Textarea, TextareaTemplate);\n  function isTemplateFactory(template) {\n    return typeof template === 'function';\n  }\n  function referenceForParts(rootRef, parts) {\n    let isAttrs = parts[0] === 'attrs';\n    // TODO deprecate this\n    if (isAttrs) {\n      parts.shift();\n      if (parts.length === 1) {\n        return (0, _reference.childRefFor)(rootRef, parts[0]);\n      }\n    }\n    return (0, _reference.childRefFromParts)(rootRef, parts);\n  }\n  function parseAttributeBinding(microsyntax) {\n    let colonIndex = microsyntax.indexOf(':');\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      let prop = microsyntax.substring(0, colonIndex);\n      let 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  function installAttributeBinding(component, rootRef, parsed, operations) {\n    let [prop, attribute, isSimple] = parsed;\n    if (attribute === 'id') {\n      // SAFETY: `get` could not infer the type of `prop` and just gave us `unknown`.\n      //         we may want to throw an error in the future if the value isn't string or null/undefined.\n      let elementId = (0, _metal.get)(component, prop);\n      if (elementId === undefined || elementId === null) {\n        elementId = component.elementId;\n      }\n      let elementIdRef = (0, _reference.createPrimitiveRef)(elementId);\n      operations.setAttribute('id', elementIdRef, true, null);\n      return;\n    }\n    let isPath = prop.indexOf('.') > -1;\n    let reference = isPath ? referenceForParts(rootRef, prop.split('.')) : (0, _reference.childRefFor)(rootRef, prop);\n    (true && !(!(isSimple && isPath)) && (0, _debug.assert)(`Illegal attributeBinding: '${prop}' is not a valid attribute name.`, !(isSimple && isPath)));\n    operations.setAttribute(attribute, reference, false, null);\n  }\n  function createClassNameBindingRef(rootRef, microsyntax, operations) {\n    let parts = microsyntax.split(':');\n    let [prop, truthy, falsy] = parts;\n    // NOTE: This could be an empty string\n    (true && !(prop !== undefined) && (0, _debug.assert)('has prop', prop !== undefined)); // Will always have at least one part\n    let isStatic = prop === '';\n    if (isStatic) {\n      operations.setAttribute('class', (0, _reference.createPrimitiveRef)(truthy), true, null);\n    } else {\n      let isPath = prop.indexOf('.') > -1;\n      let parts = isPath ? prop.split('.') : [];\n      let value = isPath ? referenceForParts(rootRef, parts) : (0, _reference.childRefFor)(rootRef, prop);\n      let ref;\n      if (truthy === undefined) {\n        ref = createSimpleClassNameBindingRef(value, isPath ? parts[parts.length - 1] : prop);\n      } else {\n        ref = createColonClassNameBindingRef(value, truthy, falsy);\n      }\n      operations.setAttribute('class', ref, false, null);\n    }\n  }\n  function createSimpleClassNameBindingRef(inner, path) {\n    let dasherizedPath;\n    return (0, _reference.createComputeRef)(() => {\n      let value = (0, _reference.valueForRef)(inner);\n      if (value === true) {\n        (true && !(path !== undefined) && (0, _debug.assert)('You must pass a path when binding a to a class name using classNameBindings', path !== undefined));\n        return dasherizedPath || (dasherizedPath = (0, _string.dasherize)(path));\n      } else if (value || value === 0) {\n        return String(value);\n      } else {\n        return null;\n      }\n    });\n  }\n  function createColonClassNameBindingRef(inner, truthy, falsy) {\n    return (0, _reference.createComputeRef)(() => {\n      return (0, _reference.valueForRef)(inner) ? truthy : falsy;\n    });\n  }\n  function NOOP$1() {}\n  /**\n    @module ember\n  */\n  /**\n    Represents the internal state of the component.\n  \n    @class ComponentStateBucket\n    @private\n  */\n  class ComponentStateBucket {\n    constructor(component, args, argsTag, finalizer, hasWrappedElement, isInteractive) {\n      this.component = component;\n      this.args = args;\n      this.argsTag = argsTag;\n      this.finalizer = finalizer;\n      this.hasWrappedElement = hasWrappedElement;\n      this.isInteractive = isInteractive;\n      this.classRef = null;\n      this.classRef = null;\n      this.argsRevision = args === null ? 0 : (0, _validator.valueForTag)(argsTag);\n      this.rootRef = (0, _reference.createConstRef)(component, 'this');\n      (0, _destroyable.registerDestructor)(this, () => this.willDestroy(), true);\n      (0, _destroyable.registerDestructor)(this, () => this.component.destroy());\n    }\n    willDestroy() {\n      let {\n        component,\n        isInteractive\n      } = this;\n      if (isInteractive) {\n        (0, _validator.beginUntrackFrame)();\n        component.trigger('willDestroyElement');\n        component.trigger('willClearRender');\n        (0, _validator.endUntrackFrame)();\n        let element = (0, _views.getViewElement)(component);\n        if (element) {\n          (0, _views.clearElementView)(element);\n          (0, _views.clearViewElement)(component);\n        }\n      }\n      component.renderer.unregister(component);\n    }\n    finalize() {\n      let {\n        finalizer\n      } = this;\n      finalizer();\n      this.finalizer = NOOP$1;\n    }\n  }\n  function internalHelper(helper) {\n    return (0, _manager.setInternalHelperManager)(helper, {});\n  }\n\n  /**\n  @module ember\n  */\n  const ACTIONS = new WeakSet();\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 are presented in JavaScript as callbacks, and are\n    invoked like any other JavaScript function.\n  \n    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.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 { 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  var action = internalHelper(args => {\n    let {\n      named,\n      positional\n    } = args;\n    // 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    let [context, action, ...restArgs] = positional;\n    (true && !(context && action) && (0, _debug.assert)('hash position arguments', context && action));\n    let debugKey = action.debugLabel;\n    let target = 'target' in named ? named['target'] : context;\n    let processArgs = makeArgsProcessor('value' in named && named['value'] || false, restArgs);\n    let fn;\n    if ((0, _reference.isInvokableRef)(action)) {\n      fn = makeClosureAction(action, action, invokeRef, processArgs, debugKey);\n    } else {\n      fn = makeDynamicClosureAction((0, _reference.valueForRef)(context),\n      // SAFETY: glimmer-vm should expose narrowing utilities for references\n      //         as is, `target` is still `Reference<unknown>`.\n      //         however, we never even tried to narrow `target`, so this is potentially risky code.\n      target,\n      // SAFETY: glimmer-vm should expose narrowing utilities for references\n      //         as is, `action` is still `Reference<unknown>`\n      action, processArgs, debugKey);\n    }\n    ACTIONS.add(fn);\n    return (0, _reference.createUnboundRef)(fn, '(result of an `action` helper)');\n  });\n  function NOOP(args) {\n    return args;\n  }\n  function makeArgsProcessor(valuePathRef, actionArgsRef) {\n    let mergeArgs;\n    if (actionArgsRef.length > 0) {\n      mergeArgs = args => {\n        return actionArgsRef.map(_reference.valueForRef).concat(args);\n      };\n    }\n    let readValue;\n    if (valuePathRef) {\n      readValue = args => {\n        let valuePath = (0, _reference.valueForRef)(valuePathRef);\n        if (valuePath && args.length > 0) {\n          args[0] = (0, _metal.get)(args[0], valuePath);\n        }\n        return args;\n      };\n    }\n    if (mergeArgs && readValue) {\n      return args => {\n        return readValue(mergeArgs(args));\n      };\n    } else {\n      return mergeArgs || readValue || NOOP;\n    }\n  }\n  function makeDynamicClosureAction(context, targetRef, actionRef, processArgs, debugKey) {\n    const action = (0, _reference.valueForRef)(actionRef);\n    // We don't allow undefined/null values, so this creates a throw-away action to trigger the assertions\n    if (true /* DEBUG */) {\n      makeClosureAction(context, (0, _reference.valueForRef)(targetRef), action, processArgs, debugKey);\n    }\n    return (...args) => {\n      return makeClosureAction(context, (0, _reference.valueForRef)(targetRef), action, processArgs, debugKey)(...args);\n    };\n  }\n  function makeClosureAction(context, target, action, processArgs, debugKey) {\n    let self;\n    let 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    if (typeof action === 'string') {\n      (true && !(target !== null && typeof target === 'object') && (0, _debug.assert)('target must be an object', target !== null && typeof target === 'object'));\n      self = target;\n      let value = target.actions?.[action];\n      (true && !(Boolean(value)) && (0, _debug.assert)(`An action named '${action}' was not found in ${target}`, Boolean(value)));\n      (true && !(typeof value === 'function') && (0, _debug.assert)(`An action named '${action}' was found in ${target}, but is not a function`, typeof value === 'function'));\n      fn = value;\n    } else if (typeof action === 'function') {\n      self = context;\n      fn = action;\n    } else {\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    return (...args) => {\n      let 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  // The code above:\n  // 1. Finds an action function, usually on the `actions` hash\n  // 2. Calls it with the target as the correct `this` context\n  // Previously, `UPDATE_REFERENCED_VALUE` was a method on the reference itself,\n  // so this made a bit more sense. Now, it isn't, and so we need to create a\n  // function that can have `this` bound to it when called. This allows us to use\n  // the same codepath to call `updateRef` on the reference.\n  function invokeRef(value) {\n    (0, _reference.updateRef)(this, value);\n  }\n\n  // ComponentArgs takes EvaluatedNamedArgs and converts them into the\n  // inputs needed by CurlyComponents (attrs and props, with mutable\n  // cells, etc).\n  function processComponentArgs(namedArgs) {\n    let attrs = Object.create(null);\n    let props = Object.create(null);\n    props[ARGS] = namedArgs;\n    for (let name in namedArgs) {\n      let ref = namedArgs[name];\n      (true && !(ref) && (0, _debug.assert)('expected ref', ref));\n      let value = (0, _reference.valueForRef)(ref);\n      let isAction = typeof value === 'function' && ACTIONS.has(value);\n      if ((0, _reference.isUpdatableRef)(ref) && !isAction) {\n        attrs[name] = new MutableCell(ref, value);\n      } else {\n        attrs[name] = value;\n      }\n      props[name] = value;\n    }\n    props.attrs = attrs;\n    return props;\n  }\n  const REF = Symbol('REF');\n  class MutableCell {\n    constructor(ref, value) {\n      this[_views.MUTABLE_CELL] = true;\n      this[REF] = ref;\n      this.value = value;\n    }\n    update(val) {\n      (0, _reference.updateRef)(this[REF], val);\n    }\n  }\n  const ARGS = (0, _utils.enumerableSymbol)('ARGS');\n  const HAS_BLOCK = (0, _utils.enumerableSymbol)('HAS_BLOCK');\n  const DIRTY_TAG = Symbol('DIRTY_TAG');\n  const IS_DISPATCHING_ATTRS = Symbol('IS_DISPATCHING_ATTRS');\n  const BOUNDS = Symbol('BOUNDS');\n  const EMBER_VIEW_REF = (0, _reference.createPrimitiveRef)('ember-view');\n  function aliasIdToElementId(args, props) {\n    if (args.named.has('id')) {\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  }\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  function applyAttributeBindings(attributeBindings, component, rootRef, operations) {\n    let seen = [];\n    let i = attributeBindings.length - 1;\n    while (i !== -1) {\n      let binding = attributeBindings[i];\n      (true && !(binding) && (0, _debug.assert)('has binding', binding));\n      let parsed = parseAttributeBinding(binding);\n      let attribute = parsed[1];\n      if (seen.indexOf(attribute) === -1) {\n        seen.push(attribute);\n        installAttributeBinding(component, rootRef, parsed, operations);\n      }\n      i--;\n    }\n    if (seen.indexOf('id') === -1) {\n      let id = component.elementId ? component.elementId : (0, _utils.guidFor)(component);\n      operations.setAttribute('id', (0, _reference.createPrimitiveRef)(id), false, null);\n    }\n  }\n  const EMPTY_POSITIONAL_ARGS = [];\n  (0, _debug.debugFreeze)(EMPTY_POSITIONAL_ARGS);\n  class CurlyComponentManager {\n    templateFor(component) {\n      let {\n        layout,\n        layoutName\n      } = component;\n      let owner = (0, _owner2.getOwner)(component);\n      (true && !(owner) && (0, _debug.assert)('Component is unexpectedly missing an owner', owner));\n      let factory;\n      if (layout === undefined) {\n        if (layoutName !== undefined) {\n          let _factory = owner.lookup(`template:${layoutName}`);\n          (true && !(_factory !== undefined) && (0, _debug.assert)(`Layout \\`${layoutName}\\` not found!`, _factory !== undefined));\n          factory = _factory;\n        } else {\n          return null;\n        }\n      } else if (isTemplateFactory(layout)) {\n        factory = layout;\n      } else {\n        // no layout was found, use the default layout\n        return null;\n      }\n      return (0, _util.unwrapTemplate)(factory(owner)).asWrappedLayout();\n    }\n    getDynamicLayout(bucket) {\n      return this.templateFor(bucket.component);\n    }\n    getTagName(state) {\n      let {\n        component,\n        hasWrappedElement\n      } = state;\n      if (!hasWrappedElement) {\n        return null;\n      }\n      return component && component.tagName || 'div';\n    }\n    getCapabilities() {\n      return CURLY_CAPABILITIES;\n    }\n    prepareArgs(ComponentClass, args) {\n      if (args.named.has('__ARGS__')) {\n        (true && !(args.positional.length === 0) && (0, _debug.assert)('[BUG] cannot pass both __ARGS__ and positional arguments', args.positional.length === 0));\n        let {\n          __ARGS__,\n          ...rest\n        } = args.named.capture();\n        (true && !(__ARGS__) && (0, _debug.assert)('[BUG] unexpectedly missing __ARGS__ after check', __ARGS__)); // does this need to be untracked?\n        let __args__ = (0, _reference.valueForRef)(__ARGS__);\n        let prepared = {\n          positional: __args__.positional,\n          named: {\n            ...rest,\n            ...__args__.named\n          }\n        };\n        return prepared;\n      }\n      const {\n        positionalParams\n      } = ComponentClass.class ?? ComponentClass;\n      // early exits\n      if (positionalParams === undefined || positionalParams === null || args.positional.length === 0) {\n        return null;\n      }\n      let named;\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        let captured = args.positional.capture();\n        named = {\n          [positionalParams]: (0, _reference.createComputeRef)(() => (0, _runtime2.reifyPositional)(captured))\n        };\n        Object.assign(named, args.named.capture());\n      } else if (Array.isArray(positionalParams) && positionalParams.length > 0) {\n        const count = Math.min(positionalParams.length, args.positional.length);\n        named = {};\n        Object.assign(named, args.named.capture());\n        for (let i = 0; i < count; i++) {\n          let name = positionalParams[i];\n          (true && !(name) && (0, _debug.assert)('Expected at least one positional param', name));\n          (true && !(!args.named.has(name)) && (0, _debug.assert)(`You cannot specify both a positional param (at position ${i}) and the hash argument \\`${name}\\`.`, !args.named.has(name)));\n          named[name] = args.positional.at(i);\n        }\n      } else {\n        return null;\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    create(owner, ComponentClass, args, {\n      isInteractive\n    }, dynamicScope, callerSelfRef, hasBlock) {\n      // Get the nearest concrete component instance from the scope. \"Virtual\"\n      // components will be skipped.\n      let parentView = dynamicScope.view;\n      // 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      let capturedArgs = args.named.capture();\n      (0, _validator.beginTrackFrame)();\n      let props = processComponentArgs(capturedArgs);\n      let argsTag = (0, _validator.endTrackFrame)();\n      // Alias `id` argument to `elementId` property on the component instance.\n      aliasIdToElementId(args, props);\n      // Set component instance's parentView property to point to nearest concrete\n      // component.\n      props.parentView = parentView;\n      // Set whether this component was invoked with a block\n      // (`{{#my-component}}{{/my-component}}`) or without one\n      // (`{{my-component}}`).\n      props[HAS_BLOCK] = hasBlock;\n      // Save the current `this` context of the template as the component's\n      // `_target`, so bubbled actions are routed to the right place.\n      props._target = (0, _reference.valueForRef)(callerSelfRef);\n      (0, _owner2.setOwner)(props, owner);\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      (0, _validator.beginUntrackFrame)();\n      let component = ComponentClass.create(props);\n      let finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component);\n      // We become the new parentView for downstream components, so save our\n      // component off on the dynamic scope.\n      dynamicScope.view = component;\n      // Unless we're the root component, we need to add ourselves to our parent\n      // component's childViews array.\n      if (parentView !== null && parentView !== undefined) {\n        (0, _views.addChildView)(parentView, component);\n      }\n      component.trigger('didReceiveAttrs');\n      let hasWrappedElement = component.tagName !== '';\n      // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n      if (!hasWrappedElement) {\n        if (isInteractive) {\n          component.trigger('willRender');\n        }\n        component._transitionTo('hasElement');\n        if (isInteractive) {\n          component.trigger('willInsertElement');\n        }\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      let bucket = new ComponentStateBucket(component, capturedArgs, argsTag, finalizer, hasWrappedElement, isInteractive);\n      if (args.named.has('class')) {\n        bucket.classRef = args.named.get('class');\n      }\n      if (true /* DEBUG */) {\n        processComponentInitializationAssertions(component, props);\n      }\n      if (isInteractive && hasWrappedElement) {\n        component.trigger('willRender');\n      }\n      (0, _validator.endUntrackFrame)();\n      // consume every argument so we always run again\n      (0, _validator.consumeTag)(bucket.argsTag);\n      (0, _validator.consumeTag)(component[DIRTY_TAG]);\n      return bucket;\n    }\n    getDebugName(definition) {\n      return definition.fullName || definition.normalizedName || definition.class?.name || definition.name;\n    }\n    getSelf({\n      rootRef\n    }) {\n      return rootRef;\n    }\n    didCreateElement({\n      component,\n      classRef,\n      isInteractive,\n      rootRef\n    }, element, operations) {\n      (0, _views.setViewElement)(component, element);\n      (0, _views.setElementView)(element, component);\n      let {\n        attributeBindings,\n        classNames,\n        classNameBindings\n      } = component;\n      if (attributeBindings && attributeBindings.length) {\n        applyAttributeBindings(attributeBindings, component, rootRef, operations);\n      } else {\n        let id = component.elementId ? component.elementId : (0, _utils.guidFor)(component);\n        operations.setAttribute('id', (0, _reference.createPrimitiveRef)(id), false, null);\n      }\n      if (classRef) {\n        const ref = createSimpleClassNameBindingRef(classRef);\n        operations.setAttribute('class', ref, false, null);\n      }\n      if (classNames && classNames.length) {\n        classNames.forEach(name => {\n          operations.setAttribute('class', (0, _reference.createPrimitiveRef)(name), false, null);\n        });\n      }\n      if (classNameBindings && classNameBindings.length) {\n        classNameBindings.forEach(binding => {\n          createClassNameBindingRef(rootRef, binding, operations);\n        });\n      }\n      operations.setAttribute('class', EMBER_VIEW_REF, false, null);\n      if ('ariaRole' in component) {\n        operations.setAttribute('role', (0, _reference.childRefFor)(rootRef, 'ariaRole'), false, null);\n      }\n      component._transitionTo('hasElement');\n      if (isInteractive) {\n        (0, _validator.beginUntrackFrame)();\n        component.trigger('willInsertElement');\n        (0, _validator.endUntrackFrame)();\n      }\n    }\n    didRenderLayout(bucket, bounds) {\n      bucket.component[BOUNDS] = bounds;\n      bucket.finalize();\n    }\n    didCreate({\n      component,\n      isInteractive\n    }) {\n      if (isInteractive) {\n        component._transitionTo('inDOM');\n        component.trigger('didInsertElement');\n        component.trigger('didRender');\n      }\n    }\n    update(bucket) {\n      let {\n        component,\n        args,\n        argsTag,\n        argsRevision,\n        isInteractive\n      } = bucket;\n      bucket.finalizer = (0, _instrumentation._instrumentStart)('render.component', rerenderInstrumentDetails, component);\n      (0, _validator.beginUntrackFrame)();\n      if (args !== null && !(0, _validator.validateTag)(argsTag, argsRevision)) {\n        (0, _validator.beginTrackFrame)();\n        let props = processComponentArgs(args);\n        argsTag = bucket.argsTag = (0, _validator.endTrackFrame)();\n        bucket.argsRevision = (0, _validator.valueForTag)(argsTag);\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      if (isInteractive) {\n        component.trigger('willUpdate');\n        component.trigger('willRender');\n      }\n      (0, _validator.endUntrackFrame)();\n      (0, _validator.consumeTag)(argsTag);\n      (0, _validator.consumeTag)(component[DIRTY_TAG]);\n    }\n    didUpdateLayout(bucket) {\n      bucket.finalize();\n    }\n    didUpdate({\n      component,\n      isInteractive\n    }) {\n      if (isInteractive) {\n        component.trigger('didUpdate');\n        component.trigger('didRender');\n      }\n    }\n    getDestroyable(bucket) {\n      return bucket;\n    }\n  }\n  function processComponentInitializationAssertions(component, props) {\n    (true && !((() => {\n      let {\n        classNameBindings\n      } = component;\n      for (let i = 0; i < classNameBindings.length; i++) {\n        let binding = classNameBindings[i];\n        if (typeof binding !== 'string' || binding.length === 0) {\n          return false;\n        }\n      }\n      return true;\n    })()) && (0, _debug.assert)(`classNameBindings must be non-empty strings: ${component}`, (() => {\n      let {\n        classNameBindings\n      } = component;\n      for (let i = 0; i < classNameBindings.length; i++) {\n        let binding = classNameBindings[i];\n        if (typeof binding !== 'string' || binding.length === 0) {\n          return false;\n        }\n      }\n      return true;\n    })()));\n    (true && !((() => {\n      let {\n        classNameBindings\n      } = component;\n      for (let binding of classNameBindings) {\n        if (binding.split(' ').length > 1) {\n          return false;\n        }\n      }\n      return true;\n    })()) && (0, _debug.assert)(`classNameBindings must not have spaces in them: ${component}`, (() => {\n      let {\n        classNameBindings\n      } = component;\n      for (let binding of classNameBindings) {\n        if (binding.split(' ').length > 1) {\n          return false;\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  function initialRenderInstrumentDetails(component) {\n    return component.instrumentDetails({\n      initialRender: true\n    });\n  }\n  function rerenderInstrumentDetails(component) {\n    return component.instrumentDetails({\n      initialRender: false\n    });\n  }\n  const 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    wrapped: true,\n    willDestroy: true,\n    hasSubOwner: false\n  };\n  const CURLY_COMPONENT_MANAGER = new CurlyComponentManager();\n  function isCurlyManager(manager) {\n    return manager === CURLY_COMPONENT_MANAGER;\n  }\n\n  // Keep track of which component classes have already been processed for lazy event setup.\n  let lazyEventsProcessed = new WeakMap();\n  class Component extends _views.CoreView.extend(_views.ChildViewsSupport, _views.ViewStateSupport, _views.ClassNamesSupport, _runtime.TargetActionSupport, _views.ActionSupport, _views.ViewMixin, {\n    // These need to be overridable via extend/create but should still\n    // have a default. Defining them here is the best way to achieve that.\n    didReceiveAttrs() {},\n    didRender() {},\n    didUpdate() {},\n    didUpdateAttrs() {},\n    willRender() {},\n    willUpdate() {}\n  }) {\n    constructor() {\n      super(...arguments);\n      this.isComponent = true;\n    }\n    init(properties) {\n      super.init(properties);\n      // Handle methods from ViewMixin.\n      // The native class inheritance will not work for mixins. To work around this,\n      // we copy the existing rerender method provided by the mixin and swap in the\n      // new rerender method from our class.\n      this._superRerender = this.rerender;\n      this.rerender = this._rerender;\n      this[IS_DISPATCHING_ATTRS] = false;\n      this[DIRTY_TAG] = (0, _validator.createTag)();\n      this[BOUNDS] = null;\n      const eventDispatcher = this._dispatcher;\n      if (eventDispatcher) {\n        let lazyEventsProcessedForComponentClass = lazyEventsProcessed.get(eventDispatcher);\n        if (!lazyEventsProcessedForComponentClass) {\n          lazyEventsProcessedForComponentClass = new WeakSet();\n          lazyEventsProcessed.set(eventDispatcher, lazyEventsProcessedForComponentClass);\n        }\n        let proto = Object.getPrototypeOf(this);\n        if (!lazyEventsProcessedForComponentClass.has(proto)) {\n          let lazyEvents = eventDispatcher.lazyEvents;\n          lazyEvents.forEach((mappedEventName, event) => {\n            if (mappedEventName !== null && typeof this[mappedEventName] === 'function') {\n              eventDispatcher.setupHandlerForBrowserEvent(event);\n            }\n          });\n          lazyEventsProcessedForComponentClass.add(proto);\n        }\n      }\n      if (true /* DEBUG */ && eventDispatcher && this.renderer._isInteractive && this.tagName === '') {\n        let eventNames = [];\n        let events = eventDispatcher.finalEventNameMapping;\n        for (let key in events) {\n          let methodName = events[key];\n          if (methodName && typeof this[methodName] === 'function') {\n            eventNames.push(methodName);\n          }\n        }\n        // If in a tagless component, assert that no event handlers are defined\n        (true && !(!eventNames.length) && (0, _debug.assert)(`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    get _dispatcher() {\n      if (this.__dispatcher === undefined) {\n        let owner = (0, _owner2.getOwner)(this);\n        (true && !(owner) && (0, _debug.assert)('Component is unexpectedly missing an owner', owner));\n        if (owner.lookup('-environment:main').isInteractive) {\n          let dispatcher = owner.lookup('event_dispatcher:main');\n          (true && !(dispatcher instanceof _views.EventDispatcher) && (0, _debug.assert)('Expected dispatcher to be an EventDispatcher', dispatcher instanceof _views.EventDispatcher));\n          this.__dispatcher = dispatcher;\n        } else {\n          // In FastBoot we have no EventDispatcher. Set to null to not try again to look it up.\n          this.__dispatcher = null;\n        }\n      }\n      return this.__dispatcher;\n    }\n    on(name, target, method) {\n      this._dispatcher?.setupHandlerForEmberEvent(name);\n      // The `on` method here comes from the Evented mixin. Since this mixin\n      // is applied to the parent of this class, however, we are still able\n      // to use `super`.\n      return super.on(name, target, method);\n    }\n    // Changed to `rerender` on init\n    _rerender() {\n      (0, _validator.dirtyTag)(this[DIRTY_TAG]);\n      this._superRerender();\n    }\n    [_metal.PROPERTY_DID_CHANGE](key, value) {\n      if (this[IS_DISPATCHING_ATTRS]) {\n        return;\n      }\n      let args = this[ARGS];\n      let reference = args !== undefined ? args[key] : undefined;\n      if (reference !== undefined && (0, _reference.isUpdatableRef)(reference)) {\n        (0, _reference.updateRef)(reference, arguments.length === 2 ? value : (0, _metal.get)(this, key));\n      }\n    }\n    getAttr(key) {\n      // TODO Intimate API should be deprecated\n      return this.get(key);\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      let _element = (0, _views.getViewElement)(this);\n      (true && !(_element !== null) && (0, _debug.assert)(`Cannot call \\`readDOMAttr\\` on ${this} which does not have an element`, _element !== null));\n      let element = _element;\n      let isSVG = element.namespaceURI === 'http://www.w3.org/2000/svg';\n      let {\n        type,\n        normalized\n      } = (0, _runtime2.normalizeProperty)(element, name);\n      if (isSVG || type === 'attr') {\n        return element.getAttribute(normalized);\n      }\n      return element[normalized];\n    }\n    static toString() {\n      return '@ember/component';\n    }\n  }\n  _exports.Component = Component;\n  Component.isComponentFactory = true;\n  // We continue to use reopenClass here so that positionalParams can be overridden with reopenClass in subclasses.\n  Component.reopenClass({\n    positionalParams: []\n  });\n  (0, _manager.setInternalComponentManager)(CURLY_COMPONENT_MANAGER, Component);\n\n  /**\n  @module @ember/component\n  */\n  var _a;\n  const RECOMPUTE_TAG = Symbol('RECOMPUTE_TAG');\n  const IS_CLASSIC_HELPER = Symbol('IS_CLASSIC_HELPER');\n  class Helper extends _internals.FrameworkObject {\n    init(properties) {\n      super.init(properties);\n      this[RECOMPUTE_TAG] = (0, _validator.createTag)();\n      (true && !(this.compute) && (0, _debug.assert)('expected compute to be defined', this.compute));\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 { 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, _validator.dirtyTag)(this[RECOMPUTE_TAG]));\n    }\n  }\n  _exports.Helper = Helper;\n  _a = IS_CLASSIC_HELPER;\n  Helper.isHelperFactory = true;\n  Helper[_a] = true;\n  // `packages/ember/index.js` was setting `Helper.helper`. This seems like\n  // a bad idea and probably not something we want. We've moved that definition\n  // here, but it should definitely be reviewed and probably removed.\n  /** @deprecated */\n  Helper.helper = helper$1;\n  /* eslint-enable import/export */\n  function isClassicHelper(obj) {\n    return obj[IS_CLASSIC_HELPER] === true;\n  }\n  class ClassicHelperManager {\n    constructor(owner) {\n      this.capabilities = (0, _manager.helperCapabilities)('3.23', {\n        hasValue: true,\n        hasDestroyable: true\n      });\n      let ownerInjection = {};\n      (0, _owner2.setOwner)(ownerInjection, owner);\n      this.ownerInjection = ownerInjection;\n    }\n    createHelper(definition, args) {\n      let instance = isFactoryManager(definition) ? definition.create() : definition.create(this.ownerInjection);\n      (true && !(function (instance) {\n        if (instance !== null && typeof instance === 'object') {\n          let cast = instance;\n          return typeof cast.compute === 'function' && typeof cast.destroy === 'function';\n        }\n        return false;\n      }(instance)) && (0, _debug.assert)('expected HelperInstance', function (instance) {\n        if (instance !== null && typeof instance === 'object') {\n          let cast = instance;\n          return typeof cast.compute === 'function' && typeof cast.destroy === 'function';\n        }\n        return false;\n      }(instance)));\n      return {\n        instance,\n        args\n      };\n    }\n    getDestroyable({\n      instance\n    }) {\n      return instance;\n    }\n    getValue({\n      instance,\n      args\n    }) {\n      let {\n        positional,\n        named\n      } = args;\n      let ret = instance.compute(positional, named);\n      (0, _validator.consumeTag)(instance[RECOMPUTE_TAG]);\n      return ret;\n    }\n    getDebugName(definition) {\n      return (0, _utils.getDebugName)((definition.class || definition)['prototype']);\n    }\n  }\n  function isFactoryManager(obj) {\n    return obj != null && 'class' in obj;\n  }\n  (0, _manager.setHelperManager)(owner => {\n    return new ClassicHelperManager(owner);\n  }, Helper);\n  const CLASSIC_HELPER_MANAGER = (0, _manager.getInternalHelperManager)(Helper);\n  ///////////\n  class Wrapper {\n    constructor(compute) {\n      this.compute = compute;\n      this.isHelperFactory = true;\n    }\n    create() {\n      // needs new instance or will leak containers\n      return {\n        compute: this.compute\n      };\n    }\n  }\n  class SimpleClassicHelperManager {\n    constructor() {\n      this.capabilities = (0, _manager.helperCapabilities)('3.23', {\n        hasValue: true\n      });\n    }\n    createHelper(definition, args) {\n      return () => definition.compute.call(null, args.positional, args.named);\n    }\n    getValue(fn) {\n      return fn();\n    }\n    getDebugName(definition) {\n      return (0, _utils.getDebugName)(definition.compute);\n    }\n  }\n  const SIMPLE_CLASSIC_HELPER_MANAGER = new SimpleClassicHelperManager();\n  (0, _manager.setHelperManager)(() => SIMPLE_CLASSIC_HELPER_MANAGER, Wrapper.prototype);\n  function helper$1(helperFn\n  // At the implementation site, we don't care about the actual underlying type\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n  ) {\n    // SAFETY: this is completely lies, in two ways:\n    //\n    // 1. `Wrapper` is a `Factory<SimpleHelper<S>>`, but from the perspective of\n    //    any external callers (i.e. Ember *users*), it is quite important that\n    //    the `Factory` relationship be hidden, because it is not public API for\n    //    an end user to call `.create()` on a helper created this way. Instead,\n    //    we provide them an `abstract new` signature (which means it cannot be\n    //    directly constructed by calling `new` on it) and which does not have the\n    //    `.create()` signature on it anymore.\n    //\n    // 2. The produced type here ends up being a subtype of `Helper`, which is not\n    //    strictly true. This is necessary for the sake of Glint, which provides\n    //    its information by way of a \"declaration merge\" with `Helper<S>` in the\n    //    case of items produced by `helper()`.\n    //\n    // Long-term, this entire construct can go away in favor of deprecating the\n    // `helper()` invocation in favor of using plain functions.\n    return new Wrapper(helperFn);\n  }\n\n  /**\n  @module @ember/template\n  */\n  /**\n    A wrapper around a string that has been marked as safe (\"trusted\"). **When\n    rendered in HTML, Ember will not perform any escaping.**\n  \n    Note:\n  \n    1. This does not *make* the string safe; it means that some code in your\n       application has *marked* it as safe using the `htmlSafe()` function.\n  \n    2. The only public API for getting a `SafeString` is calling `htmlSafe()`. It\n       is *not* user-constructible.\n  \n    If a string contains user inputs or other untrusted data, you must sanitize\n    the string before using the `htmlSafe` method. Otherwise your code is\n    vulnerable to [Cross-Site Scripting][xss]. There are many open source\n    sanitization libraries to choose from, both for front end and server-side\n    sanitization.\n  \n    [xss]: https://owasp.org/www-community/attacks/DOM_Based_XSS\n  \n    ```javascript\n    import { htmlSafe } from '@ember/template';\n  \n    let someTrustedOrSanitizedString = \"<div>Hello!</div>\"\n  \n    htmlSafe(someTrustedorSanitizedString);\n    ```\n  \n    @for @ember/template\n    @class SafeString\n    @since 4.12.0\n    @public\n   */\n  class SafeString {\n    constructor(string) {\n      this.__string = string;\n    }\n    /**\n      Get the string back to use as a string.\n         @public\n      @method toString\n      @returns {String} The string marked as trusted\n     */\n    toString() {\n      return `${this.__string}`;\n    }\n    /**\n      Get the wrapped string as HTML to use without escaping.\n         @public\n      @method toHTML\n      @returns {String} the trusted string, without any escaping applied\n     */\n    toHTML() {\n      return this.toString();\n    }\n  }\n  _exports.SafeString = SafeString;\n  const escape = {\n    '&': '&amp;',\n    '<': '&lt;',\n    '>': '&gt;',\n    '\"': '&quot;',\n    \"'\": '&#x27;',\n    '`': '&#x60;',\n    '=': '&#x3D;'\n  };\n  const possible = /[&<>\"'`=]/;\n  const badChars = /[&<>\"'`=]/g;\n  function escapeChar(chr) {\n    return escape[chr];\n  }\n  function escapeExpression(string) {\n    let s;\n    if (typeof string !== 'string') {\n      // don't escape SafeStrings, since they're already safe\n      if (isHTMLSafe(string)) {\n        return string.toHTML();\n      } else if (string === null || string === undefined) {\n        return '';\n      } else if (!string) {\n        return String(string);\n      }\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      s = String(string);\n    } else {\n      s = string;\n    }\n    if (!possible.test(s)) {\n      return s;\n    }\n    // SAFETY: this is technically a lie, but it's a true lie as long as the\n    // invariant it depends on is upheld: `escapeChar` will always return a string\n    // as long as its input is one of the characters in `escape`, and it will only\n    // be called if it matches one of the characters in the `badChar` regex, which\n    // is hand-maintained to match the set escaped. (It would be nice if TS could\n    // \"see\" into the regex to see how this works, but that'd be quite a lot of\n    // extra fanciness.)\n    return s.replace(badChars, escapeChar);\n  }\n  /**\n    Use this method to indicate that a string should be rendered as HTML\n    when the string is used in a template. To say this another way,\n    strings marked with `htmlSafe` will not be HTML escaped.\n  \n    A word of warning -   The `htmlSafe` method does not make the string safe;\n    it only tells the framework to treat the string as if it is safe to render\n    as HTML. If a string contains user inputs or other untrusted\n    data, you must sanitize the string before using the `htmlSafe` method.\n    Otherwise your code is vulnerable to\n    [Cross-Site Scripting](https://owasp.org/www-community/attacks/DOM_Based_XSS).\n    There are many open source sanitization libraries to choose from,\n    both for front end and server-side sanitization.\n  \n    ```javascript\n    import { htmlSafe } from '@ember/template';\n  \n    const someTrustedOrSanitizedString = \"<div>Hello!</div>\"\n  \n    htmlSafe(someTrustedorSanitizedString)\n    ```\n  \n    @method htmlSafe\n    @for @ember/template\n    @param str {String} The string to treat as trusted.\n    @static\n    @return {SafeString} A string that will not be HTML escaped by Handlebars.\n    @public\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    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    let plainString = 'plain string';\n    let 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  function isHTMLSafe(str) {\n    return str !== null && typeof str === 'object' && 'toHTML' in str && typeof str.toHTML === 'function';\n  }\n  function instrumentationPayload$1(def) {\n    // \"main\" used to be the outlet name, keeping it around for compatibility\n    return {\n      object: `${def.name}:main`\n    };\n  }\n  const CAPABILITIES$1 = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: false,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: false,\n    dynamicScope: true,\n    updateHook: false,\n    createInstance: true,\n    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  class OutletComponentManager {\n    create(_owner, definition, _args, env, dynamicScope) {\n      let parentStateRef = dynamicScope.get('outletState');\n      let currentStateRef = definition.ref;\n      dynamicScope.set('outletState', currentStateRef);\n      let state = {\n        self: (0, _reference.createConstRef)(definition.controller, 'this'),\n        finalize: (0, _instrumentation._instrumentStart)('render.outlet', instrumentationPayload$1, definition)\n      };\n      if (env.debugRenderTree !== undefined) {\n        state.outletBucket = {};\n        let parentState = (0, _reference.valueForRef)(parentStateRef);\n        let parentOwner = parentState && parentState.render && parentState.render.owner;\n        let currentOwner = (0, _reference.valueForRef)(currentStateRef).render.owner;\n        if (parentOwner && parentOwner !== currentOwner) {\n          (true && !(currentOwner instanceof _instance.default) && (0, _debug.assert)('Expected currentOwner to be an EngineInstance', currentOwner instanceof _instance.default));\n          let mountPoint = currentOwner.mountPoint;\n          state.engine = currentOwner;\n          if (mountPoint) {\n            state.engineBucket = {\n              mountPoint\n            };\n          }\n        }\n      }\n      return state;\n    }\n    getDebugName({\n      name\n    }) {\n      return name;\n    }\n    getDebugCustomRenderTree(definition, state, args) {\n      let nodes = [];\n      (true && !(state.outletBucket) && (0, _debug.assert)('[BUG] outletBucket must be set', state.outletBucket));\n      nodes.push({\n        bucket: state.outletBucket,\n        type: 'outlet',\n        // \"main\" used to be the outlet name, keeping it around for compatibility\n        name: 'main',\n        args: _runtime2.EMPTY_ARGS,\n        instance: undefined,\n        template: undefined\n      });\n      if (state.engineBucket) {\n        nodes.push({\n          bucket: state.engineBucket,\n          type: 'engine',\n          name: state.engineBucket.mountPoint,\n          args: _runtime2.EMPTY_ARGS,\n          instance: state.engine,\n          template: undefined\n        });\n      }\n      nodes.push({\n        bucket: state,\n        type: 'route-template',\n        name: definition.name,\n        args: args,\n        instance: definition.controller,\n        template: (0, _util.unwrapTemplate)(definition.template).moduleName\n      });\n      return nodes;\n    }\n    getCapabilities() {\n      return CAPABILITIES$1;\n    }\n    getSelf({\n      self\n    }) {\n      return self;\n    }\n    didCreate() {}\n    didUpdate() {}\n    didRenderLayout(state) {\n      state.finalize();\n    }\n    didUpdateLayout() {}\n    getDestroyable() {\n      return null;\n    }\n  }\n  const OUTLET_MANAGER = new OutletComponentManager();\n  class OutletComponentDefinition {\n    constructor(state, manager = OUTLET_MANAGER) {\n      this.state = state;\n      this.manager = manager;\n      // handle is not used by this custom definition\n      this.handle = -1;\n      let capabilities = manager.getCapabilities();\n      this.capabilities = (0, _manager.capabilityFlagsFrom)(capabilities);\n      this.compilable = capabilities.wrapped ? (0, _util.unwrapTemplate)(state.template).asWrappedLayout() : (0, _util.unwrapTemplate)(state.template).asLayout();\n      this.resolvedName = state.name;\n    }\n  }\n  function createRootOutlet(outletView) {\n    if (_environment2.ENV._APPLICATION_TEMPLATE_WRAPPER) {\n      const WRAPPED_CAPABILITIES = Object.assign({}, CAPABILITIES$1, {\n        dynamicTag: true,\n        elementHook: true,\n        wrapped: true\n      });\n      const WrappedOutletComponentManager = class extends OutletComponentManager {\n        getTagName() {\n          return 'div';\n        }\n        getCapabilities() {\n          return WRAPPED_CAPABILITIES;\n        }\n        didCreateElement(component, element) {\n          // to add GUID id and class\n          element.setAttribute('class', 'ember-view');\n          element.setAttribute('id', (0, _utils.guidFor)(component));\n        }\n      };\n      const 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  class RootComponentManager extends CurlyComponentManager {\n    constructor(component) {\n      super();\n      this.component = component;\n    }\n    create(_owner, _state, _args, {\n      isInteractive\n    }, dynamicScope) {\n      let component = this.component;\n      let finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component);\n      dynamicScope.view = component;\n      let hasWrappedElement = component.tagName !== '';\n      // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n      if (!hasWrappedElement) {\n        if (isInteractive) {\n          component.trigger('willRender');\n        }\n        component._transitionTo('hasElement');\n        if (isInteractive) {\n          component.trigger('willInsertElement');\n        }\n      }\n      if (true /* DEBUG */) {\n        processComponentInitializationAssertions(component, {});\n      }\n      let bucket = new ComponentStateBucket(component, null, _validator.CONSTANT_TAG, finalizer, hasWrappedElement, isInteractive);\n      (0, _validator.consumeTag)(component[DIRTY_TAG]);\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  const ROOT_CAPABILITIES = {\n    dynamicLayout: true,\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    wrapped: true,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  class RootComponentDefinition {\n    constructor(component) {\n      // handle is not used by this custom definition\n      this.handle = -1;\n      this.resolvedName = '-top-level';\n      this.capabilities = (0, _manager.capabilityFlagsFrom)(ROOT_CAPABILITIES);\n      this.compilable = null;\n      this.manager = new RootComponentManager(component);\n      let factory = (0, _container.getFactoryFor)(component);\n      (true && !(factory !== undefined) && (0, _debug.assert)('missing factory for component', factory !== undefined));\n      this.state = factory;\n    }\n  }\n\n  /**\n  @module ember\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    There are two special values for `key`:\n  \n      * `@index` - The index of the item in the array.\n      * `@identity` - The item in the array itself.\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    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    ```html\n    <ul>\n      <li>name: Shelly Sails</li>\n      <li>age: 42</li>\n    </ul>\n    ```\n  \n    @method each-in\n    @for Ember.Templates.helpers\n    @public\n    @since 2.1.0\n  */\n  class EachInWrapper {\n    constructor(inner) {\n      this.inner = inner;\n    }\n  }\n  var eachIn = internalHelper(({\n    positional\n  }) => {\n    const inner = positional[0];\n    (true && !(inner) && (0, _debug.assert)('expected at least one positional arg', inner));\n    return (0, _reference.createComputeRef)(() => {\n      let iterable = (0, _reference.valueForRef)(inner);\n      (0, _validator.consumeTag)((0, _metal.tagForObject)(iterable));\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      return new EachInWrapper(iterable);\n    });\n  });\n  function toIterator(iterable) {\n    if (iterable instanceof EachInWrapper) {\n      return toEachInIterator(iterable.inner);\n    } else {\n      return toEachIterator(iterable);\n    }\n  }\n  function toEachInIterator(iterable) {\n    if (!isIndexable(iterable)) {\n      return null;\n    }\n    if (Array.isArray(iterable) || (0, _internals2.isEmberArray)(iterable)) {\n      return ObjectIterator.fromIndexable(iterable);\n    } else if (isNativeIterable(iterable)) {\n      return MapLikeNativeIterator.from(iterable);\n    } else if (hasForEach(iterable)) {\n      return ObjectIterator.fromForEachable(iterable);\n    } else {\n      return ObjectIterator.fromIndexable(iterable);\n    }\n  }\n  function toEachIterator(iterable) {\n    if (!(0, _utils.isObject)(iterable)) {\n      return null;\n    }\n    if (Array.isArray(iterable)) {\n      return ArrayIterator.from(iterable);\n    } else if ((0, _internals2.isEmberArray)(iterable)) {\n      return EmberArrayIterator.from(iterable);\n    } else if (isNativeIterable(iterable)) {\n      return ArrayLikeNativeIterator.from(iterable);\n    } else if (hasForEach(iterable)) {\n      return ArrayIterator.fromForEachable(iterable);\n    } else {\n      return null;\n    }\n  }\n  class BoundedIterator {\n    constructor(length) {\n      this.length = length;\n      this.position = 0;\n    }\n    isEmpty() {\n      return false;\n    }\n    memoFor(position) {\n      return position;\n    }\n    next() {\n      let {\n        length,\n        position\n      } = this;\n      if (position >= length) {\n        return null;\n      }\n      let value = this.valueFor(position);\n      let memo = this.memoFor(position);\n      this.position++;\n      return {\n        value,\n        memo\n      };\n    }\n  }\n  class ArrayIterator extends BoundedIterator {\n    static from(iterable) {\n      return iterable.length > 0 ? new this(iterable) : null;\n    }\n    static fromForEachable(object) {\n      let array = [];\n      object.forEach(item => array.push(item));\n      return this.from(array);\n    }\n    constructor(array) {\n      super(array.length);\n      this.array = array;\n    }\n    valueFor(position) {\n      return this.array[position];\n    }\n  }\n  class EmberArrayIterator extends BoundedIterator {\n    static from(iterable) {\n      return iterable.length > 0 ? new this(iterable) : null;\n    }\n    constructor(array) {\n      super(array.length);\n      this.array = array;\n    }\n    valueFor(position) {\n      return (0, _metal.objectAt)(this.array, position);\n    }\n  }\n  class ObjectIterator extends BoundedIterator {\n    static fromIndexable(obj) {\n      let keys = Object.keys(obj);\n      if (keys.length === 0) {\n        return null;\n      } else {\n        let values = [];\n        for (let key of keys) {\n          let value;\n          value = obj[key];\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          if ((0, _validator.isTracking)()) {\n            (0, _validator.consumeTag)((0, _validator.tagFor)(obj, key));\n            if (Array.isArray(value)) {\n              (0, _validator.consumeTag)((0, _validator.tagFor)(value, '[]'));\n            }\n          }\n          values.push(value);\n        }\n        return new this(keys, values);\n      }\n    }\n    static fromForEachable(obj) {\n      let keys = [];\n      let values = [];\n      let length = 0;\n      let isMapLike = false;\n      // Not using an arrow function here so we can get an accurate `arguments`\n      obj.forEach(function (value, key) {\n        isMapLike = isMapLike || arguments.length >= 2;\n        if (isMapLike) {\n          keys.push(key);\n        }\n        values.push(value);\n        length++;\n      });\n      if (length === 0) {\n        return null;\n      } else if (isMapLike) {\n        return new this(keys, values);\n      } else {\n        return new ArrayIterator(values);\n      }\n    }\n    constructor(keys, values) {\n      super(values.length);\n      this.keys = keys;\n      this.values = values;\n    }\n    valueFor(position) {\n      return this.values[position];\n    }\n    memoFor(position) {\n      return this.keys[position];\n    }\n  }\n  class NativeIterator {\n    static from(iterable) {\n      let iterator = iterable[Symbol.iterator]();\n      let result = iterator.next();\n      let {\n        done\n      } = result;\n      if (done) {\n        return null;\n      } else {\n        return new this(iterator, result);\n      }\n    }\n    constructor(iterable, result) {\n      this.iterable = iterable;\n      this.result = result;\n      this.position = 0;\n    }\n    isEmpty() {\n      return false;\n    }\n    next() {\n      let {\n        iterable,\n        result,\n        position\n      } = this;\n      if (result.done) {\n        return null;\n      }\n      let value = this.valueFor(result, position);\n      let memo = this.memoFor(result, position);\n      this.position++;\n      this.result = iterable.next();\n      return {\n        value,\n        memo\n      };\n    }\n  }\n  class ArrayLikeNativeIterator extends NativeIterator {\n    valueFor(result) {\n      return result.value;\n    }\n    memoFor(_result, position) {\n      return position;\n    }\n  }\n  class MapLikeNativeIterator extends NativeIterator {\n    valueFor(result) {\n      return result.value[1];\n    }\n    memoFor(result) {\n      return result.value[0];\n    }\n  }\n  function hasForEach(value) {\n    return value != null && typeof value['forEach'] === 'function';\n  }\n  function isNativeIterable(value) {\n    return value != null && typeof value[Symbol.iterator] === 'function';\n  }\n  function isIndexable(value) {\n    return value !== null && (typeof value === 'object' || typeof value === 'function');\n  }\n  function toBool(predicate) {\n    if ((0, _utils.isProxy)(predicate)) {\n      (0, _validator.consumeTag)((0, _metal.tagForProperty)(predicate, 'content'));\n      return Boolean((0, _metal.get)(predicate, 'isTruthy'));\n    } else if ((0, _array.isArray)(predicate)) {\n      (0, _validator.consumeTag)((0, _metal.tagForProperty)(predicate, '[]'));\n      return predicate.length !== 0;\n    } else if ((0, _glimmer.isHTMLSafe)(predicate)) {\n      return Boolean(predicate.toString());\n    } else {\n      return Boolean(predicate);\n    }\n  }\n\n  ///////////\n  // Setup global context\n  (0, _globalContext.default)({\n    FEATURES: {\n      DEFAULT_HELPER_MANAGER: true\n    },\n    scheduleRevalidate() {\n      _runloop._backburner.ensureInstance();\n    },\n    toBool,\n    toIterator,\n    getProp: _metal._getProp,\n    setProp: _metal._setProp,\n    getPath: _metal.get,\n    setPath: _metal.set,\n    scheduleDestroy(destroyable, destructor) {\n      (0, _runloop.schedule)('actions', null, destructor, destroyable);\n    },\n    scheduleDestroyed(finalizeDestructor) {\n      (0, _runloop.schedule)('destroy', null, finalizeDestructor);\n    },\n    warnIfStyleNotTrusted(value) {\n      (true && (0, _debug.warn)((0, _views.constructStyleDeprecationMessage)(String(value)), (() => {\n        if (value === null || value === undefined || isHTMLSafe(value)) {\n          return true;\n        }\n        return false;\n      })(), {\n        id: 'ember-htmlbars.style-xss-warning'\n      }));\n    },\n    assert(test, msg, options) {\n      if (true /* DEBUG */) {\n        let id = options?.id;\n        let override = VM_ASSERTION_OVERRIDES.filter(o => o.id === id)[0];\n        (true && !(test) && (0, _debug.assert)(override?.message ?? msg, test));\n      }\n    },\n    deprecate(msg, test, options) {\n      if (true /* DEBUG */) {\n        let {\n          id\n        } = options;\n        if (id === 'argument-less-helper-paren-less-invocation') {\n          throw new Error(`A resolved helper cannot be passed as a named argument as the syntax is ` + `ambiguously a pass-by-reference or invocation. Use the ` + `\\`{{helper 'foo-helper}}\\` helper to pass by reference or explicitly ` + `invoke the helper with parens: \\`{{(fooHelper)}}\\`.`);\n        }\n        let override = VM_DEPRECATION_OVERRIDES.filter(o => o.id === id)[0];\n        if (!override) throw new Error(`deprecation override for ${id} not found`);\n        // allow deprecations to be disabled in the VM_DEPRECATION_OVERRIDES array below\n        if (!override.disabled) {\n          (true && !(Boolean(test)) && (0, _debug.deprecate)(override.message ?? msg, Boolean(test), override));\n        }\n      }\n    }\n  });\n  if (true /* DEBUG */) {\n    _validator.debug?.setTrackingTransactionEnv?.({\n      debugMessage(obj, keyName) {\n        let dirtyString = keyName ? `\\`${keyName}\\` on \\`${(0, _utils.getDebugName)?.(obj)}\\`` : `\\`${(0, _utils.getDebugName)?.(obj)}\\``;\n        return `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    });\n  }\n  ///////////\n  // VM Assertion/Deprecation overrides\n  const VM_DEPRECATION_OVERRIDES = [{\n    id: 'setting-on-hash',\n    until: '4.4.0',\n    for: 'ember-source',\n    since: {\n      available: '3.28.0',\n      enabled: '3.28.0'\n    }\n  }];\n  const VM_ASSERTION_OVERRIDES = [];\n  ///////////\n  // Define environment delegate\n  class EmberEnvironmentDelegate {\n    constructor(owner, isInteractive) {\n      this.owner = owner;\n      this.isInteractive = isInteractive;\n      this.enableDebugTooling = _environment2.ENV._DEBUG_RENDER_TREE;\n    }\n    onTransactionCommit() {}\n  }\n\n  /**\n  @module ember\n  */\n  var disallowDynamicResolution = internalHelper(({\n    positional,\n    named\n  }) => {\n    const nameOrValueRef = positional[0];\n    (true && !(positional.length === 1 && nameOrValueRef) && (0, _debug.assert)(`[BUG] wrong number of positional arguments, expecting 1, got ${positional.length}`, positional.length === 1 && nameOrValueRef));\n    let typeRef = named['type'];\n    let locRef = named['loc'];\n    let originalRef = named['original'];\n    (true && !(typeRef) && (0, _debug.assert)(`[BUG] expecting \\`type\\` named argument`, typeRef));\n    (true && !(locRef) && (0, _debug.assert)(`[BUG] expecting \\`loc\\` named argument`, locRef));\n    (true && !(originalRef) && (0, _debug.assert)(`[BUG] expecting \\`original\\` named argument`, originalRef)); // Bug: why do these fail?\n    // assert('[BUG] expecting a string literal for the `type` argument', isConstRef(typeRef));\n    // assert('[BUG] expecting a string literal for the `loc` argument', isConstRef(locRef));\n    // assert('[BUG] expecting a string literal for the `original` argument', isConstRef(originalRef));\n    const type = (0, _reference.valueForRef)(typeRef);\n    const loc = (0, _reference.valueForRef)(locRef);\n    const original = (0, _reference.valueForRef)(originalRef);\n    (true && !(typeof type === 'string') && (0, _debug.assert)('[BUG] expecting a string literal for the `type` argument', typeof type === 'string'));\n    (true && !(typeof loc === 'string') && (0, _debug.assert)('[BUG] expecting a string literal for the `loc` argument', typeof loc === 'string'));\n    (true && !(typeof original === 'string') && (0, _debug.assert)('[BUG] expecting a string literal for the `original` argument', typeof original === 'string'));\n    return (0, _reference.createComputeRef)(() => {\n      let nameOrValue = (0, _reference.valueForRef)(nameOrValueRef);\n      (true && !(typeof nameOrValue !== 'string') && (0, _debug.assert)(`Passing a dynamic string to the \\`(${type})\\` keyword is disallowed. ` + `(You specified \\`(${type} ${original})\\` and \\`${original}\\` evaluated into \"${nameOrValue}\".) ` + `This ensures we can statically analyze the template and determine which ${type}s are used. ` + `If the ${type} name is always the same, use a string literal instead, i.e. \\`(${type} \"${nameOrValue}\")\\`. ` + `Otherwise, import the ${type}s into JavaScript and pass them directly. ` + 'See https://github.com/emberjs/rfcs/blob/master/text/0496-handlebars-strict-mode.md#4-no-dynamic-resolution for details. ' + loc, typeof nameOrValue !== 'string'));\n      return nameOrValue;\n    });\n  });\n  let helper;\n  if (true /* DEBUG */) {\n    helper = args => {\n      const inner = args.positional[0];\n      (true && !(inner) && (0, _debug.assert)('expected at least one positional arg', inner));\n      return (0, _reference.createComputeRef)(() => {\n        let value = (0, _reference.valueForRef)(inner);\n        (true && !(value !== null && value !== undefined) && (0, _debug.assert)('You cannot pass a null or undefined destination element to in-element', value !== null && value !== undefined));\n        return value;\n      });\n    };\n  } else {\n    helper = args => {\n      let arg = args.positional[0];\n      (true && !(arg) && (0, _debug.assert)('expected at least one positional arg', arg));\n      return arg;\n    };\n  }\n  var inElementNullCheckHelper = internalHelper(helper);\n  var normalizeClassHelper = internalHelper(({\n    positional\n  }) => {\n    return (0, _reference.createComputeRef)(() => {\n      let classNameArg = positional[0];\n      let valueArg = positional[1];\n      (true && !(classNameArg && valueArg) && (0, _debug.assert)('expected at least two positional args', classNameArg && valueArg));\n      let classNameParts = (0, _reference.valueForRef)(classNameArg).split('.');\n      let className = classNameParts[classNameParts.length - 1];\n      (true && !(className) && (0, _debug.assert)('has className', className)); // Always at least one split result\n      let value = (0, _reference.valueForRef)(valueArg);\n      if (value === true) {\n        return (0, _string.dasherize)(className);\n      } else if (!value && value !== 0) {\n        return '';\n      } else {\n        return String(value);\n      }\n    });\n  });\n  var resolve = internalHelper(({\n    positional\n  }, owner) => {\n    // why is this allowed to be undefined in the first place?\n    (true && !(owner) && (0, _debug.assert)('[BUG] missing owner', owner));\n    (true && !(positional.length === 1) && (0, _debug.assert)(`[BUG] wrong number of positional arguments, expecting 1, got ${positional.length}`, positional.length === 1));\n    let fullNameRef = positional[0];\n    (true && !(fullNameRef && (0, _reference.isConstRef)(fullNameRef)) && (0, _debug.assert)('[BUG] expecting a string literal as argument', fullNameRef && (0, _reference.isConstRef)(fullNameRef)));\n    let fullName = (0, _reference.valueForRef)(fullNameRef);\n    (true && !(typeof fullName === 'string') && (0, _debug.assert)('[BUG] expecting a string literal as argument', typeof fullName === 'string'));\n    (true && !((s => s.split(':').length === 2)(fullName)) && (0, _debug.assert)('[BUG] expecting a valid full name', (s => s.split(':').length === 2)(fullName)));\n    if (true /* DEBUG */) {\n      let [type, name] = fullName.split(':');\n      (true && !(owner.hasRegistration(fullName)) && (0, _debug.assert)(`Attempted to invoke \\`(-resolve \"${fullName}\")\\`, but ${name} was not a valid ${type} name.`, owner.hasRegistration(fullName)));\n    }\n    return (0, _reference.createConstRef)(owner.factoryFor(fullName)?.class, `(-resolve \"${fullName}\")`);\n  });\n\n  /**\n  @module ember\n  */\n  /**\n    This reference is used to get the `[]` tag of iterables, so we can trigger\n    updates to `{{each}}` when it changes. It is put into place by a template\n    transform at build time, similar to the (-each-in) helper\n  */\n  var trackArray = internalHelper(({\n    positional\n  }) => {\n    const inner = positional[0];\n    (true && !(inner) && (0, _debug.assert)('expected at least one positional arg', inner));\n    return (0, _reference.createComputeRef)(() => {\n      let iterable = (0, _reference.valueForRef)(inner);\n      if ((0, _utils.isObject)(iterable)) {\n        (0, _validator.consumeTag)((0, _metal.tagForProperty)(iterable, '[]'));\n      }\n      return iterable;\n    });\n  });\n\n  /**\n  @module ember\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    @method mut\n    @param {Object} [attr] the \"two-way\" attribute that can be modified.\n    @for Ember.Templates.helpers\n    @public\n  */\n  var mut = internalHelper(({\n    positional\n  }) => {\n    let ref = positional[0];\n    (true && !(ref) && (0, _debug.assert)('expected at least one positional arg', ref)); // 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    (true && !((0, _reference.isUpdatableRef)(ref)) && (0, _debug.assert)('You can only pass a path to mut', (0, _reference.isUpdatableRef)(ref)));\n    return (0, _reference.createInvokableRef)(ref);\n  });\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  var readonly = internalHelper(({\n    positional\n  }) => {\n    let firstArg = positional[0];\n    (true && !(firstArg) && (0, _debug.assert)('has first arg', firstArg));\n    return (0, _reference.createReadOnlyRef)(firstArg);\n  });\n\n  /**\n  @module ember\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  var unbound = internalHelper(({\n    positional,\n    named\n  }) => {\n    (true && !(positional.length === 1 && Object.keys(named).length === 0) && (0, _debug.assert)('unbound helper cannot be called with multiple params or hash params', positional.length === 1 && Object.keys(named).length === 0));\n    return (0, _reference.createUnboundRef)((0, _reference.valueForRef)(positional[0]), '(result of an `unbound` helper)');\n  });\n\n  /**\n  @module ember\n  */\n  var uniqueId = internalHelper(() => {\n    // SAFETY: glimmer-vm should change the signature of createUnboundRef to use a generic\n    //         so that the type param to `Reference<?>` can infer from the first argument.\n    //\n    // NOTE: constRef is an optimization so we don't let the VM create extra wrappers,\n    //       tracking frames, etc.\n    return (0, _reference.createConstRef)(uniqueId$1(), 'unique-id');\n  });\n  // From https://gist.github.com/selfish/fef2c0ba6cdfe07af76e64cecd74888b\n  //\n  // This code should be reasonably fast, and provide a unique value every time\n  // it's called, which is what we need here. It produces a string formatted as a\n  // standard UUID, which avoids accidentally turning Ember-specific\n  // implementation details into an intimate API. It also ensures that the UUID\n  // always starts with a letter, to avoid creating invalid IDs with a numeric\n  // digit at the start.\n  function uniqueId$1() {\n    // @ts-expect-error this one-liner abuses weird JavaScript semantics that\n    // TypeScript (legitimately) doesn't like, but they're nonetheless valid and\n    // specced.\n    return ([3e7] + -1e3 + -4e3 + -2e3 + -1e11).replace(/[0-3]/g, a => (a * 4 ^ Math.random() * 16 >> (a & 2)).toString(16));\n  }\n  const MODIFIERS = ['alt', 'shift', 'meta', 'ctrl'];\n  const POINTER_EVENT_TYPE_REGEX = /^click|mouse|touch/;\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    if (allowedKeys.indexOf('any') >= 0) {\n      return true;\n    }\n    for (let i = 0; i < MODIFIERS.length; i++) {\n      if (event[MODIFIERS[i] + 'Key'] && allowedKeys.indexOf(MODIFIERS[i]) === -1) {\n        return false;\n      }\n    }\n    return true;\n  }\n  let ActionHelper = {\n    // registeredActions is re-exported for compatibility with older plugins\n    // that were using this undocumented API.\n    registeredActions: _views.ActionManager.registeredActions,\n    registerAction(actionState) {\n      let {\n        actionId\n      } = actionState;\n      _views.ActionManager.registeredActions[actionId] = actionState;\n      return actionId;\n    },\n    unregisterAction(actionState) {\n      let {\n        actionId\n      } = actionState;\n      delete _views.ActionManager.registeredActions[actionId];\n    }\n  };\n  class ActionState {\n    constructor(element, owner, actionId, actionArgs, namedArgs, positionalArgs) {\n      this.tag = (0, _validator.createUpdatableTag)();\n      this.element = element;\n      this.owner = owner;\n      this.actionId = actionId;\n      this.actionArgs = actionArgs;\n      this.namedArgs = namedArgs;\n      this.positional = positionalArgs;\n      this.eventName = this.getEventName();\n      (0, _destroyable.registerDestructor)(this, () => ActionHelper.unregisterAction(this));\n    }\n    getEventName() {\n      let {\n        on\n      } = this.namedArgs;\n      return on !== undefined ? (0, _reference.valueForRef)(on) : 'click';\n    }\n    getActionArgs() {\n      let result = new Array(this.actionArgs.length);\n      for (let i = 0; i < this.actionArgs.length; i++) {\n        result[i] = (0, _reference.valueForRef)(this.actionArgs[i]);\n      }\n      return result;\n    }\n    getTarget() {\n      let {\n        implicitTarget,\n        namedArgs\n      } = this;\n      let {\n        target\n      } = namedArgs;\n      return target !== undefined ? (0, _reference.valueForRef)(target) : (0, _reference.valueForRef)(implicitTarget);\n    }\n    handler(event) {\n      let {\n        actionName,\n        namedArgs\n      } = this;\n      let {\n        bubbles,\n        preventDefault,\n        allowedKeys\n      } = namedArgs;\n      let bubblesVal = bubbles !== undefined ? (0, _reference.valueForRef)(bubbles) : undefined;\n      let preventDefaultVal = preventDefault !== undefined ? (0, _reference.valueForRef)(preventDefault) : undefined;\n      let allowedKeysVal = allowedKeys !== undefined ? (0, _reference.valueForRef)(allowedKeys) : undefined;\n      let target = this.getTarget();\n      let shouldBubble = bubblesVal !== false;\n      if (!isAllowedEvent(event, allowedKeysVal)) {\n        return true;\n      }\n      if (preventDefaultVal !== false) {\n        event.preventDefault();\n      }\n      if (!shouldBubble) {\n        event.stopPropagation();\n      }\n      (0, _runloop.join)(() => {\n        let args = this.getActionArgs();\n        let payload = {\n          args,\n          target,\n          name: null\n        };\n        if ((0, _reference.isInvokableRef)(actionName)) {\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n            (0, _reference.updateRef)(actionName, args[0]);\n          });\n          return;\n        }\n        if (typeof actionName === 'function') {\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n            actionName.apply(target, args);\n          });\n          return;\n        }\n        payload.name = actionName;\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  class ActionModifierManager {\n    create(owner, element, _state, {\n      named,\n      positional\n    }) {\n      let actionArgs = [];\n      // The first two arguments are (1) `this` and (2) the action name.\n      // Everything else is a param.\n      for (let i = 2; i < positional.length; i++) {\n        actionArgs.push(positional[i]);\n      }\n      let actionId = (0, _utils.uuid)();\n      return new ActionState(element, owner, actionId, actionArgs, named, positional);\n    }\n    getDebugName() {\n      return 'action';\n    }\n    install(actionState) {\n      let {\n        element,\n        actionId,\n        positional\n      } = actionState;\n      let actionName;\n      let actionNameRef;\n      let implicitTarget;\n      if (positional.length > 1) {\n        implicitTarget = positional[0];\n        actionNameRef = positional[1];\n        if ((0, _reference.isInvokableRef)(actionNameRef)) {\n          actionName = actionNameRef;\n        } else {\n          actionName = (0, _reference.valueForRef)(actionNameRef);\n          if (true /* DEBUG */) {\n            let actionPath = actionNameRef.debugLabel;\n            let actionPathParts = actionPath.split('.');\n            let actionLabel = actionPathParts[actionPathParts.length - 1];\n            (true && !(typeof actionName === 'string' || typeof actionName === 'function') && (0, _debug.assert)('You specified a quoteless path, `' + actionPath + '`, 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      actionState.actionName = actionName;\n      actionState.implicitTarget = implicitTarget;\n      this.ensureEventSetup(actionState);\n      ActionHelper.registerAction(actionState);\n      element.setAttribute('data-ember-action', '');\n      element.setAttribute(`data-ember-action-${actionId}`, String(actionId));\n    }\n    update(actionState) {\n      let {\n        positional\n      } = actionState;\n      let actionNameRef = positional[1];\n      (true && !(actionNameRef) && (0, _debug.assert)('Expected at least one positional arg', actionNameRef));\n      if (!(0, _reference.isInvokableRef)(actionNameRef)) {\n        actionState.actionName = (0, _reference.valueForRef)(actionNameRef);\n      }\n      let newEventName = actionState.getEventName();\n      if (newEventName !== actionState.eventName) {\n        this.ensureEventSetup(actionState);\n        actionState.eventName = actionState.getEventName();\n      }\n    }\n    ensureEventSetup(actionState) {\n      let dispatcher = actionState.owner.lookup('event_dispatcher:main');\n      (true && !(dispatcher instanceof _views.EventDispatcher) && (0, _debug.assert)('Expected dispatcher to be an EventDispatcher', dispatcher instanceof _views.EventDispatcher));\n      dispatcher?.setupHandlerForEmberEvent(actionState.eventName);\n    }\n    getTag(actionState) {\n      return actionState.tag;\n    }\n    getDestroyable(actionState) {\n      return actionState;\n    }\n  }\n  const ACTION_MODIFIER_MANAGER = new ActionModifierManager();\n  var actionModifier = (0, _manager.setInternalModifierManager)(ACTION_MODIFIER_MANAGER, {});\n  const CAPABILITIES = {\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    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: true\n  };\n  class MountManager {\n    getDynamicLayout(state) {\n      let templateFactory = state.engine.lookup('template:application');\n      return (0, _util.unwrapTemplate)(templateFactory(state.engine)).asLayout();\n    }\n    getCapabilities() {\n      return CAPABILITIES;\n    }\n    getOwner(state) {\n      return state.engine;\n    }\n    create(owner, {\n      name\n    }, args, env) {\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      (true && !(owner instanceof _instance.default) && (0, _debug.assert)('Expected owner to be an EngineInstance', owner instanceof _instance.default));\n      let engine = owner.buildChildEngineInstance(name);\n      engine.boot();\n      let applicationFactory = engine.factoryFor(`controller:application`);\n      let controllerFactory = applicationFactory || (0, _internals3.generateControllerFactory)(engine, 'application');\n      let controller;\n      let self;\n      let bucket;\n      let modelRef;\n      if (args.named.has('model')) {\n        modelRef = args.named.get('model');\n      }\n      if (modelRef === undefined) {\n        controller = controllerFactory.create();\n        self = (0, _reference.createConstRef)(controller, 'this');\n        bucket = {\n          engine,\n          controller,\n          self,\n          modelRef\n        };\n      } else {\n        let model = (0, _reference.valueForRef)(modelRef);\n        controller = controllerFactory.create({\n          model\n        });\n        self = (0, _reference.createConstRef)(controller, 'this');\n        bucket = {\n          engine,\n          controller,\n          self,\n          modelRef\n        };\n      }\n      if (env.debugRenderTree) {\n        (0, _destroyable.associateDestroyableChild)(engine, controller);\n      }\n      return bucket;\n    }\n    getDebugName({\n      name\n    }) {\n      return name;\n    }\n    getDebugCustomRenderTree(definition, state, args, templateModuleName) {\n      return [{\n        bucket: state.engine,\n        instance: state.engine,\n        type: 'engine',\n        name: definition.name,\n        args\n      }, {\n        bucket: state.controller,\n        instance: state.controller,\n        type: 'route-template',\n        name: 'application',\n        args,\n        template: templateModuleName\n      }];\n    }\n    getSelf({\n      self\n    }) {\n      return self;\n    }\n    getDestroyable(bucket) {\n      return bucket.engine;\n    }\n    didCreate() {}\n    didUpdate() {}\n    didRenderLayout() {}\n    didUpdateLayout() {}\n    update(bucket) {\n      let {\n        controller,\n        modelRef\n      } = bucket;\n      if (modelRef !== undefined) {\n        controller.set('model', (0, _reference.valueForRef)(modelRef));\n      }\n    }\n  }\n  const MOUNT_MANAGER = new MountManager();\n  class MountDefinition {\n    constructor(resolvedName) {\n      this.resolvedName = resolvedName;\n      // handle is not used by this custom definition\n      this.handle = -1;\n      this.manager = MOUNT_MANAGER;\n      this.compilable = null;\n      this.capabilities = (0, _manager.capabilityFlagsFrom)(CAPABILITIES);\n      this.state = {\n        name: resolvedName\n      };\n    }\n  }\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  const mountHelper = internalHelper((args, owner) => {\n    (true && !(owner) && (0, _debug.assert)('{{mount}} must be used within a component that has an owner', owner));\n    let nameRef = args.positional[0];\n    let captured;\n    (true && !(args.positional.length === 1) && (0, _debug.assert)('You can only pass a single positional argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.', args.positional.length === 1));\n    if (true /* DEBUG */ && args.named) {\n      let keys = Object.keys(args.named);\n      let 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    captured = (0, _runtime2.createCapturedArgs)(args.named, _runtime2.EMPTY_POSITIONAL);\n    let lastName, lastDef;\n    return (0, _reference.createComputeRef)(() => {\n      let name = (0, _reference.valueForRef)(nameRef);\n      if (typeof name === 'string') {\n        if (lastName === name) {\n          return lastDef;\n        }\n        (true && !(owner.hasRegistration(`engine:${name}`)) && (0, _debug.assert)(`You used \\`{{mount '${name}'}}\\`, but the engine '${name}' can not be found.`, owner.hasRegistration(`engine:${name}`)));\n        lastName = name;\n        lastDef = (0, _runtime2.curry)(_vm.CurriedType.Component, new MountDefinition(name), owner, captured, true);\n        return 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        lastDef = null;\n        lastName = null;\n        return null;\n      }\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    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    @for Ember.Templates.helpers\n    @public\n  */\n  const outletHelper = internalHelper((_args, owner, scope) => {\n    (true && !(owner) && (0, _debug.assert)('Expected owner to be present, {{outlet}} requires an owner', owner));\n    (true && !(scope) && (0, _debug.assert)('Expected dynamic scope to be present. You may have attempted to use the {{outlet}} keyword dynamically. This keyword cannot be used dynamically.', scope));\n    let outletRef = (0, _reference.createComputeRef)(() => {\n      let state = (0, _reference.valueForRef)(scope.get('outletState'));\n      return state?.outlets?.main;\n    });\n    let lastState = null;\n    let definition = null;\n    return (0, _reference.createComputeRef)(() => {\n      let outletState = (0, _reference.valueForRef)(outletRef);\n      let state = stateFor(outletRef, outletState);\n      if (!validate(state, lastState)) {\n        lastState = state;\n        if (state !== null) {\n          let named = (0, _util.dict)();\n          // Create a ref for the model\n          let modelRef = (0, _reference.childRefFromParts)(outletRef, ['render', 'model']);\n          // Store the value of the model\n          let model = (0, _reference.valueForRef)(modelRef);\n          // Create a compute ref which we pass in as the `{{@model}}` reference\n          // for the outlet. This ref will update and return the value of the\n          // model _until_ the outlet itself changes. Once the outlet changes,\n          // dynamic scope also changes, and so the original model ref would not\n          // provide the correct updated value. So we stop updating and return\n          // the _last_ model value for that outlet.\n          named['model'] = (0, _reference.createComputeRef)(() => {\n            if (lastState === state) {\n              model = (0, _reference.valueForRef)(modelRef);\n            }\n            return model;\n          });\n          if (true /* DEBUG */) {\n            named['model'] = (0, _reference.createDebugAliasRef)('@model', named['model']);\n          }\n          let args = (0, _runtime2.createCapturedArgs)(named, _runtime2.EMPTY_POSITIONAL);\n          definition = (0, _runtime2.curry)(_vm.CurriedType.Component, new OutletComponentDefinition(state), outletState?.render?.owner ?? owner, args, true);\n        } else {\n          definition = null;\n        }\n      }\n      return definition;\n    });\n  });\n  function stateFor(ref, outlet) {\n    if (outlet === undefined) return null;\n    let render = outlet.render;\n    if (render === undefined) return null;\n    let template = render.template;\n    if (template === undefined) return null;\n    if (isTemplateFactory(template)) {\n      template = template(render.owner);\n      if (true /* DEBUG */) {\n        let message = 'The `template` property of `OutletState` should be a ' + '`Template` rather than a `TemplateFactory`. This is known to be a ' + \"problem in older versions of `@ember/test-helpers`. If you haven't \" + 'done so already, try upgrading to the latest version.\\n\\n';\n        if (template.result === 'ok' && typeof template.moduleName === 'string') {\n          message += 'The offending template has a moduleName `' + template.moduleName + '`, which might be helpful for identifying ' + 'source of this issue.\\n\\n';\n        }\n        message += 'Please note that `OutletState` is a private API in Ember.js ' + \"and not meant to be used outside of the framework's internal code.\";\n        (true && !(false) && (0, _debug.deprecate)(message, false, {\n          id: 'outlet-state-template-factory',\n          until: '5.9.0',\n          for: 'ember-source',\n          since: {\n            available: '5.6.0',\n            enabled: '5.6.0'\n          }\n        }));\n      }\n    }\n    return {\n      ref,\n      name: render.name,\n      template,\n      controller: render.controller,\n      model: render.model\n    };\n  }\n  function validate(state, lastState) {\n    if (state === null) {\n      return lastState === null;\n    }\n    if (lastState === null) {\n      return false;\n    }\n    return state.template === lastState.template && state.controller === lastState.controller;\n  }\n  function instrumentationPayload(name) {\n    return {\n      object: `component:${name}`\n    };\n  }\n  function componentFor(name, owner) {\n    let fullName = `component:${name}`;\n    return owner.factoryFor(fullName) || null;\n  }\n  function layoutFor(name, owner, options) {\n    let templateFullName = `template:components/${name}`;\n    return owner.lookup(templateFullName, options) || null;\n  }\n  function lookupComponentPair(owner, name, options) {\n    let component = componentFor(name, owner);\n    if ((0, _owner2.isFactory)(component) && component.class) {\n      let layout = (0, _manager.getComponentTemplate)(component.class);\n      if (layout !== undefined) {\n        return {\n          component,\n          layout\n        };\n      }\n    }\n    let layout = layoutFor(name, owner, options);\n    if (component === null && layout === null) {\n      return null;\n    } else {\n      return {\n        component,\n        layout\n      };\n    }\n  }\n  const BUILTIN_KEYWORD_HELPERS = {\n    action,\n    mut,\n    readonly,\n    unbound,\n    '-hash': _runtime2.hash,\n    '-each-in': eachIn,\n    '-normalize-class': normalizeClassHelper,\n    '-resolve': resolve,\n    '-track-array': trackArray,\n    '-mount': mountHelper,\n    '-outlet': outletHelper,\n    '-in-el-null': inElementNullCheckHelper\n  };\n  const BUILTIN_HELPERS = {\n    ...BUILTIN_KEYWORD_HELPERS,\n    array: _runtime2.array,\n    concat: _runtime2.concat,\n    fn: _runtime2.fn,\n    get: _runtime2.get,\n    hash: _runtime2.hash,\n    'unique-id': uniqueId\n  };\n  if (true /* DEBUG */) {\n    BUILTIN_HELPERS['-disallow-dynamic-resolution'] = disallowDynamicResolution;\n  } else {\n    // Bug: this may be a quirk of our test setup?\n    // In prod builds, this is a no-op helper and is unused in practice. We shouldn't need\n    // to add it at all, but the current test build doesn't produce a \"prod compiler\", so\n    // we ended up running the debug-build for the template compliler in prod tests. Once\n    // that is fixed, this can be removed. For now, this allows the test to work and does\n    // not really harm anything, since it's just a no-op pass-through helper and the bytes\n    // has to be included anyway. In the future, perhaps we can avoid the latter by using\n    // `import(...)`?\n    BUILTIN_HELPERS['-disallow-dynamic-resolution'] = disallowDynamicResolution;\n  }\n  const BUILTIN_KEYWORD_MODIFIERS = {\n    action: actionModifier\n  };\n  const BUILTIN_MODIFIERS = {\n    ...BUILTIN_KEYWORD_MODIFIERS,\n    on: _runtime2.on\n  };\n  const CLASSIC_HELPER_MANAGER_ASSOCIATED = new WeakSet();\n  class ResolverImpl {\n    constructor() {\n      this.componentDefinitionCache = new Map();\n    }\n    lookupPartial() {\n      return null;\n    }\n    lookupHelper(name, owner) {\n      (true && !(!(BUILTIN_HELPERS[name] && owner.hasRegistration(`helper:${name}`))) && (0, _debug.assert)(`You attempted to overwrite the built-in helper \"${name}\" which is not allowed. Please rename the helper.`, !(BUILTIN_HELPERS[name] && owner.hasRegistration(`helper:${name}`))));\n      let helper = BUILTIN_HELPERS[name];\n      if (helper !== undefined) {\n        return helper;\n      }\n      let factory = owner.factoryFor(`helper:${name}`);\n      if (factory === undefined) {\n        return null;\n      }\n      let definition = factory.class;\n      if (definition === undefined) {\n        return null;\n      }\n      if (typeof definition === 'function' && isClassicHelper(definition)) {\n        // For classic class based helpers, we need to pass the factoryFor result itself rather\n        // than the raw value (`factoryFor(...).class`). This is because injections are already\n        // bound in the factoryFor result, including type-based injections\n        if (true /* DEBUG */) {\n          // In DEBUG we need to only set the associated value once, otherwise\n          // we'll trigger an assertion\n          if (!CLASSIC_HELPER_MANAGER_ASSOCIATED.has(factory)) {\n            CLASSIC_HELPER_MANAGER_ASSOCIATED.add(factory);\n            (0, _manager.setInternalHelperManager)(CLASSIC_HELPER_MANAGER, factory);\n          }\n        } else {\n          (0, _manager.setInternalHelperManager)(CLASSIC_HELPER_MANAGER, factory);\n        }\n        return factory;\n      }\n      return definition;\n    }\n    lookupBuiltInHelper(name) {\n      return BUILTIN_KEYWORD_HELPERS[name] ?? null;\n    }\n    lookupModifier(name, owner) {\n      let builtin = BUILTIN_MODIFIERS[name];\n      if (builtin !== undefined) {\n        return builtin;\n      }\n      let modifier = owner.factoryFor(`modifier:${name}`);\n      if (modifier === undefined) {\n        return null;\n      }\n      return modifier.class || null;\n    }\n    lookupBuiltInModifier(name) {\n      return BUILTIN_KEYWORD_MODIFIERS[name] ?? null;\n    }\n    lookupComponent(name, owner) {\n      let pair = lookupComponentPair(owner, name);\n      if (pair === null) {\n        (true && !(name !== 'text-area') && (0, _debug.assert)('Could not find component `<TextArea />` (did you mean `<Textarea />`?)', name !== 'text-area'));\n        return null;\n      }\n      let template = null;\n      let key;\n      if (pair.component === null) {\n        key = template = pair.layout(owner);\n      } else {\n        key = pair.component;\n      }\n      let cachedComponentDefinition = this.componentDefinitionCache.get(key);\n      if (cachedComponentDefinition !== undefined) {\n        return cachedComponentDefinition;\n      }\n      if (template === null && pair.layout !== null) {\n        template = pair.layout(owner);\n      }\n      let finalizer = (0, _instrumentation._instrumentStart)('render.getComponentDefinition', instrumentationPayload, name);\n      let definition = null;\n      if (pair.component === null) {\n        if (_environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n          definition = {\n            state: (0, _runtime2.templateOnlyComponent)(undefined, name),\n            manager: _runtime2.TEMPLATE_ONLY_COMPONENT_MANAGER,\n            template\n          };\n        } else {\n          let factory = owner.factoryFor((0, _container.privatize)`component:-default`);\n          let manager = (0, _manager.getInternalComponentManager)(factory.class);\n          definition = {\n            state: factory,\n            manager,\n            template\n          };\n        }\n      } else {\n        let factory = pair.component;\n        (true && !(factory.class !== undefined) && (0, _debug.assert)(`missing component class ${name}`, factory.class !== undefined));\n        let ComponentClass = factory.class;\n        let manager = (0, _manager.getInternalComponentManager)(ComponentClass);\n        definition = {\n          state: isCurlyManager(manager) ? factory : ComponentClass,\n          manager,\n          template\n        };\n      }\n      finalizer();\n      this.componentDefinitionCache.set(key, definition);\n      (true && !(!(definition === null && name === 'text-area')) && (0, _debug.assert)('Could not find component `<TextArea />` (did you mean `<Textarea />`?)', !(definition === null && name === 'text-area')));\n      return definition;\n    }\n  }\n\n  // We use the `InternalOwner` notion here because we actually need all of its\n  // API for using with renderers (normally, it will be `EngineInstance`).\n  // We use `getOwner` from our internal home for it rather than the narrower\n  // public API for the same reason.\n  const TOP_LEVEL_NAME = '-top-level';\n  class OutletView {\n    static extend(injections) {\n      return class extends OutletView {\n        static create(options) {\n          if (options) {\n            return super.create(Object.assign({}, injections, options));\n          } else {\n            return super.create(injections);\n          }\n        }\n      };\n    }\n    static reopenClass(injections) {\n      Object.assign(this, injections);\n    }\n    static create(options) {\n      let {\n        environment: _environment,\n        application: namespace,\n        template: templateFactory\n      } = options;\n      let owner = (0, _owner2.getOwner)(options);\n      (true && !(owner) && (0, _debug.assert)('OutletView is unexpectedly missing an owner', owner));\n      let template = templateFactory(owner);\n      return new OutletView(_environment, owner, template, namespace);\n    }\n    constructor(_environment, owner, template, namespace) {\n      this._environment = _environment;\n      this.owner = owner;\n      this.template = template;\n      this.namespace = namespace;\n      let outletStateTag = (0, _validator.createTag)();\n      let outletState = {\n        outlets: {\n          main: undefined\n        },\n        render: {\n          owner: owner,\n          into: undefined,\n          outlet: 'main',\n          name: TOP_LEVEL_NAME,\n          controller: undefined,\n          model: undefined,\n          template\n        }\n      };\n      let ref = this.ref = (0, _reference.createComputeRef)(() => {\n        (0, _validator.consumeTag)(outletStateTag);\n        return outletState;\n      }, state => {\n        (0, _validator.dirtyTag)(outletStateTag);\n        outletState.outlets['main'] = state;\n      });\n      this.state = {\n        ref,\n        name: TOP_LEVEL_NAME,\n        template,\n        controller: undefined,\n        model: undefined\n      };\n    }\n    appendTo(selector) {\n      let target;\n      if (this._environment.hasDOM) {\n        target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n      } else {\n        target = selector;\n      }\n      let renderer = this.owner.lookup('renderer:-dom');\n      // SAFETY: It's not clear that this cast is safe.\n      // The types for appendOutletView may be incorrect or this is a potential bug.\n      (0, _runloop.schedule)('render', renderer, 'appendOutletView', this, target);\n    }\n    rerender() {\n      /**/\n    }\n    setOutletState(state) {\n      (0, _reference.updateRef)(this.ref, state);\n    }\n    destroy() {\n      /**/\n    }\n  }\n  _exports.OutletView = OutletView;\n  class DynamicScope {\n    constructor(view, outletState) {\n      this.view = view;\n      this.outletState = outletState;\n    }\n    child() {\n      return new DynamicScope(this.view, this.outletState);\n    }\n    get(key) {\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    set(key, value) {\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;\n      return value;\n    }\n  }\n  const NO_OP = () => {};\n  // This wrapper logic prevents us from rerendering in case of a hard failure\n  // during render. This prevents infinite revalidation type loops from occuring,\n  // and ensures that errors are not swallowed by subsequent follow on failures.\n  function errorLoopTransaction(fn) {\n    if (true /* DEBUG */) {\n      return () => {\n        let didError = true;\n        try {\n          fn();\n          didError = false;\n        } finally {\n          if (didError) {\n            // Noop the function so that we won't keep calling it and causing\n            // infinite looping failures;\n            fn = () => {\n              // eslint-disable-next-line no-console\n              console.warn('Attempted to rerender, but the Ember application has had an unrecoverable error occur during render. You should reload the application after fixing the cause of the error.');\n            };\n          }\n        }\n      };\n    } else {\n      return fn;\n    }\n  }\n  class RootState {\n    constructor(root, runtime, context, owner, template, self, parentElement, dynamicScope, builder) {\n      this.root = root;\n      this.runtime = runtime;\n      (true && !(template !== undefined) && (0, _debug.assert)(`You cannot render \\`${(0, _reference.valueForRef)(self)}\\` without a template.`, template !== undefined));\n      this.id = root instanceof OutletView ? (0, _utils.guidFor)(root) : (0, _views.getViewId)(root);\n      this.result = undefined;\n      this.destroyed = false;\n      this.render = errorLoopTransaction(() => {\n        let layout = (0, _util.unwrapTemplate)(template).asLayout();\n        let iterator = (0, _runtime2.renderMain)(runtime, context, owner, self, builder(runtime.env, {\n          element: parentElement,\n          nextSibling: null\n        }), layout, dynamicScope);\n        let result = this.result = iterator.sync();\n        // override .render function after initial render\n        this.render = errorLoopTransaction(() => result.rerender({\n          alwaysRevalidate: false\n        }));\n      });\n    }\n    isFor(possibleRoot) {\n      return this.root === possibleRoot;\n    }\n    destroy() {\n      let {\n        result,\n        runtime: {\n          env\n        }\n      } = this;\n      this.destroyed = true;\n      this.runtime = undefined;\n      this.root = null;\n      this.result = undefined;\n      this.render = undefined;\n      if (result !== undefined) {\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        (0, _runtime2.inTransaction)(env, () => (0, _destroyable.destroy)(result));\n      }\n    }\n  }\n  const renderers = [];\n  function _resetRenderers() {\n    renderers.length = 0;\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  function deregister(renderer) {\n    let 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  function loopBegin() {\n    for (let renderer of renderers) {\n      renderer._scheduleRevalidate();\n    }\n  }\n  let 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  function renderSettled() {\n    if (renderSettledDeferred === null) {\n      renderSettledDeferred = _rsvp.default.defer();\n      // 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      if (!(0, _runloop._getCurrentRunLoop)()) {\n        // ensure a runloop has been kicked off\n        _runloop._backburner.schedule('actions', null, NO_OP);\n      }\n    }\n    return renderSettledDeferred.promise;\n  }\n  function resolveRenderPromise() {\n    if (renderSettledDeferred !== null) {\n      let resolve = renderSettledDeferred.resolve;\n      renderSettledDeferred = null;\n      _runloop._backburner.join(null, resolve);\n    }\n  }\n  let loops = 0;\n  function loopEnd() {\n    for (let renderer of renderers) {\n      if (!renderer._isValid()) {\n        if (loops > _environment2.ENV._RERENDER_LOOP_LIMIT) {\n          loops = 0;\n          // TODO: do something better\n          renderer.destroy();\n          throw new Error('infinite rendering invalidation detected');\n        }\n        loops++;\n        return _runloop._backburner.join(null, NO_OP);\n      }\n    }\n    loops = 0;\n    resolveRenderPromise();\n  }\n  _runloop._backburner.on('begin', loopBegin);\n  _runloop._backburner.on('end', loopEnd);\n  class Renderer {\n    static create(props) {\n      let {\n        _viewRegistry\n      } = props;\n      let owner = (0, _owner2.getOwner)(props);\n      (true && !(owner) && (0, _debug.assert)('Renderer is unexpectedly missing an owner', owner));\n      let document = owner.lookup('service:-document');\n      let env = owner.lookup('-environment:main');\n      let rootTemplate = owner.lookup((0, _container.privatize)`template:-root`);\n      let builder = owner.lookup('service:-dom-builder');\n      return new this(owner, document, env, rootTemplate, _viewRegistry, builder);\n    }\n    constructor(owner, document, env, rootTemplate, viewRegistry, builder = _runtime2.clientBuilder) {\n      this._inRenderTransaction = false;\n      this._lastRevision = -1;\n      this._destroyed = false;\n      this._owner = owner;\n      this._rootTemplate = rootTemplate(owner);\n      this._viewRegistry = viewRegistry || owner.lookup('-view-registry:main');\n      this._roots = [];\n      this._removedRoots = [];\n      this._builder = builder;\n      this._isInteractive = env.isInteractive;\n      // resolver is exposed for tests\n      let resolver = this._runtimeResolver = new ResolverImpl();\n      let sharedArtifacts = (0, _program.artifacts)();\n      this._context = (0, _opcodeCompiler.programCompilationContext)(sharedArtifacts, resolver, heap => new _program.RuntimeOpImpl(heap));\n      let runtimeEnvironmentDelegate = new EmberEnvironmentDelegate(owner, env.isInteractive);\n      this._runtime = (0, _runtime2.runtimeContext)({\n        appendOperations: env.hasDOM ? new _runtime2.DOMTreeConstruction(document) : new _node.NodeDOMTreeConstruction(document),\n        updateOperations: new _runtime2.DOMChanges(document)\n      }, runtimeEnvironmentDelegate, sharedArtifacts, resolver);\n    }\n    get debugRenderTree() {\n      let {\n        debugRenderTree\n      } = this._runtime.env;\n      (true && !(debugRenderTree) && (0, _debug.assert)('Attempted to access the DebugRenderTree, but it did not exist. Is the Ember Inspector open?', debugRenderTree));\n      return debugRenderTree;\n    }\n    // renderer HOOKS\n    appendOutletView(view, target) {\n      let definition = createRootOutlet(view);\n      this._appendDefinition(view, (0, _runtime2.curry)(_vm.CurriedType.Component, definition, view.owner, null, true), target);\n    }\n    appendTo(view, target) {\n      let definition = new RootComponentDefinition(view);\n      this._appendDefinition(view, (0, _runtime2.curry)(_vm.CurriedType.Component, definition, this._owner, null, true), target);\n    }\n    _appendDefinition(root, definition, target) {\n      let self = (0, _reference.createConstRef)(definition, 'this');\n      let dynamicScope = new DynamicScope(null, _reference.UNDEFINED_REFERENCE);\n      let rootState = new RootState(root, this._runtime, this._context, this._owner, this._rootTemplate, self, target, dynamicScope, this._builder);\n      this._renderRoot(rootState);\n    }\n    rerender() {\n      this._scheduleRevalidate();\n    }\n    register(view) {\n      let 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    unregister(view) {\n      delete this._viewRegistry[(0, _views.getViewId)(view)];\n    }\n    remove(view) {\n      view._transitionTo('destroying');\n      this.cleanupRootFor(view);\n      if (this._isInteractive) {\n        view.trigger('didDestroyElement');\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      let roots = this._roots;\n      // traverse in reverse so we can remove items\n      // without mucking up the index\n      let i = this._roots.length;\n      while (i--) {\n        let root = roots[i];\n        (true && !(root) && (0, _debug.assert)('has root', root));\n        if (root.isFor(view)) {\n          root.destroy();\n          roots.splice(i, 1);\n        }\n      }\n    }\n    destroy() {\n      if (this._destroyed) {\n        return;\n      }\n      this._destroyed = true;\n      this._clearAllRoots();\n    }\n    getElement(view) {\n      if (this._isInteractive) {\n        return (0, _views.getViewElement)(view);\n      } else {\n        throw new Error('Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).');\n      }\n    }\n    getBounds(view) {\n      let bounds = view[BOUNDS];\n      (true && !(bounds) && (0, _debug.assert)('object passed to getBounds must have the BOUNDS symbol as a property', bounds));\n      let parentElement = bounds.parentElement();\n      let firstNode = bounds.firstNode();\n      let lastNode = bounds.lastNode();\n      return {\n        parentElement,\n        firstNode,\n        lastNode\n      };\n    }\n    createElement(tagName) {\n      return this._runtime.env.getAppendOperations().createElement(tagName);\n    }\n    _renderRoot(root) {\n      let {\n        _roots: roots\n      } = this;\n      roots.push(root);\n      if (roots.length === 1) {\n        register(this);\n      }\n      this._renderRootsTransaction();\n    }\n    _renderRoots() {\n      let {\n        _roots: roots,\n        _runtime: runtime,\n        _removedRoots: removedRoots\n      } = this;\n      let initialRootsLength;\n      do {\n        initialRootsLength = roots.length;\n        (0, _runtime2.inTransaction)(runtime.env, () => {\n          // ensure that for the first iteration of the loop\n          // each root is processed\n          for (let i = 0; i < roots.length; i++) {\n            let root = roots[i];\n            (true && !(root) && (0, _debug.assert)('has root', root));\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);\n              // skip over roots that have been marked as destroyed\n              continue;\n            }\n            // when processing non-initial reflush loops,\n            // do not process more roots than needed\n            if (i >= initialRootsLength) {\n              continue;\n            }\n            root.render();\n          }\n          this._lastRevision = (0, _validator.valueForTag)(_validator.CURRENT_TAG);\n        });\n      } while (roots.length > initialRootsLength);\n      // remove any roots that were destroyed during this transaction\n      while (removedRoots.length) {\n        let root = removedRoots.pop();\n        let rootIndex = roots.indexOf(root);\n        roots.splice(rootIndex, 1);\n      }\n      if (this._roots.length === 0) {\n        deregister(this);\n      }\n    }\n    _renderRootsTransaction() {\n      if (this._inRenderTransaction) {\n        // currently rendering roots, a new root was added and will\n        // be processed by the existing _renderRoots invocation\n        return;\n      }\n      // used to prevent calling _renderRoots again (see above)\n      // while we are actively rendering roots\n      this._inRenderTransaction = true;\n      let completedWithoutError = false;\n      try {\n        this._renderRoots();\n        completedWithoutError = true;\n      } finally {\n        if (!completedWithoutError) {\n          this._lastRevision = (0, _validator.valueForTag)(_validator.CURRENT_TAG);\n        }\n        this._inRenderTransaction = false;\n      }\n    }\n    _clearAllRoots() {\n      let roots = this._roots;\n      for (let root of roots) {\n        root.destroy();\n      }\n      this._removedRoots.length = 0;\n      this._roots = [];\n      // if roots were present before destroying\n      // deregister this renderer instance\n      if (roots.length) {\n        deregister(this);\n      }\n    }\n    _scheduleRevalidate() {\n      _runloop._backburner.scheduleOnce('render', this, this._revalidate);\n    }\n    _isValid() {\n      return this._destroyed || this._roots.length === 0 || (0, _validator.validateTag)(_validator.CURRENT_TAG, this._lastRevision);\n    }\n    _revalidate() {\n      if (this._isValid()) {\n        return;\n      }\n      this._renderRootsTransaction();\n    }\n  }\n  _exports.Renderer = Renderer;\n  let TEMPLATES = {};\n  function setTemplates(templates) {\n    TEMPLATES = templates;\n  }\n  function getTemplates() {\n    return TEMPLATES;\n  }\n  function getTemplate(name) {\n    if (Object.prototype.hasOwnProperty.call(TEMPLATES, name)) {\n      return TEMPLATES[name];\n    }\n  }\n  function hasTemplate(name) {\n    return Object.prototype.hasOwnProperty.call(TEMPLATES, name);\n  }\n  function setTemplate(name, template) {\n    return TEMPLATES[name] = template;\n  }\n  var OutletTemplate = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{component (outletHelper)}}\n  */\n  {\n    \"id\": \"2c6+lAmT\",\n    \"block\": \"[[[46,[28,[32,0],null,null],null,null,null]],[],false,[\\\"component\\\"]]\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/outlet.hbs\",\n    \"scope\": () => [outletHelper],\n    \"isStrictMode\": true\n  });\n  function setupApplicationRegistry(registry) {\n    // 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    registry.register('service:-dom-builder', {\n      // Additionally, we *must* constrain this to require `props` on create, else\n      // we *know* it cannot have an owner.\n      create(props) {\n        let owner = (0, _owner2.getOwner)(props);\n        (true && !(owner) && (0, _debug.assert)('DomBuilderService is unexpectedly missing an owner', owner));\n        let env = owner.lookup('-environment:main');\n        switch (env._renderMode) {\n          case 'serialize':\n            return _node.serializeBuilder.bind(null);\n          case 'rehydrate':\n            return _runtime2.rehydrationBuilder.bind(null);\n          default:\n            return _runtime2.clientBuilder.bind(null);\n        }\n      }\n    });\n    registry.register((0, _container.privatize)`template:-root`, RootTemplate);\n    registry.register('renderer:-dom', Renderer);\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.optionsForType('helper', {\n      instantiate: false\n    });\n    registry.register('component:input', Input);\n    registry.register('component:link-to', LinkTo);\n    registry.register('component:textarea', Textarea);\n    if (!_environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n      registry.register((0, _container.privatize)`component:-default`, Component);\n    }\n  }\n\n  /**\n     Associate a class with a component manager (an object that is responsible for\n     coordinating the lifecycle events that occurs when invoking, rendering and\n     re-rendering a component).\n  \n     @method setComponentManager\n     @param {Function} factory a function to create the owner for an object\n     @param {Object} obj the object to associate with the componetn manager\n     @return {Object} the same object passed in\n     @public\n    */\n  function setComponentManager(manager, obj) {\n    return (0, _manager.setComponentManager)(manager, obj);\n  }\n  let componentCapabilities = _exports.componentCapabilities = _manager.componentCapabilities;\n  let modifierCapabilities = _exports.modifierCapabilities = _manager.modifierCapabilities;\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, \"Meta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.Meta;\n    }\n  });\n  Object.defineProperty(_exports, \"UNDEFINED\", {\n    enumerable: true,\n    get: function () {\n      return _meta.UNDEFINED;\n    }\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, \"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});","define(\"@ember/-internals/meta/lib/meta\", [\"exports\", \"@ember/-internals/utils\", \"@ember/debug\", \"@glimmer/destroyable\"], function (_exports, _utils, _debug, _destroyable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.meta = _exports.counters = _exports.UNDEFINED = _exports.Meta = void 0;\n  _exports.peekMeta = peekMeta;\n  _exports.setMeta = setMeta;\n  const objectPrototype = Object.prototype;\n  let counters = _exports.counters = void 0;\n  if (true /* DEBUG */) {\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  const UNDEFINED = _exports.UNDEFINED = (0, _utils.symbol)('undefined');\n  var ListenerKind;\n  (function (ListenerKind) {\n    ListenerKind[ListenerKind[\"ADD\"] = 0] = \"ADD\";\n    ListenerKind[ListenerKind[\"ONCE\"] = 1] = \"ONCE\";\n    ListenerKind[ListenerKind[\"REMOVE\"] = 2] = \"REMOVE\";\n  })(ListenerKind || (ListenerKind = {}));\n  let currentListenerVersion = 1;\n  class Meta {\n    // DEBUG\n    /** @internal */\n    constructor(obj) {\n      /** @internal */\n      this._listenersVersion = 1;\n      /** @internal */\n      this._inheritedEnd = -1;\n      /** @internal */\n      this._flattenedVersion = 0;\n      if (true /* DEBUG */) {\n        counters.metaInstantiated++;\n      }\n      this._parent = undefined;\n      this._descriptors = undefined;\n      this._mixins = undefined;\n      this._lazyChains = undefined;\n      this._values = undefined;\n      this._revisions = undefined;\n      // initial value for all flags right now is false\n      // see FLAGS const for detailed list of flags used\n      this._isInit = false;\n      // used only internally\n      this.source = obj;\n      this.proto = obj.constructor === undefined ? undefined : obj.constructor.prototype;\n      this._listeners = undefined;\n    }\n    /** @internal */\n    get parent() {\n      let parent = this._parent;\n      if (parent === undefined) {\n        let proto = getPrototypeOf(this.source);\n        this._parent = parent = proto === null || proto === objectPrototype ? null : meta(proto);\n      }\n      return parent;\n    }\n    setInitializing() {\n      this._isInit = true;\n    }\n    /** @internal */\n    unsetInitializing() {\n      this._isInit = false;\n    }\n    /** @internal */\n    isInitializing() {\n      return this._isInit;\n    }\n    /** @internal */\n    isPrototypeMeta(obj) {\n      return this.proto === this.source && this.source === obj;\n    }\n    /** @internal */\n    _getOrCreateOwnMap(key) {\n      return this[key] || (this[key] = Object.create(null));\n    }\n    /** @internal */\n    _getOrCreateOwnSet(key) {\n      return this[key] || (this[key] = new Set());\n    }\n    /** @internal */\n    _findInheritedMap(key, subkey) {\n      let pointer = this;\n      while (pointer !== null) {\n        let map = pointer[key];\n        if (map !== undefined) {\n          let value = map.get(subkey);\n          if (value !== undefined) {\n            return value;\n          }\n        }\n        pointer = pointer.parent;\n      }\n    }\n    /** @internal */\n    _hasInInheritedSet(key, value) {\n      let pointer = this;\n      while (pointer !== null) {\n        let set = pointer[key];\n        if (set !== undefined && set.has(value)) {\n          return true;\n        }\n        pointer = pointer.parent;\n      }\n      return false;\n    }\n    /** @internal */\n    valueFor(key) {\n      let values = this._values;\n      return values !== undefined ? values[key] : undefined;\n    }\n    /** @internal */\n    setValueFor(key, value) {\n      let values = this._getOrCreateOwnMap('_values');\n      values[key] = value;\n    }\n    /** @internal */\n    revisionFor(key) {\n      let revisions = this._revisions;\n      return revisions !== undefined ? revisions[key] : undefined;\n    }\n    /** @internal */\n    setRevisionFor(key, revision) {\n      let revisions = this._getOrCreateOwnMap('_revisions');\n      revisions[key] = revision;\n    }\n    /** @internal */\n    writableLazyChainsFor(key) {\n      if (true /* DEBUG */) {\n        counters.writableLazyChainsCalls++;\n      }\n      let lazyChains = this._getOrCreateOwnMap('_lazyChains');\n      let chains = lazyChains[key];\n      if (chains === undefined) {\n        chains = lazyChains[key] = [];\n      }\n      return chains;\n    }\n    /** @internal */\n    readableLazyChainsFor(key) {\n      if (true /* DEBUG */) {\n        counters.readableLazyChainsCalls++;\n      }\n      let lazyChains = this._lazyChains;\n      if (lazyChains !== undefined) {\n        return lazyChains[key];\n      }\n      return undefined;\n    }\n    /** @internal */\n    addMixin(mixin) {\n      (true && !(!(0, _destroyable.isDestroyed)(this.source)) && (0, _debug.assert)((0, _destroyable.isDestroyed)(this.source) ? `Cannot add mixins of \\`${(0, _utils.toString)(mixin)}\\` on \\`${(0, _utils.toString)(this.source)}\\` call addMixin after it has been destroyed.` : '', !(0, _destroyable.isDestroyed)(this.source)));\n      let set = this._getOrCreateOwnSet('_mixins');\n      set.add(mixin);\n    }\n    /** @internal */\n    hasMixin(mixin) {\n      return this._hasInInheritedSet('_mixins', mixin);\n    }\n    /** @internal */\n    forEachMixins(fn) {\n      let pointer = this;\n      let seen;\n      while (pointer !== null) {\n        let set = pointer._mixins;\n        if (set !== undefined) {\n          seen = seen === undefined ? new Set() : seen;\n          // TODO cleanup typing here\n          set.forEach(mixin => {\n            if (!seen.has(mixin)) {\n              seen.add(mixin);\n              fn(mixin);\n            }\n          });\n        }\n        pointer = pointer.parent;\n      }\n    }\n    /** @internal */\n    writeDescriptors(subkey, value) {\n      (true && !(!(0, _destroyable.isDestroyed)(this.source)) && (0, _debug.assert)((0, _destroyable.isDestroyed)(this.source) ? `Cannot update descriptors for \\`${subkey}\\` on \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !(0, _destroyable.isDestroyed)(this.source)));\n      let map = this._descriptors || (this._descriptors = new Map());\n      map.set(subkey, value);\n    }\n    /** @internal */\n    peekDescriptors(subkey) {\n      let possibleDesc = this._findInheritedMap('_descriptors', subkey);\n      return possibleDesc === UNDEFINED ? undefined : possibleDesc;\n    }\n    /** @internal */\n    removeDescriptors(subkey) {\n      this.writeDescriptors(subkey, UNDEFINED);\n    }\n    /** @internal */\n    forEachDescriptors(fn) {\n      let pointer = this;\n      let seen;\n      while (pointer !== null) {\n        let map = pointer._descriptors;\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              if (value !== UNDEFINED) {\n                fn(key, value);\n              }\n            }\n          });\n        }\n        pointer = pointer.parent;\n      }\n    }\n    /** @internal */\n    addToListeners(eventName, target, method, once, sync) {\n      if (true /* DEBUG */) {\n        counters.addToListenersCalls++;\n      }\n      this.pushListener(eventName, target, method, once ? ListenerKind.ONCE : ListenerKind.ADD, sync);\n    }\n    /** @internal */\n    removeFromListeners(eventName, target, method) {\n      if (true /* DEBUG */) {\n        counters.removeFromListenersCalls++;\n      }\n      this.pushListener(eventName, target, method, ListenerKind.REMOVE);\n    }\n    pushListener(event, target, method, kind, sync = false) {\n      let listeners = this.writableListeners();\n      let i = indexOfListener(listeners, event, target, method);\n      // remove if found listener was inherited\n      if (i !== -1 && i < this._inheritedEnd) {\n        listeners.splice(i, 1);\n        this._inheritedEnd--;\n        i = -1;\n      }\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 occurred.\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 === ListenerKind.REMOVE)) && (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 === ListenerKind.REMOVE)));\n        listeners.push({\n          event,\n          target,\n          method,\n          kind,\n          sync\n        });\n      } else {\n        let listener = listeners[i];\n        (true && !(listener) && (0, _debug.assert)('has listener', listener)); // 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        if (kind === ListenerKind.REMOVE && listener.kind !== ListenerKind.REMOVE) {\n          listeners.splice(i, 1);\n        } else {\n          (true && !(!(listener.kind === ListenerKind.ADD && kind === ListenerKind.ADD && 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 ${String(method)}.`, !(listener.kind === ListenerKind.ADD && kind === ListenerKind.ADD && listener.sync !== sync))); // update own listener\n          listener.kind = kind;\n          listener.sync = sync;\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 /* DEBUG */) {\n          counters.reopensAfterFlatten++;\n        }\n        currentListenerVersion++;\n      }\n      // Inherited end has not been set, then we have never created our own\n      // listeners, but may have cached the parent's\n      if (this._inheritedEnd === -1) {\n        this._inheritedEnd = 0;\n        this._listeners = [];\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 occurrence, so while the counter is global it shouldn't\n      be updated very often in practice.\n    */\n    flattenedListeners() {\n      if (true /* DEBUG */) {\n        counters.flattenedListenersCalls++;\n      }\n      if (this._flattenedVersion < currentListenerVersion) {\n        if (true /* DEBUG */) {\n          counters.listenersFlattened++;\n        }\n        let parent = this.parent;\n        if (parent !== null) {\n          // compute\n          let parentListeners = parent.flattenedListeners();\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 /* DEBUG */) {\n                counters.parentListenersUsed++;\n              }\n              this._listeners = parentListeners;\n            } else {\n              let listeners = this._listeners;\n              if (this._inheritedEnd > 0) {\n                listeners.splice(0, this._inheritedEnd);\n                this._inheritedEnd = 0;\n              }\n              for (let listener of parentListeners) {\n                let index = indexOfListener(listeners, listener.event, listener.target, listener.method);\n                if (index === -1) {\n                  if (true /* DEBUG */) {\n                    counters.listenersInherited++;\n                  }\n                  listeners.unshift(listener);\n                  this._inheritedEnd++;\n                }\n              }\n            }\n          }\n        }\n        this._flattenedVersion = currentListenerVersion;\n      }\n      return this._listeners;\n    }\n    /** @internal */\n    matchingListeners(eventName) {\n      let listeners = this.flattenedListeners();\n      let result;\n      if (true /* DEBUG */) {\n        counters.matchingListenersCalls++;\n      }\n      if (listeners !== undefined) {\n        for (let listener of listeners) {\n          // REMOVE listeners are placeholders that tell us not to\n          // inherit, so they never match. Only ADD and ONCE can match.\n          if (listener.event === eventName && (listener.kind === ListenerKind.ADD || listener.kind === ListenerKind.ONCE)) {\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            result.push(listener.target, listener.method, listener.kind === ListenerKind.ONCE);\n          }\n        }\n      }\n      return result;\n    }\n    /** @internal */\n    observerEvents() {\n      let listeners = this.flattenedListeners();\n      let result;\n      if (true /* DEBUG */) {\n        counters.observerEventsCalls++;\n      }\n      if (listeners !== undefined) {\n        for (let listener of listeners) {\n          // REMOVE listeners are placeholders that tell us not to\n          // inherit, so they never match. Only ADD and ONCE can match.\n          if ((listener.kind === ListenerKind.ADD || listener.kind === ListenerKind.ONCE) && 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            result.push(listener);\n          }\n        }\n      }\n      return result;\n    }\n  }\n  _exports.Meta = Meta;\n  const getPrototypeOf = Object.getPrototypeOf;\n  const metaStore = new WeakMap();\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    if (true /* DEBUG */) {\n      counters.setCalls++;\n    }\n    metaStore.set(obj, meta);\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    if (true /* DEBUG */) {\n      counters.peekCalls++;\n    }\n    let meta = metaStore.get(obj);\n    if (meta !== undefined) {\n      return meta;\n    }\n    let pointer = getPrototypeOf(obj);\n    while (pointer !== null) {\n      if (true /* DEBUG */) {\n        counters.peekPrototypeWalks++;\n      }\n      meta = metaStore.get(pointer);\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        return meta;\n      }\n      pointer = getPrototypeOf(pointer);\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  const meta = _exports.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    if (true /* DEBUG */) {\n      counters.metaCalls++;\n    }\n    let maybeMeta = peekMeta(obj);\n    // remove this code, in-favor of explicit parent\n    if (maybeMeta !== null && maybeMeta.source === obj) {\n      return maybeMeta;\n    }\n    let newMeta = new Meta(obj);\n    setMeta(obj, newMeta);\n    return newMeta;\n  };\n  if (true /* DEBUG */) {\n    meta._counters = counters;\n  }\n  function indexOfListener(listeners, event, target, method) {\n    for (let i = listeners.length - 1; i >= 0; i--) {\n      let listener = listeners[i];\n      (true && !(listener) && (0, _debug.assert)('has listener', listener));\n      if (listener.event === event && listener.target === target && listener.method === method) {\n        return i;\n      }\n    }\n    return -1;\n  }\n});","define(\"@ember/-internals/metal/index\", [\"exports\", \"@ember/-internals/meta\", \"@ember/-internals/utils\", \"@ember/debug\", \"@glimmer/destroyable\", \"@glimmer/validator\", \"@ember/-internals/environment\", \"@ember/runloop\", \"@glimmer/manager\", \"@ember/array/-internals\", \"ember/version\", \"@ember/-internals/owner\"], function (_exports, _meta2, _utils, _debug, _destroyable, _validator, _environment, _runloop, _manager, _internals, _version, _owner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TrackedDescriptor = _exports.SYNC_OBSERVERS = _exports.PROXY_CONTENT = _exports.PROPERTY_DID_CHANGE = _exports.NAMESPACES_BY_ID = _exports.NAMESPACES = _exports.Libraries = _exports.DEBUG_INJECTION_FUNCTIONS = _exports.ComputedProperty = _exports.ComputedDescriptor = _exports.ASYNC_OBSERVERS = void 0;\n  _exports._getPath = _getPath;\n  _exports._getProp = _getProp;\n  _exports._setProp = _setProp;\n  _exports.activateObserver = activateObserver;\n  _exports.addArrayObserver = addArrayObserver;\n  _exports.addListener = addListener;\n  _exports.addNamespace = addNamespace;\n  _exports.addObserver = addObserver;\n  _exports.alias = alias;\n  _exports.arrayContentDidChange = arrayContentDidChange;\n  _exports.arrayContentWillChange = arrayContentWillChange;\n  _exports.autoComputed = autoComputed;\n  _exports.beginPropertyChanges = beginPropertyChanges;\n  _exports.cached = void 0;\n  _exports.changeProperties = changeProperties;\n  _exports.computed = computed;\n  Object.defineProperty(_exports, \"createCache\", {\n    enumerable: true,\n    get: function () {\n      return _validator.createCache;\n    }\n  });\n  _exports.defineDecorator = defineDecorator;\n  _exports.defineProperty = defineProperty;\n  _exports.defineValue = defineValue;\n  _exports.deprecateProperty = deprecateProperty;\n  _exports.descriptorForDecorator = descriptorForDecorator;\n  _exports.descriptorForProperty = descriptorForProperty;\n  _exports.eachProxyArrayDidChange = eachProxyArrayDidChange;\n  _exports.eachProxyArrayWillChange = eachProxyArrayWillChange;\n  _exports.endPropertyChanges = endPropertyChanges;\n  _exports.expandProperties = expandProperties;\n  _exports.findNamespace = findNamespace;\n  _exports.findNamespaces = findNamespaces;\n  _exports.flushAsyncObservers = flushAsyncObservers;\n  _exports.get = get;\n  _exports.getCachedValueFor = getCachedValueFor;\n  _exports.getProperties = getProperties;\n  Object.defineProperty(_exports, \"getValue\", {\n    enumerable: true,\n    get: function () {\n      return _validator.getValue;\n    }\n  });\n  _exports.hasListeners = hasListeners;\n  _exports.hasUnknownProperty = hasUnknownProperty;\n  _exports.inject = inject;\n  _exports.isClassicDecorator = isClassicDecorator;\n  _exports.isComputed = isComputed;\n  Object.defineProperty(_exports, \"isConst\", {\n    enumerable: true,\n    get: function () {\n      return _validator.isConst;\n    }\n  });\n  _exports.isElementDescriptor = isElementDescriptor;\n  _exports.isNamespaceSearchDisabled = isSearchDisabled;\n  _exports.libraries = void 0;\n  _exports.makeComputedDecorator = makeComputedDecorator;\n  _exports.markObjectAsDirty = markObjectAsDirty;\n  _exports.nativeDescDecorator = nativeDescDecorator;\n  _exports.notifyPropertyChange = notifyPropertyChange;\n  _exports.objectAt = objectAt;\n  _exports.on = on;\n  _exports.processAllNamespaces = processAllNamespaces;\n  _exports.processNamespace = processNamespace;\n  _exports.removeArrayObserver = removeArrayObserver;\n  _exports.removeListener = removeListener;\n  _exports.removeNamespace = removeNamespace;\n  _exports.removeObserver = removeObserver;\n  _exports.replace = replace;\n  _exports.replaceInNativeArray = replaceInNativeArray;\n  _exports.revalidateObservers = revalidateObservers;\n  _exports.sendEvent = sendEvent;\n  _exports.set = set;\n  _exports.setClassicDecorator = setClassicDecorator;\n  _exports.setNamespaceSearchDisabled = setSearchDisabled;\n  _exports.setProperties = setProperties;\n  _exports.setUnprocessedMixins = setUnprocessedMixins;\n  _exports.tagForObject = tagForObject;\n  _exports.tagForProperty = tagForProperty;\n  _exports.tracked = tracked;\n  _exports.trySet = trySet;\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    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  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    if (!method && 'function' === typeof target) {\n      method = target;\n      target = null;\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  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    let target, method;\n    if (typeof targetOrFunction === 'object') {\n      target = targetOrFunction;\n      method = functionOrName;\n    } else {\n      target = null;\n      method = targetOrFunction;\n    }\n    let 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  function sendEvent(obj, eventName, params, actions, _meta) {\n    if (actions === undefined) {\n      let meta = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n      actions = meta !== null ? meta.matchingListeners(eventName) : undefined;\n    }\n    if (actions === undefined || actions.length === 0) {\n      return false;\n    }\n    for (let i = actions.length - 3; i >= 0; i -= 3) {\n      // looping in reverse for once listeners\n      let target = actions[i];\n      let method = actions[i + 1];\n      let once = actions[i + 2];\n      if (!method) {\n        continue;\n      }\n      if (once) {\n        removeListener(obj, eventName, target, method);\n      }\n      if (!target) {\n        target = obj;\n      }\n      let type = typeof method;\n      if (type === 'string' || type === 'symbol') {\n        method = target[method];\n      }\n      method.apply(target, params);\n    }\n    return true;\n  }\n  /**\n    @public\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  function hasListeners(obj, eventName) {\n    let meta = (0, _meta2.peekMeta)(obj);\n    if (meta === null) {\n      return false;\n    }\n    let matched = meta.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  function on(...args) {\n    let func = args.pop();\n    let 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  const AFTER_OBSERVERS = ':change';\n  function changeEvent(keyName) {\n    return keyName + AFTER_OBSERVERS;\n  }\n  const SYNC_DEFAULT = !_environment.ENV._DEFAULT_ASYNC_OBSERVERS;\n  const SYNC_OBSERVERS = _exports.SYNC_OBSERVERS = new Map();\n  const ASYNC_OBSERVERS = _exports.ASYNC_OBSERVERS = new Map();\n  /**\n  @module @ember/object\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  function addObserver(obj, path, target, method, sync = SYNC_DEFAULT) {\n    let eventName = changeEvent(path);\n    addListener(obj, eventName, target, method, false, sync);\n    let meta = (0, _meta2.peekMeta)(obj);\n    if (meta === null || !(meta.isPrototypeMeta(obj) || meta.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  function removeObserver(obj, path, target, method, sync = SYNC_DEFAULT) {\n    let eventName = changeEvent(path);\n    let meta = (0, _meta2.peekMeta)(obj);\n    if (meta === null || !(meta.isPrototypeMeta(obj) || meta.isInitializing())) {\n      deactivateObserver(obj, eventName, sync);\n    }\n    removeListener(obj, eventName, target, method);\n  }\n  function getOrCreateActiveObserversFor(target, sync) {\n    let observerMap = sync === true ? SYNC_OBSERVERS : ASYNC_OBSERVERS;\n    if (!observerMap.has(target)) {\n      observerMap.set(target, new Map());\n      (0, _destroyable.registerDestructor)(target, () => destroyObservers(target), true);\n    }\n    return observerMap.get(target);\n  }\n  function activateObserver(target, eventName, sync = false) {\n    let activeObservers = getOrCreateActiveObserversFor(target, sync);\n    if (activeObservers.has(eventName)) {\n      activeObservers.get(eventName).count++;\n    } else {\n      let path = eventName.substring(0, eventName.lastIndexOf(':'));\n      let tag = getChainTagsForKey(target, path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n      activeObservers.set(eventName, {\n        count: 1,\n        path,\n        tag,\n        lastRevision: (0, _validator.valueForTag)(tag),\n        suspended: false\n      });\n    }\n  }\n  let DEACTIVATE_SUSPENDED = false;\n  let SCHEDULED_DEACTIVATE = [];\n  function deactivateObserver(target, eventName, sync = false) {\n    if (DEACTIVATE_SUSPENDED === true) {\n      SCHEDULED_DEACTIVATE.push([target, eventName, sync]);\n      return;\n    }\n    let observerMap = sync === true ? SYNC_OBSERVERS : ASYNC_OBSERVERS;\n    let activeObservers = observerMap.get(target);\n    if (activeObservers !== undefined) {\n      let observer = activeObservers.get(eventName);\n      observer.count--;\n      if (observer.count === 0) {\n        activeObservers.delete(eventName);\n        if (activeObservers.size === 0) {\n          observerMap.delete(target);\n        }\n      }\n    }\n  }\n  function suspendedObserverDeactivation() {\n    DEACTIVATE_SUSPENDED = true;\n  }\n  function resumeObserverDeactivation() {\n    DEACTIVATE_SUSPENDED = false;\n    for (let [target, eventName, sync] of SCHEDULED_DEACTIVATE) {\n      deactivateObserver(target, eventName, sync);\n    }\n    SCHEDULED_DEACTIVATE = [];\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  function revalidateObservers(target) {\n    if (ASYNC_OBSERVERS.has(target)) {\n      ASYNC_OBSERVERS.get(target).forEach(observer => {\n        observer.tag = getChainTagsForKey(target, observer.path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n        observer.lastRevision = (0, _validator.valueForTag)(observer.tag);\n      });\n    }\n    if (SYNC_OBSERVERS.has(target)) {\n      SYNC_OBSERVERS.get(target).forEach(observer => {\n        observer.tag = getChainTagsForKey(target, observer.path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n        observer.lastRevision = (0, _validator.valueForTag)(observer.tag);\n      });\n    }\n  }\n  let lastKnownRevision = 0;\n  function flushAsyncObservers(shouldSchedule = true) {\n    let currentRevision = (0, _validator.valueForTag)(_validator.CURRENT_TAG);\n    if (lastKnownRevision === currentRevision) {\n      return;\n    }\n    lastKnownRevision = currentRevision;\n    ASYNC_OBSERVERS.forEach((activeObservers, target) => {\n      let meta = (0, _meta2.peekMeta)(target);\n      activeObservers.forEach((observer, eventName) => {\n        if (!(0, _validator.validateTag)(observer.tag, observer.lastRevision)) {\n          let sendObserver = () => {\n            try {\n              sendEvent(target, eventName, [target, observer.path], undefined, meta);\n            } finally {\n              observer.tag = getChainTagsForKey(target, observer.path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n              observer.lastRevision = (0, _validator.valueForTag)(observer.tag);\n            }\n          };\n          if (shouldSchedule) {\n            (0, _runloop.schedule)('actions', sendObserver);\n          } else {\n            sendObserver();\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      let meta = (0, _meta2.peekMeta)(target);\n      activeObservers.forEach((observer, eventName) => {\n        if (!observer.suspended && !(0, _validator.validateTag)(observer.tag, observer.lastRevision)) {\n          try {\n            observer.suspended = true;\n            sendEvent(target, eventName, [target, observer.path], undefined, meta);\n          } finally {\n            observer.tag = getChainTagsForKey(target, observer.path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n            observer.lastRevision = (0, _validator.valueForTag)(observer.tag);\n            observer.suspended = false;\n          }\n        }\n      });\n    });\n  }\n  function setObserverSuspended(target, property, suspended) {\n    let activeObservers = SYNC_OBSERVERS.get(target);\n    if (!activeObservers) {\n      return;\n    }\n    let observer = activeObservers.get(changeEvent(property));\n    if (observer) {\n      observer.suspended = suspended;\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  // This is exported for `@tracked`, but should otherwise be avoided. Use `tagForObject`.\n  const SELF_TAG = (0, _utils.symbol)('SELF_TAG');\n  function tagForProperty(obj, propertyKey, addMandatorySetter = false, meta) {\n    let customTagFor = (0, _manager.getCustomTagFor)(obj);\n    if (customTagFor !== undefined) {\n      return customTagFor(obj, propertyKey, addMandatorySetter);\n    }\n    let tag = (0, _validator.tagFor)(obj, propertyKey, meta);\n    if (true /* DEBUG */ && addMandatorySetter) {\n      (0, _utils.setupMandatorySetter)(tag, obj, propertyKey);\n    }\n    return tag;\n  }\n  function tagForObject(obj) {\n    if ((0, _utils.isObject)(obj)) {\n      if (true /* DEBUG */) {\n        (true && !(!(0, _destroyable.isDestroyed)(obj)) && (0, _debug.assert)((0, _destroyable.isDestroyed)(obj) ? `Cannot create a new tag for \\`${(0, _utils.toString)(obj)}\\` after it has been destroyed.` : '', !(0, _destroyable.isDestroyed)(obj)));\n      }\n      return (0, _validator.tagFor)(obj, SELF_TAG);\n    }\n    return _validator.CONSTANT_TAG;\n  }\n  function markObjectAsDirty(obj, propertyKey) {\n    (0, _validator.dirtyTagFor)(obj, propertyKey);\n    (0, _validator.dirtyTagFor)(obj, SELF_TAG);\n  }\n\n  /**\n   @module ember\n   @private\n   */\n  const PROPERTY_DID_CHANGE = _exports.PROPERTY_DID_CHANGE = Symbol('PROPERTY_DID_CHANGE');\n  function hasPropertyDidChange(obj) {\n    return obj != null && typeof obj === 'object' && typeof obj[PROPERTY_DID_CHANGE] === 'function';\n  }\n  let 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  function notifyPropertyChange(obj, keyName, _meta, value) {\n    let meta = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n    if (meta !== null && (meta.isInitializing() || meta.isPrototypeMeta(obj))) {\n      return;\n    }\n    markObjectAsDirty(obj, keyName);\n    if (deferred <= 0) {\n      flushSyncObservers();\n    }\n    if (PROPERTY_DID_CHANGE in obj) {\n      // It's redundant to do this here, but we don't want to check above so we can avoid an extra function call in prod.\n      (true && !(hasPropertyDidChange(obj)) && (0, _debug.assert)('property did change hook is invalid', hasPropertyDidChange(obj))); // we need to check the arguments length here; there's a check in Component's `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](keyName, value);\n      } else {\n        obj[PROPERTY_DID_CHANGE](keyName);\n      }\n    }\n  }\n  /**\n    @method beginPropertyChanges\n    @chainable\n    @private\n  */\n  function beginPropertyChanges() {\n    deferred++;\n    suspendedObserverDeactivation();\n  }\n  /**\n    @method endPropertyChanges\n    @private\n  */\n  function endPropertyChanges() {\n    deferred--;\n    if (deferred <= 0) {\n      flushSyncObservers();\n      resumeObserverDeactivation();\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  function changeProperties(callback) {\n    beginPropertyChanges();\n    try {\n      callback();\n    } finally {\n      endPropertyChanges();\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      if (addAmt === undefined) {\n        addAmt = -1;\n      }\n    }\n    sendEvent(array, '@array:before', [array, startIdx, removeAmt, addAmt]);\n    return array;\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      if (addAmt === undefined) {\n        addAmt = -1;\n      }\n    }\n    let meta = (0, _meta2.peekMeta)(array);\n    if (notify) {\n      if (addAmt < 0 || removeAmt < 0 || addAmt - removeAmt !== 0) {\n        notifyPropertyChange(array, 'length', meta);\n      }\n      notifyPropertyChange(array, '[]', meta);\n    }\n    sendEvent(array, '@array:change', [array, startIdx, removeAmt, addAmt]);\n    if (meta !== null) {\n      let length = array.length;\n      let addedAmount = addAmt === -1 ? 0 : addAmt;\n      let removedAmount = removeAmt === -1 ? 0 : removeAmt;\n      let delta = addedAmount - removedAmount;\n      let previousLength = length - delta;\n      let normalStartIdx = startIdx < 0 ? previousLength + startIdx : startIdx;\n      if (meta.revisionFor('firstObject') !== undefined && normalStartIdx === 0) {\n        notifyPropertyChange(array, 'firstObject', meta);\n      }\n      if (meta.revisionFor('lastObject') !== undefined) {\n        let previousLastIndex = previousLength - 1;\n        let lastAffectedIndex = normalStartIdx + removedAmount;\n        if (previousLastIndex < lastAffectedIndex) {\n          notifyPropertyChange(array, 'lastObject', meta);\n        }\n      }\n    }\n    return array;\n  }\n  const EMPTY_ARRAY = Object.freeze([]);\n  function objectAt(array, index) {\n    if (Array.isArray(array)) {\n      return array[index];\n    } else {\n      return array.objectAt(index);\n    }\n  }\n  // Ideally, we'd use MutableArray.detect but for unknown reasons this causes\n  // the node tests to fail strangely.\n  function isMutableArray(obj) {\n    return obj != null && typeof obj.replace === 'function';\n  }\n  function replace(array, start, deleteCount, items = EMPTY_ARRAY) {\n    if (isMutableArray(array)) {\n      array.replace(start, deleteCount, items);\n    } else {\n      (true && !(Array.isArray(array)) && (0, _debug.assert)('Can only replace content of a native array or MutableArray', Array.isArray(array)));\n      replaceInNativeArray(array, start, deleteCount, items);\n    }\n  }\n  const CHUNK_SIZE = 60000;\n  // 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  function replaceInNativeArray(array, start, deleteCount, items) {\n    arrayContentWillChange(array, start, deleteCount, items.length);\n    if (items.length <= CHUNK_SIZE) {\n      array.splice(start, deleteCount, ...items);\n    } else {\n      array.splice(start, deleteCount);\n      for (let i = 0; i < items.length; i += CHUNK_SIZE) {\n        let chunk = items.slice(i, i + CHUNK_SIZE);\n        array.splice(start + i, 0, ...chunk);\n      }\n    }\n    arrayContentDidChange(array, start, deleteCount, items.length);\n  }\n  function arrayObserversHelper(obj, target, opts, operation) {\n    let {\n      willChange,\n      didChange\n    } = opts;\n    operation(obj, '@array:before', target, willChange);\n    operation(obj, '@array:change', target, didChange);\n    /*\n     * Array proxies have a `_revalidate` method which must be called to set\n     * up their internal array observation systems.\n     */\n    obj._revalidate?.();\n    return obj;\n  }\n  function addArrayObserver(array, target, opts) {\n    return arrayObserversHelper(array, target, opts, addListener);\n  }\n  function removeArrayObserver(array, target, opts) {\n    return arrayObserversHelper(array, target, opts, removeListener);\n  }\n  const CHAIN_PASS_THROUGH = new WeakSet();\n  function finishLazyChains(meta, key, value) {\n    let lazyTags = meta.readableLazyChainsFor(key);\n    if (lazyTags === undefined) {\n      return;\n    }\n    if ((0, _utils.isObject)(value)) {\n      for (let [tag, deps] of lazyTags) {\n        (0, _validator.updateTag)(tag, getChainTagsForKey(value, deps, (0, _validator.tagMetaFor)(value), (0, _meta2.peekMeta)(value)));\n      }\n    }\n    lazyTags.length = 0;\n  }\n  function getChainTagsForKeys(obj, keys, tagMeta, meta) {\n    let tags = [];\n    for (let key of keys) {\n      getChainTags(tags, obj, key, tagMeta, meta);\n    }\n    return (0, _validator.combine)(tags);\n  }\n  function getChainTagsForKey(obj, key, tagMeta, meta) {\n    return (0, _validator.combine)(getChainTags([], obj, key, tagMeta, meta));\n  }\n  function getChainTags(chainTags, obj, path, tagMeta, meta$1) {\n    let current = obj;\n    let currentTagMeta = tagMeta;\n    let currentMeta = meta$1;\n    let pathLength = path.length;\n    let segmentEnd = -1;\n    // prevent closures\n    let segment, descriptor;\n    // eslint-disable-next-line no-constant-condition\n    while (true) {\n      let lastSegmentEnd = segmentEnd + 1;\n      segmentEnd = path.indexOf('.', lastSegmentEnd);\n      if (segmentEnd === -1) {\n        segmentEnd = pathLength;\n      }\n      segment = path.slice(lastSegmentEnd, segmentEnd);\n      // If the segment is an @each, we can process it and then break\n      if (segment === '@each' && segmentEnd !== pathLength) {\n        lastSegmentEnd = segmentEnd + 1;\n        segmentEnd = path.indexOf('.', lastSegmentEnd);\n        let arrLength = current.length;\n        if (typeof arrLength !== 'number' ||\n        // 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        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        }\n        // Push the tags for each item's property\n        for (let i = 0; i < arrLength; i++) {\n          let item = objectAt(current, i);\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, true));\n            currentMeta = (0, _meta2.peekMeta)(item);\n            descriptor = currentMeta !== null ? currentMeta.peekDescriptors(segment) : undefined;\n            // If the key is an alias, we need to bootstrap it\n            if (descriptor !== undefined && typeof descriptor.altKey === 'string') {\n              item[segment];\n            }\n          }\n        }\n        // Push the tag for the array length itself\n        chainTags.push(tagForProperty(current, '[]', true, currentTagMeta));\n        break;\n      }\n      let propertyTag = tagForProperty(current, segment, true, currentTagMeta);\n      descriptor = currentMeta !== null ? currentMeta.peekDescriptors(segment) : undefined;\n      chainTags.push(propertyTag);\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      if (segmentEnd === pathLength) {\n        // 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        if (CHAIN_PASS_THROUGH.has(descriptor)) {\n          current[segment];\n        }\n        break;\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 if (CHAIN_PASS_THROUGH.has(descriptor)) {\n        current = current[segment];\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 calculated,\n        // it will update that lazy chain.\n        let instanceMeta = currentMeta.source === current ? currentMeta : (0, _meta2.meta)(current);\n        let lastRevision = instanceMeta.revisionFor(segment);\n        if (lastRevision !== undefined && (0, _validator.validateTag)(propertyTag, lastRevision)) {\n          current = instanceMeta.valueFor(segment);\n        } else {\n          // use metaFor here to ensure we have the meta for the instance\n          let lazyChains = instanceMeta.writableLazyChainsFor(segment);\n          let rest = path.substring(segmentEnd + 1);\n          let placeholderTag = (0, _validator.createUpdatableTag)();\n          lazyChains.push([placeholderTag, rest]);\n          chainTags.push(placeholderTag);\n          break;\n        }\n      }\n      if (!(0, _utils.isObject)(current)) {\n        // we've hit the end of the chain for now, break out\n        break;\n      }\n      currentTagMeta = (0, _validator.tagMetaFor)(current);\n      currentMeta = (0, _meta2.peekMeta)(current);\n    }\n    return chainTags;\n  }\n  function isElementDescriptor(args) {\n    let [maybeTarget, maybeKey, maybeDesc] = args;\n    return (\n      // Ensure we have the right number of args\n      args.length === 3 && (\n      // Make sure the target is a class or object (prototype)\n      typeof maybeTarget === 'function' || typeof maybeTarget === 'object' && maybeTarget !== null) &&\n      // Make sure the key is a string\n      typeof maybeKey === 'string' && (\n      // Make sure the descriptor is the right shape\n      typeof maybeDesc === 'object' && maybeDesc !== null || maybeDesc === undefined)\n    );\n  }\n  function nativeDescDecorator(propertyDesc) {\n    let decorator = function () {\n      return propertyDesc;\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  class ComputedDescriptor {\n    constructor() {\n      this.enumerable = true;\n      this.configurable = true;\n      this._dependentKeys = undefined;\n      this._meta = undefined;\n    }\n    setup(_obj, keyName, _propertyDesc, meta) {\n      meta.writeDescriptors(keyName, this);\n    }\n    teardown(_obj, keyName, meta) {\n      meta.removeDescriptors(keyName);\n    }\n  }\n  _exports.ComputedDescriptor = ComputedDescriptor;\n  let COMPUTED_GETTERS;\n  if (true /* DEBUG */) {\n    COMPUTED_GETTERS = new WeakSet();\n  }\n  function DESCRIPTOR_GETTER_FUNCTION(name, descriptor) {\n    function getter() {\n      return descriptor.get(this, name);\n    }\n    if (true /* DEBUG */) {\n      COMPUTED_GETTERS.add(getter);\n    }\n    return getter;\n  }\n  function DESCRIPTOR_SETTER_FUNCTION(name, descriptor) {\n    let set = function CPSETTER_FUNCTION(value) {\n      return descriptor.set(this, name, value);\n    };\n    COMPUTED_SETTERS.add(set);\n    return set;\n  }\n  const COMPUTED_SETTERS = new WeakSet();\n  function makeComputedDecorator(desc, DecoratorClass) {\n    let decorator = function COMPUTED_DECORATOR(target, key, propertyDesc, maybeMeta, isClassicDecorator) {\n      (true && !(isClassicDecorator || !propertyDesc || !propertyDesc.get || !COMPUTED_GETTERS.has(propertyDesc.get)) && (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 unnecessary.`, isClassicDecorator || !propertyDesc || !propertyDesc.get || !COMPUTED_GETTERS.has(propertyDesc.get)));\n      let meta$1 = arguments.length === 3 ? (0, _meta2.meta)(target) : maybeMeta;\n      desc.setup(target, key, propertyDesc, meta$1);\n      let 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    setClassicDecorator(decorator, desc);\n    Object.setPrototypeOf(decorator, DecoratorClass.prototype);\n    return decorator;\n  }\n  /////////////\n  const DECORATOR_DESCRIPTOR_MAP = new WeakMap();\n  /**\n    Returns the CP descriptor associated 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  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    let meta = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n    if (meta !== null) {\n      return meta.peekDescriptors(keyName);\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  function isClassicDecorator(dec) {\n    return typeof dec === 'function' && 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  function setClassicDecorator(dec, value = true) {\n    DECORATOR_DESCRIPTOR_MAP.set(dec, value);\n  }\n\n  /**\n  @module @ember/object\n  */\n  const 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  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    (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    let start = pattern.indexOf('{');\n    if (start < 0) {\n      callback(pattern.replace(END_WITH_EACH_REGEX, '.[]'));\n    } else {\n      dive('', pattern, start, callback);\n    }\n  }\n  function dive(prefix, pattern, start, callback) {\n    let end = pattern.indexOf('}'),\n      i = 0,\n      newStart,\n      arrayLength;\n    let tempArr = pattern.substring(start + 1, end).split(',');\n    let after = pattern.substring(end + 1);\n    prefix = prefix + pattern.substring(0, start);\n    arrayLength = tempArr.length;\n    while (i < arrayLength) {\n      newStart = after.indexOf('{');\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  /**\n  @module @ember/object\n  */\n  const DEEP_EACH_REGEX = /\\.@each\\.[^.]+\\./;\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('firstName', 'lastName') 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  class ComputedProperty extends ComputedDescriptor {\n    constructor(args) {\n      super();\n      this._readOnly = false;\n      this._hasConfig = false;\n      this._getter = undefined;\n      this._setter = undefined;\n      let maybeConfig = args[args.length - 1];\n      if (typeof maybeConfig === 'function' || maybeConfig !== null && typeof maybeConfig === 'object') {\n        this._hasConfig = true;\n        let config = args.pop();\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          const 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      if (args.length > 0) {\n        this._property(...args);\n      }\n    }\n    setup(obj, keyName, propertyDesc, meta) {\n      super.setup(obj, keyName, propertyDesc, meta);\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      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        let {\n          get,\n          set\n        } = propertyDesc;\n        if (get !== undefined) {\n          this._getter = get;\n        }\n        if (set !== undefined) {\n          this._setter = function setterWrapper(_key, value) {\n            let ret = set.call(this, value);\n            if (get !== undefined) {\n              return typeof ret === 'undefined' ? get.call(this) : ret;\n            }\n            return ret;\n          };\n        }\n      }\n    }\n    _property(...passedArgs) {\n      let args = [];\n      function addArg(property) {\n        (true && !(DEEP_EACH_REGEX.test(property) === false) && (0, _debug.assert)(`Dependent keys containing @each only work one level deep. ` + `You used the key \"${property}\" which is invalid. ` + `Please create an intermediary computed property or ` + `switch to using tracked properties.`, DEEP_EACH_REGEX.test(property) === false));\n        args.push(property);\n      }\n      for (let arg of passedArgs) {\n        expandProperties(arg, addArg);\n      }\n      this._dependentKeys = args;\n    }\n    get(obj, keyName) {\n      let meta$1 = (0, _meta2.meta)(obj);\n      let tagMeta = (0, _validator.tagMetaFor)(obj);\n      let propertyTag = (0, _validator.tagFor)(obj, keyName, tagMeta);\n      let ret;\n      let revision = meta$1.revisionFor(keyName);\n      if (revision !== undefined && (0, _validator.validateTag)(propertyTag, revision)) {\n        ret = meta$1.valueFor(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, _destroyable.isDestroyed)(obj)) && (0, _debug.assert)(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`, this._dependentKeys === undefined || !(0, _destroyable.isDestroyed)(obj)));\n        let {\n          _getter,\n          _dependentKeys\n        } = this;\n        // Create a tracker that absorbs any trackable actions inside the CP\n        (0, _validator.untrack)(() => {\n          ret = _getter.call(obj, keyName);\n        });\n        if (_dependentKeys !== undefined) {\n          (0, _validator.updateTag)(propertyTag, getChainTagsForKeys(obj, _dependentKeys, tagMeta, meta$1));\n          if (true /* DEBUG */) {\n            _validator.ALLOW_CYCLES.set(propertyTag, true);\n          }\n        }\n        meta$1.setValueFor(keyName, ret);\n        meta$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n        finishLazyChains(meta$1, keyName, ret);\n      }\n      (0, _validator.consumeTag)(propertyTag);\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      if (Array.isArray(ret)) {\n        (0, _validator.consumeTag)((0, _validator.tagFor)(ret, '[]'));\n      }\n      return ret;\n    }\n    set(obj, keyName, value) {\n      if (this._readOnly) {\n        this._throwReadOnlyError(obj, keyName);\n      }\n      (true && !(this._setter !== undefined) && (0, _debug.assert)(`Cannot override the computed property \\`${keyName}\\` on ${(0, _utils.toString)(obj)}.`, this._setter !== undefined));\n      let meta$1 = (0, _meta2.meta)(obj);\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      if (\n      // ensure that we only run this once, while the component is being instantiated\n      meta$1.isInitializing() && this._dependentKeys !== undefined && this._dependentKeys.length > 0 && typeof obj[PROPERTY_DID_CHANGE] === 'function' && obj.isComponent) {\n        // It's redundant to do this here, but we don't want to check above so we can avoid an extra function call in prod.\n        (true && !(hasPropertyDidChange(obj)) && (0, _debug.assert)('property did change hook is invalid', hasPropertyDidChange(obj)));\n        addObserver(obj, keyName, () => {\n          obj[PROPERTY_DID_CHANGE](keyName);\n        }, undefined, true);\n      }\n      let ret;\n      try {\n        beginPropertyChanges();\n        ret = this._set(obj, keyName, value, meta$1);\n        finishLazyChains(meta$1, keyName, ret);\n        let tagMeta = (0, _validator.tagMetaFor)(obj);\n        let propertyTag = (0, _validator.tagFor)(obj, keyName, tagMeta);\n        let {\n          _dependentKeys\n        } = this;\n        if (_dependentKeys !== undefined) {\n          (0, _validator.updateTag)(propertyTag, getChainTagsForKeys(obj, _dependentKeys, tagMeta, meta$1));\n          if (true /* DEBUG */) {\n            _validator.ALLOW_CYCLES.set(propertyTag, true);\n          }\n        }\n        meta$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n      } finally {\n        endPropertyChanges();\n      }\n      return ret;\n    }\n    _throwReadOnlyError(obj, keyName) {\n      throw new Error(`Cannot set read-only property \"${keyName}\" on object: ${(0, _debug.inspect)(obj)}`);\n    }\n    _set(obj, keyName, value, meta) {\n      let hadCachedValue = meta.revisionFor(keyName) !== undefined;\n      let cachedValue = meta.valueFor(keyName);\n      let ret;\n      let {\n        _setter\n      } = this;\n      setObserverSuspended(obj, keyName, true);\n      try {\n        ret = _setter.call(obj, keyName, value, cachedValue);\n      } finally {\n        setObserverSuspended(obj, keyName, false);\n      }\n      // allows setter to return the same value that is cached already\n      if (hadCachedValue && cachedValue === ret) {\n        return ret;\n      }\n      meta.setValueFor(keyName, ret);\n      notifyPropertyChange(obj, keyName, meta, value);\n      return ret;\n    }\n    /* called before property is overridden */\n    teardown(obj, keyName, meta) {\n      if (meta.revisionFor(keyName) !== undefined) {\n        meta.setRevisionFor(keyName, undefined);\n        meta.setValueFor(keyName, undefined);\n      }\n      super.teardown(obj, keyName, meta);\n    }\n  }\n  _exports.ComputedProperty = ComputedProperty;\n  class AutoComputedProperty extends ComputedProperty {\n    get(obj, keyName) {\n      let meta$1 = (0, _meta2.meta)(obj);\n      let tagMeta = (0, _validator.tagMetaFor)(obj);\n      let propertyTag = (0, _validator.tagFor)(obj, keyName, tagMeta);\n      let ret;\n      let revision = meta$1.revisionFor(keyName);\n      if (revision !== undefined && (0, _validator.validateTag)(propertyTag, revision)) {\n        ret = meta$1.valueFor(keyName);\n      } else {\n        (true && !(!(0, _destroyable.isDestroyed)(obj)) && (0, _debug.assert)(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`, !(0, _destroyable.isDestroyed)(obj)));\n        let {\n          _getter\n        } = this;\n        // Create a tracker that absorbs any trackable actions inside the CP\n        let tag = (0, _validator.track)(() => {\n          ret = _getter.call(obj, keyName);\n        });\n        (0, _validator.updateTag)(propertyTag, tag);\n        meta$1.setValueFor(keyName, ret);\n        meta$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n        finishLazyChains(meta$1, keyName, ret);\n      }\n      (0, _validator.consumeTag)(propertyTag);\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      if (Array.isArray(ret)) {\n        (0, _validator.consumeTag)((0, _validator.tagFor)(ret, '[]', tagMeta));\n      }\n      return ret;\n    }\n  }\n  // TODO: This class can be svelted once `meta` has been deprecated\n  class ComputedDecoratorImpl extends Function {\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    readOnly() {\n      let desc = descriptorForDecorator(this);\n      (true && !(!(desc._setter && desc._setter !== desc._getter)) && (0, _debug.assert)('Computed properties that define a setter using the new syntax cannot be read-only', !(desc._setter && desc._setter !== desc._getter)));\n      desc._readOnly = true;\n      return this;\n    }\n    meta(meta) {\n      let prop = descriptorForDecorator(this);\n      if (arguments.length === 0) {\n        return prop._meta || {};\n      } else {\n        prop._meta = meta;\n        return this;\n      }\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    /** @internal */\n    get _getter() {\n      return descriptorForDecorator(this)._getter;\n    }\n    // TODO: Refactor this, this is an internal API only\n    /** @internal */\n    set enumerable(value) {\n      descriptorForDecorator(this).enumerable = value;\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    if (isElementDescriptor(args)) {\n      // SAFETY: We passed in the impl for this class\n      let decorator = makeComputedDecorator(new ComputedProperty([]), ComputedDecoratorImpl);\n      return decorator(args[0], args[1], args[2]);\n    }\n    // SAFETY: We passed in the impl for this class\n    return makeComputedDecorator(new ComputedProperty(args), ComputedDecoratorImpl);\n  }\n  function autoComputed(...config) {\n    // SAFETY: We passed in the impl for this class\n    return makeComputedDecorator(new AutoComputedProperty(config), 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  function isComputed(obj, key) {\n    return Boolean(descriptorForProperty(obj, key));\n  }\n  function getCachedValueFor(obj, key) {\n    let meta = (0, _meta2.peekMeta)(obj);\n    if (meta) {\n      return meta.valueFor(key);\n    } else {\n      return undefined;\n    }\n  }\n\n  /**\n  @module @ember/object\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  function defineProperty(obj, keyName, desc, data, _meta) {\n    let meta$1 = _meta === undefined ? (0, _meta2.meta)(obj) : _meta;\n    let previousDesc = descriptorForProperty(obj, keyName, meta$1);\n    let wasDescriptor = previousDesc !== undefined;\n    if (wasDescriptor) {\n      previousDesc.teardown(obj, keyName, meta$1);\n    }\n    if (isClassicDecorator(desc)) {\n      defineDecorator(obj, keyName, desc, meta$1);\n    } else if (desc === null || desc === undefined) {\n      defineValue(obj, keyName, data, wasDescriptor, true);\n    } else {\n      // fallback to ES5\n      Object.defineProperty(obj, keyName, desc);\n    }\n    // if key is being watched, override chains that\n    // were initialized with the prototype\n    if (!meta$1.isPrototypeMeta(obj)) {\n      revalidateObservers(obj);\n    }\n  }\n  function defineDecorator(obj, keyName, desc, meta) {\n    let propertyDesc;\n    if (true /* DEBUG */) {\n      propertyDesc = desc(obj, keyName, undefined, meta, true);\n    } else {\n      propertyDesc = desc(obj, keyName, undefined, meta);\n    }\n    Object.defineProperty(obj, keyName, propertyDesc);\n    // pass the decorator function forward for backwards compat\n    return desc;\n  }\n  function defineValue(obj, keyName, value, wasDescriptor, enumerable = true) {\n    if (wasDescriptor === true || enumerable === false) {\n      Object.defineProperty(obj, keyName, {\n        configurable: true,\n        enumerable,\n        writable: true,\n        value\n      });\n    } else {\n      if (true /* DEBUG */) {\n        (0, _utils.setWithMandatorySetter)(obj, keyName, value);\n      } else {\n        obj[keyName] = value;\n      }\n    }\n    return value;\n  }\n  const firstDotIndexCache = new _utils.Cache(1000, key => key.indexOf('.'));\n  function isPath(path) {\n    return typeof path === 'string' && firstDotIndexCache.get(path) !== -1;\n  }\n  const PROXY_CONTENT = _exports.PROXY_CONTENT = (0, _utils.symbol)('PROXY_CONTENT');\n  let getPossibleMandatoryProxyValue;\n  if (true /* DEBUG */) {\n    getPossibleMandatoryProxyValue = function getPossibleMandatoryProxyValue(obj, keyName) {\n      let content = obj[PROXY_CONTENT];\n      if (content === undefined) {\n        return obj[keyName];\n      } else {\n        /* global Reflect */\n        return Reflect.get(content, keyName, obj);\n      }\n    };\n  }\n  function hasUnknownProperty(val) {\n    return typeof val === 'object' && val !== null && typeof val.unknownProperty === 'function';\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    return isPath(keyName) ? _getPath(obj, keyName) : _getProp(obj, keyName);\n  }\n  function _getProp(obj, keyName) {\n    if (obj == null) {\n      return;\n    }\n    let value;\n    if (typeof obj === 'object' || typeof obj === 'function') {\n      if (true /* DEBUG */) {\n        value = getPossibleMandatoryProxyValue(obj, keyName);\n      } else {\n        value = obj[keyName];\n      }\n      if (value === undefined && typeof obj === 'object' && !(keyName in obj) && hasUnknownProperty(obj)) {\n        value = obj.unknownProperty(keyName);\n      }\n      if ((0, _validator.isTracking)()) {\n        (0, _validator.consumeTag)((0, _validator.tagFor)(obj, keyName));\n        if (Array.isArray(value) || (0, _internals.isEmberArray)(value)) {\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          (0, _validator.consumeTag)((0, _validator.tagFor)(value, '[]'));\n        }\n      }\n    } else {\n      // SAFETY: It should be ok to access properties on any non-nullish value\n      value = obj[keyName];\n    }\n    return value;\n  }\n  function _getPath(obj, path, forSet) {\n    let parts = typeof path === 'string' ? path.split('.') : path;\n    for (let part of parts) {\n      if (obj === undefined || obj === null || obj.isDestroyed) {\n        return undefined;\n      }\n      if (forSet && (part === '__proto__' || part === 'constructor')) {\n        return;\n      }\n      obj = _getProp(obj, part);\n    }\n    return obj;\n  }\n  // Warm it up\n  _getProp('foo', 'a');\n  _getProp('foo', 1);\n  _getProp({}, 'a');\n  _getProp({}, 1);\n  _getProp({\n    unknownProperty() {}\n  }, 'a');\n  _getProp({\n    unknownProperty() {}\n  }, 1);\n  get({}, 'foo');\n  get({}, 'foo.bar');\n  let fakeProxy = {};\n  (0, _utils.setProxy)(fakeProxy);\n  (0, _validator.track)(() => _getProp({}, 'a'));\n  (0, _validator.track)(() => _getProp({}, 1));\n  (0, _validator.track)(() => _getProp({\n    a: []\n  }, 'a'));\n  (0, _validator.track)(() => _getProp({\n    a: fakeProxy\n  }, 'a'));\n\n  /**\n   @module @ember/object\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  function set(obj, keyName, value, 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    if (obj.isDestroyed) {\n      (true && !(tolerant) && (0, _debug.assert)(`calling set on destroyed object: ${(0, _utils.toString)(obj)}.${keyName} = ${(0, _utils.toString)(value)}`, tolerant));\n      return value;\n    }\n    return isPath(keyName) ? _setPath(obj, keyName, value, tolerant) : _setProp(obj, keyName, value);\n  }\n  function _setProp(obj, keyName, value) {\n    let descriptor = (0, _utils.lookupDescriptor)(obj, keyName);\n    if (descriptor !== null && COMPUTED_SETTERS.has(descriptor.set)) {\n      obj[keyName] = value;\n      return value;\n    }\n    let currentValue;\n    if (true /* DEBUG */) {\n      currentValue = getPossibleMandatoryProxyValue(obj, keyName);\n    } else {\n      currentValue = obj[keyName];\n    }\n    if (currentValue === undefined && 'object' === typeof obj && !(keyName in obj) && typeof obj.setUnknownProperty === 'function') {\n      /* unknown property */\n      obj.setUnknownProperty(keyName, value);\n    } else {\n      if (true /* DEBUG */) {\n        (0, _utils.setWithMandatorySetter)(obj, keyName, value);\n      } else {\n        obj[keyName] = value;\n      }\n      if (currentValue !== value) {\n        notifyPropertyChange(obj, keyName);\n      }\n    }\n    return value;\n  }\n  function _setPath(root, path, value, tolerant) {\n    let parts = path.split('.');\n    let 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    let newRoot = _getPath(root, parts, true);\n    if (newRoot !== null && newRoot !== undefined) {\n      return set(newRoot, keyName, value);\n    } else if (!tolerant) {\n      throw new Error(`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  function trySet(root, path, value) {\n    return set(root, path, value, true);\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)))); // SAFETY: We passed in the impl for this class\n    return makeComputedDecorator(new AliasedProperty(altKey), AliasDecoratorImpl);\n  }\n  // TODO: This class can be svelted once `meta` has been deprecated\n  class AliasDecoratorImpl extends Function {\n    readOnly() {\n      descriptorForDecorator(this).readOnly();\n      return this;\n    }\n    oneWay() {\n      descriptorForDecorator(this).oneWay();\n      return this;\n    }\n    meta(meta) {\n      let prop = descriptorForDecorator(this);\n      if (arguments.length === 0) {\n        return prop._meta || {};\n      } else {\n        prop._meta = meta;\n      }\n    }\n  }\n  class AliasedProperty extends ComputedDescriptor {\n    constructor(altKey) {\n      super();\n      this.altKey = altKey;\n    }\n    setup(obj, keyName, propertyDesc, meta) {\n      (true && !(this.altKey !== keyName) && (0, _debug.assert)(`Setting alias '${keyName}' on self`, this.altKey !== keyName));\n      super.setup(obj, keyName, propertyDesc, meta);\n      CHAIN_PASS_THROUGH.add(this);\n    }\n    get(obj, keyName) {\n      let ret;\n      let meta$1 = (0, _meta2.meta)(obj);\n      let tagMeta = (0, _validator.tagMetaFor)(obj);\n      let propertyTag = (0, _validator.tagFor)(obj, keyName, tagMeta);\n      // 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      (0, _validator.untrack)(() => {\n        ret = get(obj, this.altKey);\n      });\n      let lastRevision = meta$1.revisionFor(keyName);\n      if (lastRevision === undefined || !(0, _validator.validateTag)(propertyTag, lastRevision)) {\n        (0, _validator.updateTag)(propertyTag, getChainTagsForKey(obj, this.altKey, tagMeta, meta$1));\n        meta$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n        finishLazyChains(meta$1, keyName, ret);\n      }\n      (0, _validator.consumeTag)(propertyTag);\n      return ret;\n    }\n    set(obj, _keyName, value) {\n      return set(obj, this.altKey, value);\n    }\n    readOnly() {\n      this.set = AliasedProperty_readOnlySet;\n    }\n    oneWay() {\n      this.set = AliasedProperty_oneWaySet;\n    }\n  }\n  function AliasedProperty_readOnlySet(obj, keyName) {\n    throw new Error(`Cannot set read-only property '${keyName}' on object: ${(0, _debug.inspect)(obj)}`);\n  }\n  function AliasedProperty_oneWaySet(obj, keyName, value) {\n    defineProperty(obj, keyName, null);\n    return set(obj, keyName, value);\n  }\n\n  /**\n  @module ember\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  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    Object.defineProperty(object, deprecatedKey, {\n      configurable: true,\n      enumerable: false,\n      set(value) {\n        _deprecate();\n        set(this, newKey, value);\n      },\n      get() {\n        _deprecate();\n        return get(this, newKey);\n      }\n    });\n  }\n  const EACH_PROXIES = new WeakMap();\n  function eachProxyArrayWillChange(array, idx, removedCnt, addedCnt) {\n    let eachProxy = EACH_PROXIES.get(array);\n    if (eachProxy !== undefined) {\n      eachProxy.arrayWillChange(array, idx, removedCnt, addedCnt);\n    }\n  }\n  function eachProxyArrayDidChange(array, idx, removedCnt, addedCnt) {\n    let eachProxy = EACH_PROXIES.get(array);\n    if (eachProxy !== undefined) {\n      eachProxy.arrayDidChange(array, idx, removedCnt, addedCnt);\n    }\n  }\n\n  /**\n   @module ember\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  class Libraries {\n    constructor() {\n      this._registry = [];\n      this._coreLibIndex = 0;\n    }\n    _getLibraryByName(name) {\n      let libs = this._registry;\n      for (let lib of libs) {\n        if (lib.name === name) {\n          return lib;\n        }\n      }\n      return undefined;\n    }\n    register(name, version, isCoreLibrary) {\n      let index = this._registry.length;\n      if (!this._getLibraryByName(name)) {\n        if (isCoreLibrary) {\n          index = this._coreLibIndex++;\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    registerCoreLibrary(name, version) {\n      this.register(name, version, true);\n    }\n    deRegister(name) {\n      let lib = this._getLibraryByName(name);\n      let index;\n      if (lib) {\n        index = this._registry.indexOf(lib);\n        this._registry.splice(index, 1);\n      }\n    }\n  }\n  _exports.Libraries = Libraries;\n  if (true /* DEBUG */) {\n    Libraries.prototype.logVersions = function () {\n      let libs = this._registry;\n      let nameLengths = libs.map(item => get(item, 'name.length'));\n      (true && !(nameLengths instanceof Array && nameLengths.every(n => typeof n === 'number')) && (0, _debug.assert)('nameLengths is number array', nameLengths instanceof Array && nameLengths.every(n => typeof n === 'number')));\n      let maxNameLength = Math.max.apply(null, nameLengths);\n      (0, _debug.debug)('-------------------------------');\n      for (let lib of libs) {\n        let spaces = new Array(maxNameLength - lib.name.length + 1).join(' ');\n        (0, _debug.debug)([lib.name, spaces, ' : ', lib.version].join(''));\n      }\n      (0, _debug.debug)('-------------------------------');\n    };\n  }\n  const LIBRARIES = _exports.libraries = new Libraries();\n  LIBRARIES.registerCoreLibrary('Ember', _version.default);\n  function getProperties(obj, keys) {\n    let ret = {};\n    let propertyNames;\n    let i = 1;\n    if (arguments.length === 2 && Array.isArray(keys)) {\n      i = 0;\n      propertyNames = arguments[1];\n    } else {\n      propertyNames = Array.from(arguments);\n    }\n    for (; i < propertyNames.length; i++) {\n      // SAFETY: we are just walking the list of property names, so we know the\n      // index access never produces `undefined`.\n      let name = propertyNames[i];\n      ret[name] = get(obj, name);\n    }\n    return ret;\n  }\n  function setProperties(obj, properties) {\n    if (properties === null || typeof properties !== 'object') {\n      return properties;\n    }\n    changeProperties(() => {\n      let props = Object.keys(properties);\n      for (let propertyName of props) {\n        // SAFETY: casting `properties` this way is safe because any object in JS\n        // can be indexed this way, and the result will be `unknown`, making it\n        // safe for callers.\n        set(obj, propertyName, properties[propertyName]);\n      }\n    });\n    return properties;\n  }\n  let DEBUG_INJECTION_FUNCTIONS = _exports.DEBUG_INJECTION_FUNCTIONS = void 0;\n  if (true /* DEBUG */) {\n    _exports.DEBUG_INJECTION_FUNCTIONS = DEBUG_INJECTION_FUNCTIONS = new WeakMap();\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    let elementDescriptor;\n    let name;\n    if (isElementDescriptor(args)) {\n      elementDescriptor = args;\n    } else if (typeof args[0] === 'string') {\n      name = args[0];\n    }\n    let getInjection = function (propertyName) {\n      let owner = (0, _owner.getOwner)(this) || this.container; // fallback to `container` for backwards compat\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    };\n    if (true /* DEBUG */) {\n      DEBUG_INJECTION_FUNCTIONS.set(getInjection, {\n        type,\n        name\n      });\n    }\n    let decorator = computed({\n      get: getInjection,\n      set(keyName, value) {\n        defineProperty(this, keyName, null, value);\n      }\n    });\n    if (elementDescriptor) {\n      return decorator(elementDescriptor[0], elementDescriptor[1], elementDescriptor[2]);\n    } else {\n      return decorator;\n    }\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    if (!isElementDescriptor(args)) {\n      let 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      if (true /* DEBUG */ && propertyDesc) {\n        let 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      let initializer = propertyDesc ? propertyDesc.initializer : undefined;\n      let value = propertyDesc ? propertyDesc.value : undefined;\n      let decorator = function (target, key, _desc, _meta, isClassicDecorator) {\n        (true && !(isClassicDecorator) && (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));\n        let fieldDesc = {\n          initializer: initializer || (() => value)\n        };\n        return descriptorForField([target, key, fieldDesc]);\n      };\n      setClassicDecorator(decorator);\n      return decorator;\n    }\n    return descriptorForField(args);\n  }\n  if (true /* DEBUG */) {\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  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    let {\n      getter,\n      setter\n    } = (0, _validator.trackedData)(key, desc ? desc.initializer : undefined);\n    function get() {\n      let value = getter(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      if (Array.isArray(value) || (0, _internals.isEmberArray)(value)) {\n        (0, _validator.consumeTag)((0, _validator.tagFor)(value, '[]'));\n      }\n      return value;\n    }\n    function set(newValue) {\n      setter(this, newValue);\n      (0, _validator.dirtyTagFor)(this, SELF_TAG);\n    }\n    let newDesc = {\n      enumerable: true,\n      configurable: true,\n      isTracked: true,\n      get,\n      set\n    };\n    COMPUTED_SETTERS.add(set);\n    (0, _meta2.meta)(target).writeDescriptors(key, new TrackedDescriptor(get, set));\n    return newDesc;\n  }\n  class TrackedDescriptor {\n    constructor(_get, _set) {\n      this._get = _get;\n      this._set = _set;\n      CHAIN_PASS_THROUGH.add(this);\n    }\n    get(obj) {\n      return this._get.call(obj);\n    }\n    set(obj, _key, value) {\n      this._set.call(obj, value);\n    }\n  }\n\n  // NOTE: copied from: https://github.com/glimmerjs/glimmer.js/pull/358\n  // Both glimmerjs/glimmer.js and emberjs/ember.js have the exact same implementation\n  // of @cached, so any changes made to one should also be made to the other\n  /**\n   * @decorator\n   *\n    Gives the getter a caching behavior. The return value of the getter\n    will be cached until any of the properties it is entangled with\n    are invalidated. This is useful when a getter is expensive and\n    used very often.\n  \n    For instance, in this `GuestList` class, we have the `sortedGuests`\n    getter that sorts the guests alphabetically:\n  \n    ```javascript\n      import { tracked } from '@glimmer/tracking';\n  \n      class GuestList {\n        @tracked guests = ['Zoey', 'Tomster'];\n  \n        get sortedGuests() {\n          return this.guests.slice().sort()\n        }\n      }\n    ```\n  \n    Every time `sortedGuests` is accessed, a new array will be created and sorted,\n    because JavaScript getters do not cache by default. When the guest list\n    is small, like the one in the example, this is not a problem. However, if\n    the guest list were to grow very large, it would mean that we would be doing\n    a large amount of work each time we accessed `sortedGuests`. With `@cached`,\n    we can cache the value instead:\n  \n    ```javascript\n      import { tracked, cached } from '@glimmer/tracking';\n  \n      class GuestList {\n        @tracked guests = ['Zoey', 'Tomster'];\n  \n        @cached\n        get sortedGuests() {\n          return this.guests.slice().sort()\n        }\n      }\n    ```\n  \n    Now the `sortedGuests` getter will be cached based on autotracking.\n    It will only rerun and create a new sorted array when the guests tracked\n    property is updated.\n  \n  \n    ### Tradeoffs\n  \n    Overuse is discouraged.\n  \n    In general, you should avoid using `@cached` unless you have confirmed that\n    the getter you are decorating is computationally expensive, since `@cached`\n    adds a small amount of overhead to the getter.\n    While the individual costs are small, a systematic use of the `@cached`\n    decorator can add up to a large impact overall in your app.\n    Many getters and tracked properties are only accessed once during rendering,\n    and then never rerendered, so adding `@cached` when unnecessary can\n    negatively impact performance.\n  \n    Also, `@cached` may rerun even if the values themselves have not changed,\n    since tracked properties will always invalidate.\n    For example updating an integer value from `5` to an other `5` will trigger\n    a rerun of the cached properties building from this integer.\n  \n    Avoiding a cache invalidation in this case is not something that can\n    be achieved on the `@cached` decorator itself, but rather when updating\n    the underlying tracked values, by applying some diff checking mechanisms:\n  \n    ```javascript\n    if (nextValue !== this.trackedProp) {\n      this.trackedProp = nextValue;\n    }\n    ```\n  \n    Here equal values won't update the property, therefore not triggering\n    the subsequent cache invalidations of the `@cached` properties who were\n    using this `trackedProp`.\n  \n    Remember that setting tracked data should only be done during initialization,\n    or as the result of a user action. Setting tracked data during render\n    (such as in a getter), is not supported.\n  \n    @method cached\n    @static\n    @for @glimmer/tracking\n    @public\n   */\n  _exports.TrackedDescriptor = TrackedDescriptor;\n  const cached = (...args) => {\n    const [target, key, descriptor] = args;\n    // Error on `@cached()`, `@cached(...args)`, and `@cached propName = value;`\n    if (true /* DEBUG */ && target === undefined) throwCachedExtraneousParens();\n    if (true /* DEBUG */ && (typeof target !== 'object' || typeof key !== 'string' || typeof descriptor !== 'object' || args.length !== 3)) {\n      throwCachedInvalidArgsError(args);\n    }\n    if (true /* DEBUG */ && (!('get' in descriptor) || typeof descriptor.get !== 'function')) {\n      throwCachedGetterOnlyError(key);\n    }\n    const caches = new WeakMap();\n    const getter = descriptor.get;\n    descriptor.get = function () {\n      if (!caches.has(this)) {\n        caches.set(this, (0, _validator.createCache)(getter.bind(this)));\n      }\n      return (0, _validator.getValue)(caches.get(this));\n    };\n  };\n  _exports.cached = cached;\n  function throwCachedExtraneousParens() {\n    throw new Error('You attempted to use @cached(), which is not necessary nor supported. Remove the parentheses and you will be good to go!');\n  }\n  function throwCachedGetterOnlyError(key) {\n    throw new Error(`The @cached decorator must be applied to getters. '${key}' is not a getter.`);\n  }\n  function throwCachedInvalidArgsError(args = []) {\n    throw new Error(`You attempted to use @cached on with ${args.length > 1 ? 'arguments' : 'an argument'} ( @cached(${args.map(d => `'${d}'`).join(', ')}), which is not supported. Dependencies are automatically tracked, so you can just use ${'`@cached`'}`);\n  }\n  const hasOwnProperty = Object.prototype.hasOwnProperty;\n  let searchDisabled = false;\n  const flags = {\n    _set: 0,\n    _unprocessedNamespaces: false,\n    get unprocessedNamespaces() {\n      return this._unprocessedNamespaces;\n    },\n    set unprocessedNamespaces(v) {\n      this._set++;\n      this._unprocessedNamespaces = v;\n    }\n  };\n  let unprocessedMixins = false;\n  const NAMESPACES = _exports.NAMESPACES = [];\n  const NAMESPACES_BY_ID = _exports.NAMESPACES_BY_ID = Object.create(null);\n  function addNamespace(namespace) {\n    flags.unprocessedNamespaces = true;\n    NAMESPACES.push(namespace);\n  }\n  function removeNamespace(namespace) {\n    let name = (0, _utils.getName)(namespace);\n    delete NAMESPACES_BY_ID[name];\n    NAMESPACES.splice(NAMESPACES.indexOf(namespace), 1);\n    if (name in _environment.context.lookup && namespace === _environment.context.lookup[name]) {\n      _environment.context.lookup[name] = undefined;\n    }\n  }\n  function findNamespaces() {\n    if (!flags.unprocessedNamespaces) {\n      return;\n    }\n    let lookup = _environment.context.lookup;\n    let keys = Object.keys(lookup);\n    for (let key of keys) {\n      // Only process entities that start with uppercase A-Z\n      if (!isUppercase(key.charCodeAt(0))) {\n        continue;\n      }\n      let obj = tryIsNamespace(lookup, key);\n      if (obj) {\n        (0, _utils.setName)(obj, key);\n      }\n    }\n  }\n  function findNamespace(name) {\n    if (!searchDisabled) {\n      processAllNamespaces();\n    }\n    return NAMESPACES_BY_ID[name];\n  }\n  function processNamespace(namespace) {\n    _processNamespace([namespace.toString()], namespace, new Set());\n  }\n  function processAllNamespaces() {\n    let unprocessedNamespaces = flags.unprocessedNamespaces;\n    if (unprocessedNamespaces) {\n      findNamespaces();\n      flags.unprocessedNamespaces = false;\n    }\n    if (unprocessedNamespaces || unprocessedMixins) {\n      let namespaces = NAMESPACES;\n      for (let namespace of namespaces) {\n        processNamespace(namespace);\n      }\n      unprocessedMixins = false;\n    }\n  }\n  function isSearchDisabled() {\n    return searchDisabled;\n  }\n  function setSearchDisabled(flag) {\n    searchDisabled = Boolean(flag);\n  }\n  function setUnprocessedMixins() {\n    unprocessedMixins = true;\n  }\n  function _processNamespace(paths, root, seen) {\n    let idx = paths.length;\n    let id = paths.join('.');\n    NAMESPACES_BY_ID[id] = root;\n    (0, _utils.setName)(root, id);\n    // Loop over all of the keys in the namespace, looking for classes\n    for (let key in root) {\n      if (!hasOwnProperty.call(root, key)) {\n        continue;\n      }\n      let obj = root[key];\n      // 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      paths[idx] = key;\n      // If we have found an unprocessed class\n      if (obj && (0, _utils.getName)(obj) === void 0) {\n        // Replace the class' `toString` with the dot-separated path\n        (0, _utils.setName)(obj, paths.join('.'));\n        // Support nested namespaces\n      } else if (obj && isNamespace(obj)) {\n        // Skip aliased namespaces\n        if (seen.has(obj)) {\n          continue;\n        }\n        seen.add(obj);\n        // Process the child namespace\n        _processNamespace(paths, obj, seen);\n      }\n    }\n    paths.length = idx; // cut out last item\n  }\n\n  function isNamespace(obj) {\n    return obj != null && typeof obj === 'object' && obj.isNamespace;\n  }\n  function isUppercase(code) {\n    return code >= 65 && code <= 90 // A\n    ; // Z\n  }\n\n  function tryIsNamespace(lookup, prop) {\n    try {\n      let obj = lookup[prop];\n      return (obj !== null && typeof obj === 'object' || typeof obj === 'function') && obj.isNamespace && obj;\n    } catch (e) {\n      // continue\n    }\n  }\n});","define(\"@ember/-internals/owner/index\", [\"exports\", \"@glimmer/owner\"], function (_exports, _owner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getOwner = getOwner;\n  _exports.isFactory = isFactory;\n  _exports.setOwner = setOwner;\n  /**\n    @private\n    @method isFactory\n    @param {Object} obj\n    @return {Boolean}\n    @static\n   */\n  function isFactory(obj) {\n    return obj != null && typeof obj.create === 'function';\n  }\n  // NOTE: For docs, see the definition at the public API site in `@ember/owner`;\n  // we document it there for the sake of public API docs and for TS consumption,\n  // while having the richer `InternalOwner` representation for Ember itself.\n  function getOwner(object) {\n    return (0, _owner.getOwner)(object);\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/owner\n    @param {Object} object An object instance.\n    @param {Owner} object The new owner object of the object instance.\n    @since 2.3.0\n    @public\n  */\n  function setOwner(object, owner) {\n    (0, _owner.setOwner)(object, owner);\n  }\n});","define(\"@ember/-internals/routing/index\", [\"exports\", \"@ember/routing/-internals\"], function (_exports, _internals) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"RouterDSL\", {\n    enumerable: true,\n    get: function () {\n      return _internals.DSL;\n    }\n  });\n  Object.defineProperty(_exports, \"controllerFor\", {\n    enumerable: true,\n    get: function () {\n      return _internals.controllerFor;\n    }\n  });\n  Object.defineProperty(_exports, \"generateController\", {\n    enumerable: true,\n    get: function () {\n      return _internals.generateController;\n    }\n  });\n  Object.defineProperty(_exports, \"generateControllerFactory\", {\n    enumerable: true,\n    get: function () {\n      return _internals.generateControllerFactory;\n    }\n  });\n});","define(\"@ember/-internals/runtime/index\", [\"exports\", \"@ember/-internals/runtime/lib/mixins/registry_proxy\", \"@ember/-internals/runtime/lib/mixins/container_proxy\", \"@ember/-internals/runtime/lib/mixins/comparable\", \"@ember/-internals/runtime/lib/mixins/action_handler\", \"@ember/-internals/runtime/lib/mixins/-proxy\", \"@ember/enumerable/mutable\", \"@ember/-internals/runtime/lib/mixins/target_action_support\", \"@ember/-internals/runtime/lib/ext/rsvp\"], function (_exports, _registry_proxy, _container_proxy, _comparable, _action_handler, _proxy, _mutable, _target_action_support, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"ActionHandler\", {\n    enumerable: true,\n    get: function () {\n      return _action_handler.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Comparable\", {\n    enumerable: true,\n    get: function () {\n      return _comparable.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, \"MutableEnumerable\", {\n    enumerable: true,\n    get: function () {\n      return _mutable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RSVP\", {\n    enumerable: true,\n    get: function () {\n      return _rsvp.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RegistryProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _registry_proxy.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, \"_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, \"onerrorDefault\", {\n    enumerable: true,\n    get: function () {\n      return _rsvp.onerrorDefault;\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.default = void 0;\n  _exports.onerrorDefault = onerrorDefault;\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  function onerrorDefault(reason) {\n    let error = errorFor(reason);\n    if (error) {\n      let overrideDispatch = (0, _errorHandling.getDispatchOverride)();\n      if (overrideDispatch) {\n        overrideDispatch(error);\n      } else {\n        throw error;\n      }\n    }\n  }\n  function errorFor(reason) {\n    if (!reason) return;\n    let withErrorThrown = reason;\n    if (withErrorThrown.errorThrown) {\n      return unwrapErrorThrown(withErrorThrown);\n    }\n    let withName = reason;\n    if (withName.name === 'UnrecognizedURLError') {\n      (true && !(false) && (0, _debug.assert)(`The URL '${withName.message}' did not match any routes in your application`, false)); // @ts-expect-error We'll hit this if the assert is stripped\n      return;\n    }\n    if (reason.name === 'TransitionAborted') {\n      return;\n    }\n    return reason;\n  }\n  function unwrapErrorThrown(reason) {\n    let error = reason.errorThrown;\n    if (typeof error === 'string') {\n      error = new Error(error);\n    }\n    Object.defineProperty(error, '__reason_with_error_thrown__', {\n      value: reason,\n      enumerable: false\n    });\n    return error;\n  }\n  var _default = _exports.default = RSVP;\n});","define(\"@ember/-internals/runtime/lib/mixins/-proxy\", [\"exports\", \"@ember/-internals/meta\", \"@ember/object/mixin\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/debug\", \"@glimmer/manager\", \"@glimmer/validator\"], function (_exports, _meta, _mixin, _metal, _utils, _debug, _manager, _validator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.contentFor = contentFor;\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  function contentFor(proxy) {\n    let content = (0, _metal.get)(proxy, 'content');\n    // SAFETY: Ideally we'd assert instead of casting, but @glimmer/validator doesn't give us\n    // sufficient public types for this. Previously this code was .js and worked correctly so\n    // hopefully this is sufficiently reliable.\n    (0, _validator.updateTag)((0, _metal.tagForObject)(proxy), (0, _metal.tagForObject)(content));\n    return content;\n  }\n  function customTagForProxy(proxy, key, addMandatorySetter) {\n    (true && !((0, _utils.isProxy)(proxy)) && (0, _debug.assert)('Expected a proxy', (0, _utils.isProxy)(proxy)));\n    let meta = (0, _validator.tagMetaFor)(proxy);\n    let tag = (0, _validator.tagFor)(proxy, key, meta);\n    if (true /* DEBUG */) {\n      // TODO: Replace this with something more first class for tracking tags in DEBUG\n      // SAFETY: This is not an officially supported property but setting shouldn't cause issues.\n      tag._propertyKey = key;\n    }\n    if (key in proxy) {\n      if (true /* DEBUG */ && addMandatorySetter) {\n        (true && !(_utils.setupMandatorySetter) && (0, _debug.assert)('[BUG] setupMandatorySetter should be set when debugging', setupMandatorySetter));\n        (0, _utils.setupMandatorySetter)(tag, proxy, key);\n      }\n      return tag;\n    } else {\n      let tags = [tag, (0, _validator.tagFor)(proxy, 'content', meta)];\n      let content = contentFor(proxy);\n      if ((0, _utils.isObject)(content)) {\n        tags.push((0, _metal.tagForProperty)(content, key, addMandatorySetter));\n      }\n      return (0, _validator.combine)(tags);\n    }\n  }\n  const ProxyMixin = _mixin.default.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    init() {\n      this._super(...arguments);\n      (0, _utils.setProxy)(this);\n      (0, _metal.tagForObject)(this);\n      (0, _manager.setCustomTagFor)(this, customTagForProxy);\n    },\n    willDestroy() {\n      this.set('content', null);\n      this._super(...arguments);\n    },\n    isTruthy: (0, _metal.computed)('content', function () {\n      return Boolean((0, _metal.get)(this, 'content'));\n    }),\n    unknownProperty(key) {\n      let content = contentFor(this);\n      return content ? (0, _metal.get)(content, key) : undefined;\n    },\n    setUnknownProperty(key, value) {\n      let m = (0, _meta.meta)(this);\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      let content = contentFor(this);\n      (true && !(content) && (0, _debug.assert)(`Cannot delegate set('${key}', ${value}) to the 'content' property of object proxy ${this}: its 'content' is undefined.`, content)); // SAFETY: We don't actually guarantee that this is an object, so this isn't necessarily safe :(\n      return (0, _metal.set)(content, key, value);\n    }\n  });\n  var _default = _exports.default = ProxyMixin;\n});","define(\"@ember/-internals/runtime/lib/mixins/action_handler\", [\"exports\", \"@ember/object/mixin\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _mixin, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  const ActionHandler = _mixin.default.create({\n    mergedProperties: ['actions'],\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/object/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/object/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      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      if (this.actions && this.actions[actionName]) {\n        let shouldBubble = this.actions[actionName].apply(this, args) === true;\n        if (!shouldBubble) {\n          return;\n        }\n      }\n      let target = (0, _metal.get)(this, 'target');\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  var _default = _exports.default = ActionHandler;\n});","define(\"@ember/-internals/runtime/lib/mixins/comparable\", [\"exports\", \"@ember/object/mixin\"], function (_exports, _mixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const Comparable = _mixin.default.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  var _default = _exports.default = Comparable;\n});","define(\"@ember/-internals/runtime/lib/mixins/container_proxy\", [\"exports\", \"@ember/runloop\", \"@ember/object/mixin\"], function (_exports, _runloop, _mixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const ContainerProxyMixin = _mixin.default.create({\n    /**\n     The container stores state.\n        @private\n     @property {Ember.Container} __container__\n     */\n    __container__: null,\n    ownerInjection() {\n      return this.__container__.ownerInjection();\n    },\n    lookup(fullName, options) {\n      return this.__container__.lookup(fullName, options);\n    },\n    destroy() {\n      let container = this.__container__;\n      if (container) {\n        (0, _runloop.join)(() => {\n          container.destroy();\n          (0, _runloop.schedule)('destroy', container, 'finalizeDestroy');\n        });\n      }\n      this._super();\n    },\n    factoryFor(fullName) {\n      return this.__container__.factoryFor(fullName);\n    }\n  });\n  var _default = _exports.default = ContainerProxyMixin;\n});","define(\"@ember/-internals/runtime/lib/mixins/registry_proxy\", [\"exports\", \"@ember/debug\", \"@ember/object/mixin\"], function (_exports, _debug, _mixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  const RegistryProxyMixin = _mixin.default.create({\n    __registry__: null,\n    resolveRegistration(fullName) {\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);\n    },\n    register: registryAlias('register'),\n    unregister: registryAlias('unregister'),\n    hasRegistration: registryAlias('has'),\n    registeredOption: registryAlias('getOption'),\n    registerOptions: registryAlias('options'),\n    registeredOptions: registryAlias('getOptions'),\n    registerOptionsForType: registryAlias('optionsForType'),\n    registeredOptionsForType: registryAlias('getOptionsForType')\n  });\n  function registryAlias(name) {\n    return function (...args) {\n      // We need this cast because `Parameters` is deferred so that it is not\n      // possible for TS to see it will always produce the right type. However,\n      // since `AnyFn` has a rest type, it is allowed. See discussion on [this\n      // issue](https://github.com/microsoft/TypeScript/issues/47615).\n      return this.__registry__[name](...args);\n    };\n  }\n  var _default = _exports.default = RegistryProxyMixin;\n});","define(\"@ember/-internals/runtime/lib/mixins/target_action_support\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/metal\", \"@ember/object/mixin\", \"@ember/debug\"], function (_exports, _environment, _metal, _mixin, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  const TargetActionSupport = _mixin.default.create({\n    target: null,\n    action: null,\n    actionContext: null,\n    actionContextObject: (0, _metal.computed)('actionContext', function () {\n      let actionContext = (0, _metal.get)(this, 'actionContext');\n      if (typeof actionContext === 'string') {\n        let value = (0, _metal.get)(this, actionContext);\n        if (value === undefined) {\n          value = (0, _metal.get)(_environment.context.lookup, actionContext);\n        }\n        return value;\n      } else {\n        return actionContext;\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      let {\n        action,\n        target,\n        actionContext\n      } = opts;\n      action = action || (0, _metal.get)(this, 'action');\n      target = target || getTarget(this);\n      if (actionContext === undefined) {\n        actionContext = (0, _metal.get)(this, 'actionContextObject') || this;\n      }\n      let context = Array.isArray(actionContext) ? actionContext : [actionContext];\n      if (target && action) {\n        let ret;\n        if (isSendable(target)) {\n          ret = target.send(action, ...context);\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](...context);\n        }\n        if (ret !== false) {\n          return true;\n        }\n      }\n      return false;\n    }\n  });\n  function isSendable(obj) {\n    return obj != null && typeof obj === 'object' && typeof obj.send === 'function';\n  }\n  function getTarget(instance) {\n    let target = (0, _metal.get)(instance, 'target');\n    if (target) {\n      if (typeof target === 'string') {\n        let value = (0, _metal.get)(instance, target);\n        if (value === undefined) {\n          value = (0, _metal.get)(_environment.context.lookup, target);\n        }\n        return value;\n      } else {\n        return target;\n      }\n    }\n    if (instance._target) {\n      return instance._target;\n    }\n    return null;\n  }\n  if (true /* DEBUG */) {\n    Object.seal(TargetActionSupport);\n  }\n  var _default = _exports.default = TargetActionSupport;\n});","define(\"@ember/-internals/string/index\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.classify = classify;\n  _exports.dasherize = dasherize;\n  /*\n    This module exists to separate the @ember/string methods used\n    internally in ember-source, from those public methods that are\n    now deprecated and to be removed.\n  */\n\n  const STRING_DASHERIZE_REGEXP = /[ _]/g;\n  const STRING_DASHERIZE_CACHE = new _utils.Cache(1000, key => decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-'));\n  const STRING_CLASSIFY_REGEXP_1 = /^(-|_)+(.)?/;\n  const STRING_CLASSIFY_REGEXP_2 = /(.)(-|_|\\.|\\s)+(.)?/g;\n  const STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\n  const CLASSIFY_CACHE = new _utils.Cache(1000, str => {\n    let replace1 = (_match, _separator, chr) => chr ? `_${chr.toUpperCase()}` : '';\n    let replace2 = (_match, initialChar, _separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n    let parts = str.split('/');\n    for (let 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    return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, (match /*, separator, chr */) => match.toUpperCase());\n  });\n  const STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n  const DECAMELIZE_CACHE = new _utils.Cache(1000, str => str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase());\n  /**\n   Defines string helper methods used internally in ember-source.\n  \n   @class String\n   @private\n   */\n  /**\n   Replaces underscores, spaces, or camelCase with dashes.\n  \n   ```javascript\n   import { dasherize } from '@ember/-internals/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   @private\n   */\n  function dasherize(str) {\n    return STRING_DASHERIZE_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   @private\n   */\n  function classify(str) {\n    return CLASSIFY_CACHE.get(str);\n  }\n  /**\n   Converts a camelized string into all lower case separated by underscores.\n  \n   ```javascript\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  function decamelize(str) {\n    return DECAMELIZE_CACHE.get(str);\n  }\n});","define(\"@ember/-internals/utility-types/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Opaque = void 0;\n  class Opaque {}\n  _exports.Opaque = Opaque;\n});","define(\"@ember/-internals/utils/index\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.ROOT = _exports.GUID_KEY = _exports.Cache = void 0;\n  _exports.canInvoke = canInvoke;\n  _exports.checkHasSuper = void 0;\n  _exports.dictionary = makeDictionary;\n  _exports.enumerableSymbol = enumerableSymbol;\n  _exports.generateGuid = generateGuid;\n  _exports.getDebugName = void 0;\n  _exports.getName = getName;\n  _exports.guidFor = guidFor;\n  _exports.intern = intern;\n  _exports.isInternalSymbol = isInternalSymbol;\n  _exports.isObject = isObject;\n  _exports.isProxy = isProxy;\n  _exports.lookupDescriptor = lookupDescriptor;\n  _exports.observerListenerMetaFor = observerListenerMetaFor;\n  _exports.setListeners = setListeners;\n  _exports.setName = setName;\n  _exports.setObservers = setObservers;\n  _exports.setProxy = setProxy;\n  _exports.teardownMandatorySetter = _exports.symbol = _exports.setupMandatorySetter = _exports.setWithMandatorySetter = void 0;\n  _exports.toString = toString;\n  _exports.uuid = uuid;\n  _exports.wrap = wrap;\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    let obj = Object.create(null);\n    obj[str] = 1;\n    for (let key in obj) {\n      if (key === str) {\n        return key;\n      }\n    }\n    return str;\n  }\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  function isObject(value) {\n    return value !== null && (typeof value === 'object' || typeof value === 'function');\n  }\n\n  /**\n   @module @ember/object\n  */\n  /**\n   @private\n   @return {Number} the uuid\n   */\n  let _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  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  const GUID_PREFIX = 'ember';\n  // Used for guid generation...\n  const OBJECT_GUIDS = new WeakMap();\n  const 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  const GUID_KEY = _exports.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  function generateGuid(obj, prefix = GUID_PREFIX) {\n    let guid = prefix + uuid().toString();\n    if (isObject(obj)) {\n      OBJECT_GUIDS.set(obj, guid);\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  function guidFor(value) {\n    let guid;\n    if (isObject(value)) {\n      guid = OBJECT_GUIDS.get(value);\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      if (guid === undefined) {\n        let type = typeof value;\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        NON_OBJECT_GUIDS.set(value, guid);\n      }\n    }\n    return guid;\n  }\n  const GENERATED_SYMBOLS = [];\n  function isInternalSymbol(possibleSymbol) {\n    return GENERATED_SYMBOLS.indexOf(possibleSymbol) !== -1;\n  }\n  // Some legacy symbols still need to be enumerable for a variety of reasons.\n  // This code exists for that, and as a fallback in IE11. In general, prefer\n  // `symbol` below when creating a new symbol.\n  function enumerableSymbol(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    let id = GUID_KEY + Math.floor(Math.random() * Date.now()).toString();\n    let symbol = intern(`__${debugName}${id}__`);\n    if (true /* DEBUG */) {\n      GENERATED_SYMBOLS.push(symbol);\n    }\n    return symbol;\n  }\n  const symbol = _exports.symbol = Symbol;\n\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  function makeDictionary(parent) {\n    let dict = Object.create(parent);\n    dict['_dict'] = null;\n    delete dict['_dict'];\n    return dict;\n  }\n  let getDebugName;\n  if (true /* DEBUG */) {\n    let getFunctionName = fn => {\n      let functionName = fn.name;\n      if (functionName === undefined) {\n        let match = Function.prototype.toString.call(fn).match(/function (\\w+)\\s*\\(/);\n        functionName = match && match[1] || '';\n      }\n      return functionName.replace(/^bound /, '');\n    };\n    let getObjectName = obj => {\n      let name;\n      let className;\n      if (obj.constructor && obj.constructor !== Object) {\n        className = getFunctionName(obj.constructor);\n      }\n      if ('toString' in obj && obj.toString !== Object.prototype.toString && obj.toString !== Function.prototype.toString) {\n        name = obj.toString();\n      }\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      if (name && name.match(/<.*:ember\\d+>/) && className && className[0] !== '_' && className.length > 2 && className !== 'Class') {\n        return name.replace(/<.*:/, `<${className}:`);\n      }\n      return name || className;\n    };\n    let getPrimitiveName = value => {\n      return String(value);\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  var getDebugName$1 = _exports.getDebugName = getDebugName;\n  const HAS_SUPER_PATTERN = /\\.(_super|call\\(this|apply\\(this)/;\n  const fnToString = Function.prototype.toString;\n  const checkHasSuper = _exports.checkHasSuper = (() => {\n    let sourceAvailable = fnToString.call(function () {\n      return this;\n    }).indexOf('return this') > -1;\n    if (sourceAvailable) {\n      return function checkHasSuper(func) {\n        return HAS_SUPER_PATTERN.test(fnToString.call(func));\n      };\n    }\n    return function checkHasSuper() {\n      return true;\n    };\n  })();\n  const HAS_SUPER_MAP = new WeakMap();\n  const ROOT = _exports.ROOT = Object.freeze(function () {});\n  HAS_SUPER_MAP.set(ROOT, false);\n  function hasSuper(func) {\n    let hasSuper = HAS_SUPER_MAP.get(func);\n    if (hasSuper === undefined) {\n      hasSuper = checkHasSuper(func);\n      HAS_SUPER_MAP.set(func, hasSuper);\n    }\n    return hasSuper;\n  }\n  class ObserverListenerMeta {\n    constructor() {\n      this.listeners = undefined;\n      this.observers = undefined;\n    }\n  }\n  const OBSERVERS_LISTENERS_MAP = new WeakMap();\n  function createObserverListenerMetaFor(fn) {\n    let meta = OBSERVERS_LISTENERS_MAP.get(fn);\n    if (meta === undefined) {\n      meta = new ObserverListenerMeta();\n      OBSERVERS_LISTENERS_MAP.set(fn, meta);\n    }\n    return meta;\n  }\n  function observerListenerMetaFor(fn) {\n    return OBSERVERS_LISTENERS_MAP.get(fn);\n  }\n  function setObservers(func, observers) {\n    let meta = createObserverListenerMetaFor(func);\n    meta.observers = observers;\n  }\n  function setListeners(func, listeners) {\n    let meta = createObserverListenerMetaFor(func);\n    meta.listeners = listeners;\n  }\n  const IS_WRAPPED_FUNCTION_SET = new 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  function wrap(func, superFunc) {\n    if (!hasSuper(func)) {\n      return func;\n    }\n    // ensure an unwrapped super that calls _super is wrapped with a terminal _super\n    if (!IS_WRAPPED_FUNCTION_SET.has(superFunc) && hasSuper(superFunc)) {\n      return _wrap(func, _wrap(superFunc, ROOT));\n    }\n    return _wrap(func, superFunc);\n  }\n  function _wrap(func, superFunc) {\n    function superWrapper() {\n      let orig = this._super;\n      this._super = superFunc;\n      let ret = func.apply(this, arguments);\n      this._super = orig;\n      return ret;\n    }\n    IS_WRAPPED_FUNCTION_SET.add(superWrapper);\n    let meta = OBSERVERS_LISTENERS_MAP.get(func);\n    if (meta !== undefined) {\n      OBSERVERS_LISTENERS_MAP.set(superWrapper, meta);\n    }\n    return superWrapper;\n  }\n  function lookupDescriptor(obj, keyName) {\n    let current = obj;\n    do {\n      let descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n      if (descriptor !== undefined) {\n        return descriptor;\n      }\n      current = Object.getPrototypeOf(current);\n    } while (current !== null);\n    return null;\n  }\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  function canInvoke(obj, methodName) {\n    return obj != null && typeof obj[methodName] === 'function';\n  }\n  /**\n    @module @ember/utils\n  */\n\n  const NAMES = new WeakMap();\n  function setName(obj, name) {\n    if (isObject(obj)) NAMES.set(obj, name);\n  }\n  function getName(obj) {\n    return NAMES.get(obj);\n  }\n  const objectToString = Object.prototype.toString;\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  function toString(obj) {\n    if (typeof obj === 'string') {\n      return obj;\n    }\n    if (null === obj) return 'null';\n    if (undefined === obj) return 'undefined';\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      let r = '';\n      for (let k = 0; k < obj.length; k++) {\n        if (k > 0) {\n          r += ',';\n        }\n        if (!isNone(obj[k])) {\n          r += toString(obj[k]);\n        }\n      }\n      return r;\n    }\n    if (typeof obj.toString === 'function') {\n      return obj.toString();\n    }\n    return objectToString.call(obj);\n  }\n  const PROXIES = new WeakSet();\n  function isProxy(value) {\n    if (isObject(value)) {\n      return PROXIES.has(value);\n    }\n    return false;\n  }\n  function setProxy(object) {\n    if (isObject(object)) {\n      PROXIES.add(object);\n    }\n  }\n  class Cache {\n    constructor(limit, func, store = new Map()) {\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    }\n    get(key) {\n      if (this.store.has(key)) {\n        this.hits++;\n        // SAFETY: we know the value is present because `.has(key)` was `true`.\n        return this.store.get(key);\n      } else {\n        this.misses++;\n        return this.set(key, this.func(key));\n      }\n    }\n    set(key, value) {\n      if (this.limit > this.size) {\n        this.size++;\n        this.store.set(key, value);\n      }\n      return value;\n    }\n    purge() {\n      this.store.clear();\n      this.size = 0;\n      this.hits = 0;\n      this.misses = 0;\n    }\n  }\n  _exports.Cache = Cache;\n  let setupMandatorySetter = _exports.setupMandatorySetter = void 0;\n  let teardownMandatorySetter = _exports.teardownMandatorySetter = void 0;\n  let setWithMandatorySetter = _exports.setWithMandatorySetter = void 0;\n  function isElementKey(key) {\n    return typeof key === 'number' ? isPositiveInt(key) : isStringInt(key);\n  }\n  function isStringInt(str) {\n    let num = parseInt(str, 10);\n    return isPositiveInt(num) && str === String(num);\n  }\n  function isPositiveInt(num) {\n    return num >= 0 && num % 1 === 0;\n  }\n  if (true /* DEBUG */) {\n    let SEEN_TAGS = new WeakSet();\n    let MANDATORY_SETTERS = new WeakMap();\n    let propertyIsEnumerable = function (obj, key) {\n      return Object.prototype.propertyIsEnumerable.call(obj, key);\n    };\n    _exports.setupMandatorySetter = setupMandatorySetter = function (tag, obj, keyName) {\n      if (SEEN_TAGS.has(tag)) {\n        return;\n      }\n      SEEN_TAGS.add(tag);\n      if (Array.isArray(obj) && isElementKey(keyName)) {\n        return;\n      }\n      let desc = lookupDescriptor(obj, keyName) || {};\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      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      let setters = MANDATORY_SETTERS.get(obj);\n      if (setters === undefined) {\n        setters = {};\n        MANDATORY_SETTERS.set(obj, setters);\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        get() {\n          if (desc.get) {\n            return desc.get.call(this);\n          } else {\n            return desc.value;\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    _exports.teardownMandatorySetter = teardownMandatorySetter = function (obj, keyName) {\n      let setters = MANDATORY_SETTERS.get(obj);\n      if (setters !== undefined && setters[keyName] !== undefined) {\n        Object.defineProperty(obj, keyName, setters[keyName]);\n        delete setters[keyName];\n      }\n    };\n    _exports.setWithMandatorySetter = setWithMandatorySetter = function (obj, keyName, value) {\n      let setters = MANDATORY_SETTERS.get(obj);\n      if (setters !== undefined && setters[keyName] !== undefined) {\n        let setter = setters[keyName];\n        if (setter.set) {\n          setter.set.call(obj, value);\n        } else {\n          setter.value = value;\n          // If the object didn't have own property before, it would have changed\n          // the enumerability after setting the value the first time.\n          if (!setter.hadOwnProperty) {\n            let 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});","define(\"@ember/-internals/views/index\", [\"exports\", \"@ember/-internals/views/lib/system/utils\", \"@ember/-internals/views/lib/system/event_dispatcher\", \"@ember/-internals/views/lib/component_lookup\", \"@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, _utils, _event_dispatcher, _component_lookup, _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, \"ActionManager\", {\n    enumerable: true,\n    get: function () {\n      return _action_manager.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, \"ChildViewsSupport\", {\n    enumerable: true,\n    get: function () {\n      return _child_views_support.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, \"ComponentLookup\", {\n    enumerable: true,\n    get: function () {\n      return _component_lookup.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, \"EventDispatcher\", {\n    enumerable: true,\n    get: function () {\n      return _event_dispatcher.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, \"ViewMixin\", {\n    enumerable: true,\n    get: function () {\n      return _view_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, \"addChildView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.addChildView;\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, \"getChildViews\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getChildViews;\n    }\n  });\n  Object.defineProperty(_exports, \"getElementView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getElementView;\n    }\n  });\n  Object.defineProperty(_exports, \"getRootViews\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getRootViews;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewBoundingClientRect\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewBoundingClientRect;\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, \"getViewElement\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewElement;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewId\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewId;\n    }\n  });\n  Object.defineProperty(_exports, \"isSimpleClick\", {\n    enumerable: true,\n    get: function () {\n      return _utils.isSimpleClick;\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});","define(\"@ember/-internals/views/lib/compat/attrs\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.MUTABLE_CELL = void 0;\n  const MUTABLE_CELL = _exports.MUTABLE_CELL = Symbol('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  var _default = _exports.default = (0, _utils.dictionary)(null);\n});","define(\"@ember/-internals/views/lib/component_lookup\", [\"exports\", \"@ember/object\"], function (_exports, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _object.default.extend({\n    componentFor(name, owner) {\n      let fullName = `component:${name}`;\n      return owner.factoryFor(fullName);\n    },\n    layoutFor(name, owner, options) {\n      let templateFullName = `template:components/${name}`;\n      return owner.lookup(templateFullName, options);\n    }\n  });\n});","define(\"@ember/-internals/views/lib/mixins/action_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/object/mixin\", \"@ember/debug\"], function (_exports, _metal, _mixin, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   @module ember\n  */\n\n  const ActionSupport = _mixin.default.create({\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      let action = this.actions && this.actions[actionName];\n      if (action) {\n        let shouldBubble = action.apply(this, args) === true;\n        if (!shouldBubble) {\n          return;\n        }\n      }\n      let target = (0, _metal.get)(this, 'target');\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, _debug.inspect)(this)} had no action handler for: ${actionName}`, action));\n      }\n    }\n  });\n  var _default = _exports.default = ActionSupport;\n});","define(\"@ember/-internals/views/lib/mixins/child_views_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/object/mixin\", \"@ember/-internals/views/lib/system/utils\"], function (_exports, _metal, _mixin, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const ChildViewsSupport = _mixin.default.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      get() {\n        return (0, _utils.getChildViews)(this);\n      }\n    }),\n    appendChild(view) {\n      (0, _utils.addChildView)(this, view);\n    }\n  });\n  var _default = _exports.default = ChildViewsSupport;\n});","define(\"@ember/-internals/views/lib/mixins/class_names_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/object/mixin\", \"@ember/debug\"], function (_exports, _metal, _mixin, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  const EMPTY_ARRAY = Object.freeze([]);\n  const ClassNamesSupport = _mixin.default.create({\n    concatenatedProperties: ['classNames', 'classNameBindings'],\n    init() {\n      this._super(...arguments);\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      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      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  var _default = _exports.default = ClassNamesSupport;\n});","define(\"@ember/-internals/views/lib/mixins/view_state_support\", [\"exports\", \"@ember/object/mixin\"], function (_exports, _mixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  const ViewStateSupport = _mixin.default.create({\n    _transitionTo(state) {\n      let priorState = this._currentState;\n      let currentState = this._currentState = this._states[state];\n      this._state = state;\n      if (priorState && priorState.exit) {\n        priorState.exit(this);\n      }\n      if (currentState.enter) {\n        currentState.enter(this);\n      }\n    }\n  });\n  var _default = _exports.default = ViewStateSupport;\n});","define(\"@ember/-internals/views/lib/mixins/view_support\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/object/mixin\", \"@ember/debug\", \"@ember/-internals/browser-environment\", \"@ember/-internals/views/lib/system/utils\"], function (_exports, _utils, _metal, _mixin, _debug, _browserEnvironment, _utils2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function K() {\n    return this;\n  }\n  const ViewMixin = _mixin.default.create({\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    // TEMPLATE SUPPORT\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      let view = this.parentView;\n      let isOfType = klass instanceof _mixin.default ? view => klass.detect(view) : view => klass.detect(view.constructor);\n      while (view) {\n        if (isOfType(view)) {\n          return view;\n        }\n        view = view.parentView;\n      }\n      return;\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      let view = this.parentView;\n      while (view) {\n        if (property in view) {\n          return view;\n        }\n        view = view.parentView;\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    // ELEMENT SUPPORT\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      get() {\n        return this.renderer.getElement(this);\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} A selector, element, HTML string\n     @return {Ember.View} receiver\n     @private\n     */\n    appendTo(selector) {\n      let target;\n      if (_browserEnvironment.hasDOM) {\n        (true && !(typeof selector === 'string' || selector instanceof Element) && (0, _debug.assert)(`Expected a selector or instance of Element`, typeof selector === 'string' || selector instanceof Element));\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          let node = target.parentNode;\n          while (node instanceof Element) {\n            if ((0, _utils2.matches)(node, '.ember-view')) {\n              return false;\n            }\n            node = node.parentNode;\n          }\n          return true;\n        })()) && (0, _debug.assert)('You cannot append to an existing Ember.View.', (() => {\n          let node = target.parentNode;\n          while (node instanceof Element) {\n            if ((0, _utils2.matches)(node, '.ember-view')) {\n              return false;\n            }\n            node = node.parentNode;\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 a DOM`, typeof target !== 'string'));\n        (true && !(typeof target.appendChild === 'function') && (0, _debug.assert)(`You tried to append to a non-Element (${selector}) in an environment without a DOM`, typeof target.appendChild === 'function'));\n      }\n      // SAFETY: SimpleElement is supposed to be a subset of Element so this _should_ be safe.\n      // However, the types are more specific in some places which necessitates the `as`.\n      this.renderer.appendTo(this, target);\n      return this;\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     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     Called when a view is going to insert an element into the DOM.\n        @event willInsertElement\n     @public\n     */\n    willInsertElement: K,\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     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     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      this._currentState.destroy(this);\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     Called after the element of the view is destroyed.\n        @event willDestroyElement\n     @public\n     */\n    didDestroyElement: K,\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     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 their `element` property has a `null` value.\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    // CORE DISPLAY METHODS\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);\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));\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      if (!this.elementId && this.tagName !== '') {\n        this.elementId = (0, _utils.guidFor)(this);\n      }\n      (true && !(!this.render) && (0, _debug.assert)('Using a custom `.render` function is no longer supported.', !this.render));\n    },\n    // .......................................................\n    // EVENT HANDLING\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  var _default = _exports.default = ViewMixin;\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  @module ember\n  */\n  function ActionManager() {}\n  /**\n    Global action id hash.\n  \n    @private\n    @property registeredActions\n    @type Object\n  */\n  ActionManager.registeredActions = {};\n});","define(\"@ember/-internals/views/lib/system/event_dispatcher\", [\"exports\", \"@ember/-internals/owner\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/object\", \"@ember/-internals/views\", \"@ember/-internals/views/lib/system/action_manager\"], function (_exports, _owner, _debug, _metal, _object, _views, _action_manager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n  const ROOT_ELEMENT_CLASS = 'ember-application';\n  const ROOT_ELEMENT_SELECTOR = `.${ROOT_ELEMENT_CLASS}`;\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 EmberObject\n  */\n  class EventDispatcher extends _object.default {\n    constructor() {\n      super(...arguments);\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      this.events = {\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      };\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      this.rootElement = 'body';\n      this._eventHandlers = Object.create(null);\n      this._didSetup = false;\n      this.finalEventNameMapping = null;\n      this._sanitizedRootElement = null;\n      this.lazyEvents = new Map();\n      this._reverseEventNameMapping = null;\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      (true && !((() => {\n        let owner = (0, _owner.getOwner)(this);\n        (true && !(owner) && (0, _debug.assert)('[BUG] Missing owner', owner)); // SAFETY: This is not guaranteed to be safe, but this is what we expect to be returned.\n        let environment = owner.lookup('-environment:main');\n        return environment.isInteractive;\n      })()) && (0, _debug.assert)('EventDispatcher should never be setup in fastboot mode. Please report this as an Ember bug.', (() => {\n        let owner = (0, _owner.getOwner)(this);\n        (true && !(owner) && (0, _debug.assert)('[BUG] Missing owner', owner));\n        let environment = owner.lookup('-environment:main');\n        return environment.isInteractive;\n      })()));\n      let events = this.finalEventNameMapping = {\n        ...(0, _metal.get)(this, 'events'),\n        ...addedEvents\n      };\n      this._reverseEventNameMapping = Object.keys(events).reduce((result, key) => {\n        let eventName = events[key];\n        return eventName ? {\n          ...result,\n          [eventName]: key\n        } : result;\n      }, {});\n      let lazyEvents = this.lazyEvents;\n      if (_rootElement !== undefined && _rootElement !== null) {\n        (0, _metal.set)(this, 'rootElement', _rootElement);\n      }\n      let specifiedRootElement = (0, _metal.get)(this, 'rootElement');\n      let rootElement = typeof specifiedRootElement !== 'string' ? specifiedRootElement : document.querySelector(specifiedRootElement);\n      (true && !(rootElement) && (0, _debug.assert)(`Could not find rootElement (${specifiedRootElement})`, rootElement));\n      (true && !(!rootElement.classList.contains(ROOT_ELEMENT_CLASS)) && (0, _debug.assert)(`You cannot use the same root element (${specifiedRootElement}) multiple times in an Ember.Application`, !rootElement.classList.contains(ROOT_ELEMENT_CLASS)));\n      (true && !((() => {\n        let target = rootElement.parentNode;\n        while (target instanceof Element) {\n          if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n            return false;\n          }\n          target = target.parentNode;\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        let target = rootElement.parentNode;\n        while (target instanceof Element) {\n          if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n            return false;\n          }\n          target = target.parentNode;\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))); // save off the final sanitized root element (for usage in setupHandler)\n      this._sanitizedRootElement = rootElement;\n      // setup event listeners for the non-lazily setup events\n      for (let event in events) {\n        if (Object.prototype.hasOwnProperty.call(events, event)) {\n          lazyEvents.set(event, events[event] ?? null);\n        }\n      }\n      this._didSetup = true;\n    }\n    /**\n      Setup event listeners for the given browser event name\n         @private\n      @method setupHandlerForBrowserEvent\n      @param event the name of the event in the browser\n    */\n    setupHandlerForBrowserEvent(event) {\n      (true && !(this.finalEventNameMapping) && (0, _debug.assert)('[BUG] Expected finalEventNameMapping to be set', this.finalEventNameMapping));\n      (true && !(this._sanitizedRootElement) && (0, _debug.assert)('[BUG] Expected _santizedRootElement to be set', this._sanitizedRootElement));\n      this.setupHandler(this._sanitizedRootElement, event, this.finalEventNameMapping[event] ?? null);\n    }\n    /**\n      Setup event listeners for the given Ember event name (camel case)\n         @private\n      @method setupHandlerForEmberEvent\n      @param eventName\n    */\n    setupHandlerForEmberEvent(eventName) {\n      (true && !(this._sanitizedRootElement) && (0, _debug.assert)('[BUG] Expected _sanitizedRootElement to be set', this._sanitizedRootElement));\n      let event = this._reverseEventNameMapping?.[eventName];\n      if (event) {\n        this.setupHandler(this._sanitizedRootElement, event, eventName);\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 name of the event in the browser\n      @param {String} eventName the name of the method to call on the view\n    */\n    setupHandler(rootElement, event, eventName) {\n      if (eventName === null || !this.lazyEvents.has(event)) {\n        return; // nothing to do\n      }\n\n      let viewHandler = (target, event) => {\n        let view = (0, _views.getElementView)(target);\n        let result = true;\n        if (view) {\n          // SAFETY: As currently written, this is not safe. Though it seems to always be true.\n          result = view.handleEvent(eventName, event);\n        }\n        return result;\n      };\n      let actionHandler = (target, event) => {\n        let actionId = target.getAttribute('data-ember-action');\n        let actions;\n        // 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        if (actionId === '') {\n          actions = [];\n          for (let attr of target.attributes) {\n            let attrName = attr.name;\n            if (attrName.indexOf('data-ember-action-') === 0) {\n              let action = _action_manager.default.registeredActions[attr.value];\n              (true && !(action) && (0, _debug.assert)('[BUG] Missing action', action));\n              actions.push(action);\n            }\n          }\n        } else if (actionId) {\n          // FIXME: This branch is never called in tests. Improve tests or remove\n          let actionState = _action_manager.default.registeredActions[actionId];\n          if (actionState) {\n            actions = [actionState];\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        if (!actions) {\n          // FIXME: This branch is never called in tests. Improve tests or remove\n          return;\n        }\n        let result = true;\n        for (let index = 0; index < actions.length; index++) {\n          let action = actions[index];\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        return result;\n      };\n      let handleEvent = this._eventHandlers[event] = event => {\n        let target = event.target;\n        (true && !(target instanceof Element) && (0, _debug.assert)(`[BUG] Received event without an Element target: ${event.type}, ${target}`, target instanceof Element));\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          target = target.parentNode;\n        } while (target instanceof Element);\n      };\n      rootElement.addEventListener(event, handleEvent);\n      this.lazyEvents.delete(event);\n    }\n    destroy() {\n      if (this._didSetup === false) {\n        return;\n      }\n      let rootElement = this._sanitizedRootElement;\n      if (!rootElement) {\n        return;\n      }\n      for (let event in this._eventHandlers) {\n        rootElement.removeEventListener(event, this._eventHandlers[event]);\n      }\n      rootElement.classList.remove(ROOT_ELEMENT_CLASS);\n      return this._super(...arguments);\n    }\n    toString() {\n      return '(EventDispatcher)';\n    }\n  }\n  _exports.default = EventDispatcher;\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.addChildView = addChildView;\n  _exports.clearElementView = clearElementView;\n  _exports.clearViewElement = clearViewElement;\n  _exports.collectChildViews = collectChildViews;\n  _exports.constructStyleDeprecationMessage = constructStyleDeprecationMessage;\n  _exports.contains = contains;\n  _exports.elMatches = void 0;\n  _exports.getChildViews = getChildViews;\n  _exports.getElementView = getElementView;\n  _exports.getRootViews = getRootViews;\n  _exports.getViewBoundingClientRect = getViewBoundingClientRect;\n  _exports.getViewBounds = getViewBounds;\n  _exports.getViewClientRects = getViewClientRects;\n  _exports.getViewElement = getViewElement;\n  _exports.getViewId = getViewId;\n  _exports.getViewRange = getViewRange;\n  _exports.initChildViews = initChildViews;\n  _exports.isSimpleClick = isSimpleClick;\n  _exports.matches = matches;\n  _exports.setElementView = setElementView;\n  _exports.setViewElement = setViewElement;\n  /**\n  @module ember\n  */\n  function isSimpleClick(event) {\n    if (!(event instanceof MouseEvent)) {\n      return false;\n    }\n    let modifier = event.shiftKey || event.metaKey || event.altKey || event.ctrlKey;\n    let secondaryClick = event.which > 1; // IE9 may return undefined\n    return !modifier && !secondaryClick;\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://deprecations.emberjs.com/v1.x/#toc_binding-style-attributes. ' + 'Style affected: \"' + affectedStyle + '\"';\n  }\n  /**\n    @private\n    @method getRootViews\n    @param {Object} owner\n  */\n  function getRootViews(owner) {\n    let registry = owner.lookup('-view-registry:main');\n    let rootViews = [];\n    Object.keys(registry).forEach(id => {\n      let view = registry[id];\n      (true && !(view) && (0, _debug.assert)('expected view', view));\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  function getViewId(view) {\n    if (view.tagName !== '' && view.elementId) {\n      return view.elementId;\n    } else {\n      return (0, _utils.guidFor)(view);\n    }\n  }\n  const ELEMENT_VIEW = new WeakMap();\n  const VIEW_ELEMENT = new WeakMap();\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  function getViewElement(view) {\n    return VIEW_ELEMENT.get(view) || null;\n  }\n  function setElementView(element, view) {\n    ELEMENT_VIEW.set(element, view);\n  }\n  function setViewElement(view, element) {\n    VIEW_ELEMENT.set(view, element);\n  }\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  function clearElementView(element) {\n    ELEMENT_VIEW.delete(element);\n  }\n  function clearViewElement(view) {\n    VIEW_ELEMENT.delete(view);\n  }\n  const CHILD_VIEW_IDS = new WeakMap();\n  /**\n    @private\n    @method getChildViews\n    @param {Ember.View} view\n  */\n  function getChildViews(view) {\n    let owner = (0, _owner.getOwner)(view);\n    (true && !(owner) && (0, _debug.assert)('View is unexpectedly missing an owner', owner));\n    let registry = owner.lookup('-view-registry:main');\n    return collectChildViews(view, registry);\n  }\n  function initChildViews(view) {\n    let childViews = new Set();\n    CHILD_VIEW_IDS.set(view, childViews);\n    return childViews;\n  }\n  function addChildView(parent, child) {\n    let childViews = CHILD_VIEW_IDS.get(parent);\n    if (childViews === undefined) {\n      childViews = initChildViews(parent);\n    }\n    childViews.add(getViewId(child));\n  }\n  function collectChildViews(view, registry) {\n    let views = [];\n    let childViews = CHILD_VIEW_IDS.get(view);\n    if (childViews !== undefined) {\n      childViews.forEach(id => {\n        let view = registry[id];\n        if (view && !view.isDestroying && !view.isDestroyed) {\n          views.push(view);\n        }\n      });\n    }\n    return views;\n  }\n  /**\n    @private\n    @method getViewBounds\n    @param {Ember.View} view\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  function getViewRange(view) {\n    let bounds = getViewBounds(view);\n    let 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  function getViewClientRects(view) {\n    let 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  function getViewBoundingClientRect(view) {\n    let 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  const elMatches = _exports.elMatches = typeof Element !== 'undefined' ? Element.prototype.matches : undefined;\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  function contains(a, b) {\n    if (a.contains !== undefined) {\n      return a.contains(b);\n    }\n    let current = b.parentNode;\n    while (current && (current = current.parentNode)) {\n      if (current === a) {\n        return true;\n      }\n    }\n    return false;\n  }\n});","define(\"@ember/-internals/views/lib/views/core_view\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/object/evented\", \"@ember/object/-internals\", \"@ember/-internals/views/lib/views/states\"], function (_exports, _metal, _runtime, _evented, _internals, _states) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n  };\n  class CoreView extends _internals.FrameworkObject.extend(_evented.default, _runtime.ActionHandler) {\n    constructor() {\n      super(...arguments);\n      this.isView = true;\n    }\n    init(properties) {\n      super.init(properties);\n      // Handle methods from Evented\n      // The native class inheritance will not work for mixins. To work around this,\n      // we copy the existing trigger and has methods provided by the mixin and swap in the\n      // new ones from our class.\n      this._superTrigger = this.trigger;\n      this.trigger = this._trigger;\n      this._superHas = this.has;\n      this.has = this._has;\n      this.parentView ??= null;\n      this._state = 'preRender';\n      this._currentState = this._states.preRender;\n    }\n    instrumentDetails(hash) {\n      hash['object'] = this.toString();\n      hash['containerKey'] = this._debugContainerKey;\n      hash['view'] = this;\n      return hash;\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    // Changed to `trigger` on init\n    _trigger(name, ...args) {\n      this._superTrigger(name, ...args);\n      let method = this[name];\n      if (typeof method === 'function') {\n        return method.apply(this, args);\n      }\n    }\n    // Changed to `has` on init\n    _has(name) {\n      return typeof this[name] === 'function' || this._superHas(name);\n    }\n  }\n  CoreView.isViewFactory = true;\n  __decorate([(0, _metal.inject)('renderer', '-dom')], CoreView.prototype, \"renderer\", void 0);\n  // Declare on the prototype to have a single shared value.\n  CoreView.prototype._states = _states.default;\n  var _default = _exports.default = CoreView;\n});","define(\"@ember/-internals/views/lib/views/states\", [\"exports\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/instrumentation\", \"@ember/runloop\"], function (_exports, _utils, _debug, _instrumentation, _runloop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const DEFAULT = Object.freeze({\n    // appendChild is only legal while rendering the buffer.\n    appendChild() {\n      throw new Error(\"You can't use appendChild outside of the rendering process\");\n    },\n    // Handle events from `Ember.EventDispatcher`\n    handleEvent() {\n      return true; // continue event propagation\n    },\n\n    rerender() {},\n    destroy() {}\n  });\n  const PRE_RENDER = Object.freeze({\n    ...DEFAULT\n  });\n  const HAS_ELEMENT = Object.freeze({\n    ...DEFAULT,\n    rerender(view) {\n      view.renderer.rerender();\n    },\n    destroy(view) {\n      view.renderer.remove(view);\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  const IN_DOM = Object.freeze({\n    ...HAS_ELEMENT,\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      if (true /* DEBUG */) {\n        let elementId = view.elementId;\n        (true && !(_utils.teardownMandatorySetter) && (0, _debug.assert)('[BUG] Expected teardownMandatorySetter to be set in DEBUG mode', teardownMandatorySetter));\n        (0, _utils.teardownMandatorySetter)(view, 'elementId');\n        Object.defineProperty(view, 'elementId', {\n          configurable: true,\n          enumerable: true,\n          get() {\n            return elementId;\n          },\n          set(value) {\n            if (value !== elementId) {\n              throw new Error(\"Changing a view's elementId after creation is not allowed\");\n            }\n          }\n        });\n      }\n    }\n  });\n  const DESTROYING = Object.freeze({\n    ...DEFAULT,\n    appendChild() {\n      throw new Error(\"You can't call appendChild on a view being destroyed\");\n    },\n    rerender() {\n      throw new Error(\"You can't call rerender on a view being destroyed\");\n    }\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  const states = Object.freeze({\n    preRender: PRE_RENDER,\n    inDOM: IN_DOM,\n    hasElement: HAS_ELEMENT,\n    destroying: DESTROYING\n  });\n  var _default = _exports.default = states;\n});","define(\"@ember/application/index\", [\"exports\", \"@ember/owner\", \"@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/routing/route\", \"@ember/routing/router\", \"@ember/routing/hash-location\", \"@ember/routing/history-location\", \"@ember/routing/none-location\", \"@ember/routing/-internals\", \"@ember/application/instance\", \"@ember/engine\", \"@ember/-internals/container\", \"@ember/-internals/glimmer\", \"@ember/routing/router-service\"], function (_exports, _owner, _utils, _environment, _browserEnvironment, _debug, _runloop, _metal, _lazy_load, _runtime, _views, _route, _router, _hashLocation, _historyLocation, _noneLocation, _internals, _instance, _engine, _container, _glimmer, _routerService) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"_loaded\", {\n    enumerable: true,\n    get: function () {\n      return _lazy_load._loaded;\n    }\n  });\n  _exports.getOwner = _exports.default = void 0;\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  _exports.setOwner = void 0;\n  /**\n  @module @ember/application\n  */\n\n  /**\n   * @deprecated Use `import { getOwner } from '@ember/owner';` instead.\n   */\n  const getOwner = _exports.getOwner = _owner.getOwner;\n  /**\n   * @deprecated Use `import { setOwner } from '@ember/owner';` instead.\n   */\n  const setOwner = _exports.setOwner = _owner.setOwner;\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    export default class App extends Application {\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    export default class App extends Application {\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    export default class App extends Application {\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    export default class App extends Application {\n      rootElement = '#ember-app'\n    }\n    ```\n  \n    The `rootElement` can be either a DOM element or a CSS 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    @public\n  */\n  class Application extends _engine.default {\n    constructor() {\n      super(...arguments);\n      this._bootPromise = null;\n      this._bootResolver = null;\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    static buildRegistry(namespace) {\n      let registry = super.buildRegistry(namespace);\n      commonSetupRegistry(registry);\n      (0, _glimmer.setupApplicationRegistry)(registry);\n      return registry;\n    }\n    init(properties) {\n      super.init(properties);\n      this.rootElement ??= 'body';\n      this._document ??= null;\n      this.eventDispatcher ??= null;\n      this.customEvents ??= null;\n      this.autoboot ??= true;\n      this._document ??= _browserEnvironment.hasDOM ? window.document : null;\n      this._globalsMode ??= true;\n      if (true /* DEBUG */) {\n        if (_environment.ENV.LOG_VERSION) {\n          // we only need to see this once per Application#init\n          _environment.ENV.LOG_VERSION = false;\n          _metal.libraries.logVersions?.();\n        }\n      }\n      // Start off the number of deferrals at 1. This will be decremented by\n      // the Application's own `boot` method.\n      this._readinessDeferrals = 1;\n      this._booted = false;\n      this._applicationInstances = new Set();\n      this.autoboot = this._globalsMode = Boolean(this.autoboot);\n      if (this._globalsMode) {\n        this._prepareForGlobalsMode();\n      }\n      if (this.autoboot) {\n        this.waitForDOMReady();\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      (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot build new instances of this application since it has already been destroyed', !this.isDestroyed));\n      (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot build new instances of this application since it is being destroyed', !this.isDestroying));\n      return _instance.default.create({\n        ...options,\n        base: this,\n        application: this\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      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      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 || _router.default).extend();\n      this._buildDeprecatedInstance();\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      let instance = this.buildInstance();\n      // Legacy support for App.__container__ and other global methods\n      // on App that rely on a single, default instance.\n      this.__deprecatedInstance__ = instance;\n      this.__container__ = instance.__container__;\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      const document = this._document;\n      // SAFETY: Casting as Document should be safe since we're just reading a property.\n      // If it's not actually a Document then it will evaluate false which is fine for our\n      // purposes.\n      if (document === null || document.readyState !== 'loading') {\n        (0, _runloop.schedule)('actions', this, this.domReady);\n      } else {\n        // Ideally we'd just check `document instanceof Document` but currently some tests pass a fake document.\n        (true && !(function (d) {\n          return typeof d.removeEventListener === 'function';\n        }(document)) && (0, _debug.assert)('[BUG] Called waitForDOMReady with an invalid document', function (d) {\n          return typeof d.removeEventListener === 'function';\n        }(document)));\n        let callback = () => {\n          document.removeEventListener('DOMContentLoaded', callback);\n          (0, _runloop.run)(this, this.domReady);\n        };\n        document.addEventListener('DOMContentLoaded', callback);\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.isDestroying || this.isDestroyed) {\n        return;\n      }\n      this._bootSync();\n      // Continues to `didBecomeReady`\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         fetch('/auth-token')\n      .then(response => response.json())\n      .then(data => {\n        App.token = data.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.isDestroyed) && (0, _debug.assert)('You cannot defer readiness since application has already destroyed', !this.isDestroyed));\n      (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot defer readiness since the application is being destroyed', !this.isDestroying));\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      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      (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot advance readiness since application has already destroyed', !this.isDestroyed));\n      (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot advance readiness since the application is being destroyed', !this.isDestroying));\n      (true && !(this._readinessDeferrals > 0) && (0, _debug.assert)('You cannot advance readiness since the `ready()` hook has already been called', this._readinessDeferrals > 0));\n      this._readinessDeferrals--;\n      if (this._readinessDeferrals === 0) {\n        (0, _runloop.once)(this, this.didBecomeReady);\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      (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot boot this application since it has already been destroyed', !this.isDestroyed));\n      (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot boot this application since it is being destroyed', !this.isDestroying));\n      if (this._bootPromise) {\n        return this._bootPromise;\n      }\n      try {\n        this._bootSync();\n      } catch (_) {\n        // Ignore the error: in the asynchronous boot path, the error is already reflected\n        // in the promise rejection\n      }\n      (true && !(this._bootPromise) && (0, _debug.assert)('has boot promise', this._bootPromise));\n      return this._bootPromise;\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 || this.isDestroying || this.isDestroyed) {\n        return;\n      }\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      let defer = this._bootResolver = _runtime.RSVP.defer();\n      this._bootPromise = defer.promise;\n      try {\n        this.runInitializers();\n        (0, _lazy_load.runLoadHooks)('application', this);\n        this.advanceReadiness();\n        // Continues to `didBecomeReady`\n      } catch (error) {\n        // For the asynchronous boot path\n        defer.reject(error);\n        // For the synchronous boot path\n        throw error;\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.isDestroyed) && (0, _debug.assert)('You cannot reset this application since it has already been destroyed', !this.isDestroyed));\n      (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot reset this application since it is being destroyed', !this.isDestroying));\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      let instance = this.__deprecatedInstance__;\n      this._readinessDeferrals = 1;\n      this._bootPromise = null;\n      this._bootResolver = null;\n      this._booted = false;\n      function handleReset() {\n        (true && !(instance) && (0, _debug.assert)('expected instance', instance));\n        (0, _runloop.run)(instance, 'destroy');\n        this._buildDeprecatedInstance();\n        (0, _runloop.schedule)('actions', this, '_bootSync');\n      }\n      (0, _runloop.join)(this, handleReset);\n    }\n    /**\n      @private\n      @method didBecomeReady\n    */\n    didBecomeReady() {\n      if (this.isDestroying || this.isDestroyed) {\n        return;\n      }\n      (true && !(this._bootResolver) && (0, _debug.assert)('expected _bootResolver', this._bootResolver));\n      try {\n        // TODO: Is this still needed for _globalsMode = false?\n        // See documentation on `_autoboot()` for details\n        if (this.autoboot) {\n          let instance;\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            (true && !(instance) && (0, _debug.assert)('expected instance', instance));\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          instance._bootSync();\n          // TODO: App.ready() is not called when autoboot is disabled, is this correct?\n          this.ready();\n          instance.startRouting();\n        }\n        // For the asynchronous boot path\n        this._bootResolver.resolve(this);\n        // For the synchronous boot path\n        this._booted = true;\n      } catch (error) {\n        // For the asynchronous boot path\n        this._bootResolver.reject(error);\n        // For the synchronous boot path\n        throw error;\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    // This method must be moved to the application instance object\n    willDestroy() {\n      super.willDestroy();\n      if (_lazy_load._loaded['application'] === this) {\n        _lazy_load._loaded['application'] = undefined;\n      }\n      if (this._applicationInstances.size) {\n        this._applicationInstances.forEach(i => i.destroy());\n        this._applicationInstances.clear();\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 DOM access 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      };\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      import { service } from '@ember/service';\n         // An example of how the (hypothetical) service is used in routes.\n         export default class IndexRoute extends Route {\n        @service network;\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      (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot visit this application since it has already been destroyed', !this.isDestroyed));\n      (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot visit this application since it is being destroyed', !this.isDestroying));\n      return this.boot().then(() => {\n        let 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  _exports.default = Application;\n  Application.initializer = (0, _engine.buildInitializerMethod)('initializers', 'initializer');\n  Application.instanceInitializer = (0, _engine.buildInitializerMethod)('instanceInitializers', 'instance initializer');\n  function commonSetupRegistry(registry) {\n    registry.register('router:main', _router.default);\n    registry.register('-view-registry:main', {\n      create() {\n        return (0, _utils.dictionary)(null);\n      }\n    });\n    registry.register('route:basic', _route.default);\n    registry.register('event_dispatcher:main', _views.EventDispatcher);\n    registry.register('location:hash', _hashLocation.default);\n    registry.register('location:history', _historyLocation.default);\n    registry.register('location:none', _noneLocation.default);\n    registry.register((0, _container.privatize)`-bucket-cache:main`, {\n      create() {\n        return new _internals.BucketCache();\n      }\n    });\n    registry.register('service:router', _routerService.default);\n  }\n});","define(\"@ember/application/instance\", [\"exports\", \"@ember/object\", \"@ember/-internals/browser-environment\", \"@ember/engine/instance\", \"@ember/-internals/glimmer\", \"@ember/debug\", \"@ember/routing/router\", \"@ember/-internals/views\"], function (_exports, _object, environment, _instance, _glimmer, _debug, _router, _views) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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  class ApplicationInstance extends _instance.default {\n    constructor() {\n      super(...arguments);\n      /**\n        The root DOM element of the Application as an element or a\n        CSS selector.\n               @private\n        @property {String|DOMElement} rootElement\n      */\n      this.rootElement = null;\n    }\n    init(properties) {\n      super.init(properties);\n      this.application._watchInstance(this);\n      // 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      this.register('-application-instance:main', this, {\n        instantiate: false\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      options = new _BootOptions(options);\n      this.setupRegistry(options);\n      if (options.rootElement) {\n        this.rootElement = options.rootElement;\n      } else {\n        this.rootElement = this.application.rootElement;\n      }\n      if (options.location) {\n        (0, _object.set)(this.router, 'location', options.location);\n      }\n      this.application.runInstanceInitializers(this);\n      if (options.isInteractive) {\n        this.setupEventDispatcher();\n      }\n      this._booted = true;\n      return this;\n    }\n    setupRegistry(options) {\n      this.constructor.setupRegistry(this.__registry__, options);\n    }\n    get router() {\n      if (!this._router) {\n        let router = this.lookup('router:main');\n        (true && !(router instanceof _router.default) && (0, _debug.assert)('expected an instance of Router', router instanceof _router.default));\n        this._router = router;\n      }\n      return this._router;\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      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    }\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         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         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         @public\n    */\n    setupRouter() {\n      this.router.setupRouter();\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      @private\n    */\n    setupEventDispatcher() {\n      let dispatcher = this.lookup('event_dispatcher:main');\n      (true && !(dispatcher instanceof _views.EventDispatcher) && (0, _debug.assert)('expected EventDispatcher', dispatcher instanceof _views.EventDispatcher));\n      let applicationCustomEvents = (0, _object.get)(this.application, 'customEvents');\n      let instanceCustomEvents = (0, _object.get)(this, 'customEvents');\n      let customEvents = Object.assign({}, applicationCustomEvents, instanceCustomEvents);\n      (true && !(this.rootElement === null || typeof this.rootElement === 'string' || this.rootElement instanceof Element) && (0, _debug.assert)('[BUG] Tried to set up dispatcher with an invalid root element', this.rootElement === null || typeof this.rootElement === 'string' || this.rootElement instanceof Element));\n      dispatcher.setup(customEvents, this.rootElement);\n      return dispatcher;\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    // `instance.visit(url)` should eventually replace `instance.handleURL()`;\n    // the test helpers can probably be switched to use this implementation too\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 transition 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      let bootOptions = this.__container__.lookup('-environment:main');\n      let router = this.router;\n      let 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      let handleTransitionReject = error => {\n        if (error.error && error.error instanceof 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      let location = (0, _object.get)(router, 'location');\n      (true && !(typeof location !== 'string') && (0, _debug.assert)('location has been initialized', typeof location !== 'string')); // Keeps the location adapter's internal URL in-sync\n      location.setURL(url);\n      // getURL returns the set url with the rootURL stripped off\n      return router.handleURL(location.getURL()).then(handleTransitionResolve, handleTransitionReject);\n    }\n    willDestroy() {\n      super.willDestroy();\n      this.application._unwatchInstance(this);\n    }\n    /**\n     @private\n     @method setupRegistry\n     @param {Registry} registry\n     @param {BootOptions} options\n    */\n    static setupRegistry(registry, options = {}) {\n      let coptions = options instanceof _BootOptions ? options : new _BootOptions(options);\n      registry.register('-environment:main', coptions.toEnvironment(), {\n        instantiate: false\n      });\n      registry.register('service:-document', coptions.document, {\n        instantiate: false\n      });\n      super.setupRegistry(registry, coptions);\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  class _BootOptions {\n    constructor(options = {}) {\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      this.location = null;\n      this.isInteractive = Boolean(environment.hasDOM); // This default is overridable below\n      this._renderMode = options._renderMode;\n      if (options.isBrowser !== undefined) {\n        this.isBrowser = Boolean(options.isBrowser);\n      } else {\n        this.isBrowser = Boolean(environment.hasDOM);\n      }\n      if (!this.isBrowser) {\n        this.isInteractive = false;\n        this.location = 'none';\n      }\n      if (options.shouldRender !== undefined) {\n        this.shouldRender = Boolean(options.shouldRender);\n      } else {\n        this.shouldRender = true;\n      }\n      if (!this.shouldRender) {\n        this.isInteractive = false;\n      }\n      if (options.document) {\n        this.document = options.document;\n      } else {\n        this.document = typeof document !== 'undefined' ? document : null;\n      }\n      if (options.rootElement) {\n        this.rootElement = options.rootElement;\n      }\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      if (options.location !== undefined) {\n        this.location = options.location;\n      }\n      if (options.isInteractive !== undefined) {\n        this.isInteractive = Boolean(options.isInteractive);\n      }\n    }\n    toEnvironment() {\n      // Do we really want to assign all of this!?\n      return {\n        ...environment,\n        // For compatibility with existing code\n        hasDOM: this.isBrowser,\n        isInteractive: this.isInteractive,\n        _renderMode: this._renderMode,\n        options: this\n      };\n    }\n  }\n  var _default = _exports.default = ApplicationInstance;\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._loaded = void 0;\n  _exports.onLoad = onLoad;\n  _exports.runLoadHooks = runLoadHooks;\n  /*globals CustomEvent */\n\n  /**\n    @module @ember/application\n  */\n  const loadHooks = _environment.ENV.EMBER_LOAD_HOOKS || {};\n  const loaded = {};\n  let _loaded = _exports._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  function onLoad(name, callback) {\n    let object = loaded[name];\n    let hooks = loadHooks[name] ??= [];\n    hooks.push(callback);\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  function runLoadHooks(name, object) {\n    loaded[name] = object;\n    if (_browserEnvironment.window && typeof CustomEvent === 'function') {\n      let event = new CustomEvent(name, {\n        detail: object\n      });\n      _browserEnvironment.window.dispatchEvent(event);\n    }\n    loadHooks[name]?.forEach(callback => callback(object));\n  }\n});","define(\"@ember/application/namespace\", [\"exports\", \"@ember/-internals/metal\", \"@ember/object\", \"@ember/-internals/utils\", \"@ember/debug\"], function (_exports, _metal, _object, _utils, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/application/namespace\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    @extends EmberObject\n    @public\n  */\n  class Namespace extends _object.default {\n    init(properties) {\n      super.init(properties);\n      (0, _metal.addNamespace)(this);\n    }\n    toString() {\n      let existing_name = (0, _object.get)(this, 'name') || (0, _object.get)(this, 'modulePrefix');\n      if (existing_name) {\n        (true && !(typeof existing_name === 'string') && (0, _debug.assert)(\"name wasn't a string\", typeof existing_name === 'string'));\n        return existing_name;\n      }\n      (0, _metal.findNamespaces)();\n      let name = (0, _utils.getName)(this);\n      if (name === undefined) {\n        name = (0, _utils.guidFor)(this);\n        (0, _utils.setName)(this, name);\n      }\n      return name;\n    }\n    nameClasses() {\n      (0, _metal.processNamespace)(this);\n    }\n    destroy() {\n      (0, _metal.removeNamespace)(this);\n      return super.destroy();\n    }\n  }\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  // Declare on the prototype to have a single shared value.\n  Namespace.prototype.isNamespace = true;\n  var _default = _exports.default = Namespace;\n});","define(\"@ember/array/-internals\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isEmberArray = isEmberArray;\n  _exports.setEmberArray = setEmberArray;\n  const EMBER_ARRAYS = new WeakSet();\n  function setEmberArray(obj) {\n    EMBER_ARRAYS.add(obj);\n  }\n  function isEmberArray(obj) {\n    return EMBER_ARRAYS.has(obj);\n  }\n});","define(\"@ember/array/index\", [\"exports\", \"@ember/-internals/metal\", \"@ember/object\", \"@ember/object/mixin\", \"@ember/debug\", \"@ember/enumerable\", \"@ember/enumerable/mutable\", \"@ember/utils\", \"@ember/-internals/environment\", \"@ember/object/observable\", \"@ember/array/-internals\", \"@ember/array/lib/make-array\"], function (_exports, _metal, _object, _mixin, _debug, _enumerable, _mutable, _utils, _environment, _observable, _internals, _makeArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.NativeArray = _exports.MutableArray = _exports.A = void 0;\n  _exports.isArray = isArray;\n  Object.defineProperty(_exports, \"makeArray\", {\n    enumerable: true,\n    get: function () {\n      return _makeArray.default;\n    }\n  });\n  _exports.removeAt = removeAt;\n  _exports.uniqBy = uniqBy;\n  /**\n  @module @ember/array\n  */\n\n  const EMPTY_ARRAY = Object.freeze([]);\n  const identityFunction = item => item;\n  function uniqBy(array, keyOrFunc = identityFunction) {\n    (true && !(isArray(array)) && (0, _debug.assert)(`first argument passed to \\`uniqBy\\` should be array`, isArray(array)));\n    let ret = A();\n    let seen = new Set();\n    let getter = typeof keyOrFunc === 'function' ? keyOrFunc : item => (0, _object.get)(item, keyOrFunc);\n    array.forEach(item => {\n      let val = getter(item);\n      if (!seen.has(val)) {\n        seen.add(val);\n        ret.push(item);\n      }\n    });\n    return ret;\n  }\n  function iter(...args) {\n    let valueProvided = args.length === 2;\n    let [key, value] = args;\n    return valueProvided ? item => value === (0, _object.get)(item, key) : item => Boolean((0, _object.get)(item, key));\n  }\n  function findIndex(array, predicate, startAt) {\n    let len = array.length;\n    for (let index = startAt; index < len; index++) {\n      // SAFETY: Because we're checking the index this value should always be set.\n      let item = (0, _metal.objectAt)(array, index);\n      if (predicate(item, index, array)) {\n        return index;\n      }\n    }\n    return -1;\n  }\n  function find(array, callback, target = null) {\n    let predicate = callback.bind(target);\n    let index = findIndex(array, predicate, 0);\n    return index === -1 ? undefined : (0, _metal.objectAt)(array, index);\n  }\n  function any(array, callback, target = null) {\n    let predicate = callback.bind(target);\n    return findIndex(array, predicate, 0) !== -1;\n  }\n  function every(array, callback, target = null) {\n    let cb = callback.bind(target);\n    let predicate = (item, index, array) => !cb(item, index, array);\n    return findIndex(array, predicate, 0) === -1;\n  }\n  function indexOf(array, val, startAt = 0, withNaNCheck) {\n    let len = array.length;\n    if (startAt < 0) {\n      startAt += len;\n    }\n    // SameValueZero comparison (NaN !== NaN)\n    let predicate = withNaNCheck && val !== val ? item => item !== item : item => item === val;\n    return findIndex(array, predicate, startAt);\n  }\n  function removeAt(array, index, len) {\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 ?? 1, EMPTY_ARRAY);\n    return array;\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  function isArray(obj) {\n    if (true /* DEBUG */ && typeof obj === 'object' && obj !== null) {\n      // SAFETY: Property read checks are safe if it's an object\n      let possibleProxyContent = obj[_metal.PROXY_CONTENT];\n      if (possibleProxyContent !== undefined) {\n        obj = possibleProxyContent;\n      }\n    }\n    // SAFETY: Property read checks are safe if it's an object\n    if (!obj || obj.setInterval) {\n      return false;\n    }\n    if (Array.isArray(obj) || EmberArray.detect(obj)) {\n      return true;\n    }\n    let type = (0, _utils.typeOf)(obj);\n    if ('array' === type) {\n      return true;\n    }\n    // SAFETY: Property read checks are safe if it's an object\n    let length = obj.length;\n    if (typeof length === 'number' && length === length && 'object' === type) {\n      return true;\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  function nonEnumerableComputed(callback) {\n    let property = (0, _metal.computed)(callback);\n    property.enumerable = false;\n    return property;\n  }\n  function mapBy(key) {\n    return this.map(next => (0, _object.get)(next, key));\n  }\n  const EmberArray = _mixin.default.create(_enumerable.default, {\n    init() {\n      this._super(...arguments);\n      (0, _internals.setEmberArray)(this);\n    },\n    objectsAt(indexes) {\n      return indexes.map(idx => (0, _metal.objectAt)(this, idx));\n    },\n    '[]': nonEnumerableComputed({\n      get() {\n        return this;\n      },\n      set(_key, value) {\n        this.replace(0, this.length, value);\n        return this;\n      }\n    }),\n    firstObject: nonEnumerableComputed(function () {\n      return (0, _metal.objectAt)(this, 0);\n    }).readOnly(),\n    lastObject: nonEnumerableComputed(function () {\n      return (0, _metal.objectAt)(this, this.length - 1);\n    }).readOnly(),\n    // Add any extra methods to EmberArray that are native to the built-in Array.\n    slice(beginIndex = 0, endIndex) {\n      let ret = A();\n      let length = this.length;\n      if (beginIndex < 0) {\n        beginIndex = length + beginIndex;\n      }\n      let validatedEndIndex;\n      if (endIndex === undefined || endIndex > length) {\n        validatedEndIndex = length;\n      } else if (endIndex < 0) {\n        validatedEndIndex = length + endIndex;\n      } else {\n        validatedEndIndex = endIndex;\n      }\n      while (beginIndex < validatedEndIndex) {\n        ret[ret.length] = (0, _metal.objectAt)(this, beginIndex++);\n      }\n      return ret;\n    },\n    indexOf(object, startAt) {\n      return indexOf(this, object, startAt, false);\n    },\n    lastIndexOf(object, startAt) {\n      let len = this.length;\n      if (startAt === undefined || startAt >= len) {\n        startAt = len - 1;\n      }\n      if (startAt < 0) {\n        startAt += len;\n      }\n      for (let idx = startAt; idx >= 0; idx--) {\n        if ((0, _metal.objectAt)(this, idx) === object) {\n          return idx;\n        }\n      }\n      return -1;\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      let length = this.length;\n      for (let index = 0; index < length; index++) {\n        let item = this.objectAt(index);\n        callback.call(target, item, index, this);\n      }\n      return this;\n    },\n    getEach: mapBy,\n    setEach(key, value) {\n      return this.forEach(item => (0, _object.set)(item, key, value));\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      let ret = A();\n      this.forEach((x, idx, i) => ret[idx] = callback.call(target, x, idx, i));\n      return ret;\n    },\n    mapBy,\n    filter(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`filter` expects a function as first argument.', typeof callback === 'function'));\n      let 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    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        // @ts-expect-error TS doesn't like us using arguments like this\n        return !callback.apply(target, arguments);\n      });\n    },\n    filterBy() {\n      // @ts-expect-error TS doesn't like the ...arguments spread here.\n      return this.filter(iter(...arguments));\n    },\n    rejectBy() {\n      // @ts-expect-error TS doesn't like the ...arguments spread here.\n      return this.reject(iter(...arguments));\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    findBy() {\n      // @ts-expect-error TS doesn't like the ...arguments spread here.\n      let callback = iter(...arguments);\n      return find(this, callback);\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    isEvery() {\n      // @ts-expect-error TS doesn't like the ...arguments spread here.\n      let callback = iter(...arguments);\n      return every(this, callback);\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    isAny() {\n      // @ts-expect-error TS doesn't like us using arguments like this\n      let callback = iter(...arguments);\n      return any(this, callback);\n    },\n    // FIXME: When called without initialValue, behavior does not match native behavior\n    reduce(callback, initialValue) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`reduce` expects a function as first argument.', typeof callback === 'function'));\n      let ret = initialValue;\n      this.forEach(function (item, i) {\n        ret = callback(ret, item, i, this);\n      }, this);\n      return ret;\n    },\n    invoke(methodName, ...args) {\n      let ret = A();\n      // SAFETY: This is not entirely safe and the code will not work with Ember proxies\n      this.forEach(item => ret.push(item[methodName]?.(...args)));\n      return ret;\n    },\n    toArray() {\n      return this.map(item => item);\n    },\n    compact() {\n      return this.filter(value => value != null);\n    },\n    includes(object, startAt) {\n      return indexOf(this, object, startAt, true) !== -1;\n    },\n    sortBy() {\n      let sortKeys = arguments;\n      return this.toArray().sort((a, b) => {\n        for (let i = 0; i < sortKeys.length; i++) {\n          let key = sortKeys[i];\n          let propA = (0, _object.get)(a, key);\n          let propB = (0, _object.get)(b, key);\n          // return 1 or -1 else continue to the next sortKey\n          let compareValue = (0, _utils.compare)(propA, propB);\n          if (compareValue) {\n            return compareValue;\n          }\n        }\n        return 0;\n      });\n    },\n    uniq() {\n      return uniqBy(this);\n    },\n    uniqBy(key) {\n      return uniqBy(this, key);\n    },\n    without(value) {\n      if (!this.includes(value)) {\n        return this; // nothing to do\n      }\n      // SameValueZero comparison (NaN !== NaN)\n      let predicate = value === value ? item => item !== value : item => item === item;\n      return this.filter(predicate);\n    }\n  });\n  const MutableArray = _exports.MutableArray = _mixin.default.create(EmberArray, _mutable.default, {\n    clear() {\n      let len = this.length;\n      if (len === 0) {\n        return this;\n      }\n      this.replace(0, len, EMPTY_ARRAY);\n      return this;\n    },\n    insertAt(idx, object) {\n      insertAt(this, idx, object);\n      return this;\n    },\n    removeAt(start, len) {\n      return removeAt(this, start, len);\n    },\n    pushObject(obj) {\n      return insertAt(this, this.length, obj);\n    },\n    pushObjects(objects) {\n      this.replace(this.length, 0, objects);\n      return this;\n    },\n    popObject() {\n      let len = this.length;\n      if (len === 0) {\n        return null;\n      }\n      let ret = (0, _metal.objectAt)(this, len - 1);\n      this.removeAt(len - 1, 1);\n      return ret;\n    },\n    shiftObject() {\n      if (this.length === 0) {\n        return null;\n      }\n      let ret = (0, _metal.objectAt)(this, 0);\n      this.removeAt(0);\n      return ret;\n    },\n    unshiftObject(obj) {\n      return insertAt(this, 0, obj);\n    },\n    unshiftObjects(objects) {\n      this.replace(0, 0, objects);\n      return this;\n    },\n    reverseObjects() {\n      let len = this.length;\n      if (len === 0) {\n        return this;\n      }\n      let objects = this.toArray().reverse();\n      this.replace(0, len, objects);\n      return this;\n    },\n    setObjects(objects) {\n      if (objects.length === 0) {\n        return this.clear();\n      }\n      let len = this.length;\n      this.replace(0, len, objects);\n      return this;\n    },\n    removeObject(obj) {\n      let loc = this.length || 0;\n      while (--loc >= 0) {\n        let curObject = (0, _metal.objectAt)(this, loc);\n        if (curObject === obj) {\n          this.removeAt(loc);\n        }\n      }\n      return this;\n    },\n    removeObjects(objects) {\n      (0, _metal.beginPropertyChanges)();\n      for (let i = objects.length - 1; i >= 0; i--) {\n        // SAFETY: Due to the loop structure we know this will always exist.\n        this.removeObject(objects[i]);\n      }\n      (0, _metal.endPropertyChanges)();\n      return this;\n    },\n    addObject(obj) {\n      let included = this.includes(obj);\n      if (!included) {\n        this.pushObject(obj);\n      }\n      return this;\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  let NativeArray = _exports.NativeArray = _mixin.default.create(MutableArray, _observable.default, {\n    objectAt(idx) {\n      return this[idx];\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  const ignore = ['length'];\n  NativeArray.keys().forEach(methodName => {\n    // SAFETY: It's safe to read unknown properties from an object\n    if (Array.prototype[methodName]) {\n      ignore.push(methodName);\n    }\n  });\n  _exports.NativeArray = NativeArray = NativeArray.without(...ignore);\n  let A = _exports.A = void 0;\n  if (_environment.ENV.EXTEND_PROTOTYPES.Array) {\n    NativeArray.apply(Array.prototype, true);\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))); // SAFTEY: Since we are extending prototypes all true native arrays are Ember NativeArrays\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      if ((0, _internals.isEmberArray)(arr)) {\n        // SAFETY: If it's a true native array and it is also an EmberArray then it should be an Ember NativeArray\n        return arr;\n      } else {\n        // SAFETY: This will return an NativeArray but TS can't infer that.\n        return NativeArray.apply(arr ?? []);\n      }\n    };\n  }\n  var _default = _exports.default = EmberArray;\n});","define(\"@ember/array/lib/make-array\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    isArray\n  } = Array;\n  function makeArray(obj) {\n    if (obj === null || obj === undefined) {\n      return [];\n    }\n    return isArray(obj) ? obj : [obj];\n  }\n  var _default = _exports.default = makeArray;\n});","define(\"@ember/array/mutable\", [\"exports\", \"@ember/array\"], function (_exports, _array) {\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 _array.MutableArray;\n    }\n  });\n});","define(\"@ember/array/proxy\", [\"exports\", \"@ember/-internals/metal\", \"@ember/object\", \"@ember/-internals/utils\", \"@ember/array\", \"@ember/array/mutable\", \"@ember/debug\", \"@glimmer/manager\", \"@glimmer/validator\"], function (_exports, _metal, _object, _utils, _array, _mutable, _debug, _manager, _validator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/array/proxy\n  */\n\n  function isMutable(obj) {\n    return Array.isArray(obj) || typeof obj.replace === 'function';\n  }\n  const ARRAY_OBSERVER_MAPPING = {\n    willChange: '_arrangedContentArrayWillChange',\n    didChange: '_arrangedContentArrayDidChange'\n  };\n  function customTagForArrayProxy(proxy, key) {\n    (true && !(proxy instanceof ArrayProxy) && (0, _debug.assert)('[BUG] Expected a proxy', proxy instanceof ArrayProxy));\n    if (key === '[]') {\n      proxy._revalidate();\n      return proxy._arrTag;\n    } else if (key === 'length') {\n      proxy._revalidate();\n      return proxy._lengthTag;\n    }\n    return (0, _validator.tagFor)(proxy, key);\n  }\n  class ArrayProxy extends _object.default {\n    constructor() {\n      super(...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      /** @internal */\n      this._objectsDirtyIndex = 0;\n      /** @internal */\n      this._objects = null;\n      /** @internal */\n      this._lengthDirty = true;\n      /** @internal */\n      this._length = 0;\n      /** @internal */\n      this._arrangedContent = null;\n      /** @internal */\n      this._arrangedContentIsUpdating = false;\n      /** @internal */\n      this._arrangedContentTag = null;\n      /** @internal */\n      this._arrangedContentRevision = null;\n      /** @internal */\n      this._lengthTag = null;\n      /** @internal */\n      this._arrTag = null;\n    }\n    init(props) {\n      super.init(props);\n      (0, _manager.setCustomTagFor)(this, customTagForArrayProxy);\n    }\n    [_metal.PROPERTY_DID_CHANGE]() {\n      this._revalidate();\n    }\n    willDestroy() {\n      this._removeArrangedContentArrayObserver();\n    }\n    objectAtContent(idx) {\n      let arrangedContent = (0, _object.get)(this, 'arrangedContent');\n      (true && !(arrangedContent) && (0, _debug.assert)('[BUG] Called objectAtContent without content', arrangedContent));\n      return (0, _metal.objectAt)(arrangedContent, idx);\n    }\n    // See additional docs for `replace` from `MutableArray`:\n    // https://api.emberjs.com/ember/release/classes/MutableArray/methods/replace?anchor=replace\n    replace(idx, amt, objects) {\n      (true && !((0, _object.get)(this, 'arrangedContent') === (0, _object.get)(this, 'content')) && (0, _debug.assert)('Mutating an arranged ArrayProxy is not allowed', (0, _object.get)(this, 'arrangedContent') === (0, _object.get)(this, 'content')));\n      this.replaceContent(idx, amt, objects);\n    }\n    replaceContent(idx, amt, objects) {\n      let content = (0, _object.get)(this, 'content');\n      (true && !(content) && (0, _debug.assert)('[BUG] Called replaceContent without content', content));\n      (true && !(isMutable(content)) && (0, _debug.assert)('Mutating a non-mutable array is not allowed', isMutable(content)));\n      (0, _metal.replace)(content, idx, amt, objects);\n    }\n    // Overriding objectAt is not supported.\n    objectAt(idx) {\n      this._revalidate();\n      if (this._objects === null) {\n        this._objects = [];\n      }\n      if (this._objectsDirtyIndex !== -1 && idx >= this._objectsDirtyIndex) {\n        let arrangedContent = (0, _object.get)(this, 'arrangedContent');\n        if (arrangedContent) {\n          let length = this._objects.length = (0, _object.get)(arrangedContent, 'length');\n          for (let i = this._objectsDirtyIndex; i < length; i++) {\n            // SAFETY: This is expected to only ever return an instance of T. In other words, there should\n            // be no gaps in the array. Unfortunately, we can't actually assert for it since T could include\n            // any types, including null or undefined.\n            this._objects[i] = this.objectAtContent(i);\n          }\n        } else {\n          this._objects.length = 0;\n        }\n        this._objectsDirtyIndex = -1;\n      }\n      return this._objects[idx];\n    }\n    // Overriding length is not supported.\n    get length() {\n      this._revalidate();\n      if (this._lengthDirty) {\n        let arrangedContent = (0, _object.get)(this, 'arrangedContent');\n        this._length = arrangedContent ? (0, _object.get)(arrangedContent, 'length') : 0;\n        this._lengthDirty = false;\n      }\n      (true && !(this._lengthTag) && (0, _debug.assert)('[BUG] _lengthTag is not set', this._lengthTag));\n      (0, _validator.consumeTag)(this._lengthTag);\n      return this._length;\n    }\n    set length(value) {\n      let length = this.length;\n      let removedCount = length - value;\n      let added;\n      if (removedCount === 0) {\n        return;\n      } else if (removedCount < 0) {\n        added = new Array(-removedCount);\n        removedCount = 0;\n      }\n      let content = (0, _object.get)(this, 'content');\n      if (content) {\n        (true && !(isMutable(content)) && (0, _debug.assert)('Mutating a non-mutable array is not allowed', isMutable(content)));\n        (0, _metal.replace)(content, value, removedCount, added);\n        this._invalidate();\n      }\n    }\n    _updateArrangedContentArray(arrangedContent) {\n      let oldLength = this._objects === null ? 0 : this._objects.length;\n      let newLength = arrangedContent ? (0, _object.get)(arrangedContent, 'length') : 0;\n      this._removeArrangedContentArrayObserver();\n      (0, _metal.arrayContentWillChange)(this, 0, oldLength, newLength);\n      this._invalidate();\n      (0, _metal.arrayContentDidChange)(this, 0, oldLength, newLength, false);\n      this._addArrangedContentArrayObserver(arrangedContent);\n    }\n    _addArrangedContentArrayObserver(arrangedContent) {\n      if (arrangedContent && !arrangedContent.isDestroyed) {\n        (true && !(arrangedContent !== this) && (0, _debug.assert)(\"Can't set ArrayProxy's content to itself\", arrangedContent !== this));\n        (true && !(function (arr) {\n          return Array.isArray(arr) || _array.default.detect(arr);\n        }(arrangedContent)) && (0, _debug.assert)(`ArrayProxy expects a native Array, EmberArray, or ArrayProxy, but you passed ${typeof arrangedContent}`, function (arr) {\n          return Array.isArray(arr) || _array.default.detect(arr);\n        }(arrangedContent)));\n        (true && !(!arrangedContent.isDestroyed) && (0, _debug.assert)('ArrayProxy expected its contents to not be destroyed', !arrangedContent.isDestroyed));\n        (0, _metal.addArrayObserver)(arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n        this._arrangedContent = arrangedContent;\n      }\n    }\n    _removeArrangedContentArrayObserver() {\n      if (this._arrangedContent) {\n        (0, _metal.removeArrayObserver)(this._arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n      }\n    }\n    _arrangedContentArrayWillChange() {}\n    _arrangedContentArrayDidChange(_proxy, idx, removedCnt, addedCnt) {\n      (0, _metal.arrayContentWillChange)(this, idx, removedCnt, addedCnt);\n      let dirtyIndex = idx;\n      if (dirtyIndex < 0) {\n        let length = (0, _object.get)(this._arrangedContent, 'length');\n        dirtyIndex += length + removedCnt - addedCnt;\n      }\n      if (this._objectsDirtyIndex === -1 || this._objectsDirtyIndex > dirtyIndex) {\n        this._objectsDirtyIndex = dirtyIndex;\n      }\n      this._lengthDirty = true;\n      (0, _metal.arrayContentDidChange)(this, idx, removedCnt, addedCnt, false);\n    }\n    _invalidate() {\n      this._objectsDirtyIndex = 0;\n      this._lengthDirty = true;\n    }\n    _revalidate() {\n      if (this._arrangedContentIsUpdating === true) return;\n      if (this._arrangedContentTag === null || !(0, _validator.validateTag)(this._arrangedContentTag, this._arrangedContentRevision)) {\n        let arrangedContent = this.get('arrangedContent');\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(arrangedContent);\n        } else {\n          this._arrangedContentIsUpdating = true;\n          this._updateArrangedContentArray(arrangedContent);\n          this._arrangedContentIsUpdating = false;\n        }\n        let arrangedContentTag = this._arrangedContentTag = (0, _validator.tagFor)(this, 'arrangedContent');\n        this._arrangedContentRevision = (0, _validator.valueForTag)(this._arrangedContentTag);\n        if ((0, _utils.isObject)(arrangedContent)) {\n          this._lengthTag = (0, _validator.combine)([arrangedContentTag, (0, _metal.tagForProperty)(arrangedContent, 'length')]);\n          this._arrTag = (0, _validator.combine)([arrangedContentTag, (0, _metal.tagForProperty)(arrangedContent, '[]')]);\n        } else {\n          this._lengthTag = this._arrTag = arrangedContentTag;\n        }\n      }\n    }\n  }\n  ArrayProxy.reopen(_mutable.default, {\n    arrangedContent: (0, _metal.alias)('content')\n  });\n  var _default = _exports.default = ArrayProxy;\n});","define(\"@ember/canary-features/index\", [\"exports\", \"@ember/-internals/environment\"], function (_exports, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.FEATURES = _exports.DEFAULT_FEATURES = void 0;\n  _exports.isEnabled = isEnabled;\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  const DEFAULT_FEATURES = _exports.DEFAULT_FEATURES = {\n    // FLAG_NAME: true/false\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  const FEATURES = _exports.FEATURES = Object.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  function isEnabled(feature) {\n    let value = FEATURES[feature];\n    if (value === true || value === false) {\n      return value;\n    } else if (_environment.ENV.ENABLE_OPTIONAL_FEATURES) {\n      return true;\n    } else {\n      return false;\n    }\n  }\n  // Uncomment the below when features are present:\n  // function featureValue(value: null | boolean) {\n  //   if (ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n  //     return true;\n  //   }\n  //   return value;\n  // }\n  // export const FLAG_NAME = featureValue(FEATURES.FLAG_NAME);\n});","define(\"@ember/component/helper\", [\"exports\", \"@ember/-internals/glimmer\"], function (_exports, _glimmer) {\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 _glimmer.Helper;\n    }\n  });\n  Object.defineProperty(_exports, \"helper\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.helper;\n    }\n  });\n});","define(\"@ember/component/index\", [\"exports\", \"@glimmer/manager\", \"@ember/-internals/glimmer\"], function (_exports, _manager, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Input\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.Input;\n    }\n  });\n  Object.defineProperty(_exports, \"Textarea\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.Textarea;\n    }\n  });\n  Object.defineProperty(_exports, \"capabilities\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.componentCapabilities;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.Component;\n    }\n  });\n  Object.defineProperty(_exports, \"getComponentTemplate\", {\n    enumerable: true,\n    get: function () {\n      return _manager.getComponentTemplate;\n    }\n  });\n  Object.defineProperty(_exports, \"setComponentManager\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.setComponentManager;\n    }\n  });\n  Object.defineProperty(_exports, \"setComponentTemplate\", {\n    enumerable: true,\n    get: function () {\n      return _manager.setComponentTemplate;\n    }\n  });\n});","define(\"@ember/component/template-only\", [\"exports\", \"@glimmer/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    @module @ember/component/template-only\n    @public\n  */\n\n  // NOTES:\n  //\n  // 1. The generic here is for a *signature: a way to hang information for tools\n  //    like Glint which can provide typey checking for component templates using\n  //    information supplied via this generic. While it may appear useless on this\n  //    class definition and extension, it is used by external tools and should\n  //    not be removed.\n  // 2. SAFETY: this cast is *throwing away* information that is not part of the\n  //    public API and replacing it with something which has the same calling\n  //    contract, but much less information (since we do not want to expose the\n  //    internal APIs like `moduleName` etc.).\n  // prettier-ignore\n  const templateOnly = _runtime.templateOnlyComponent;\n  var _default = _exports.default = templateOnly;\n});","define(\"@ember/controller/index\", [\"exports\", \"@ember/-internals/owner\", \"@ember/object\", \"@ember/object/-internals\", \"@ember/-internals/metal\", \"@ember/object/mixin\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\"], function (_exports, _owner, _object, _internals, _metal, _mixin, _runtime, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.ControllerMixin = void 0;\n  _exports.inject = inject;\n  // This is imported from -internals to avoid circularity\n\n  const MODEL = (0, _utils.symbol)('MODEL');\n  const ControllerMixin = _exports.ControllerMixin = _mixin.default.create(_runtime.ActionHandler, {\n    /* ducktype as a controller */\n    isController: true,\n    concatenatedProperties: ['queryParams'],\n    target: null,\n    store: null,\n    init() {\n      this._super(...arguments);\n      let owner = (0, _owner.getOwner)(this);\n      if (owner) {\n        this.namespace = owner.lookup('application:main');\n        this.target = owner.lookup('router:main');\n      }\n    },\n    model: (0, _object.computed)({\n      get() {\n        return this[MODEL];\n      },\n      set(_key, value) {\n        return this[MODEL] = value;\n      }\n    }),\n    queryParams: null,\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     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      let dotIndex = _prop.indexOf('.[]');\n      let prop = dotIndex === -1 ? _prop : _prop.slice(0, dotIndex);\n      let delegate = controller._qpDelegate;\n      let value = (0, _object.get)(controller, prop);\n      delegate(prop, value);\n    }\n  });\n  class Controller extends _internals.FrameworkObject.extend(ControllerMixin) {}\n  _exports.default = Controller;\n  function inject(...args) {\n    return (0, _metal.inject)('controller', ...args);\n  }\n});","define(\"@ember/debug/container-debug-adapter\", [\"exports\", \"@ember/-internals/string\", \"@ember/object\", \"@ember/utils\", \"@ember/-internals/owner\", \"@ember/application/namespace\"], function (_exports, _string, _object, _utils, _owner, _namespace) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/debug/container-debug-adapter\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  class ContainerDebugAdapter extends _object.default {\n    constructor(owner) {\n      super(owner);\n      this.resolver = (0, _owner.getOwner)(this).lookup('resolver-for-debugging:main');\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      return true;\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      let namespaces = _namespace.default.NAMESPACES;\n      let types = [];\n      let typeSuffixRegex = new RegExp(`${(0, _string.classify)(type)}$`);\n      namespaces.forEach(namespace => {\n        for (let key in namespace) {\n          if (!Object.prototype.hasOwnProperty.call(namespace, key)) {\n            continue;\n          }\n          if (typeSuffixRegex.test(key)) {\n            let klass = namespace[key];\n            if ((0, _utils.typeOf)(klass) === 'class') {\n              types.push((0, _string.dasherize)(key.replace(typeSuffixRegex, '')));\n            }\n          }\n        }\n      });\n      return types;\n    }\n  }\n  _exports.default = ContainerDebugAdapter;\n});","define(\"@ember/debug/data-adapter\", [\"exports\", \"@ember/-internals/owner\", \"@ember/runloop\", \"@ember/object\", \"@ember/-internals/string\", \"@ember/application/namespace\", \"@ember/array\", \"@glimmer/validator\", \"@ember/debug\"], function (_exports, _owner, _runloop, _object, _string, _namespace, _array, _validator, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function iterate(arr, fn) {\n    if (Symbol.iterator in arr) {\n      for (let item of arr) {\n        fn(item);\n      }\n    } else {\n      // SAFETY: this cast required to work this way to interop between TS 4.8\n      // and 4.9. When we drop support for 4.8, it will narrow correctly via the\n      // use of the `in` operator above. (Preferably we will solve this by just\n      // switching to require `Symbol.iterator` instead.)\n      (0, _debug.assert)('', typeof arr.forEach === 'function');\n      arr.forEach(fn);\n    }\n  }\n  class RecordsWatcher {\n    getCacheForItem(record) {\n      let recordCache = this.recordCaches.get(record);\n      if (!recordCache) {\n        let hasBeenAdded = false;\n        recordCache = (0, _validator.createCache)(() => {\n          if (!hasBeenAdded) {\n            this.added.push(this.wrapRecord(record));\n            hasBeenAdded = true;\n          } else {\n            this.updated.push(this.wrapRecord(record));\n          }\n        });\n        this.recordCaches.set(record, recordCache);\n      }\n      return recordCache;\n    }\n    constructor(records, recordsAdded, recordsUpdated, recordsRemoved, wrapRecord, release) {\n      this.wrapRecord = wrapRecord;\n      this.release = release;\n      this.recordCaches = new Map();\n      this.added = [];\n      this.updated = [];\n      this.removed = [];\n      this.recordArrayCache = (0, _validator.createCache)(() => {\n        let seen = new Set();\n        // Track `[]` for legacy support\n        (0, _validator.consumeTag)((0, _validator.tagFor)(records, '[]'));\n        iterate(records, record => {\n          (0, _validator.getValue)(this.getCacheForItem(record));\n          seen.add(record);\n        });\n        // Untrack this operation because these records are being removed, they\n        // should not be polled again in the future\n        (0, _validator.untrack)(() => {\n          this.recordCaches.forEach((_cache, record) => {\n            if (!seen.has(record)) {\n              this.removed.push(wrapRecord(record));\n              this.recordCaches.delete(record);\n            }\n          });\n        });\n        if (this.added.length > 0) {\n          recordsAdded(this.added);\n          this.added = [];\n        }\n        if (this.updated.length > 0) {\n          recordsUpdated(this.updated);\n          this.updated = [];\n        }\n        if (this.removed.length > 0) {\n          recordsRemoved(this.removed);\n          this.removed = [];\n        }\n      });\n    }\n    revalidate() {\n      (0, _validator.getValue)(this.recordArrayCache);\n    }\n  }\n  class TypeWatcher {\n    constructor(records, onChange, release) {\n      this.release = release;\n      let hasBeenAccessed = false;\n      this.cache = (0, _validator.createCache)(() => {\n        // Empty iteration, we're doing this just\n        // to track changes to the records array\n        iterate(records, () => {});\n        // Also track `[]` for legacy support\n        (0, _validator.consumeTag)((0, _validator.tagFor)(records, '[]'));\n        if (hasBeenAccessed === true) {\n          (0, _runloop.next)(onChange);\n        } else {\n          hasBeenAccessed = true;\n        }\n      });\n      this.release = release;\n    }\n    revalidate() {\n      (0, _validator.getValue)(this.cache);\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  \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  class DataAdapter extends _object.default {\n    constructor(owner) {\n      super(owner);\n      this.releaseMethods = (0, _array.A)();\n      this.recordsWatchers = new Map();\n      this.typeWatchers = new Map();\n      this.flushWatchers = null;\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      /**\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      this.attributeLimit = 3;\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      this.acceptsModelName = true;\n      this.containerDebugAdapter = (0, _owner.getOwner)(this).lookup('container-debug-adapter:main');\n    }\n    /**\n       Map from records arrays to RecordsWatcher instances\n          @private\n       @property recordsWatchers\n       @since 3.26.0\n     */\n    /**\n      Map from records arrays to TypeWatcher instances\n         @private\n      @property typeWatchers\n      @since 3.26.0\n     */\n    /**\n      Callback that is currently scheduled on backburner end to flush and check\n      all active watchers.\n         @private\n      @property flushWatchers\n      @since 3.26.0\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    /**\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, _array.A)();\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      let modelTypes = this.getModelTypes();\n      let releaseMethods = (0, _array.A)();\n      let typesToSend;\n      typesToSend = modelTypes.map(type => {\n        let klass = type.klass;\n        let wrapped = this.wrapModelType(klass, type.name);\n        releaseMethods.push(this.observeModelType(type.name, typesUpdated));\n        return wrapped;\n      });\n      typesAdded(typesToSend);\n      let release = () => {\n        releaseMethods.forEach(fn => fn());\n        this.releaseMethods.removeObject(release);\n      };\n      this.releaseMethods.pushObject(release);\n      return release;\n    }\n    _nameToClass(type) {\n      if (typeof type === 'string') {\n        let owner = (0, _owner.getOwner)(this);\n        let Factory = owner.factoryFor(`model:${type}`);\n        type = Factory && Factory.class;\n      }\n      return type;\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 an array of objects containing wrapped records.\n         @return {Function} Method to call to remove all observers.\n    */\n    watchRecords(modelName, recordsAdded, recordsUpdated, recordsRemoved) {\n      let klass = this._nameToClass(modelName);\n      let records = this.getRecords(klass, modelName);\n      let {\n        recordsWatchers\n      } = this;\n      let recordsWatcher = recordsWatchers.get(records);\n      if (!recordsWatcher) {\n        recordsWatcher = new RecordsWatcher(records, recordsAdded, recordsUpdated, recordsRemoved, record => this.wrapRecord(record), () => {\n          recordsWatchers.delete(records);\n          this.updateFlushWatchers();\n        });\n        recordsWatchers.set(records, recordsWatcher);\n        this.updateFlushWatchers();\n        recordsWatcher.revalidate();\n      }\n      return recordsWatcher.release;\n    }\n    updateFlushWatchers() {\n      if (this.flushWatchers === null) {\n        if (this.typeWatchers.size > 0 || this.recordsWatchers.size > 0) {\n          this.flushWatchers = () => {\n            this.typeWatchers.forEach(watcher => watcher.revalidate());\n            this.recordsWatchers.forEach(watcher => watcher.revalidate());\n          };\n          _runloop._backburner.on('end', this.flushWatchers);\n        }\n      } else if (this.typeWatchers.size === 0 && this.recordsWatchers.size === 0) {\n        _runloop._backburner.off('end', this.flushWatchers);\n        this.flushWatchers = null;\n      }\n    }\n    /**\n      Clear all observers before destruction\n      @private\n      @method willDestroy\n    */\n    willDestroy() {\n      this._super(...arguments);\n      this.typeWatchers.forEach(watcher => watcher.release());\n      this.recordsWatchers.forEach(watcher => watcher.release());\n      this.releaseMethods.forEach(fn => fn());\n      if (this.flushWatchers) {\n        _runloop._backburner.off('end', this.flushWatchers);\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(_klass) {\n      return false;\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(_klass) {\n      return (0, _array.A)();\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      let klass = this._nameToClass(modelName);\n      let records = this.getRecords(klass, modelName);\n      let onChange = () => {\n        typesUpdated([this.wrapModelType(klass, modelName)]);\n      };\n      let {\n        typeWatchers\n      } = this;\n      let typeWatcher = typeWatchers.get(records);\n      if (!typeWatcher) {\n        typeWatcher = new TypeWatcher(records, onChange, () => {\n          typeWatchers.delete(records);\n          this.updateFlushWatchers();\n        });\n        typeWatchers.set(records, typeWatcher);\n        this.updateFlushWatchers();\n        typeWatcher.revalidate();\n      }\n      return typeWatcher.release;\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} 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    */\n    wrapModelType(klass, name) {\n      let records = this.getRecords(klass, name);\n      return {\n        name,\n        count: (0, _object.get)(records, 'length'),\n        columns: this.columnsForType(klass),\n        object: klass\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      let containerDebugAdapter = this.containerDebugAdapter;\n      let stringTypes = containerDebugAdapter.canCatalogEntriesByType('model') ? containerDebugAdapter.catalogEntriesByType('model') : this._getObjectsOnNamespaces();\n      // New adapters return strings instead of classes.\n      let klassTypes = stringTypes.map(name => {\n        return {\n          klass: this._nameToClass(name),\n          name\n        };\n      });\n      return klassTypes.filter(type => this.detect(type.klass));\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      let namespaces = _namespace.default.NAMESPACES;\n      let types = [];\n      namespaces.forEach(namespace => {\n        for (let key in namespace) {\n          if (!Object.prototype.hasOwnProperty.call(namespace, key)) {\n            continue;\n          }\n          // Even though we will filter again in `getModelTypes`,\n          // we should not call `lookupFactory` on non-models\n          if (!this.detect(namespace[key])) {\n            continue;\n          }\n          let name = (0, _string.dasherize)(key);\n          types.push(name);\n        }\n      });\n      return types;\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(_klass, _name) {\n      return (0, _array.A)();\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      return {\n        object: record,\n        columnValues: this.getRecordColumnValues(record),\n        searchKeywords: this.getRecordKeywords(record),\n        filterValues: this.getRecordFilterValues(record),\n        color: this.getRecordColor(record)\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(_record) {\n      return {};\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(_record) {\n      return (0, _array.A)();\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(_record) {\n      return {};\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(_record) {\n      return null;\n    }\n  }\n  _exports.default = DataAdapter;\n});","define(\"@ember/debug/index\", [\"exports\", \"@ember/-internals/browser-environment\", \"@ember/debug/lib/deprecate\", \"@ember/debug/lib/testing\", \"@ember/debug/lib/warn\", \"@ember/debug/lib/inspect\", \"@ember/debug/lib/capture-render-tree\"], function (_exports, _browserEnvironment, _deprecate2, _testing, _warn2, _inspect, _captureRenderTree) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.assert = _exports._warnIfUsingStrippedFeatureFlags = void 0;\n  Object.defineProperty(_exports, \"captureRenderTree\", {\n    enumerable: true,\n    get: function () {\n      return _captureRenderTree.default;\n    }\n  });\n  _exports.info = _exports.getDebugFunction = _exports.deprecateFunc = _exports.deprecate = _exports.debugSeal = _exports.debugFreeze = _exports.debug = void 0;\n  Object.defineProperty(_exports, \"inspect\", {\n    enumerable: true,\n    get: function () {\n      return _inspect.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isTesting\", {\n    enumerable: true,\n    get: function () {\n      return _testing.isTesting;\n    }\n  });\n  Object.defineProperty(_exports, \"registerDeprecationHandler\", {\n    enumerable: true,\n    get: function () {\n      return _deprecate2.registerHandler;\n    }\n  });\n  Object.defineProperty(_exports, \"registerWarnHandler\", {\n    enumerable: true,\n    get: function () {\n      return _warn2.registerHandler;\n    }\n  });\n  _exports.setDebugFunction = _exports.runInDebug = void 0;\n  Object.defineProperty(_exports, \"setTesting\", {\n    enumerable: true,\n    get: function () {\n      return _testing.setTesting;\n    }\n  });\n  _exports.warn = void 0;\n  // These are the default production build versions:\n  const noop = () => {};\n  // SAFETY: these casts are just straight-up lies, but the point is that they do\n  // not do anything in production builds.\n  let assert = _exports.assert = noop;\n  let info = _exports.info = noop;\n  let warn = _exports.warn = noop;\n  let debug = _exports.debug = noop;\n  let deprecate = _exports.deprecate = noop;\n  let debugSeal = _exports.debugSeal = noop;\n  let debugFreeze = _exports.debugFreeze = noop;\n  let runInDebug = _exports.runInDebug = noop;\n  let setDebugFunction = _exports.setDebugFunction = noop;\n  let getDebugFunction = _exports.getDebugFunction = noop;\n  let deprecateFunc = function () {\n    return arguments[arguments.length - 1];\n  };\n  _exports.deprecateFunc = deprecateFunc;\n  if (true /* DEBUG */) {\n    _exports.setDebugFunction = setDebugFunction = function (type, callback) {\n      switch (type) {\n        case 'assert':\n          return _exports.assert = assert = callback;\n        case 'info':\n          return _exports.info = info = callback;\n        case 'warn':\n          return _exports.warn = warn = callback;\n        case 'debug':\n          return _exports.debug = debug = callback;\n        case 'deprecate':\n          return _exports.deprecate = deprecate = callback;\n        case 'debugSeal':\n          return _exports.debugSeal = debugSeal = callback;\n        case 'debugFreeze':\n          return _exports.debugFreeze = debugFreeze = callback;\n        case 'runInDebug':\n          return _exports.runInDebug = runInDebug = callback;\n        case 'deprecateFunc':\n          return _exports.deprecateFunc = deprecateFunc = callback;\n      }\n    };\n    _exports.getDebugFunction = getDebugFunction = function (type) {\n      switch (type) {\n        case 'assert':\n          return assert;\n        case 'info':\n          return info;\n        case 'warn':\n          return warn;\n        case 'debug':\n          return debug;\n        case 'deprecate':\n          return deprecate;\n        case 'debugSeal':\n          return debugSeal;\n        case 'debugFreeze':\n          return debugFreeze;\n        case 'runInDebug':\n          return runInDebug;\n        case 'deprecateFunc':\n          return deprecateFunc;\n      }\n    };\n  }\n  /**\n  @module @ember/debug\n  */\n  if (true /* DEBUG */) {\n    // eslint-disable-next-line no-inner-declarations\n    function assert(desc, test) {\n      if (!test) {\n        throw new Error(`Assertion Failed: ${desc}`);\n      }\n    }\n    setDebugFunction('assert', assert);\n    /**\n      Display a debug notice.\n         Calls to this function are not invoked in production builds.\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    setDebugFunction('debug', function debug(message) {\n      console.debug(`DEBUG: ${message}`); /* eslint-disable-line no-console */\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    setDebugFunction('info', function info() {\n      console.info(...arguments); /* eslint-disable-line no-console */\n    });\n    /**\n     @module @ember/debug\n     @public\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    setDebugFunction('deprecateFunc', function deprecateFunc(...args) {\n      if (args.length === 3) {\n        let [message, options, func] = args;\n        return function (...args) {\n          deprecate(message, false, options);\n          return func.apply(this, args);\n        };\n      } else {\n        let [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      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    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  let _warnIfUsingStrippedFeatureFlags = _exports._warnIfUsingStrippedFeatureFlags = void 0;\n  if (true /* DEBUG */ && !(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          let downloadURL;\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          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    @module @ember/debug\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    // SAFETY: Ideally we'd assert here but that causes awkward circular requires since this is also in @ember/debug.\n    // This is only for debug stuff so not very risky.\n    let renderer = (0, _util.expect)(app.lookup('renderer:-dom'), `BUG: owner is missing renderer`);\n    return renderer.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.registerHandler = _exports.missingOptionsIdDeprecation = _exports.missingOptionsDeprecation = _exports.missingOptionDeprecation = _exports.default = void 0;\n  /**\n   @module @ember/debug\n   @public\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  let registerHandler = () => {};\n  _exports.registerHandler = registerHandler;\n  let missingOptionsDeprecation = _exports.missingOptionsDeprecation = void 0;\n  let missingOptionsIdDeprecation = _exports.missingOptionsIdDeprecation = void 0;\n  let missingOptionDeprecation = () => '';\n  _exports.missingOptionDeprecation = missingOptionDeprecation;\n  let deprecate = () => {};\n  if (true /* DEBUG */) {\n    _exports.registerHandler = registerHandler = function registerHandler(handler) {\n      (0, _handlers.registerHandler)('deprecate', handler);\n    };\n    let formatMessage = function formatMessage(_message, options) {\n      let message = _message;\n      if (options?.id) {\n        message = message + ` [deprecation id: ${options.id}]`;\n      }\n      if (options?.until) {\n        message = message + ` This will be removed in ${options.for} ${options.until}.`;\n      }\n      if (options?.url) {\n        message += ` See ${options.url} for more details.`;\n      }\n      return message;\n    };\n    registerHandler(function logDeprecationToConsole(message, options) {\n      let updatedMessage = formatMessage(message, options);\n      console.warn(`DEPRECATION: ${updatedMessage}`); // eslint-disable-line no-console\n    });\n\n    let captureErrorForStack;\n    if (new Error().stack) {\n      captureErrorForStack = () => new Error();\n    } else {\n      captureErrorForStack = () => {\n        try {\n          __fail__.fail();\n          return;\n        } catch (e) {\n          return e;\n        }\n      };\n    }\n    registerHandler(function logDeprecationStackTrace(message, options, next) {\n      if (_environment.ENV.LOG_STACKTRACE_ON_DEPRECATION) {\n        let stackStr = '';\n        let error = captureErrorForStack();\n        let stack;\n        if (error instanceof Error) {\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            stackStr = `\\n    ${stack.slice(2).join('\\n    ')}`;\n          }\n        }\n        let 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        let 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.missingOptionDeprecation = missingOptionDeprecation = (id, missingOption) => {\n      return `When calling \\`deprecate\\` you must provide \\`${missingOption}\\` in options. Missing options.${missingOption} in \"${id}\" deprecation`;\n    };\n    /**\n     @module @ember/debug\n     @public\n     */\n    /**\n      Display a deprecation warning with the provided message and a stack trace\n      (Chrome and Firefox only).\n         Ember itself leverages [Semantic Versioning](https://semver.org) to aid\n      projects in keeping up with changes to the framework. Before any\n      functionality or API is removed, it first flows linearly through a\n      deprecation staging process. The staging process currently contains two\n      stages: available and enabled.\n         Deprecations are initially released into the 'available' stage.\n      Deprecations will stay in this stage until the replacement API has been\n      marked as a recommended practice via the RFC process and the addon\n      ecosystem has generally adopted the change.\n         Once a deprecation meets the above criteria, it will move into the\n      'enabled' stage where it will remain until the functionality or API is\n      eventually removed.\n         For application and addon developers, \"available\" deprecations are not\n      urgent and \"enabled\" deprecations require action.\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 { deprecate } from '@ember/debug';\n         deprecate(\n        'Use of `assign` has been deprecated. Please use `Object.assign` or the spread operator instead.',\n        false,\n        {\n          id: 'ember-polyfills.deprecate-assign',\n          until: '5.0.0',\n          url: 'https://deprecations.emberjs.com/v4.x/#toc_ember-polyfills-deprecate-assign',\n          for: 'ember-source',\n          since: {\n            available: '4.0.0',\n            enabled: '4.0.0',\n          },\n        }\n      );\n      ```\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.for A namespace for the deprecation, usually the package name\n      @param {Object} options.since Describes when the deprecation became available and enabled.\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    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)(missingOptionDeprecation(options.id, 'until'), Boolean(options.until));\n      (0, _index.assert)(missingOptionDeprecation(options.id, 'for'), Boolean(options.for));\n      (0, _index.assert)(missingOptionDeprecation(options.id, 'since'), Boolean(options.since));\n      (0, _handlers.invoke)('deprecate', message, test, options);\n    };\n  }\n  var _default = _exports.default = deprecate;\n});","define(\"@ember/debug/lib/handlers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.registerHandler = _exports.invoke = _exports.HANDLERS = void 0;\n  let HANDLERS = _exports.HANDLERS = {};\n  let registerHandler = _exports.registerHandler = function registerHandler(_type, _callback) {};\n  let invoke = () => {};\n  _exports.invoke = invoke;\n  if (true /* DEBUG */) {\n    _exports.registerHandler = registerHandler = function registerHandler(type, callback) {\n      let nextHandler = HANDLERS[type] || (() => {});\n      HANDLERS[type] = (message, options) => {\n        callback(message, options, nextHandler);\n      };\n    };\n    _exports.invoke = invoke = function invoke(type, message, test, options) {\n      if (test) {\n        return;\n      }\n      let handlerForType = HANDLERS[type];\n      if (handlerForType) {\n        handlerForType(message, options);\n      }\n    };\n  }\n});","define(\"@ember/debug/lib/inspect\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = inspect;\n  const {\n    toString: objectToString\n  } = Object.prototype;\n  const {\n    toString: functionToString\n  } = Function.prototype;\n  const {\n    isArray\n  } = Array;\n  const {\n    keys: objectKeys\n  } = Object;\n  const {\n    stringify\n  } = JSON;\n  const LIST_LIMIT = 100;\n  const DEPTH_LIMIT = 4;\n  const SAFE_KEY = /^[\\w$]+$/;\n  /**\n   @module @ember/debug\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  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    return inspectValue(obj, 0);\n  }\n  function inspectValue(value, depth, seen) {\n    let valueIsArray = false;\n    switch (typeof value) {\n      case 'undefined':\n        return 'undefined';\n      case 'object':\n        if (value === null) return 'null';\n        if (isArray(value)) {\n          valueIsArray = true;\n          break;\n        }\n        // is toString Object.prototype.toString or undefined then traverse\n        if (value.toString === objectToString || value.toString === undefined) {\n          break;\n        }\n        // custom toString\n        return value.toString();\n      case 'function':\n        return value.toString === functionToString ? value.name ? `[Function:${value.name}]` : `[Function]` : value.toString();\n      case 'string':\n        return stringify(value);\n      case 'symbol':\n      case 'boolean':\n      case 'number':\n      default:\n        return value.toString();\n    }\n    if (seen === undefined) {\n      seen = new WeakSet();\n    } else {\n      if (seen.has(value)) return `[Circular]`;\n    }\n    seen.add(value);\n    return valueIsArray ? inspectArray(value, depth + 1, seen) : inspectObject(value, depth + 1, seen);\n  }\n  function inspectKey(key) {\n    return SAFE_KEY.test(key) ? key : stringify(key);\n  }\n  function inspectObject(obj, depth, seen) {\n    if (depth > DEPTH_LIMIT) {\n      return '[Object]';\n    }\n    let s = '{';\n    let keys = objectKeys(obj);\n    for (let i = 0; i < keys.length; i++) {\n      s += i === 0 ? ' ' : ', ';\n      if (i >= LIST_LIMIT) {\n        s += `... ${keys.length - LIST_LIMIT} more keys`;\n        break;\n      }\n      let key = keys[i];\n      (true && !(key) && (0, _debug.assert)('has key', key)); // Looping over array\n      s += `${inspectKey(String(key))}: ${inspectValue(obj[key], depth, seen)}`;\n    }\n    s += ' }';\n    return s;\n  }\n  function inspectArray(arr, depth, seen) {\n    if (depth > DEPTH_LIMIT) {\n      return '[Array]';\n    }\n    let s = '[';\n    for (let i = 0; i < arr.length; i++) {\n      s += i === 0 ? ' ' : ', ';\n      if (i >= LIST_LIMIT) {\n        s += `... ${arr.length - LIST_LIMIT} more items`;\n        break;\n      }\n      s += inspectValue(arr[i], depth, seen);\n    }\n    s += ' ]';\n    return s;\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  let testing = false;\n  function isTesting() {\n    return testing;\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.registerHandler = _exports.missingOptionsIdDeprecation = _exports.missingOptionsDeprecation = _exports.default = void 0;\n  let registerHandler = () => {};\n  _exports.registerHandler = registerHandler;\n  let warn = () => {};\n  let missingOptionsDeprecation = _exports.missingOptionsDeprecation = void 0;\n  let missingOptionsIdDeprecation = _exports.missingOptionsIdDeprecation = void 0;\n  /**\n  @module @ember/debug\n  */\n  if (true /* DEBUG */) {\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    registerHandler(function logWarning(message) {\n      /* eslint-disable no-console */\n      console.warn(`WARNING: ${message}`);\n      /* eslint-enable no-console */\n    });\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|Object} test An optional boolean. If falsy, the warning\n        will be displayed. If `test` is an object, the `test` parameter can\n        be used as the `options` parameter and the warning is displayed.\n      @param {Object} options\n      @param {String} options.id 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    warn = function warn(message, test, options) {\n      if (arguments.length === 2 && typeof test === 'object') {\n        options = test;\n        test = false;\n      }\n      (0, _index.assert)(missingOptionsDeprecation, Boolean(options));\n      (0, _index.assert)(missingOptionsIdDeprecation, Boolean(options && options.id));\n      // SAFETY: we have explicitly assigned `false` if the user invoked the\n      // arity-2 version of the overload, so we know `test` is always either\n      // `undefined` or a `boolean` for type-safe callers.\n      (0, _handlers.invoke)('warn', message, test, options);\n    };\n  }\n  var _default = _exports.default = warn;\n});","define(\"@ember/deprecated-features/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.ASSIGN = void 0;\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  const ASSIGN = _exports.ASSIGN = !!'4.0.0-beta.1';\n});","define(\"@ember/destroyable/index\", [\"exports\", \"@glimmer/destroyable\"], function (_exports, _destroyable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"assertDestroyablesDestroyed\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.assertDestroyablesDestroyed;\n    }\n  });\n  Object.defineProperty(_exports, \"associateDestroyableChild\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.associateDestroyableChild;\n    }\n  });\n  Object.defineProperty(_exports, \"destroy\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.destroy;\n    }\n  });\n  Object.defineProperty(_exports, \"enableDestroyableTracking\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.enableDestroyableTracking;\n    }\n  });\n  Object.defineProperty(_exports, \"isDestroyed\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.isDestroyed;\n    }\n  });\n  Object.defineProperty(_exports, \"isDestroying\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.isDestroying;\n    }\n  });\n  _exports.registerDestructor = registerDestructor;\n  _exports.unregisterDestructor = unregisterDestructor;\n  /**\n    Ember manages the lifecycles and lifetimes of many built in constructs, such\n    as components, and does so in a hierarchical way - when a parent component is\n    destroyed, all of its children are destroyed as well.\n  \n    This destroyables API exposes the basic building blocks for destruction:\n  \n    * registering a function to be ran when an object is destroyed\n    * checking if an object is in a destroying state\n    * associate an object as a child of another so that the child object will be destroyed\n      when the associated parent object is destroyed.\n  \n    @module @ember/destroyable\n    @public\n  */\n  /**\n    This function is used to associate a destroyable object with a parent. When the parent\n    is destroyed, all registered children will also be destroyed.\n  \n    ```js\n    class CustomSelect extends Component {\n      constructor(...args) {\n        super(...args);\n  \n        // obj is now a child of the component. When the component is destroyed,\n        // obj will also be destroyed, and have all of its destructors triggered.\n        this.obj = associateDestroyableChild(this, {});\n      }\n    }\n    ```\n  \n    Returns the associated child for convenience.\n  \n    @method associateDestroyableChild\n    @for @ember/destroyable\n    @param {Object|Function} parent the destroyable to entangle the child destroyables lifetime with\n    @param {Object|Function} child the destroyable to be entangled with the parents lifetime\n    @returns {Object|Function} the child argument\n    @static\n    @public\n  */\n  /**\n   Receives a destroyable, and returns true if the destroyable has begun destroying. Otherwise returns\n   false.\n  \n    ```js\n    let obj = {};\n    isDestroying(obj); // false\n    destroy(obj);\n    isDestroying(obj); // true\n    // ...sometime later, after scheduled destruction\n    isDestroyed(obj); // true\n    isDestroying(obj); // true\n    ```\n  \n    @method isDestroying\n    @for @ember/destroyable\n    @param {Object|Function} destroyable the object to check\n    @returns {Boolean}\n    @static\n    @public\n  */\n  /**\n    Receives a destroyable, and returns true if the destroyable has finished destroying. Otherwise\n    returns false.\n  \n    ```js\n    let obj = {};\n  \n    isDestroyed(obj); // false\n    destroy(obj);\n  \n    // ...sometime later, after scheduled destruction\n  \n    isDestroyed(obj); // true\n    ```\n  \n    @method isDestroyed\n    @for @ember/destroyable\n    @param {Object|Function} destroyable the object to check\n    @returns {Boolean}\n    @static\n    @public\n  */\n  /**\n    Initiates the destruction of a destroyable object. It runs all associated destructors, and then\n    destroys all children recursively.\n  \n    ```js\n    let obj = {};\n  \n    registerDestructor(obj, () => console.log('destroyed!'));\n  \n    destroy(obj); // this will schedule the destructor to be called\n  \n    // ...some time later, during scheduled destruction\n  \n    // destroyed!\n    ```\n  \n    Destruction via `destroy()` follows these steps:\n  \n    1, Mark the destroyable such that `isDestroying(destroyable)` returns `true`\n    2, Call `destroy()` on each of the destroyable's associated children\n    3, Schedule calling the destroyable's destructors\n    4, Schedule setting destroyable such that `isDestroyed(destroyable)` returns `true`\n  \n    This results in the entire tree of destroyables being first marked as destroying,\n    then having all of their destructors called, and finally all being marked as isDestroyed.\n    There won't be any in between states where some items are marked as `isDestroying` while\n    destroying, while others are not.\n  \n    @method destroy\n    @for @ember/destroyable\n    @param {Object|Function} destroyable the object to destroy\n    @static\n    @public\n  */\n  /**\n    This function asserts that all objects which have associated destructors or associated children\n    have been destroyed at the time it is called. It is meant to be a low level hook that testing\n    frameworks can use to hook into and validate that all destroyables have in fact been destroyed.\n  \n    This function requires that `enableDestroyableTracking` was called previously, and is only\n    available in non-production builds.\n  \n    @method assertDestroyablesDestroyed\n    @for @ember/destroyable\n    @static\n    @public\n  */\n  /**\n    This function instructs the destroyable system to keep track of all destroyables (their\n    children, destructors, etc). This enables a future usage of `assertDestroyablesDestroyed`\n    to be used to ensure that all destroyable tasks (registered destructors and associated children)\n    have completed when `assertDestroyablesDestroyed` is called.\n  \n    @method enableDestroyableTracking\n    @for @ember/destroyable\n    @static\n    @public\n  */\n  /**\n    Receives a destroyable object and a destructor function, and associates the\n    function with it. When the destroyable is destroyed with destroy, or when its\n    parent is destroyed, the destructor function will be called.\n  \n    ```js\n    import Component from '@glimmer/component';\n    import { registerDestructor } from '@ember/destroyable';\n  \n    class Modal extends Component {\n      @service resize;\n  \n      constructor(...args) {\n        super(...args);\n  \n        this.resize.register(this, this.layout);\n  \n        registerDestructor(this, () => this.resize.unregister(this));\n      }\n    }\n    ```\n  \n    Multiple destructors can be associated with a given destroyable, and they can be\n    associated over time, allowing libraries to dynamically add destructors as needed.\n    `registerDestructor` also returns the associated destructor function, for convenience.\n  \n    The destructor function is passed a single argument, which is the destroyable itself.\n    This allows the function to be reused multiple times for many destroyables, rather\n    than creating a closure function per destroyable.\n  \n    ```js\n    import Component from '@glimmer/component';\n    import { registerDestructor } from '@ember/destroyable';\n  \n    function unregisterResize(instance) {\n      instance.resize.unregister(instance);\n    }\n  \n    class Modal extends Component {\n      @service resize;\n  \n      constructor(...args) {\n        super(...args);\n  \n        this.resize.register(this, this.layout);\n  \n        registerDestructor(this, unregisterResize);\n      }\n    }\n    ```\n  \n    @method registerDestructor\n    @for @ember/destroyable\n    @param {Object|Function} destroyable the destroyable to register the destructor function with\n    @param {Function} destructor the destructor to run when the destroyable object is destroyed\n    @static\n    @public\n  */\n  function registerDestructor(destroyable, destructor) {\n    return (0, _destroyable.registerDestructor)(destroyable, destructor);\n  }\n  /**\n    Receives a destroyable and a destructor function, and de-associates the destructor\n    from the destroyable.\n  \n    ```js\n    import Component from '@glimmer/component';\n    import { registerDestructor, unregisterDestructor } from '@ember/destroyable';\n  \n    class Modal extends Component {\n      @service modals;\n  \n      constructor(...args) {\n        super(...args);\n  \n        this.modals.add(this);\n  \n        this.modalDestructor = registerDestructor(this, () => this.modals.remove(this));\n      }\n  \n      @action pinModal() {\n        unregisterDestructor(this, this.modalDestructor);\n      }\n    }\n    ```\n  \n    @method unregisterDestructor\n    @for @ember/destroyable\n    @param {Object|Function} destroyable the destroyable to unregister the destructor function from\n    @param {Function} destructor the destructor to remove from the destroyable\n    @static\n    @public\n  */\n  function unregisterDestructor(destroyable, destructor) {\n    return (0, _destroyable.unregisterDestructor)(destroyable, destructor);\n  }\n});","define(\"@ember/engine/index\", [\"exports\", \"@ember/engine/lib/engine-parent\", \"@ember/-internals/utils\", \"@ember/controller\", \"@ember/application/namespace\", \"@ember/-internals/container\", \"dag-map\", \"@ember/debug\", \"@ember/debug/container-debug-adapter\", \"@ember/object\", \"@ember/engine/instance\", \"@ember/routing/-internals\", \"@ember/-internals/views\", \"@ember/-internals/glimmer\", \"@ember/-internals/runtime\"], function (_exports, _engineParent, _utils, _controller, _namespace, _container, _dagMap, _debug, _containerDebugAdapter, _object, _instance, _internals, _views, _glimmer, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.buildInitializerMethod = buildInitializerMethod;\n  _exports.default = void 0;\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  function props(obj) {\n    let properties = [];\n    for (let key in obj) {\n      properties.push(key);\n    }\n    return properties;\n  }\n  class Engine extends _namespace.default.extend(_runtime.RegistryProxyMixin) {\n    constructor() {\n      super(...arguments);\n      /**\n        A private flag indicating whether an engine's initializers have run yet.\n               @private\n        @property _initializersRan\n      */\n      this._initializersRan = false;\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    static buildRegistry(namespace) {\n      let registry = new _container.Registry({\n        resolver: resolverFor(namespace)\n      });\n      registry.set = _object.set;\n      registry.register('application:main', namespace, {\n        instantiate: false\n      });\n      commonSetupRegistry(registry);\n      (0, _glimmer.setupEngineRegistry)(registry);\n      return registry;\n    }\n    init(properties) {\n      super.init(properties);\n      this.buildRegistry();\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      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      return _instance.default.create({\n        ...options,\n        base: this\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      let registry = this.__registry__ = this.constructor.buildRegistry(this);\n      return registry;\n    }\n    /**\n      @private\n      @method initializer\n    */\n    initializer(initializer) {\n      this.constructor.initializer(initializer);\n    }\n    /**\n      @private\n      @method instanceInitializer\n    */\n    instanceInitializer(initializer) {\n      this.constructor.instanceInitializer(initializer);\n    }\n    /**\n      @private\n      @method runInitializers\n    */\n    runInitializers() {\n      this._runInitializer('initializers', (name, initializer) => {\n        (true && !(initializer) && (0, _debug.assert)(`No application initializer named '${name}'`, initializer));\n        initializer.initialize(this);\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 && !(initializer) && (0, _debug.assert)(`No instance initializer named '${name}'`, initializer));\n        initializer.initialize(instance);\n      });\n    }\n    _runInitializer(bucketName, cb) {\n      let initializersByName = (0, _object.get)(this.constructor, bucketName);\n      let initializers = props(initializersByName);\n      let graph = new _dagMap.default();\n      let initializer;\n      for (let name of initializers) {\n        initializer = initializersByName[name];\n        (true && !(initializer) && (0, _debug.assert)(`missing ${bucketName}: ${name}`, initializer));\n        graph.add(initializer.name, initializer, initializer.before, initializer.after);\n      }\n      graph.topsort(cb);\n    }\n  }\n  Engine.initializers = Object.create(null);\n  Engine.instanceInitializers = Object.create(null);\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  \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  \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  \n    ```app/initializer/named-initializer.js\n    import { debug } from '@ember/debug';\n  \n    export function initialize() {\n      debug('Running namedInitializer!');\n    }\n  \n    export default {\n      name: 'named-initializer',\n      initialize\n    };\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  \n    An example of ordering initializers, we create an initializer named `first`:\n  \n    ```app/initializer/first.js\n    import { debug } from '@ember/debug';\n  \n    export function initialize() {\n      debug('First initializer!');\n    }\n  \n    export default {\n      name: 'first',\n      initialize\n    };\n    ```\n  \n    ```bash\n    // DEBUG: First initializer!\n    ```\n  \n    We add another initializer named `second`, specifying that it should run\n    after the initializer named `first`:\n  \n    ```app/initializer/second.js\n    import { debug } from '@ember/debug';\n  \n    export function initialize() {\n      debug('Second initializer!');\n    }\n  \n    export default {\n      name: 'second',\n      after: 'first',\n      initialize\n    };\n    ```\n  \n    ```\n    // DEBUG: First initializer!\n    // DEBUG: Second initializer!\n    ```\n  \n    Afterwards we add a further initializer named `pre`, this time specifying\n    that it should run before the initializer named `first`:\n  \n    ```app/initializer/pre.js\n    import { debug } from '@ember/debug';\n  \n    export function initialize() {\n      debug('Pre initializer!');\n    }\n  \n    export default {\n      name: 'pre',\n      before: 'first',\n      initialize\n    };\n    ```\n  \n    ```bash\n    // DEBUG: Pre initializer!\n    // DEBUG: First initializer!\n    // DEBUG: Second initializer!\n    ```\n  \n    Finally we add an initializer named `post`, specifying it should run after\n    both the `first` and the `second` initializers:\n  \n    ```app/initializer/post.js\n    import { debug } from '@ember/debug';\n  \n    export function initialize() {\n      debug('Post initializer!');\n    }\n  \n    export default {\n      name: 'post',\n      after: ['first', 'second'],\n      initialize\n    };\n    ```\n  \n    ```bash\n    // DEBUG: Pre initializer!\n    // DEBUG: First initializer!\n    // DEBUG: Second initializer!\n    // DEBUG: Post initializer!\n    ```\n  \n    * `initialize` is a callback function that receives one argument,\n      `application`, on which you can operate.\n  \n    Example of using `application` to register an adapter:\n  \n    ```app/initializer/api-adapter.js\n    import ApiAdapter from '../utils/api-adapter';\n  \n    export function initialize(application) {\n      application.register('api-adapter:main', ApiAdapter);\n    }\n  \n    export default {\n      name: 'post',\n      after: ['first', 'second'],\n      initialize\n    };\n    ```\n  \n    @method initializer\n    @param initializer {Object}\n    @public\n  */\n  Engine.initializer = buildInitializerMethod('initializers', 'initializer');\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  \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  \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  \n    ```app/initializer/named-instance-initializer.js\n    import { debug } from '@ember/debug';\n  \n    export function initialize() {\n      debug('Running named-instance-initializer!');\n    }\n  \n    export default {\n      name: 'named-instance-initializer',\n      initialize\n    };\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  \n    * See Application.initializer for discussion on the usage of before\n    and after.\n  \n    Example instanceInitializer to preload data into the store.\n  \n    ```app/initializer/preload-data.js\n  \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  \n        // Grab the encoded data from the meta tag\n        userConfigEncoded = document.querySelector('head meta[name=app-user-config]').attr('content');\n  \n        // Unescape the text, then parse the resulting JSON into a real object\n        userConfig = JSON.parse(unescape(userConfigEncoded));\n  \n        // Lookup the store\n        store = application.lookup('service:store');\n  \n        // Push the encoded JSON into the store\n        store.pushPayload(userConfig);\n    }\n  \n    export default {\n      name: 'named-instance-initializer',\n      initialize\n    };\n    ```\n  \n    @method instanceInitializer\n    @param instanceInitializer\n    @public\n  */\n  Engine.instanceInitializer = buildInitializerMethod('instanceInitializers', 'instance initializer');\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.Enginer} namespace the namespace to look for classes\n    @return {*} the resolved value for a given lookup\n  */\n  function resolverFor(namespace) {\n    let ResolverClass = namespace.Resolver;\n    let props = {\n      namespace\n    };\n    return ResolverClass.create(props);\n  }\n  /** @internal */\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      // SAFETY: The superclass may be an Engine, we don't call unless we confirmed it was ok.\n      let superclass = this.superclass;\n      if (superclass[bucketName] !== undefined && superclass[bucketName] === this[bucketName]) {\n        let attrs = {\n          [bucketName]: Object.create(this[bucketName])\n        };\n        this.reopenClass(attrs);\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      let initializers = this[bucketName];\n      initializers[initializer.name] = initializer;\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    // Register the routing service...\n    registry.register('service:-routing', _internals.RoutingService);\n    // DEBUGGING\n    registry.register('resolver-for-debugging:main', registry.resolver, {\n      instantiate: false\n    });\n    registry.register('container-debug-adapter:main', _containerDebugAdapter.default);\n    registry.register('component-lookup:main', _views.ComponentLookup);\n  }\n  var _default = _exports.default = Engine;\n});","define(\"@ember/engine/instance\", [\"exports\", \"@ember/object\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/-internals/container\", \"@ember/-internals/utils\", \"@ember/engine/lib/engine-parent\", \"@ember/-internals/owner\", \"@ember/engine\"], function (_exports, _object, _runtime, _debug, _container, _utils, _engineParent, _owner, _engine) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/engine\n  */\n\n  class EngineInstance extends _object.default.extend(_runtime.RegistryProxyMixin, _runtime.ContainerProxyMixin) {\n    constructor() {\n      super(...arguments);\n      this._booted = false;\n      this._bootPromise = null;\n    }\n    /**\n     @private\n     @method setupRegistry\n     @param {Registry} registry\n     @param {BootOptions} options\n     */\n    // This is effectively an \"abstract\" method: it defines the contract a\n    // subclass (e.g. `ApplicationInstance`) must follow to implement this\n    // behavior, but an `EngineInstance` has no behavior of its own here.\n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    static setupRegistry(_registry, _options) {}\n    init(properties) {\n      super.init(properties);\n      // Ensure the guid gets setup for this instance\n      (0, _utils.guidFor)(this);\n      this.base ??= this.application;\n      // Create a per-instance registry that will use the application's registry\n      // as a fallback for resolving registrations.\n      let registry = this.__registry__ = new _container.Registry({\n        fallback: this.base.__registry__\n      });\n      // Create a per-instance container from the instance's registry\n      this.__container__ = registry.container({\n        owner: this\n      });\n      this._booted = false;\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      this._bootPromise = new _runtime.RSVP.Promise(resolve => {\n        resolve(this._bootSync(options));\n      });\n      return this._bootPromise;\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      (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    setupRegistry(options = this.__container__.lookup('-environment:main')) {\n      this.constructor.setupRegistry(this.__registry__, options);\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      // We overwrote this method from RegistryProxyMixin.\n      this.__registry__.unregister(fullName);\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      let ChildEngine = this.lookup(`engine:${name}`);\n      if (!ChildEngine) {\n        throw new Error(`You attempted to mount the engine '${name}', but it is not registered with its parent.`);\n      }\n      (true && !(ChildEngine instanceof _engine.default) && (0, _debug.assert)('expected an Engine', ChildEngine instanceof _engine.default));\n      let engineInstance = ChildEngine.buildInstance(options);\n      (0, _engineParent.setEngineParent)(engineInstance, this);\n      return engineInstance;\n    }\n    /**\n      Clone dependencies shared between an engine instance and its parent.\n         @private\n      @method cloneParentDependencies\n    */\n    cloneParentDependencies() {\n      const parent = (0, _engineParent.getEngineParent)(this);\n      (true && !(parent) && (0, _debug.assert)('expected parent', parent));\n      let registrations = ['route:basic', 'service:-routing'];\n      registrations.forEach(key => {\n        let registration = parent.resolveRegistration(key);\n        (true && !((0, _owner.isFactory)(registration)) && (0, _debug.assert)('expected registration to be a factory', (0, _owner.isFactory)(registration)));\n        this.register(key, registration);\n      });\n      let env = parent.lookup('-environment:main');\n      this.register('-environment:main', env, {\n        instantiate: false\n      });\n      // The type annotation forces TS to (a) validate that these match and (b)\n      // *notice* that they match, e.g. below on the `singletons.push()`.\n      let singletons = ['router:main', (0, _container.privatize)`-bucket-cache:main`, '-view-registry:main', `renderer:-dom`, 'service:-document'];\n      if (env['isInteractive']) {\n        singletons.push('event_dispatcher:main');\n      }\n      singletons.forEach(key => {\n        // SAFETY: We already expect this to be a singleton\n        let singleton = parent.lookup(key);\n        this.register(key, singleton, {\n          instantiate: false\n        });\n      });\n    }\n  }\n  var _default = _exports.default = EngineInstance;\n});","define(\"@ember/engine/lib/engine-parent\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.ENGINE_PARENT = void 0;\n  _exports.getEngineParent = getEngineParent;\n  _exports.setEngineParent = setEngineParent;\n  const ENGINE_PARENT = _exports.ENGINE_PARENT = 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  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  function setEngineParent(engine, parent) {\n    engine[ENGINE_PARENT] = parent;\n  }\n});","define(\"@ember/enumerable/index\", [\"exports\", \"@ember/object/mixin\"], function (_exports, _mixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const Enumerable = _mixin.default.create();\n  var _default = _exports.default = Enumerable;\n});","define(\"@ember/enumerable/mutable\", [\"exports\", \"@ember/enumerable\", \"@ember/object/mixin\"], function (_exports, _enumerable, _mixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const MutableEnumerable = _mixin.default.create(_enumerable.default);\n  var _default = _exports.default = MutableEnumerable;\n});","define(\"@ember/helper/index\", [\"exports\", \"@glimmer/manager\", \"@glimmer/runtime\", \"@ember/-internals/glimmer\"], function (_exports, _manager, _runtime, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.uniqueId = _exports.setHelperManager = _exports.invokeHelper = _exports.hash = _exports.get = _exports.fn = _exports.concat = _exports.capabilities = _exports.array = void 0;\n  /**\n  @module @ember/helper\n  */\n\n  /**\n    `capabilities` returns a capabilities configuration which can be used to modify\n    the behavior of the manager. Manager capabilities _must_ be provided using the\n    `capabilities` function, as the underlying implementation can change over time.\n  \n    The first argument to capabilities is a version string, which is the version of\n    Ember that the capabilities were defined in. Ember can add new versions at any\n    time, and these may have entirely different behaviors, but it will not remove\n    old versions until the next major version.\n  \n    ```js\n    capabilities('3.23');\n    ```\n  \n    The second argument is an object of capabilities and boolean values indicating\n    whether they are enabled or disabled.\n  \n    ```js\n    capabilities('3.23', {\n      hasValue: true,\n      hasDestructor: true,\n    });\n    ```\n  \n    If no value is specified, then the default value will be used.\n  \n    ### `3.23` capabilities\n  \n    #### `hasDestroyable`\n  \n    - Default value: false\n  \n    Determines if the helper has a destroyable to include in the destructor\n    hierarchy. If enabled, the `getDestroyable` hook will be called, and its result\n    will be associated with the destroyable parent block.\n  \n    #### `hasValue`\n  \n    - Default value: false\n  \n    Determines if the helper has a value which can be used externally. The helper's\n    `getValue` hook will be run whenever the value of the helper is accessed if this\n    capability is enabled.\n  \n    @method capabilities\n    @for @ember/helper\n    @static\n    @param {String} managerApiVersion The version of capabilities that are being used\n    @param options The capabilities values\n    @return {Capabilities} The capabilities object instance\n    @public\n  */\n  const capabilities = _exports.capabilities = _manager.helperCapabilities;\n  /**\n    Sets the helper manager for an object or function.\n  \n    ```js\n    setHelperManager((owner) => new ClassHelperManager(owner), Helper)\n    ```\n  \n    When a value is used as a helper in a template, the helper manager is looked up\n    on the object by walking up its prototype chain and finding the first helper\n    manager. This manager then receives the value and can create and manage an\n    instance of a helper from it. This provides a layer of indirection that allows\n    users to design high-level helper APIs, without Ember needing to worry about the\n    details. High-level APIs can be experimented with and iterated on while the\n    core of Ember helpers remains stable, and new APIs can be introduced gradually\n    over time to existing code bases.\n  \n    `setHelperManager` receives two arguments:\n  \n    1. A factory function, which receives the `owner` and returns an instance of a\n      helper manager.\n    2. A helper definition, which is the object or function to associate the factory function with.\n  \n    The first time the object is looked up, the factory function will be called to\n    create the helper manager. It will be cached, and in subsequent lookups the\n    cached helper manager will be used instead.\n  \n    Only one helper manager is guaranteed to exist per `owner` and per usage of\n    `setHelperManager`, so many helpers will end up using the same instance of the\n    helper manager. As such, you should only store state that is related to the\n    manager itself. If you want to store state specific to a particular helper\n    definition, you should assign a unique helper manager to that helper. In\n    general, most managers should either be stateless, or only have the `owner` they\n    were created with as state.\n  \n    Helper managers must fulfill the following interface (This example uses\n    [TypeScript interfaces](https://www.typescriptlang.org/docs/handbook/interfaces.html)\n    for precision, you do not need to write helper managers using TypeScript):\n  \n    ```ts\n    interface HelperManager<HelperStateBucket> {\n      capabilities: HelperCapabilities;\n  \n      createHelper(definition: HelperDefinition, args: TemplateArgs): HelperStateBucket;\n  \n      getValue?(bucket: HelperStateBucket): unknown;\n  \n      runEffect?(bucket: HelperStateBucket): void;\n  \n      getDestroyable?(bucket: HelperStateBucket): object;\n    }\n    ```\n  \n    The capabilities property _must_ be provided using the `capabilities()` function\n    imported from the same module as `setHelperManager`:\n  \n    ```js\n    import { capabilities } from '@ember/helper';\n  \n    class MyHelperManager {\n      capabilities = capabilities('3.21.0', { hasValue: true });\n  \n      // ...snip...\n    }\n    ```\n  \n    Below is a description of each of the methods on the interface and their\n    functions.\n  \n    #### `createHelper`\n  \n    `createHelper` is a required hook on the HelperManager interface. The hook is\n    passed the definition of the helper that is currently being created, and is\n    expected to return a _state bucket_. This state bucket is what represents the\n    current state of the helper, and will be passed to the other lifecycle hooks at\n    appropriate times. It is not necessarily related to the definition of the\n    helper itself - for instance, you could return an object _containing_ an\n    instance of the helper:\n  \n    ```js\n    class MyManager {\n      createHelper(Definition, args) {\n        return {\n          instance: new Definition(args);\n        };\n      }\n    }\n    ```\n  \n    This allows the manager to store metadata that it doesn't want to expose to the\n    user.\n  \n    This hook is _not_ autotracked - changes to tracked values used within this hook\n    will _not_ result in a call to any of the other lifecycle hooks. This is because\n    it is unclear what should happen if it invalidates, and rather than make a\n    decision at this point, the initial API is aiming to allow as much expressivity\n    as possible. This could change in the future with changes to capabilities and\n    their behaviors.\n  \n    If users do want to autotrack some values used during construction, they can\n    either create the instance of the helper in `runEffect` or `getValue`, or they\n    can use the `cache` API to autotrack the `createHelper` hook themselves. This\n    provides maximum flexibility and expressiveness to manager authors.\n  \n    This hook has the following timing semantics:\n  \n    **Always**\n    - called as discovered during DOM construction\n    - called in definition order in the template\n  \n    #### `getValue`\n  \n    `getValue` is an optional hook that should return the value of the helper. This\n    is the value that is returned from the helper and passed into the template.\n  \n    This hook is called when the value is requested from the helper (e.g. when the\n    template is rendering and the helper value is needed). The hook is autotracked,\n    and will rerun whenever any tracked values used inside of it are updated.\n    Otherwise it does not rerun.\n  \n    > Note: This means that arguments which are not _consumed_ within the hook will\n    > not trigger updates.\n  \n    This hook is only called for helpers with the `hasValue` capability enabled.\n    This hook has the following timing semantics:\n  \n    **Always**\n    - called the first time the helper value is requested\n    - called after autotracked state has changed\n  \n    **Never**\n    - called if the `hasValue` capability is disabled\n  \n    #### `runEffect`\n  \n    `runEffect` is an optional hook that should run the effect that the helper is\n    applying, setting it up or updating it.\n  \n    This hook is scheduled to be called some time after render and prior to paint.\n    There is not a guaranteed, 1-to-1 relationship between a render pass and this\n    hook firing. For instance, multiple render passes could occur, and the hook may\n    only trigger once. It may also never trigger if it was dirtied in one render\n    pass and then destroyed in the next.\n  \n    The hook is autotracked, and will rerun whenever any tracked values used inside\n    of it are updated. Otherwise it does not rerun.\n  \n    The hook is also run during a time period where state mutations are _disabled_\n    in Ember. Any tracked state mutation will throw an error during this time,\n    including changes to tracked properties, changes made using `Ember.set`, updates\n    to computed properties, etc. This is meant to prevent infinite rerenders and\n    other antipatterns.\n  \n    This hook is only called for helpers with the `hasScheduledEffect` capability\n    enabled. This hook is also not called in SSR currently, though this could be\n    added as a capability in the future. It has the following timing semantics:\n  \n    **Always**\n    - called after the helper was first created, if the helper has not been\n      destroyed since creation\n    - called after autotracked state has changed, if the helper has not been\n      destroyed during render\n  \n    **Never**\n    - called if the `hasScheduledEffect` capability is disabled\n    - called in SSR\n  \n    #### `getDestroyable`\n  \n    `getDestroyable` is an optional hook that users can use to register a\n    destroyable object for the helper. This destroyable will be registered to the\n    containing block or template parent, and will be destroyed when it is destroyed.\n    See the [Destroyables RFC](https://github.com/emberjs/rfcs/blob/master/text/0580-destroyables.md)\n    for more details.\n  \n    `getDestroyable` is only called if the `hasDestroyable` capability is enabled.\n  \n    This hook has the following timing semantics:\n  \n    **Always**\n    - called immediately after the `createHelper` hook is called\n  \n    **Never**\n    - called if the `hasDestroyable` capability is disabled\n  \n    @method setHelperManager\n    @for @ember/helper\n    @static\n    @param {Function} factory A factory function which receives an optional owner, and returns a helper manager\n    @param {object} definition The definition to associate the manager factory with\n    @return {object} The definition passed into setHelperManager\n    @public\n  */\n  const setHelperManager = _exports.setHelperManager = _manager.setHelperManager;\n  /**\n    The `invokeHelper` function can be used to create a helper instance in\n    JavaScript.\n  \n    To access a helper's value you have to use `getValue` from\n    `@glimmer/tracking/primitives/cache`.\n  \n    ```js\n    // app/components/data-loader.js\n    import Component from '@glimmer/component';\n    import { getValue } from '@glimmer/tracking/primitives/cache';\n    import Helper from '@ember/component/helper';\n    import { invokeHelper } from '@ember/helper';\n  \n    class PlusOne extends Helper {\n      compute([number]) {\n        return number + 1;\n      }\n    }\n  \n    export default class PlusOneComponent extends Component {\n      plusOne = invokeHelper(this, PlusOne, () => {\n        return {\n          positional: [this.args.number],\n        };\n      });\n  \n      get value() {\n        return getValue(this.plusOne);\n      }\n    }\n    ```\n    ```js\n    {{this.value}}\n    ```\n  \n    It receives three arguments:\n  \n    * `context`: The parent context of the helper. When the parent is torn down and\n      removed, the helper will be as well.\n    * `definition`: The definition of the helper.\n    * `computeArgs`: An optional function that produces the arguments to the helper.\n      The function receives the parent context as an argument, and must return an\n      object with a `positional` property that is an array and/or a `named`\n      property that is an object.\n  \n    And it returns a Cache instance that contains the most recent value of the\n    helper. You can access the helper using `getValue()` like any other cache. The\n    cache is also destroyable, and using the `destroy()` function on it will cause\n    the helper to be torn down.\n  \n    Note that using `getValue()` on helpers that have scheduled effects will not\n    trigger the effect early. Effects will continue to run at their scheduled time.\n  \n    @method invokeHelper\n    @for @ember/helper\n    @static\n    @param {object} context The parent context of the helper\n    @param {object} definition The helper definition\n    @param {Function} computeArgs An optional function that produces args\n    @returns\n    @public\n  */\n  const invokeHelper = _exports.invokeHelper = _runtime.invokeHelper;\n  // SAFETY: we need to provide interfaces that Glint can declaration-merge with\n  // to provide appropriate completions. In each case, the imported item is\n  // currently typed only as `object`, and we are replacing it with a similarly\n  // low-information interface type: these are empty objects which are simply able\n  // to be distinguished so that Glint can provide the relevant extensions.\n  /* eslint-disable @typescript-eslint/no-empty-interface */\n  /**\n   * Using the `{{hash}}` helper, you can pass objects directly from the template\n   * as an argument to your components.\n   *\n   * ```\n   * import { hash } from '@ember/helper';\n   *\n   * <template>\n   *   {{#each-in (hash givenName='Jen' familyName='Weber') as |key value|}}\n   *     <p>{{key}}: {{value}}</p>\n   *   {{/each-in}}\n   * </template>\n   * ```\n   *\n   * **NOTE:** this example uses the experimental `<template>` feature, which is\n   * the only place you need to import `hash` to use it (it is a built-in when\n   * writing standalone `.hbs` files).\n   */\n  const hash = _exports.hash = _runtime.hash;\n  /**\n   * Using the `{{array}}` helper, you can pass arrays directly from the template\n   * as an argument to your components.\n   *\n   * ```js\n   * import { array } from '@ember/helper';\n   *\n   * <template>\n   *   <ul>\n   *   {{#each (array 'Tom Dale' 'Yehuda Katz' @anotherPerson) as |person|}}\n   *     <li>{{person}}</li>\n   *   {{/each}}\n   *   </ul>\n   * </template>\n   *\n   * **NOTE:** this example uses the experimental `<template>` feature, which is\n   * the only place you need to import `array` to use it (it is a built-in when\n   * writing standalone `.hbs` files).\n   * ```\n   */\n  const array = _exports.array = _runtime.array;\n  /**\n   * The `{{concat}}` helper makes it easy to dynamically send a number of\n   * parameters to a component or helper as a single parameter in the format of a\n   * concatenated string.\n   *\n   * For example:\n   *\n   * ```js\n   * import { concat } from '@ember/helper';\n   *\n   * <template>\n   *   {{get @foo (concat \"item\" @index)}}\n   * </template>\n   * ```\n   *\n   * This will display the result of `@foo.item1` when `index` is `1`, and\n   * `this.foo.item2` when `index` is `2`, etc.\n   *\n   * **NOTE:** this example uses the experimental `<template>` feature, which is\n   * the only place you need to import `concat` to use it (it is a built-in when\n   * writing standalone `.hbs` files).\n   */\n  const concat = _exports.concat = _runtime.concat;\n  /**\n   * The `{{get}}` helper makes it easy to dynamically look up a property on an\n   * object or an element in an array. The second argument to `{{get}}` can be a\n   * string or a number, depending on the object being accessed.\n   *\n   * To access a property on an object with a string key:\n   *\n   * ```js\n   * import { get } from '@ember/helper';\n   *\n   * <template>\n   *   {{get @someObject \"objectKey\"}}\n   * </template>\n   * ```\n   *\n   * To access the first element in an array:\n   *\n   * ```js\n   * import { get } from '@ember/helper';\n   *\n   * <template>\n   *   {{get @someArray 0}}\n   * </template>\n   * ```\n   *\n   * To access a property on an object with a dynamic key:\n   *\n   * ```js\n   * import { get } from '@ember/helper';\n   *\n   * <template>\n   *   {{get @address @field}}\n   * </template>\n   * ```\n   *\n   * This will display the result of `@foo.item1` when `index` is `1`, and\n   * `this.foo.item2` when `index` is `2`, etc.\n   *\n   * **NOTE:** this example uses the experimental `<template>` feature, which is\n   * the only place you need to import `concat` to use it (it is a built-in when\n   * writing standalone `.hbs` files).\n   */\n  const get = _exports.get = _runtime.get;\n  /**\n   * `{{fn}}` is a helper that receives a function and some arguments, and returns\n   * a new function that combines. This allows you to pass parameters along to\n   * functions in your templates:\n   *\n   * ```js\n   * import { fn } from '@ember/helper';\n   *\n   * function showAlert(message) {\n   *   alert(`The message is: '${message}'`);\n   * }\n   *\n   * <template>\n   *   <button type=\"button\" {{on \"click\" (fn showAlert \"Hello!\")}}>\n   *     Click me!\n   *   </button>\n   * </template>\n   * ```\n   */\n  const fn = _exports.fn = _runtime.fn;\n  /**\n   * Use the {{uniqueId}} helper to generate a unique ID string suitable for use as\n   * an ID attribute in the DOM.\n   *\n   * Each invocation of {{uniqueId}} will return a new, unique ID string.\n   * You can use the `let` helper to create an ID that can be reused within a template.\n   *\n   * ```js\n   * import { uniqueId } from '@ember/helper';\n   *\n   * <template>\n   *   {{#let (uniqueId) as |emailId|}}\n   *     <label for={{emailId}}>Email address</label>\n   *     <input id={{emailId}} type=\"email\" />\n   *   {{/let}}\n   * </template>\n   * ```\n   */\n  const uniqueId = _exports.uniqueId = _glimmer.uniqueId;\n  /* eslint-enable @typescript-eslint/no-empty-interface */\n});","define(\"@ember/instrumentation/index\", [\"exports\", \"@ember/-internals/environment\", \"@ember/debug\"], function (_exports, _environment, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._instrumentStart = _instrumentStart;\n  _exports.flaggedInstrument = flaggedInstrument;\n  _exports.instrument = instrument;\n  _exports.reset = reset;\n  _exports.subscribe = subscribe;\n  _exports.subscribers = void 0;\n  _exports.unsubscribe = unsubscribe;\n  /* eslint no-console:off */\n  /* global console */\n\n  /**\n  @module @ember/instrumentation\n  @private\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  let subscribers = _exports.subscribers = [];\n  let cache = {};\n  function populateListeners(name) {\n    let listeners = [];\n    for (let subscriber of subscribers) {\n      if (subscriber.regex.test(name)) {\n        listeners.push(subscriber.object);\n      }\n    }\n    cache[name] = listeners;\n    return listeners;\n  }\n  const time = (() => {\n    let perf = 'undefined' !== typeof window ? window.performance || {} : {};\n    let fn = perf.now || perf.mozNow || perf.webkitNow || perf.msNow || perf.oNow;\n    return fn ? fn.bind(perf) : Date.now;\n  })();\n  function isCallback(value) {\n    return typeof value === 'function';\n  }\n  function instrument(name, p1, p2, p3) {\n    let _payload;\n    let callback;\n    let binding;\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    }\n    // fast path\n    if (subscribers.length === 0) {\n      return callback.call(binding);\n    }\n    // avoid allocating the payload in fast path\n    let payload = _payload || {};\n    let finalizer = _instrumentStart(name, () => payload);\n    if (finalizer === NOOP) {\n      return callback.call(binding);\n    } else {\n      return withFinalizer(callback, finalizer, payload, binding);\n    }\n  }\n  function flaggedInstrument(_name, _payload, callback) {\n    return callback();\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  function NOOP() {}\n  function _instrumentStart(name, payloadFunc, payloadArg) {\n    if (subscribers.length === 0) {\n      return NOOP;\n    }\n    let listeners = cache[name];\n    if (!listeners) {\n      listeners = populateListeners(name);\n    }\n    if (listeners.length === 0) {\n      return NOOP;\n    }\n    let payload = payloadFunc(payloadArg);\n    let STRUCTURED_PROFILE = _environment.ENV.STRUCTURED_PROFILE;\n    let timeName;\n    if (STRUCTURED_PROFILE) {\n      timeName = `${name}: ${payload.object}`;\n      console.time(timeName);\n    }\n    let beforeValues = [];\n    let timestamp = time();\n    for (let listener of listeners) {\n      beforeValues.push(listener.before(name, timestamp, payload));\n    }\n    const constListeners = listeners;\n    return function _instrumentEnd() {\n      let timestamp = time();\n      for (let i = 0; i < constListeners.length; i++) {\n        let listener = constListeners[i];\n        (true && !(listener) && (0, _debug.assert)('has listener', listener)); // Iterating over values\n        if (typeof listener.after === 'function') {\n          listener.after(name, timestamp, payload, beforeValues[i]);\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  function subscribe(pattern, object) {\n    let paths = pattern.split('.');\n    let regexes = [];\n    for (let path of paths) {\n      if (path === '*') {\n        regexes.push('[^\\\\.]*');\n      } else {\n        regexes.push(path);\n      }\n    }\n    let regex = regexes.join('\\\\.');\n    regex = `${regex}(\\\\..*)?`;\n    let 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  function unsubscribe(subscriber) {\n    let index = 0;\n    for (let i = 0; i < subscribers.length; i++) {\n      if (subscribers[i] === subscriber) {\n        index = i;\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  function reset() {\n    subscribers.length = 0;\n    cache = {};\n  }\n});","define(\"@ember/modifier/index\", [\"exports\", \"@glimmer/runtime\", \"@glimmer/manager\", \"@ember/-internals/glimmer\"], function (_exports, _runtime, _manager, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"capabilities\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.modifierCapabilities;\n    }\n  });\n  _exports.setModifierManager = _exports.on = void 0;\n  // SAFETY: at the time of writing, the cast here is from `{}` to `OnModifier`,\n  // which makes it strictly safer to use outside this module because it is not\n  // usable as \"any non-null item\", which is what `{}` means, without loss of any\n  // information from the type itself.\n  const on = _exports.on = _runtime.on;\n  // NOTE: this uses assignment to *require* that the `glimmerSetModifierManager`\n  // is legally assignable to this type, i.e. that variance is properly upheld.\n  const setModifierManager = _exports.setModifierManager = _manager.setModifierManager;\n});","define(\"@ember/object/-internals\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/object\"], function (_exports, _metal, _utils, _debug, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.FrameworkObject = void 0;\n  Object.defineProperty(_exports, \"cacheFor\", {\n    enumerable: true,\n    get: function () {\n      return _metal.getCachedValueFor;\n    }\n  });\n  Object.defineProperty(_exports, \"guidFor\", {\n    enumerable: true,\n    get: function () {\n      return _utils.guidFor;\n    }\n  });\n  var _a;\n  let FrameworkObject = _exports.FrameworkObject = class FrameworkObject extends _object.default {};\n  if (true /* DEBUG */) {\n    const INIT_WAS_CALLED = Symbol('INIT_WAS_CALLED');\n    let ASSERT_INIT_WAS_CALLED = (0, _utils.symbol)('ASSERT_INIT_WAS_CALLED');\n    _exports.FrameworkObject = FrameworkObject = class DebugFrameworkObject extends _object.default {\n      constructor() {\n        super(...arguments);\n        this[_a] = false;\n      }\n      init(properties) {\n        super.init(properties);\n        this[INIT_WAS_CALLED] = true;\n      }\n      [(_a = INIT_WAS_CALLED, ASSERT_INIT_WAS_CALLED)]() {\n        (true && !(this[INIT_WAS_CALLED]) && (0, _debug.assert)(`You must call \\`super.init(...arguments);\\` or \\`this._super(...arguments)\\` when overriding \\`init\\` on a framework object. Please update ${this} to call \\`super.init(...arguments);\\` from \\`init\\` when using native classes or \\`this._super(...arguments)\\` when using \\`EmberObject.extend()\\`.`, this[INIT_WAS_CALLED]));\n      }\n    };\n    (0, _metal.addListener)(FrameworkObject.prototype, 'init', null, ASSERT_INIT_WAS_CALLED);\n  }\n});","define(\"@ember/object/compat\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\", \"@glimmer/validator\"], function (_exports, _metal, _debug, _validator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.dependentKeyCompat = dependentKeyCompat;\n  let wrapGetterSetter = function (target, key, desc) {\n    let {\n      get: originalGet\n    } = desc;\n    (true && !((0, _metal.descriptorForProperty)(target, key) === undefined) && (0, _debug.assert)('You attempted to use @dependentKeyCompat on a property that already has been decorated with either @computed or @tracked. @dependentKeyCompat is only necessary for native getters that are not decorated with @computed.', (0, _metal.descriptorForProperty)(target, key) === undefined));\n    if (originalGet !== undefined) {\n      desc.get = function () {\n        let propertyTag = (0, _validator.tagFor)(this, key);\n        let ret;\n        let tag = (0, _validator.track)(() => {\n          ret = originalGet.call(this);\n        });\n        (0, _validator.updateTag)(propertyTag, tag);\n        (0, _validator.consumeTag)(tag);\n        return ret;\n      };\n    }\n    return desc;\n  };\n  function dependentKeyCompat(...args) {\n    if ((0, _metal.isElementDescriptor)(args)) {\n      let [target, key, desc] = args;\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    } else {\n      const desc = args[0];\n      (true && !((value => {\n        if (value && typeof value === 'object') {\n          let cast = value;\n          return (cast.configurable === undefined || cast.configurable === false || cast.configurable === true) && (cast.enumerable === undefined || cast.enumerable === false || cast.enumerable === true) && (cast.writable === undefined || cast.writable === false || cast.writable === true) && (cast.get === undefined || typeof cast.get === 'function') && (cast.set === undefined || typeof cast.set === 'function');\n        }\n        return false;\n      })(desc)) && (0, _debug.assert)('expected valid PropertyDescriptor', (value => {\n        if (value && typeof value === 'object') {\n          let cast = value;\n          return (cast.configurable === undefined || cast.configurable === false || cast.configurable === true) && (cast.enumerable === undefined || cast.enumerable === false || cast.enumerable === true) && (cast.writable === undefined || cast.writable === false || cast.writable === true) && (cast.get === undefined || typeof cast.get === 'function') && (cast.set === undefined || typeof cast.set === 'function');\n        }\n        return false;\n      })(desc)));\n      let 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 && !(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', typeof desc.get === 'function' || typeof desc.set === 'function'));\n        return wrapGetterSetter(target, key, desc);\n      };\n      (0, _metal.setClassicDecorator)(decorator);\n      return decorator;\n    }\n  }\n  (0, _metal.setClassicDecorator)(dependentKeyCompat);\n});","define(\"@ember/object/computed\", [\"exports\", \"@ember/-internals/metal\", \"@ember/object/lib/computed/computed_macros\", \"@ember/object/lib/computed/reduce_computed_macros\"], function (_exports, _metal, _computed_macros, _reduce_computed_macros) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"alias\", {\n    enumerable: true,\n    get: function () {\n      return _metal.alias;\n    }\n  });\n  Object.defineProperty(_exports, \"and\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.and;\n    }\n  });\n  Object.defineProperty(_exports, \"bool\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.bool;\n    }\n  });\n  Object.defineProperty(_exports, \"collect\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.collect;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _metal.ComputedProperty;\n    }\n  });\n  Object.defineProperty(_exports, \"deprecatingAlias\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.deprecatingAlias;\n    }\n  });\n  Object.defineProperty(_exports, \"empty\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.empty;\n    }\n  });\n  Object.defineProperty(_exports, \"equal\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.equal;\n    }\n  });\n  Object.defineProperty(_exports, \"expandProperties\", {\n    enumerable: true,\n    get: function () {\n      return _metal.expandProperties;\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, \"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, \"intersect\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.intersect;\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, \"map\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.map;\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, \"match\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.match;\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, \"min\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.min;\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, \"notEmpty\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.notEmpty;\n    }\n  });\n  Object.defineProperty(_exports, \"oneWay\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.oneWay;\n    }\n  });\n  Object.defineProperty(_exports, \"or\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.or;\n    }\n  });\n  Object.defineProperty(_exports, \"readOnly\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.readOnly;\n    }\n  });\n  Object.defineProperty(_exports, \"reads\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.oneWay;\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, \"sort\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.sort;\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, \"union\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.union;\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});","define(\"@ember/object/core\", [\"exports\", \"@ember/-internals/container\", \"@ember/-internals/owner\", \"@ember/-internals/utils\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/object/mixin\", \"@ember/-internals/runtime\", \"@ember/array\", \"@ember/debug\", \"@glimmer/destroyable\", \"@glimmer/owner\"], function (_exports, _container, _owner, _utils, _meta, _metal, _mixin, _runtime, _array, _debug, _destroyable, _owner2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    @module @ember/object/core\n  */\n\n  function hasSetUnknownProperty(val) {\n    return typeof val === 'object' && val !== null && typeof val.setUnknownProperty === 'function';\n  }\n  function hasToStringExtension(val) {\n    return typeof val === 'object' && val !== null && typeof val.toStringExtension === 'function';\n  }\n  const reopen = _mixin.default.prototype.reopen;\n  const wasApplied = new WeakSet();\n  const prototypeMixinMap = new WeakMap();\n  const initCalled = true /* DEBUG */ ? new WeakSet() : undefined; // only used in debug builds to enable the proxy trap\n  const destroyCalled = new Set();\n  function ensureDestroyCalled(instance) {\n    if (!destroyCalled.has(instance)) {\n      instance.destroy();\n    }\n  }\n  function initialize(obj, properties) {\n    let m = (0, _meta.meta)(obj);\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 _mixin.default)) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _mixin.default)));\n      let concatenatedProperties = obj.concatenatedProperties;\n      let mergedProperties = obj.mergedProperties;\n      let keyNames = Object.keys(properties);\n      for (let keyName of keyNames) {\n        // SAFETY: this cast as a Record is safe because all object types can be\n        // indexed in JS, and we explicitly type it as returning `unknown`, so the\n        // result *must* be checked below.\n        let 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' && _runtime.ActionHandler.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' && _runtime.ActionHandler.detect(obj))));\n        let possibleDesc = (0, _metal.descriptorForProperty)(obj, keyName, m);\n        let isDescriptor = possibleDesc !== undefined;\n        if (!isDescriptor) {\n          if (concatenatedProperties !== undefined && concatenatedProperties.length > 0 && concatenatedProperties.includes(keyName)) {\n            let baseValue = obj[keyName];\n            if (baseValue) {\n              value = (0, _array.makeArray)(baseValue).concat(value);\n            } else {\n              value = (0, _array.makeArray)(value);\n            }\n          }\n          if (mergedProperties !== undefined && mergedProperties.length > 0 && mergedProperties.includes(keyName)) {\n            let baseValue = obj[keyName];\n            value = Object.assign({}, baseValue, value);\n          }\n        }\n        if (isDescriptor) {\n          possibleDesc.set(obj, keyName, value);\n        } else if (hasSetUnknownProperty(obj) && !(keyName in obj)) {\n          obj.setUnknownProperty(keyName, value);\n        } else {\n          if (true /* DEBUG */) {\n            (0, _metal.defineProperty)(obj, keyName, null, value, m); // setup mandatory setter\n          } else {\n            obj[keyName] = value;\n          }\n        }\n      }\n    }\n    // using DEBUG here to avoid the extraneous variable when not needed\n    if (true /* DEBUG */) {\n      initCalled.add(obj);\n    }\n    obj.init(properties);\n    m.unsetInitializing();\n    let observerEvents = m.observerEvents();\n    if (observerEvents !== undefined) {\n      for (let i = 0; i < observerEvents.length; i++) {\n        (0, _metal.activateObserver)(obj, observerEvents[i].event, observerEvents[i].sync);\n      }\n    }\n    (0, _metal.sendEvent)(obj, 'init', undefined, undefined, m);\n  }\n  class CoreObject {\n    constructor(owner) {\n      this[_owner2.OWNER] = owner;\n      // prepare prototype...\n      this.constructor.proto();\n      let self;\n      if (true /* DEBUG */ && (0, _metal.hasUnknownProperty)(this)) {\n        let 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        self = new Proxy(this, {\n          get(target, property, receiver) {\n            if (property === _metal.PROXY_CONTENT) {\n              return target;\n            } else if (\n            // 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            let value = target.unknownProperty.call(receiver, property);\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      } else {\n        self = this;\n      }\n      const destroyable = self;\n      (0, _destroyable.registerDestructor)(self, ensureDestroyCalled, true);\n      (0, _destroyable.registerDestructor)(self, () => destroyable.willDestroy());\n      // disable chains\n      let m = (0, _meta.meta)(self);\n      m.setInitializing();\n      // only return when in debug builds and `self` is the proxy created above\n      if (true /* DEBUG */ && self !== this) {\n        return self;\n      }\n    }\n    reopen(...args) {\n      (0, _mixin.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 `Component`\n      from `@ember/component`, be sure to call `this._super(...arguments)`\n      in your `init` declaration!\n      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    init(_properties) {}\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 `Component` from `@ember/component`.\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      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      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    get isDestroyed() {\n      return (0, _destroyable.isDestroyed)(this);\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    get isDestroying() {\n      return (0, _destroyable.isDestroying)(this);\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    destroy() {\n      // Used to ensure that manually calling `.destroy()` does not immediately call destroy again\n      destroyCalled.add(this);\n      try {\n        (0, _destroyable.destroy)(this);\n      } finally {\n        destroyCalled.delete(this);\n      }\n      return this;\n    }\n    /**\n      Override to implement teardown.\n         @method willDestroy\n      @public\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    toString() {\n      let extension = hasToStringExtension(this) ? `:${this.toStringExtension()}` : '';\n      return `<${(0, _container.getFactoryFor)(this) || '(unknown)'}:${(0, _utils.guidFor)(this)}${extension}>`;\n    }\n    static extend(...mixins) {\n      let Class = class extends this {};\n      reopen.apply(Class.PrototypeMixin, mixins);\n      return Class;\n    }\n    static create(...args) {\n      let props = args[0];\n      let instance;\n      if (props !== undefined) {\n        instance = new this((0, _owner.getOwner)(props));\n        // TODO(SAFETY): at present, we cannot actually rely on this being set,\n        // because a number of acceptance tests are (incorrectly? Unclear!)\n        // relying on the ability to run through this path with `factory` being\n        // `undefined`. It's *possible* that actually means that the type for\n        // `setFactoryFor()` should allow `undefined`, but we typed it the other\n        // way for good reason! Accordingly, this *casts* `factory`, and the\n        // commented-out `assert()` is here in the hope that we can enable it\n        // after addressing tests *or* updating the call signature here.\n        let factory = (0, _container.getFactoryFor)(props);\n        // assert(`missing factory when creating object ${instance}`, factory !== undefined);\n        (0, _container.setFactoryFor)(instance, factory);\n      } else {\n        instance = new this();\n      }\n      if (args.length <= 1) {\n        initialize(instance, props);\n      } else {\n        initialize(instance, flattenProps.apply(this, args));\n      }\n      // SAFETY: The `initialize` call is responsible to merge the prototype chain\n      // so that this holds.\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    static reopen(...args) {\n      this.willReopen();\n      reopen.apply(this.PrototypeMixin, args);\n      return this;\n    }\n    static willReopen() {\n      let p = this.prototype;\n      if (wasApplied.has(p)) {\n        wasApplied.delete(p);\n        // 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        if (prototypeMixinMap.has(this)) {\n          prototypeMixinMap.set(this, _mixin.default.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    static reopenClass(...mixins) {\n      (0, _mixin.applyMixin)(this, mixins);\n      return this;\n    }\n    static detect(obj) {\n      if ('function' !== typeof obj) {\n        return false;\n      }\n      while (obj) {\n        if (obj === this) {\n          return true;\n        }\n        obj = obj.superclass;\n      }\n      return false;\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    static metaForProperty(key) {\n      let proto = this.proto(); // ensure prototype is initialized\n      let 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    static eachComputedProperty(callback, binding = this) {\n      this.proto(); // ensure prototype is initialized\n      let empty = {};\n      (0, _meta.meta)(this.prototype).forEachDescriptors((name, descriptor) => {\n        if (descriptor.enumerable) {\n          let meta = descriptor._meta || empty;\n          callback.call(binding, name, meta);\n        }\n      });\n    }\n    static get PrototypeMixin() {\n      let prototypeMixin = prototypeMixinMap.get(this);\n      if (prototypeMixin === undefined) {\n        prototypeMixin = _mixin.default.create();\n        prototypeMixin.ownerConstructor = this;\n        prototypeMixinMap.set(this, prototypeMixin);\n      }\n      return prototypeMixin;\n    }\n    static get superclass() {\n      let c = Object.getPrototypeOf(this);\n      return c !== Function.prototype ? c : undefined;\n    }\n    static proto() {\n      let p = this.prototype;\n      if (!wasApplied.has(p)) {\n        wasApplied.add(p);\n        let parent = this.superclass;\n        if (parent) {\n          parent.proto();\n        }\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        if (prototypeMixinMap.has(this)) {\n          this.PrototypeMixin.apply(p);\n        }\n      }\n      return p;\n    }\n    static toString() {\n      return `<${(0, _container.getFactoryFor)(this) || '(unknown)'}:constructor>`;\n    }\n  }\n  CoreObject.isClass = true;\n  CoreObject.isMethod = false;\n  function flattenProps(...props) {\n    let initProperties = {};\n    for (let properties of props) {\n      (true && !(!(properties instanceof _mixin.default)) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _mixin.default)));\n      let keyNames = Object.keys(properties);\n      for (let j = 0, k = keyNames.length; j < k; j++) {\n        let keyName = keyNames[j];\n        let value = properties[keyName];\n        initProperties[keyName] = value;\n      }\n    }\n    return initProperties;\n  }\n  if (true /* DEBUG */) {\n    /**\n      Provides lookup-time type validation for injected properties.\n         @private\n      @method _onLookup\n    */\n    CoreObject._onLookup = function injectedPropertyAssertion(debugContainerKey) {\n      let [type] = debugContainerKey.split(':');\n      let proto = this.proto();\n      for (let key in proto) {\n        let desc = (0, _metal.descriptorForProperty)(proto, key);\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    CoreObject._lazyInjections = function () {\n      let injections = {};\n      let proto = this.proto();\n      let key;\n      let desc;\n      for (key in proto) {\n        desc = (0, _metal.descriptorForProperty)(proto, key);\n        if (desc && _metal.DEBUG_INJECTION_FUNCTIONS.has(desc._getter)) {\n          let {\n            namespace,\n            source,\n            type,\n            name\n          } = _metal.DEBUG_INJECTION_FUNCTIONS.get(desc._getter);\n          injections[key] = {\n            namespace,\n            source,\n            specifier: `${type}:${name || key}`\n          };\n        }\n      }\n      return injections;\n    };\n  }\n  var _default = _exports.default = CoreObject;\n});","define(\"@ember/object/evented\", [\"exports\", \"@ember/-internals/metal\", \"@ember/object/mixin\"], function (_exports, _metal, _mixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  Object.defineProperty(_exports, \"on\", {\n    enumerable: true,\n    get: function () {\n      return _metal.on;\n    }\n  });\n  const Evented = _mixin.default.create({\n    on(name, target, method) {\n      (0, _metal.addListener)(this, name, target, method);\n      return this;\n    },\n    one(name, target, method) {\n      (0, _metal.addListener)(this, name, target, method, true);\n      return this;\n    },\n    trigger(name, ...args) {\n      (0, _metal.sendEvent)(this, name, args);\n    },\n    off(name, target, method) {\n      (0, _metal.removeListener)(this, name, target, method);\n      return this;\n    },\n    has(name) {\n      return (0, _metal.hasListeners)(this, name);\n    }\n  });\n  var _default = _exports.default = Evented;\n});","define(\"@ember/object/events\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"addListener\", {\n    enumerable: true,\n    get: function () {\n      return _metal.addListener;\n    }\n  });\n  Object.defineProperty(_exports, \"removeListener\", {\n    enumerable: true,\n    get: function () {\n      return _metal.removeListener;\n    }\n  });\n  Object.defineProperty(_exports, \"sendEvent\", {\n    enumerable: true,\n    get: function () {\n      return _metal.sendEvent;\n    }\n  });\n});","define(\"@ember/object/index\", [\"exports\", \"@ember/debug\", \"@ember/-internals/environment\", \"@ember/-internals/metal\", \"@ember/-internals/container\", \"@ember/-internals/utils\", \"@ember/object/core\", \"@ember/object/observable\"], function (_exports, _debug, _environment, _metal, _container, _utils, _core, _observable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.action = action;\n  Object.defineProperty(_exports, \"computed\", {\n    enumerable: true,\n    get: function () {\n      return _metal.computed;\n    }\n  });\n  _exports.default = void 0;\n  Object.defineProperty(_exports, \"defineProperty\", {\n    enumerable: true,\n    get: function () {\n      return _metal.defineProperty;\n    }\n  });\n  Object.defineProperty(_exports, \"get\", {\n    enumerable: true,\n    get: function () {\n      return _metal.get;\n    }\n  });\n  Object.defineProperty(_exports, \"getProperties\", {\n    enumerable: true,\n    get: function () {\n      return _metal.getProperties;\n    }\n  });\n  Object.defineProperty(_exports, \"notifyPropertyChange\", {\n    enumerable: true,\n    get: function () {\n      return _metal.notifyPropertyChange;\n    }\n  });\n  _exports.observer = observer;\n  Object.defineProperty(_exports, \"set\", {\n    enumerable: true,\n    get: function () {\n      return _metal.set;\n    }\n  });\n  Object.defineProperty(_exports, \"setProperties\", {\n    enumerable: true,\n    get: function () {\n      return _metal.setProperties;\n    }\n  });\n  Object.defineProperty(_exports, \"trySet\", {\n    enumerable: true,\n    get: function () {\n      return _metal.trySet;\n    }\n  });\n  class EmberObject extends _core.default.extend(_observable.default) {\n    get _debugContainerKey() {\n      let factory = (0, _container.getFactoryFor)(this);\n      return factory !== undefined && factory.fullName;\n    }\n  }\n  var _default = _exports.default = EmberObject;\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  const BINDINGS_MAP = new WeakMap();\n  function hasProto(obj) {\n    return obj != null && obj.constructor !== undefined && typeof obj.constructor.proto === 'function';\n  }\n  function setupAction(target, key, actionFn) {\n    if (hasProto(target)) {\n      target.constructor.proto();\n    }\n    if (!Object.prototype.hasOwnProperty.call(target, 'actions')) {\n      let parentActions = target.actions;\n      // we need to assign because of the way mixins copy actions down when inheriting\n      target.actions = parentActions ? Object.assign({}, parentActions) : {};\n    }\n    (true && !(target.actions != null) && (0, _debug.assert)(\"[BUG] Somehow the target doesn't have actions!\", target.actions != null));\n    target.actions[key] = actionFn;\n    return {\n      get() {\n        let bindings = BINDINGS_MAP.get(this);\n        if (bindings === undefined) {\n          bindings = new Map();\n          BINDINGS_MAP.set(this, bindings);\n        }\n        let fn = bindings.get(actionFn);\n        if (fn === undefined) {\n          fn = actionFn.bind(this);\n          bindings.set(actionFn, fn);\n        }\n        return fn;\n      }\n    };\n  }\n  function action(...args) {\n    let actionFn;\n    if (!(0, _metal.isElementDescriptor)(args)) {\n      actionFn = args[0];\n      let 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      (0, _metal.setClassicDecorator)(decorator);\n      return decorator;\n    }\n    let [target, key, desc] = args;\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')); // SAFETY: TS types are weird with decorators. This should work.\n    return setupAction(target, key, actionFn);\n  }\n  // SAFETY: TS types are weird with decorators. This should work.\n  (0, _metal.setClassicDecorator)(action);\n  /**\n    Specify a method that observes property changes.\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { observer } from '@ember/object';\n  \n    export default EmberObject.extend({\n      valueObserver: observer('value', function() {\n        // Executes whenever the \"value\" property changes\n      })\n    });\n    ```\n  \n    Also available as `Function.prototype.observes` if prototype extensions are\n    enabled.\n  \n    @method observer\n    @for @ember/object\n    @param {String} propertyNames*\n    @param {Function} func\n    @return func\n    @public\n    @static\n  */\n  function observer(...args) {\n    let 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    let func;\n    let dependentKeys;\n    let sync;\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    (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    let paths = [];\n    for (let dependentKey of dependentKeys) {\n      (0, _metal.expandProperties)(dependentKey, path => paths.push(path));\n    }\n    (0, _utils.setObservers)(func, {\n      paths,\n      sync\n    });\n    return func;\n  }\n});","define(\"@ember/object/internals\", [\"exports\", \"@ember/object/-internals\"], function (_exports, _internals) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"cacheFor\", {\n    enumerable: true,\n    get: function () {\n      return _internals.cacheFor;\n    }\n  });\n  Object.defineProperty(_exports, \"guidFor\", {\n    enumerable: true,\n    get: function () {\n      return _internals.guidFor;\n    }\n  });\n});","define(\"@ember/object/lib/computed/computed_macros\", [\"exports\", \"@ember/-internals/metal\", \"@ember/object\", \"@ember/debug\", \"@ember/utils\"], function (_exports, _metal, _object, _debug, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.and = void 0;\n  _exports.bool = bool;\n  _exports.deprecatingAlias = deprecatingAlias;\n  _exports.empty = empty;\n  _exports.equal = equal;\n  _exports.gt = gt;\n  _exports.gte = gte;\n  _exports.lt = lt;\n  _exports.lte = lte;\n  _exports.match = match;\n  _exports.none = none;\n  _exports.not = not;\n  _exports.notEmpty = notEmpty;\n  _exports.oneWay = oneWay;\n  _exports.or = void 0;\n  _exports.readOnly = readOnly;\n  /**\n  @module @ember/object\n  */\n  function expandPropertiesToArray(predicateName, properties) {\n    let expandedProperties = [];\n    function extractProperty(entry) {\n      expandedProperties.push(entry);\n    }\n    for (let property of properties) {\n      (true && !(property.indexOf(' ') < 0) && (0, _debug.assert)(`Dependent keys passed to \\`${predicateName}\\` computed macro can't have spaces.`, property.indexOf(' ') < 0));\n      (0, _metal.expandProperties)(property, extractProperty);\n    }\n    return expandedProperties;\n  }\n  function generateComputedWithPredicate(name, predicate) {\n    return (dependentKey, ...additionalDependentKeys) => {\n      let properties = [dependentKey, ...additionalDependentKeys];\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      let dependentKeys = expandPropertiesToArray(name, properties);\n      let computedFunc = (0, _metal.computed)(...dependentKeys, function () {\n        let lastIdx = dependentKeys.length - 1;\n        for (let i = 0; i < lastIdx; i++) {\n          // SAFETY: `i` is derived from the length of `dependentKeys`\n          let value = (0, _object.get)(this, dependentKeys[i]);\n          if (!predicate(value)) {\n            return value;\n          }\n        }\n        // SAFETY: `lastIdx` is derived from the length of `dependentKeys`\n        return (0, _object.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    @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  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, _utils.isEmpty)((0, _object.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    @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  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, _utils.isEmpty)((0, _object.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    @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  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, _utils.isNone)((0, _object.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    @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  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, _object.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    @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  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, _object.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    @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  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      let value = (0, _object.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    @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  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, _object.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    @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  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, _object.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    @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  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, _object.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    @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  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, _object.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    @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  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, _object.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    @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  const and = _exports.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    @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  const or = _exports.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    @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    Where the `alias` computed macro aliases `get` and `set`, and allows for\n    bidirectional data flow, the `oneWay` computed macro only provides an aliased\n    `get`. The `set` will not mutate the upstream property, rather causes the\n    current property to become the value set. This causes the downstream property\n    to permanently diverge from 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    @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  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 the `oneWay` computed macro,\n    whose name 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    Where `oneWay` computed macro provides oneWay bindings, the `readOnly`\n    computed macro provides a readOnly one way binding. Very often when using\n    the `oneWay` macro one does not also want changes to propagate back up, as\n    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    @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  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    @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  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, _object.get)(this, dependentKey);\n      },\n      set(key, value) {\n        (true && !(false) && (0, _debug.deprecate)(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`, false, options));\n        (0, _object.set)(this, dependentKey, value);\n        return value;\n      }\n    });\n  }\n});","define(\"@ember/object/lib/computed/reduce_computed_macros\", [\"exports\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/object\", \"@ember/utils\", \"@ember/array\"], function (_exports, _debug, _metal, _object, _utils, _array) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.collect = collect;\n  _exports.filter = filter;\n  _exports.filterBy = filterBy;\n  _exports.intersect = intersect;\n  _exports.map = map;\n  _exports.mapBy = mapBy;\n  _exports.max = max;\n  _exports.min = min;\n  _exports.setDiff = setDiff;\n  _exports.sort = sort;\n  _exports.sum = sum;\n  _exports.union = void 0;\n  _exports.uniq = uniq;\n  _exports.uniqBy = uniqBy;\n  /**\n  @module @ember/object\n  */\n\n  function isNativeOrEmberArray(obj) {\n    return Array.isArray(obj) || _array.default.detect(obj);\n  }\n  function reduceMacro(dependentKey, callback, initialValue, name) {\n    (true && !(!/[[\\]{}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`${name}\\` computed macro shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey)));\n    return (0, _object.computed)(`${dependentKey}.[]`, function () {\n      let arr = (0, _object.get)(this, dependentKey);\n      if (arr === null || typeof arr !== 'object') {\n        return initialValue;\n      }\n      return arr.reduce(callback, initialValue, this);\n    }).readOnly();\n  }\n  function arrayMacro(dependentKey, additionalDependentKeys, callback) {\n    // This is a bit ugly\n    let propertyName;\n    if (/@each/.test(dependentKey)) {\n      propertyName = dependentKey.replace(/\\.@each.*$/, '');\n    } else {\n      propertyName = dependentKey;\n      dependentKey += '.[]';\n    }\n    return (0, _object.computed)(dependentKey, ...additionalDependentKeys, function () {\n      let value = (0, _object.get)(this, propertyName);\n      if (isNativeOrEmberArray(value)) {\n        return (0, _array.A)(callback.call(this, value));\n      } else {\n        return (0, _array.A)();\n      }\n    }).readOnly();\n  }\n  function multiArrayMacro(_dependentKeys, callback, name) {\n    (true && !(_dependentKeys.every(dependentKey => !/[[\\]{}]/g.test(dependentKey))) && (0, _debug.assert)(`Dependent keys passed to \\`${name}\\` computed macro shouldn't contain brace expanding pattern.`, _dependentKeys.every(dependentKey => !/[[\\]{}]/g.test(dependentKey))));\n    let dependentKeys = _dependentKeys.map(key => `${key}.[]`);\n    return (0, _object.computed)(...dependentKeys, function () {\n      return (0, _array.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    @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  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    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  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    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  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  function map(dependentKey, additionalDependentKeysOrCallback, 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    (true && !(typeof callback === 'function' || callback === undefined && typeof additionalDependentKeysOrCallback === 'function') && (0, _debug.assert)('The final parameter provided to map must be a callback function', typeof callback === 'function' || callback === undefined && typeof additionalDependentKeysOrCallback === 'function'));\n    (true && !(Array.isArray(additionalDependentKeysOrCallback) || typeof additionalDependentKeysOrCallback === 'function') && (0, _debug.assert)('The second parameter provided to map must either be the callback or an array of additional dependent keys', Array.isArray(additionalDependentKeysOrCallback) || typeof additionalDependentKeysOrCallback === 'function'));\n    let additionalDependentKeys;\n    if (typeof additionalDependentKeysOrCallback === 'function') {\n      callback = additionalDependentKeysOrCallback;\n      additionalDependentKeys = [];\n    } else {\n      additionalDependentKeys = additionalDependentKeysOrCallback;\n    }\n    const cCallback = callback;\n    (true && !(cCallback) && (0, _debug.assert)('[BUG] Missing callback', cCallback));\n    return arrayMacro(dependentKey, additionalDependentKeys, function (value) {\n      // This is so dumb...\n      return Array.isArray(value) ? value.map(cCallback, this) : value.map(cCallback, 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    @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  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)('`mapBy` computed macro 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 \\`mapBy\\` computed macro shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey)));\n    return map(`${dependentKey}.@each.${propertyKey}`, item => (0, _object.get)(item, propertyKey));\n  }\n  function filter(dependentKey, additionalDependentKeysOrCallback, 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    (true && !(typeof callback === 'function' || callback === undefined && typeof additionalDependentKeysOrCallback === 'function') && (0, _debug.assert)('The final parameter provided to filter must be a callback function', typeof callback === 'function' || callback === undefined && typeof additionalDependentKeysOrCallback === 'function'));\n    (true && !(Array.isArray(additionalDependentKeysOrCallback) || typeof additionalDependentKeysOrCallback === 'function') && (0, _debug.assert)('The second parameter provided to filter must either be the callback or an array of additional dependent keys', Array.isArray(additionalDependentKeysOrCallback) || typeof additionalDependentKeysOrCallback === 'function'));\n    let additionalDependentKeys;\n    if (typeof additionalDependentKeysOrCallback === 'function') {\n      callback = additionalDependentKeysOrCallback;\n      additionalDependentKeys = [];\n    } else {\n      additionalDependentKeys = additionalDependentKeysOrCallback;\n    }\n    const cCallback = callback;\n    return arrayMacro(dependentKey, additionalDependentKeys, function (value) {\n      // This is a really silly way to keep TS happy\n      return Array.isArray(value) ? value.filter(cCallback, this) : value.filter(cCallback, 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    @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  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 \\`filterBy\\` computed macro shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey)));\n    let callback;\n    if (arguments.length === 2) {\n      callback = item => (0, _object.get)(item, propertyKey);\n    } else {\n      callback = item => (0, _object.get)(item, propertyKey) === value;\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    @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  function uniq(dependentKey, ...additionalDependentKeys) {\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    let args = [dependentKey, ...additionalDependentKeys];\n    return multiArrayMacro(args, function (dependentKeys) {\n      let uniq = (0, _array.A)();\n      let seen = new Set();\n      dependentKeys.forEach(dependentKey => {\n        let value = (0, _object.get)(this, dependentKey);\n        if (isNativeOrEmberArray(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    @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  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 \\`uniqBy\\` computed macro shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey)));\n    return (0, _object.computed)(`${dependentKey}.[]`, function () {\n      let list = (0, _object.get)(this, dependentKey);\n      return isNativeOrEmberArray(list) ? (0, _array.uniqBy)(list, propertyKey) : (0, _array.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') uniqueFruits;\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    @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  let union = _exports.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    @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  function intersect(dependentKey, ...additionalDependentKeys) {\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    let args = [dependentKey, ...additionalDependentKeys];\n    return multiArrayMacro(args, function (dependentKeys) {\n      let arrays = dependentKeys.map(dependentKey => {\n        let array = (0, _object.get)(this, dependentKey);\n        return Array.isArray(array) ? array : [];\n      });\n      let firstArray = arrays.pop();\n      (true && !(firstArray) && (0, _debug.assert)('Attempted to apply multiArrayMacro for intersect without any dependentKeys', firstArray));\n      let results = firstArray.filter(candidate => {\n        for (let array of arrays) {\n          let found = false;\n          for (let item of array) {\n            if (item === candidate) {\n              found = true;\n              break;\n            }\n          }\n          if (found === false) {\n            return false;\n          }\n        }\n        return true;\n      });\n      return (0, _array.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    @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  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)('`setDiff` computed macro requires exactly two dependent arrays.', arguments.length === 2));\n    (true && !(!/[[\\]{}]/g.test(setAProperty) && !/[[\\]{}]/g.test(setBProperty)) && (0, _debug.assert)(`Dependent keys passed to \\`setDiff\\` computed macro shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(setAProperty) && !/[[\\]{}]/g.test(setBProperty)));\n    return (0, _object.computed)(`${setAProperty}.[]`, `${setBProperty}.[]`, function () {\n      let setA = (0, _object.get)(this, setAProperty);\n      let setB = (0, _object.get)(this, setBProperty);\n      if (!isNativeOrEmberArray(setA)) {\n        return (0, _array.A)();\n      }\n      if (!isNativeOrEmberArray(setB)) {\n        return setA;\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    @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  function collect(dependentKey, ...additionalDependentKeys) {\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    let dependentKeys = [dependentKey, ...additionalDependentKeys];\n    return multiArrayMacro(dependentKeys, function () {\n      let res = dependentKeys.map(key => {\n        let val = (0, _object.get)(this, key);\n        return val === undefined ? null : val;\n      });\n      return (0, _array.A)(res);\n    }, 'collect');\n  }\n  function sort(itemsKey, additionalDependentKeysOrDefinition, 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    if (true /* DEBUG */) {\n      let argumentsValid = false;\n      if (arguments.length === 2) {\n        argumentsValid = typeof itemsKey === 'string' && (typeof additionalDependentKeysOrDefinition === 'string' || typeof additionalDependentKeysOrDefinition === 'function');\n      }\n      if (arguments.length === 3) {\n        argumentsValid = typeof itemsKey === 'string' && Array.isArray(additionalDependentKeysOrDefinition) && typeof sortDefinition === 'function';\n      }\n      (true && !(argumentsValid) && (0, _debug.assert)('The `sort` computed macro 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 receive 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    let additionalDependentKeys;\n    let sortDefinitionOrString;\n    if (Array.isArray(additionalDependentKeysOrDefinition)) {\n      additionalDependentKeys = additionalDependentKeysOrDefinition;\n      sortDefinitionOrString = sortDefinition;\n    } else {\n      additionalDependentKeys = [];\n      sortDefinitionOrString = additionalDependentKeysOrDefinition;\n    }\n    if (typeof sortDefinitionOrString === 'function') {\n      return customSort(itemsKey, additionalDependentKeys, sortDefinitionOrString);\n    } else {\n      return propertySort(itemsKey, sortDefinitionOrString);\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  }\n  // This one needs to dynamically set up and tear down observers on the itemsKey\n  // depending on the sortProperties\n  function propertySort(itemsKey, sortPropertiesKey) {\n    let cp = (0, _metal.autoComputed)(function (key) {\n      let sortProperties = (0, _object.get)(this, sortPropertiesKey);\n      (true && !(function (arr) {\n        return isNativeOrEmberArray(arr) && arr.every(s => typeof s === 'string');\n      }(sortProperties)) && (0, _debug.assert)(`The sort definition for '${key}' on ${this} must be a function or an array of strings`, function (arr) {\n        return isNativeOrEmberArray(arr) && arr.every(s => typeof s === 'string');\n      }(sortProperties)));\n      let itemsKeyIsAtThis = itemsKey === '@this';\n      let normalizedSortProperties = normalizeSortProperties(sortProperties);\n      let items = itemsKeyIsAtThis ? this : (0, _object.get)(this, itemsKey);\n      if (!isNativeOrEmberArray(items)) {\n        return (0, _array.A)();\n      }\n      if (normalizedSortProperties.length === 0) {\n        return (0, _array.A)(items.slice());\n      } else {\n        return sortByNormalizedSortProperties(items, normalizedSortProperties);\n      }\n    }).readOnly();\n    return cp;\n  }\n  function normalizeSortProperties(sortProperties) {\n    let callback = p => {\n      let [prop, direction] = p.split(':');\n      direction = direction || 'asc';\n      // SAFETY: There will always be at least one value returned by split\n      return [prop, direction];\n    };\n    // This nonsense is necessary since technically the two map implementations diverge.\n    return Array.isArray(sortProperties) ? sortProperties.map(callback) : sortProperties.map(callback);\n  }\n  function sortByNormalizedSortProperties(items, normalizedSortProperties) {\n    return (0, _array.A)(items.slice().sort((itemA, itemB) => {\n      for (let [prop, direction] of normalizedSortProperties) {\n        let result = (0, _utils.compare)((0, _object.get)(itemA, prop), (0, _object.get)(itemB, prop));\n        if (result !== 0) {\n          return direction === 'desc' ? -1 * result : result;\n        }\n      }\n      return 0;\n    }));\n  }\n});","define(\"@ember/object/mixin\", [\"exports\", \"@ember/-internals/container\", \"@ember/-internals/meta\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/object/events\"], function (_exports, _container, _meta, _utils, _debug, _metal, _events) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.applyMixin = applyMixin;\n  _exports.default = void 0;\n  _exports.mixin = mixin;\n  /**\n  @module @ember/object/mixin\n  */\n\n  const a_concat = Array.prototype.concat;\n  const {\n    isArray\n  } = Array;\n  function extractAccessors(properties) {\n    if (properties !== undefined) {\n      for (let key of Object.keys(properties)) {\n        let desc = Object.getOwnPropertyDescriptor(properties, key);\n        if (desc.get !== undefined || desc.set !== undefined) {\n          Object.defineProperty(properties, key, {\n            value: (0, _metal.nativeDescDecorator)(desc)\n          });\n        }\n      }\n    }\n    return properties;\n  }\n  function concatenatedMixinProperties(concatProp, props, values, base) {\n    // reset before adding each new mixin to pickup concats from previous\n    let concats = values[concatProp] || base[concatProp];\n    if (props[concatProp]) {\n      concats = concats ? a_concat.call(concats, props[concatProp]) : props[concatProp];\n    }\n    return concats;\n  }\n  function giveDecoratorSuper(key, decorator, property, descs) {\n    if (property === true) {\n      return decorator;\n    }\n    let originalGetter = property._getter;\n    if (originalGetter === undefined) {\n      return decorator;\n    }\n    let superDesc = descs[key];\n    // Check to see if the super property is a decorator first, if so load its descriptor\n    let superProperty = typeof superDesc === 'function' ? (0, _metal.descriptorForDecorator)(superDesc) : superDesc;\n    if (superProperty === undefined || superProperty === true) {\n      return decorator;\n    }\n    let superGetter = superProperty._getter;\n    if (superGetter === undefined) {\n      return decorator;\n    }\n    let get = (0, _utils.wrap)(originalGetter, superGetter);\n    let set;\n    let originalSetter = property._setter;\n    let superSetter = superProperty._setter;\n    if (superSetter !== undefined) {\n      if (originalSetter !== undefined) {\n        set = (0, _utils.wrap)(originalSetter, superSetter);\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 = superSetter;\n      }\n    } else {\n      set = originalSetter;\n    }\n    // only create a new CP if we must\n    if (get !== originalGetter || set !== originalSetter) {\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      let dependentKeys = property._dependentKeys || [];\n      let newProperty = new _metal.ComputedProperty([...dependentKeys, {\n        get,\n        set\n      }]);\n      newProperty._readOnly = property._readOnly;\n      newProperty._meta = property._meta;\n      newProperty.enumerable = property.enumerable;\n      // SAFETY: We passed in the impl for this class\n      return (0, _metal.makeComputedDecorator)(newProperty, _metal.ComputedProperty);\n    }\n    return decorator;\n  }\n  function giveMethodSuper(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    }\n    // Find the original method in a parent mixin\n    let superMethod = values[key];\n    // Only wrap the new method if the original method was a function\n    if (typeof superMethod === 'function') {\n      return (0, _utils.wrap)(method, superMethod);\n    }\n    return method;\n  }\n  function simpleMakeArray(value) {\n    if (!value) {\n      return [];\n    } else if (!Array.isArray(value)) {\n      return [value];\n    } else {\n      return value;\n    }\n  }\n  function applyConcatenatedProperties(key, value, values) {\n    let baseValue = values[key];\n    let ret = simpleMakeArray(baseValue).concat(simpleMakeArray(value));\n    if (true /* DEBUG */) {\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    return ret;\n  }\n  function applyMergedProperties(key, value, values) {\n    let baseValue = values[key];\n    (true && !(!isArray(value)) && (0, _debug.assert)(`You passed in \\`${JSON.stringify(value)}\\` as the value for \\`${key}\\` but \\`${key}\\` cannot be an Array`, !isArray(value)));\n    if (!baseValue) {\n      return value;\n    }\n    let newBase = Object.assign({}, baseValue);\n    let hasFunction = false;\n    let props = Object.keys(value);\n    for (let prop of props) {\n      let propValue = value[prop];\n      if (typeof propValue === 'function') {\n        hasFunction = true;\n        newBase[prop] = giveMethodSuper(prop, propValue, baseValue, {});\n      } else {\n        newBase[prop] = propValue;\n      }\n    }\n    if (hasFunction) {\n      newBase._super = _utils.ROOT;\n    }\n    return newBase;\n  }\n  function mergeMixins(mixins, meta, descs, values, base, keys, keysWithSuper) {\n    let currentMixin;\n    for (let 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      if (MIXINS.has(currentMixin)) {\n        if (meta.hasMixin(currentMixin)) {\n          continue;\n        }\n        meta.addMixin(currentMixin);\n        let {\n          properties,\n          mixins\n        } = currentMixin;\n        if (properties !== undefined) {\n          mergeProps(meta, properties, descs, values, base, keys, keysWithSuper);\n        } else if (mixins !== undefined) {\n          mergeMixins(mixins, meta, descs, values, base, keys, keysWithSuper);\n          if (currentMixin instanceof Mixin && currentMixin._without !== undefined) {\n            currentMixin._without.forEach(keyName => {\n              // deleting the key means we won't process the value\n              let index = keys.indexOf(keyName);\n              if (index !== -1) {\n                keys.splice(index, 1);\n              }\n            });\n          }\n        }\n      } else {\n        mergeProps(meta, currentMixin, descs, values, base, keys, keysWithSuper);\n      }\n    }\n  }\n  function mergeProps(meta, props, descs, values, base, keys, keysWithSuper) {\n    let concats = concatenatedMixinProperties('concatenatedProperties', props, values, base);\n    let mergings = concatenatedMixinProperties('mergedProperties', props, values, base);\n    let propKeys = Object.keys(props);\n    for (let key of propKeys) {\n      let value = props[key];\n      if (value === undefined) continue;\n      if (keys.indexOf(key) === -1) {\n        keys.push(key);\n        let desc = meta.peekDescriptors(key);\n        if (desc === undefined) {\n          // If the value is a classic decorator, we don't want to actually\n          // access it, because that will execute the decorator while we're\n          // building the class.\n          if (!(0, _metal.isClassicDecorator)(value)) {\n            // The superclass did not have a CP, which means it may have\n            // observers or listeners on that property.\n            let prev = values[key] = base[key];\n            if (typeof prev === 'function') {\n              updateObserversAndListeners(base, key, prev, false);\n            }\n          }\n        } else {\n          descs[key] = desc;\n          // The super desc will be overwritten on descs, so save off the fact that\n          // there was a super so we know to Object.defineProperty when writing\n          // the value\n          keysWithSuper.push(key);\n          desc.teardown(base, key, meta);\n        }\n      }\n      let isFunction = typeof value === 'function';\n      if (isFunction) {\n        let desc = (0, _metal.descriptorForDecorator)(value);\n        if (desc !== undefined) {\n          // Wrap descriptor function to implement _super() if needed\n          descs[key] = giveDecoratorSuper(key, value, desc, descs);\n          values[key] = undefined;\n          continue;\n        }\n      }\n      if (concats && concats.indexOf(key) >= 0 || key === 'concatenatedProperties' || key === 'mergedProperties') {\n        value = applyConcatenatedProperties(key, value, values);\n      } else if (mergings && mergings.indexOf(key) > -1) {\n        value = applyMergedProperties(key, value, values);\n      } else if (isFunction) {\n        value = giveMethodSuper(key, value, values, descs);\n      }\n      values[key] = value;\n      descs[key] = undefined;\n    }\n  }\n  function updateObserversAndListeners(obj, key, fn, add) {\n    let meta = (0, _utils.observerListenerMetaFor)(fn);\n    if (meta === undefined) return;\n    let {\n      observers,\n      listeners\n    } = meta;\n    if (observers !== undefined) {\n      let updateObserver = add ? _metal.addObserver : _metal.removeObserver;\n      for (let path of observers.paths) {\n        updateObserver(obj, path, null, key, observers.sync);\n      }\n    }\n    if (listeners !== undefined) {\n      let updateListener = add ? _events.addListener : _events.removeListener;\n      for (let listener of listeners) {\n        updateListener(obj, listener, null, key);\n      }\n    }\n  }\n  function applyMixin(obj, mixins, _hideKeys = false) {\n    let descs = Object.create(null);\n    let values = Object.create(null);\n    let meta = (0, _meta.meta)(obj);\n    let keys = [];\n    let keysWithSuper = [];\n    obj._super = _utils.ROOT;\n    // 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    mergeMixins(mixins, meta, descs, values, obj, keys, keysWithSuper);\n    for (let key of keys) {\n      let value = values[key];\n      let desc = descs[key];\n      if (value !== undefined) {\n        if (typeof value === 'function') {\n          updateObserversAndListeners(obj, key, value, true);\n        }\n        (0, _metal.defineValue)(obj, key, value, keysWithSuper.indexOf(key) !== -1, !_hideKeys);\n      } else if (desc !== undefined) {\n        (0, _metal.defineDecorator)(obj, key, desc, meta);\n      }\n    }\n    if (!meta.isPrototypeMeta(obj)) {\n      (0, _metal.revalidateObservers)(obj);\n    }\n    return obj;\n  }\n  /**\n    @method mixin\n    @param obj\n    @param mixins*\n    @return obj\n    @private\n  */\n  function mixin(obj, ...args) {\n    applyMixin(obj, args);\n    return obj;\n  }\n  const MIXINS = new WeakSet();\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  class Mixin {\n    /** @internal */\n    constructor(mixins, properties) {\n      MIXINS.add(this);\n      this.properties = extractAccessors(properties);\n      this.mixins = buildMixinsArray(mixins);\n      this.ownerConstructor = undefined;\n      this._without = undefined;\n      if (true /* DEBUG */) {\n        // Eagerly add INIT_FACTORY to avoid issues in DEBUG as a result of Object.seal(mixin)\n        this[_container.INIT_FACTORY] = null;\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        if (Mixin._disableDebugSeal !== true) {\n          Object.seal(this);\n        }\n      }\n    }\n    /**\n      @method create\n      @for @ember/object/mixin\n      @static\n      @param arguments*\n      @public\n    */\n    static create(...args) {\n      (0, _metal.setUnprocessedMixins)();\n      let M = this;\n      return new M(args, undefined);\n    }\n    // returns the mixins currently applied to the specified object\n    // TODO: Make `mixin`\n    /** @internal */\n    static mixins(obj) {\n      let meta = (0, _meta.peekMeta)(obj);\n      let ret = [];\n      if (meta === null) {\n        return ret;\n      }\n      meta.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      @internal\n    */\n    reopen(...args) {\n      if (args.length === 0) {\n        return this;\n      }\n      if (this.properties) {\n        let currentMixin = new Mixin(undefined, this.properties);\n        this.properties = undefined;\n        this.mixins = [currentMixin];\n      } else if (!this.mixins) {\n        this.mixins = [];\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      @internal\n    */\n    apply(obj, _hideKeys = false) {\n      // 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      // _hideKeys disables enumerablity when applying the mixin. This is a hack, and we should stop mutating the array prototype by default 😫\n      return applyMixin(obj, [this], _hideKeys);\n    }\n    /** @internal */\n    applyPartial(obj) {\n      return applyMixin(obj, [this]);\n    }\n    /**\n      @method detect\n      @param obj\n      @return {Boolean}\n      @private\n      @internal\n    */\n    detect(obj) {\n      if (typeof obj !== 'object' || obj === null) {\n        return false;\n      }\n      if (MIXINS.has(obj)) {\n        return _detect(obj, this);\n      }\n      let meta = (0, _meta.peekMeta)(obj);\n      if (meta === null) {\n        return false;\n      }\n      return meta.hasMixin(this);\n    }\n    /** @internal */\n    without(...args) {\n      let ret = new Mixin([this]);\n      ret._without = args;\n      return ret;\n    }\n    /** @internal */\n    keys() {\n      let keys = _keys(this);\n      (true && !(keys) && (0, _debug.assert)('[BUG] Missing keys for mixin!', keys));\n      return keys;\n    }\n    /** @internal */\n    toString() {\n      return '(unknown mixin)';\n    }\n  }\n  _exports.default = Mixin;\n  if (true /* DEBUG */) {\n    Object.defineProperty(Mixin, '_disableDebugSeal', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: false\n    });\n  }\n  function buildMixinsArray(mixins) {\n    let length = mixins && mixins.length || 0;\n    let m = undefined;\n    if (length > 0) {\n      m = new Array(length);\n      for (let i = 0; i < length; i++) {\n        let 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        if (MIXINS.has(x)) {\n          m[i] = x;\n        } else {\n          m[i] = new Mixin(undefined, x);\n        }\n      }\n    }\n    return m;\n  }\n  if (true /* DEBUG */) {\n    Object.seal(Mixin.prototype);\n  }\n  function _detect(curMixin, targetMixin, seen = new Set()) {\n    if (seen.has(curMixin)) {\n      return false;\n    }\n    seen.add(curMixin);\n    if (curMixin === targetMixin) {\n      return true;\n    }\n    let mixins = curMixin.mixins;\n    if (mixins) {\n      return mixins.some(mixin => _detect(mixin, targetMixin, seen));\n    }\n    return false;\n  }\n  function _keys(mixin, ret = new Set(), seen = new Set()) {\n    if (seen.has(mixin)) {\n      return;\n    }\n    seen.add(mixin);\n    if (mixin.properties) {\n      let props = Object.keys(mixin.properties);\n      for (let prop of props) {\n        ret.add(prop);\n      }\n    } else if (mixin.mixins) {\n      mixin.mixins.forEach(x => _keys(x, ret, seen));\n    }\n    return ret;\n  }\n});","define(\"@ember/object/observable\", [\"exports\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/object\", \"@ember/object/mixin\", \"@ember/debug\"], function (_exports, _meta, _metal, _object, _mixin, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/object/observable\n  */\n\n  const Observable = _mixin.default.create({\n    get(keyName) {\n      return (0, _object.get)(this, keyName);\n    },\n    getProperties(...args) {\n      return (0, _object.getProperties)(this, ...args);\n    },\n    set(keyName, value) {\n      return (0, _object.set)(this, keyName, value);\n    },\n    setProperties(hash) {\n      return (0, _object.setProperties)(this, hash);\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      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    notifyPropertyChange(keyName) {\n      (0, _metal.notifyPropertyChange)(this, keyName);\n      return this;\n    },\n    addObserver(key, target, method, sync) {\n      (0, _metal.addObserver)(this, key, target, method, sync);\n      return this;\n    },\n    removeObserver(key, target, method, sync) {\n      (0, _metal.removeObserver)(this, key, target, method, sync);\n      return this;\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    incrementProperty(keyName, increment = 1) {\n      (true && !(!isNaN(parseFloat(String(increment))) && isFinite(increment)) && (0, _debug.assert)('Must pass a numeric value to incrementProperty', !isNaN(parseFloat(String(increment))) && isFinite(increment)));\n      return (0, _object.set)(this, keyName, (parseFloat((0, _object.get)(this, keyName)) || 0) + increment);\n    },\n    decrementProperty(keyName, decrement = 1) {\n      (true && !((typeof decrement === 'number' || !isNaN(parseFloat(decrement))) && isFinite(decrement)) && (0, _debug.assert)('Must pass a numeric value to decrementProperty', (typeof decrement === 'number' || !isNaN(parseFloat(decrement))) && isFinite(decrement)));\n      return (0, _object.set)(this, keyName, ((0, _object.get)(this, keyName) || 0) - decrement);\n    },\n    toggleProperty(keyName) {\n      return (0, _object.set)(this, keyName, !(0, _object.get)(this, keyName));\n    },\n    cacheFor(keyName) {\n      let meta = (0, _meta.peekMeta)(this);\n      return meta !== null ? meta.valueFor(keyName) : undefined;\n    }\n  });\n  var _default = _exports.default = Observable;\n});","define(\"@ember/object/observers\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"addObserver\", {\n    enumerable: true,\n    get: function () {\n      return _metal.addObserver;\n    }\n  });\n  Object.defineProperty(_exports, \"removeObserver\", {\n    enumerable: true,\n    get: function () {\n      return _metal.removeObserver;\n    }\n  });\n});","define(\"@ember/object/promise-proxy-mixin\", [\"exports\", \"@ember/object\", \"@ember/object/mixin\"], function (_exports, _object, _mixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    @module @ember/object/promise-proxy-mixin\n  */\n  function tap(proxy, promise) {\n    (0, _object.setProperties)(proxy, {\n      isFulfilled: false,\n      isRejected: false\n    });\n    return promise.then(value => {\n      if (!proxy.isDestroyed && !proxy.isDestroying) {\n        (0, _object.setProperties)(proxy, {\n          content: value,\n          isFulfilled: true\n        });\n      }\n      return value;\n    }, reason => {\n      if (!proxy.isDestroyed && !proxy.isDestroying) {\n        (0, _object.setProperties)(proxy, {\n          reason,\n          isRejected: true\n        });\n      }\n      throw reason;\n    }, 'Ember: PromiseProxy');\n  }\n  const PromiseProxyMixin = _mixin.default.create({\n    reason: null,\n    isPending: (0, _object.computed)('isSettled', function () {\n      return !(0, _object.get)(this, 'isSettled');\n    }).readOnly(),\n    isSettled: (0, _object.computed)('isRejected', 'isFulfilled', function () {\n      return (0, _object.get)(this, 'isRejected') || (0, _object.get)(this, 'isFulfilled');\n    }).readOnly(),\n    isRejected: false,\n    isFulfilled: false,\n    promise: (0, _object.computed)({\n      get() {\n        throw new Error(\"PromiseProxy's promise must be set\");\n      },\n      set(_key, promise) {\n        return tap(this, promise);\n      }\n    }),\n    then: promiseAlias('then'),\n    catch: promiseAlias('catch'),\n    finally: promiseAlias('finally')\n  });\n  function promiseAlias(name) {\n    return function (...args) {\n      let promise = (0, _object.get)(this, 'promise');\n      // We need this cast because `Parameters` is deferred so that it is not\n      // possible for TS to see it will always produce the right type. However,\n      // since `AnyFn` has a rest type, it is allowed. See discussion on [this\n      // issue](https://github.com/microsoft/TypeScript/issues/47615).\n      return promise[name](...args);\n    };\n  }\n  var _default = _exports.default = PromiseProxyMixin;\n});","define(\"@ember/object/proxy\", [\"exports\", \"@ember/object/-internals\", \"@ember/-internals/runtime\"], function (_exports, _internals, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/object/proxy\n  */\n\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\n  class ObjectProxy extends _internals.FrameworkObject {}\n  ObjectProxy.PrototypeMixin.reopen(_runtime._ProxyMixin);\n  var _default = _exports.default = ObjectProxy;\n});","define(\"@ember/owner/index\", [\"exports\", \"@ember/-internals/owner\"], function (_exports, _owner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getOwner = void 0;\n  Object.defineProperty(_exports, \"setOwner\", {\n    enumerable: true,\n    get: function () {\n      return _owner.setOwner;\n    }\n  });\n  /**\n    Ember’s dependency injection system is built on the idea of an \"owner\": an\n    object responsible for managing items which can be registered and looked up\n    with the system.\n  \n    This module does not provide any concrete instances of owners. Instead, it\n    defines the core type, `Owner`, which specifies the public API contract for an\n    owner. The primary concrete implementations of `Owner` are `EngineInstance`,\n    from `@ember/engine/instance`, and its `ApplicationInstance` subclass, from\n    `@ember/application/instance`.\n  \n    Along with `Owner` itself, this module provides a number of supporting types\n    related to Ember's DI system:\n  \n    - `Factory`, Ember's primary interface for something which can create class\n      instances registered with the DI system.\n  \n    - `FactoryManager`, an interface for inspecting a `Factory`'s class.\n  \n    - `Resolver`, an interface defining the contract for the object responsible\n      for mapping string names to the corresponding classes. For example, when you\n      write `@service('session')`, a resolver is responsible to map that back to\n      the `Session` service class in your codebase. Normally, this is handled for\n      you automatically with `ember-resolver`, which is the main implementor of\n      this interface.\n  \n    For more details on each, see their per-item docs.\n  \n    @module @ember/owner\n    @public\n  */\n  // We need to provide a narrower public interface to `getOwner` so that we only\n  // expose the `Owner` type, *not* our richer `InternalOwner` type and its\n  // various bits of private API.\n\n  // NOTE: this documentation appears here instead of at the definition site so\n  // it can appear correctly in both API docs and for TS, while providing a richer\n  // internal representation for Ember's own usage.\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        return getOwner(this)?.lookup(`service:${this.args.audioType}`);\n      }\n  \n      @action\n      onPlay() {\n        this.audioService?.play(this.args.audioFile);\n      }\n    }\n    ```\n  \n    @method getOwner\n    @static\n    @for @ember/owner\n    @param {Object} object An object with an owner.\n    @return {Object} An owner object.\n    @since 2.3.0\n    @public\n  */\n  // SAFETY: the cast here is necessary, instead of using an assignment, because\n  // TS (not incorrectly! Nothing expressly relates them) does not see that the\n  // `InternalOwner` and `Owner` do actually have identical constraints on their\n  // relations to the `DIRegistry`.\n  const getOwner = _exports.getOwner = _owner.getOwner;\n});","define(\"@ember/renderer/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, \"renderSettled\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.renderSettled;\n    }\n  });\n});","define(\"@ember/routing/-internals\", [\"exports\", \"@ember/routing/lib/router_state\", \"@ember/routing/lib/routing-service\", \"@ember/routing/lib/utils\", \"@ember/routing/lib/generate_controller\", \"@ember/routing/lib/cache\", \"@ember/routing/lib/dsl\", \"@ember/routing/lib/controller_for\"], function (_exports, _router_state, _routingService, _utils, _generate_controller, _cache, _dsl, _controller_for) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"BucketCache\", {\n    enumerable: true,\n    get: function () {\n      return _cache.default;\n    }\n  });\n  Object.defineProperty(_exports, \"DSL\", {\n    enumerable: true,\n    get: function () {\n      return _dsl.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RouterState\", {\n    enumerable: true,\n    get: function () {\n      return _router_state.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RoutingService\", {\n    enumerable: true,\n    get: function () {\n      return _routingService.default;\n    }\n  });\n  Object.defineProperty(_exports, \"controllerFor\", {\n    enumerable: true,\n    get: function () {\n      return _controller_for.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, \"prefixRouteNameArg\", {\n    enumerable: true,\n    get: function () {\n      return _utils.prefixRouteNameArg;\n    }\n  });\n});","define(\"@ember/routing/hash-location\", [\"exports\", \"@ember/object\", \"@ember/runloop\", \"@ember/routing/lib/location-utils\"], function (_exports, _object, _runloop, _locationUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/routing/hash-location\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 _object.default {\n    constructor() {\n      super(...arguments);\n      this.lastSetURL = null;\n    }\n    init() {\n      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    getHash() {\n      return (0, _locationUtils.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    getURL() {\n      let originalPath = this.getHash().substring(1);\n      let outPath = originalPath;\n      if (outPath[0] !== '/') {\n        outPath = '/';\n        // 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        if (originalPath) {\n          outPath += `#${originalPath}`;\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    setURL(path) {\n      this.location.hash = path;\n      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    replaceURL(path) {\n      this.location.replace(`#${path}`);\n      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    onUpdateURL(callback) {\n      this._removeEventListener();\n      this._hashchangeHandler = (0, _runloop.bind)(this, function (_event) {\n        let path = this.getURL();\n        if (this.lastSetURL === path) {\n          return;\n        }\n        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    formatURL(url) {\n      return `#${url}`;\n    }\n    /**\n      Cleans up the HashLocation event listener.\n         @private\n      @method willDestroy\n    */\n    willDestroy() {\n      this._removeEventListener();\n    }\n    _removeEventListener() {\n      if (this._hashchangeHandler) {\n        window.removeEventListener('hashchange', this._hashchangeHandler);\n      }\n    }\n  }\n  _exports.default = HashLocation;\n});","define(\"@ember/routing/history-location\", [\"exports\", \"@ember/object\", \"@ember/debug\", \"@ember/routing/lib/location-utils\"], function (_exports, _object, _debug, _locationUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/routing/history-location\n  */\n  let popstateFired = false;\n  function _uuid() {\n    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n      let 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    Using `HistoryLocation` will also result in location states being recorded by\n    the browser `history` API with the following schema:\n  \n    ```\n    window.history.state -> { path: '/', uuid: '3552e730-b4a6-46bd-b8bf-d8c3c1a97e0a' }\n    ```\n  \n    This allows each in-app location state to be tracked uniquely across history\n    state changes via the `uuid` field.\n  \n    @class HistoryLocation\n    @extends EmberObject\n    @protected\n  */\n  class HistoryLocation extends _object.default {\n    constructor() {\n      super(...arguments);\n      /**\n        Will be pre-pended to path upon state change\n               @property rootURL\n        @default '/'\n        @private\n      */\n      this.rootURL = '/';\n    }\n    /**\n      @private\n         Returns normalized location.hash\n         @method getHash\n    */\n    getHash() {\n      return (0, _locationUtils.getHash)(this.location);\n    }\n    init() {\n      this._super(...arguments);\n      let base = document.querySelector('base');\n      let baseURL = '';\n      if (base !== null && base.hasAttribute('href')) {\n        baseURL = base.getAttribute('href') ?? '';\n      }\n      this.baseURL = baseURL;\n      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    initState() {\n      let history = this.history ?? window.history;\n      this.history = history;\n      let {\n        state\n      } = history;\n      let path = this.formatURL(this.getURL());\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    getURL() {\n      let {\n        location,\n        rootURL,\n        baseURL\n      } = this;\n      let path = location.pathname;\n      // remove trailing slashes if they exists\n      rootURL = rootURL.replace(/\\/$/, '');\n      baseURL = baseURL.replace(/\\/$/, '');\n      // remove baseURL and rootURL from start of path\n      let url = path.replace(new RegExp(`^${baseURL}(?=/|$)`), '').replace(new RegExp(`^${rootURL}(?=/|$)`), '').replace(/\\/\\//g, '/'); // remove extra slashes\n      let 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    setURL(path) {\n      (true && !(this.history) && (0, _debug.assert)('HistoryLocation.history is unexpectedly missing', this.history));\n      let {\n        state\n      } = this.history;\n      path = this.formatURL(path);\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    replaceURL(path) {\n      (true && !(this.history) && (0, _debug.assert)('HistoryLocation.history is unexpectedly missing', this.history));\n      let {\n        state\n      } = this.history;\n      path = this.formatURL(path);\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    pushState(path) {\n      let state = {\n        path,\n        uuid: _uuid()\n      };\n      (true && !(this.history) && (0, _debug.assert)('HistoryLocation.history is unexpectedly missing', this.history));\n      this.history.pushState(state, '', path);\n      // used for webkit workaround\n      this._previousURL = this.getURL();\n    }\n    /**\n     Replaces the current state.\n        @private\n     @method replaceState\n     @param path {String}\n    */\n    replaceState(path) {\n      let state = {\n        path,\n        uuid: _uuid()\n      };\n      (true && !(this.history) && (0, _debug.assert)('HistoryLocation.history is unexpectedly missing', this.history));\n      this.history.replaceState(state, '', path);\n      // used for webkit workaround\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    onUpdateURL(callback) {\n      this._removeEventListener();\n      this._popstateHandler = () => {\n        // Ignore initial page load popstate event in Chrome\n        if (!popstateFired) {\n          popstateFired = true;\n          if (this.getURL() === this._previousURL) {\n            return;\n          }\n        }\n        callback(this.getURL());\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    formatURL(url) {\n      let {\n        rootURL,\n        baseURL\n      } = this;\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      return baseURL + rootURL + url;\n    }\n    /**\n      Cleans up the HistoryLocation event listener.\n         @private\n      @method willDestroy\n    */\n    willDestroy() {\n      this._removeEventListener();\n    }\n    _removeEventListener() {\n      if (this._popstateHandler) {\n        window.removeEventListener('popstate', this._popstateHandler);\n      }\n    }\n  }\n  _exports.default = HistoryLocation;\n});","define(\"@ember/routing/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, \"LinkTo\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.LinkTo;\n    }\n  });\n});","define(\"@ember/routing/lib/cache\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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    has(bucketKey) {\n      return this.cache.has(bucketKey);\n    }\n    stash(bucketKey, key, value) {\n      let bucket = this.cache.get(bucketKey);\n      if (bucket === undefined) {\n        bucket = new Map();\n        this.cache.set(bucketKey, bucket);\n      }\n      bucket.set(key, value);\n    }\n    lookup(bucketKey, prop, defaultValue) {\n      if (!this.has(bucketKey)) {\n        return defaultValue;\n      }\n      let bucket = this.cache.get(bucketKey);\n      if (bucket.has(prop)) {\n        return bucket.get(prop);\n      } else {\n        return defaultValue;\n      }\n    }\n  }\n  _exports.default = BucketCache;\n});","define(\"@ember/routing/lib/controller_for\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = controllerFor;\n  /**\n    @module @ember/routing\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/routing/lib/dsl\", [\"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  let uuid = 0;\n  function isCallback(value) {\n    return typeof value === 'function';\n  }\n  function isOptions(value) {\n    return value !== null && typeof value === 'object';\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    route(name, _options, _callback) {\n      let options;\n      let callback = null;\n      let dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\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      (true && !((() => {\n        if (options.overrideNameAssertion === true) {\n          return true;\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        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      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      if (callback) {\n        let fullName = getFullName(this, name, options.resetNamespace);\n        let 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    push(url, name, callback, serialize) {\n      let parts = name.split('.');\n      if (this.options.engineInfo) {\n        let localFullName = name.slice(this.options.engineInfo.fullName.length + 1);\n        let routeInfo = Object.assign({\n          localFullName\n        }, this.options.engineInfo);\n        if (serialize) {\n          routeInfo.serializeMethod = serialize;\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      if (url === '' || url === '/' || parts[parts.length - 1] === 'index') {\n        this.explicitIndex = true;\n      }\n      this.matches.push(url, name, callback);\n    }\n    generate() {\n      let dslMatches = this.matches;\n      if (!this.explicitIndex) {\n        this.route('index', {\n          path: '/'\n        });\n      }\n      return match => {\n        for (let i = 0; i < dslMatches.length; i += 3) {\n          match(dslMatches[i]).to(dslMatches[i + 1], dslMatches[i + 2]);\n        }\n      };\n    }\n    mount(_name, options = {}) {\n      let engineRouteMap = this.options.resolveRouteMap(_name);\n      let name = _name;\n      if (options.as) {\n        name = options.as;\n      }\n      let fullName = getFullName(this, name, options.resetNamespace);\n      let engineInfo = {\n        name: _name,\n        instanceId: uuid++,\n        mountPoint: fullName,\n        fullName\n      };\n      let path = options.path;\n      if (typeof path !== 'string') {\n        path = `/${name}`;\n      }\n      let callback;\n      let dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n      if (engineRouteMap) {\n        let shouldResetEngineInfo = false;\n        let oldEngineInfo = this.options.engineInfo;\n        if (oldEngineInfo) {\n          shouldResetEngineInfo = true;\n          this.options.engineInfo = engineInfo;\n        }\n        let optionsForChild = Object.assign({\n          engineInfo\n        }, this.options);\n        let 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        if (shouldResetEngineInfo) {\n          this.options.engineInfo = oldEngineInfo;\n        }\n      }\n      let localFullName = 'application';\n      let routeInfo = Object.assign({\n        localFullName\n      }, engineInfo);\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        let substateName = `${name}_loading`;\n        let localFullName = `application_loading`;\n        let routeInfo = Object.assign({\n          localFullName\n        }, engineInfo);\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 = Object.assign({\n          localFullName\n        }, engineInfo);\n        createRoute(this, substateName, {\n          resetNamespace: options.resetNamespace,\n          path: dummyErrorRoute\n        });\n        this.options.addRouteForEngine(substateName, routeInfo);\n      }\n      this.options.addRouteForEngine(fullName, routeInfo);\n      this.push(path, fullName, callback);\n    }\n  }\n  _exports.default = DSLImpl;\n  function canNest(dsl) {\n    return dsl.parent !== 'application';\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  function createRoute(dsl, name, options = {}, callback) {\n    let fullName = getFullName(dsl, name, options.resetNamespace);\n    if (typeof options.path !== 'string') {\n      options.path = `/${name}`;\n    }\n    dsl.push(options.path, fullName, callback, options.serialize);\n  }\n});","define(\"@ember/routing/lib/engines\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"@ember/routing/lib/generate_controller\", [\"exports\", \"@ember/-internals/metal\", \"@ember/controller\", \"@ember/debug\"], function (_exports, _metal, _controller, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = generateController;\n  _exports.generateControllerFactory = generateControllerFactory;\n  /**\n   @module @ember/routing\n  */\n  /**\n    Generates a controller factory\n  \n    @for Ember\n    @method generateControllerFactory\n    @private\n  */\n  function generateControllerFactory(owner, controllerName) {\n    let factoryManager = owner.factoryFor('controller:basic');\n    (true && !(factoryManager !== undefined) && (0, _debug.assert)('[BUG] unexpectedly missing a factoryManager for `controller:basic`', factoryManager !== undefined)); // SAFETY: This is *not* safe, and the cast should be removed in favor of the\n    // `assert()` below after altering *tests*. It is left in this state for the\n    // moment in the interest of keeping type-only changes separate from changes\n    // to the runtime behavior of the system, even for tests.\n    let Factory = factoryManager.class;\n    // assert(\n    //   '[BUG] factory for `controller:main` is unexpectedly not a Controller',\n    //   ((factory): factory is typeof Controller => factory === Controller)(Factory)\n    // );\n    Factory = Factory.extend({\n      toString() {\n        return `(generated ${controllerName} controller)`;\n      }\n    });\n    let 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  function generateController(owner, controllerName) {\n    generateControllerFactory(owner, controllerName);\n    let fullName = `controller:${controllerName}`;\n    let instance = owner.lookup(fullName);\n    (true && !(instance instanceof _controller.default) && (0, _debug.assert)('Expected an instance of controller', instance instanceof _controller.default));\n    if (true /* DEBUG */) {\n      if ((0, _metal.get)(instance, 'namespace.LOG_ACTIVE_GENERATION')) {\n        (0, _debug.info)(`generated -> ${fullName}`, {\n          fullName\n        });\n      }\n    }\n    return instance;\n  }\n});","define(\"@ember/routing/lib/location-utils\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getFullPath = getFullPath;\n  _exports.getHash = getHash;\n  _exports.getOrigin = getOrigin;\n  _exports.getPath = getPath;\n  _exports.getQuery = getQuery;\n  _exports.replacePath = replacePath;\n  /**\n    @private\n  \n    Returns the current `location.pathname`, normalized for IE inconsistencies.\n  */\n  function getPath(location) {\n    let pathname = location.pathname;\n    // Various versions of IE/Opera don't always return a leading slash\n    if (pathname[0] !== '/') {\n      pathname = `/${pathname}`;\n    }\n    return pathname;\n  }\n  /**\n    @private\n  \n    Returns the current `location.search`.\n  */\n  function getQuery(location) {\n    return location.search;\n  }\n  /**\n    @private\n  \n    Returns the hash or empty string\n  */\n  function getHash(location) {\n    if (location.hash !== undefined) {\n      return location.hash.substring(0);\n    }\n    return '';\n  }\n  function getFullPath(location) {\n    return getPath(location) + getQuery(location) + getHash(location);\n  }\n  function getOrigin(location) {\n    let origin = location.origin;\n    // Older browsers, especially IE, don't have origin\n    if (!origin) {\n      origin = `${location.protocol}//${location.hostname}`;\n      if (location.port) {\n        origin += `:${location.port}`;\n      }\n    }\n    return origin;\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  function replacePath(location, path) {\n    location.replace(getOrigin(location) + path);\n  }\n});","define(\"@ember/routing/lib/query_params\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class QueryParams {\n    constructor(values = null) {\n      this.isQueryParams = true;\n      this.values = values;\n    }\n  }\n  _exports.default = QueryParams;\n});","define(\"@ember/routing/lib/route-info\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"@ember/routing/lib/router_state\", [\"exports\", \"@ember/routing/lib/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class RouterState {\n    constructor(emberRouter, router, routerJsState) {\n      this.emberRouter = emberRouter;\n      this.router = router;\n      this.routerJsState = routerJsState;\n    }\n    isActiveIntent(routeName, models, queryParams) {\n      let state = this.routerJsState;\n      if (!this.router.isActiveIntent(routeName, models, undefined, state)) {\n        return false;\n      }\n      if (queryParams !== undefined && Object.keys(queryParams).length > 0) {\n        let visibleQueryParams = Object.assign({}, queryParams);\n        this.emberRouter._prepareQueryParams(routeName, models, visibleQueryParams);\n        return (0, _utils.shallowEqual)(visibleQueryParams, state.queryParams);\n      }\n      return true;\n    }\n  }\n  _exports.default = RouterState;\n});","define(\"@ember/routing/lib/routing-service\", [\"exports\", \"@ember/-internals/owner\", \"@ember/debug\", \"@ember/object/computed\", \"@ember/service\", \"@ember/routing/router\", \"@ember/routing/router-service\"], function (_exports, _owner, _debug, _computed, _service, _router2, _routerService) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  /**\n    The Routing service is used by LinkTo, 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    get router() {\n      let router = this[_routerService.ROUTER];\n      if (router !== undefined) {\n        return router;\n      }\n      let owner = (0, _owner.getOwner)(this);\n      (true && !(owner) && (0, _debug.assert)('RoutingService is unexpectedly missing an owner', owner));\n      let _router = owner.lookup('router:main');\n      (true && !(_router instanceof _router2.default) && (0, _debug.assert)('ROUTING SERVICE BUG: Expected router to be an instance of EmberRouter', _router instanceof _router2.default));\n      _router.setupRouter();\n      return this[_routerService.ROUTER] = _router;\n    }\n    hasRoute(routeName) {\n      return this.router.hasRoute(routeName);\n    }\n    transitionTo(routeName, models, queryParams, shouldReplace) {\n      let transition = this.router._doTransition(routeName, models, queryParams);\n      if (shouldReplace) {\n        transition.method('replace');\n      }\n      return transition;\n    }\n    normalizeQueryParams(routeName, models, queryParams) {\n      this.router._prepareQueryParams(routeName, models, queryParams);\n    }\n    _generateURL(routeName, models, queryParams) {\n      let visibleQueryParams = {};\n      if (queryParams) {\n        Object.assign(visibleQueryParams, queryParams);\n        this.normalizeQueryParams(routeName, models, visibleQueryParams);\n      }\n      return this.router.generate(routeName, ...models, {\n        queryParams: visibleQueryParams\n      });\n    }\n    generateURL(routeName, models, queryParams) {\n      if (this.router._initialTransitionStarted) {\n        return this._generateURL(routeName, models, queryParams);\n      } else {\n        // Swallow error when transition has not started.\n        // When rendering in tests without visit(), we cannot infer the route context which <LinkTo/> needs be aware of\n        try {\n          return this._generateURL(routeName, models, queryParams);\n        } catch (_e) {\n          return;\n        }\n      }\n    }\n    isActiveForRoute(contexts, queryParams, routeName, routerState) {\n      let handlers = this.router._routerMicrolib.recognizer.handlersFor(routeName);\n      let leafName = handlers[handlers.length - 1].handler;\n      let maximumContexts = numberOfContextsAcceptedByHandler(routeName, handlers);\n      // 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      if (contexts.length > maximumContexts) {\n        routeName = leafName;\n      }\n      return routerState.isActiveIntent(routeName, contexts, queryParams);\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  function numberOfContextsAcceptedByHandler(handlerName, handlerInfos) {\n    let req = 0;\n    for (let i = 0; i < handlerInfos.length; i++) {\n      req += handlerInfos[i].names.length;\n      if (handlerInfos[i].handler === handlerName) {\n        break;\n      }\n    }\n    return req;\n  }\n});","define(\"@ember/routing/lib/utils\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/debug\", \"@ember/engine/instance\", \"router_js\"], function (_exports, _metal, _owner, _debug, _instance, _router_js) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.calculateCacheKey = calculateCacheKey;\n  _exports.extractRouteArgs = extractRouteArgs;\n  _exports.getActiveTargetName = getActiveTargetName;\n  _exports.normalizeControllerQueryParams = normalizeControllerQueryParams;\n  _exports.prefixRouteNameArg = prefixRouteNameArg;\n  _exports.resemblesURL = resemblesURL;\n  _exports.shallowEqual = shallowEqual;\n  _exports.stashParamNames = stashParamNames;\n  const ALL_PERIODS_REGEX = /\\./g;\n  function extractRouteArgs(args) {\n    // SAFETY: This should just be the same thing\n    args = args.slice();\n    let possibleOptions = args[args.length - 1];\n    let queryParams;\n    if (isRouteOptions(possibleOptions)) {\n      args.pop(); // Remove options\n      queryParams = possibleOptions.queryParams;\n    } else {\n      queryParams = {};\n    }\n    let routeName;\n    if (typeof args[0] === 'string') {\n      routeName = args.shift();\n      // We just checked this!\n      (true && !(typeof routeName === 'string') && (0, _debug.assert)('routeName is a string', typeof routeName === 'string'));\n    }\n    // SAFTEY: We removed the name and options if they existed, only models left.\n    let models = args;\n    return {\n      routeName,\n      models,\n      queryParams\n    };\n  }\n  function getActiveTargetName(router) {\n    let routeInfos = router.activeTransition ? router.activeTransition[_router_js.STATE_SYMBOL].routeInfos : router.state.routeInfos;\n    let lastRouteInfo = routeInfos[routeInfos.length - 1];\n    (true && !(lastRouteInfo) && (0, _debug.assert)('has last route info', lastRouteInfo));\n    return lastRouteInfo.name;\n  }\n  function stashParamNames(router, routeInfos) {\n    if (routeInfos['_namesStashed']) {\n      return;\n    }\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    let routeInfo = routeInfos[routeInfos.length - 1];\n    (true && !(routeInfo) && (0, _debug.assert)('has route info', routeInfo));\n    let targetRouteName = routeInfo.name;\n    let recogHandlers = router._routerMicrolib.recognizer.handlersFor(targetRouteName);\n    let dynamicParent;\n    for (let i = 0; i < routeInfos.length; ++i) {\n      let routeInfo = routeInfos[i];\n      (true && !(routeInfo) && (0, _debug.assert)('has route info', routeInfo));\n      let names = recogHandlers[i].names;\n      if (names.length) {\n        dynamicParent = routeInfo;\n      }\n      routeInfo['_names'] = names;\n      let route = routeInfo.route;\n      route._stashNames(routeInfo, dynamicParent);\n    }\n    routeInfos['_namesStashed'] = true;\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    let prefixParts = prefix.split('.');\n    let currPrefix = '';\n    for (let i = 0; i < prefixParts.length; i++) {\n      let currPart = prefixParts.slice(0, i + 1).join('.');\n      if (part.indexOf(currPart) !== 0) {\n        break;\n      }\n      currPrefix = currPart;\n    }\n    return currPrefix;\n  }\n  /*\n    Stolen from Controller\n  */\n  function calculateCacheKey(prefix, parts = [], values) {\n    let suffixes = '';\n    for (let part of parts) {\n      let cacheValuePrefix = _calculateCacheValuePrefix(prefix, part);\n      let value;\n      if (values) {\n        if (cacheValuePrefix && cacheValuePrefix in values) {\n          let partRemovedPrefix = part.indexOf(cacheValuePrefix) === 0 ? part.substring(cacheValuePrefix.length + 1) : part;\n          value = (0, _metal.get)(values[cacheValuePrefix], partRemovedPrefix);\n        } else {\n          value = (0, _metal.get)(values, part);\n        }\n      }\n      suffixes += `::${part}:${value}`;\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  function normalizeControllerQueryParams(queryParams) {\n    let qpMap = {};\n    for (let queryParam of queryParams) {\n      accumulateQueryParamDescriptors(queryParam, qpMap);\n    }\n    return qpMap;\n  }\n  function accumulateQueryParamDescriptors(_desc, accum) {\n    let desc = typeof _desc === 'string' ? {\n      [_desc]: {\n        as: null\n      }\n    } : _desc;\n    for (let key in desc) {\n      if (!Object.prototype.hasOwnProperty.call(desc, key)) {\n        return;\n      }\n      let _singleDesc = desc[key];\n      let singleDesc = typeof _singleDesc === 'string' ? {\n        as: _singleDesc\n      } : _singleDesc;\n      let partialVal = accum[key] || {\n        as: null,\n        scope: 'model'\n      };\n      let val = {\n        ...partialVal,\n        ...singleDesc\n      };\n      accum[key] = val;\n    }\n  }\n  /*\n    Check if a routeName resembles a url instead\n  \n    @private\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  function prefixRouteNameArg(route, args) {\n    let routeName;\n    let owner = (0, _owner.getOwner)(route);\n    (true && !(owner instanceof _instance.default) && (0, _debug.assert)('Expected route to have EngineInstance as owner', owner instanceof _instance.default));\n    let prefix = owner.mountPoint;\n    // only alter the routeName if it's actually referencing a route.\n    if (owner.routable && typeof args[0] === 'string') {\n      routeName = args[0];\n      if (resemblesURL(routeName)) {\n        throw new Error('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    return args;\n  }\n  function shallowEqual(a, b) {\n    let aCount = 0;\n    let bCount = 0;\n    for (let kA in a) {\n      if (Object.prototype.hasOwnProperty.call(a, kA)) {\n        if (a[kA] !== b[kA]) {\n          return false;\n        }\n        aCount++;\n      }\n    }\n    for (let kB in b) {\n      if (Object.prototype.hasOwnProperty.call(b, kB)) {\n        bCount++;\n      }\n    }\n    return aCount === bCount;\n  }\n  function isRouteOptions(value) {\n    if (value && typeof value === 'object') {\n      let qps = value.queryParams;\n      if (qps && typeof qps === 'object') {\n        return Object.keys(qps).every(k => typeof k === 'string');\n      }\n    }\n    return false;\n  }\n});","define(\"@ember/routing/location\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"@ember/routing/none-location\", [\"exports\", \"@ember/object\", \"@ember/debug\"], function (_exports, _object, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/routing/none-location\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 _object.default {\n    initState() {\n      this._super(...arguments);\n      let {\n        rootURL\n      } = this;\n      // This assert doesn't have anything to do with state initialization,\n      // but we're hijacking this method since it's called after the route has\n      // set the rootURL property on its Location instance.\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    getURL() {\n      let {\n        path,\n        rootURL\n      } = this;\n      // remove trailing slashes if they exists\n      rootURL = rootURL.replace(/\\/$/, '');\n      // remove rootURL from url\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    setURL(path) {\n      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    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    handleURL(url) {\n      this.path = url;\n      if (this.updateCallback) {\n        this.updateCallback(url);\n      }\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 {String} url\n      @return {String} url\n    */\n    formatURL(url) {\n      let {\n        rootURL\n      } = this;\n      if (url !== '') {\n        // remove trailing slashes if they exists\n        rootURL = rootURL.replace(/\\/$/, '');\n      }\n      return rootURL + url;\n    }\n  }\n  _exports.default = NoneLocation;\n  NoneLocation.reopen({\n    path: '',\n    rootURL: '/'\n  });\n});","define(\"@ember/routing/route-info\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"@ember/routing/route\", [\"exports\", \"@ember/-internals/container\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/environment\", \"@ember/routing/-internals\", \"@ember/object\", \"@ember/object/evented\", \"@ember/array\", \"@ember/-internals/runtime\", \"@ember/utils\", \"@ember/-internals/utils\", \"@ember/controller\", \"@ember/debug\", \"@ember/engine/instance\", \"@ember/object/compat\", \"@ember/runloop\", \"router_js\", \"@ember/routing/router\", \"@ember/routing/lib/utils\"], function (_exports, _container, _metal, _owner, _environment, _internals, _object, _evented, _array, _runtime, _utils, _utils2, _controller2, _debug, _instance, _compat, _runloop, _router_js, _router, _utils3) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.defaultSerialize = _exports.default = void 0;\n  _exports.getFullQueryParams = getFullQueryParams;\n  _exports.getRenderState = getRenderState;\n  _exports.hasDefaultSerialize = hasDefaultSerialize;\n  var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n  };\n  var _a;\n  function isStoreLike(store) {\n    return typeof store === 'object' && store !== null && typeof store.find === 'function';\n  }\n  const RENDER = Symbol('render');\n  const RENDER_STATE = Symbol('render-state');\n  class Route extends _object.default.extend(_runtime.ActionHandler, _evented.default) {\n    constructor(owner) {\n      super(owner);\n      // These properties will end up appearing in the public interface because we\n      // `implements IRoute` from `router.js`, which has them as part of *its*\n      // public contract. We mark them as `@internal` so they at least signal to\n      // people subclassing `Route` that they should not use them.\n      /** @internal */\n      this.context = {};\n      this[_a] = undefined;\n      if (owner) {\n        let router = owner.lookup('router:main');\n        let bucketCache = owner.lookup((0, _container.privatize)`-bucket-cache:main`);\n        (true && !(router instanceof _router.default && bucketCache instanceof _internals.BucketCache) && (0, _debug.assert)('ROUTER BUG: Expected route injections to be defined on the route. This is an internal bug, please open an issue on Github if you see this message!', router instanceof _router.default && bucketCache instanceof _internals.BucketCache));\n        this._router = router;\n        this._bucketCache = bucketCache;\n        this._topLevelViewTemplate = owner.lookup('template:-outlet');\n        this._environment = owner.lookup('-environment:main');\n      }\n    }\n    /**\n      A hook you can implement to convert the route's model into parameters\n      for the URL.\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' });\n      });\n         ```\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\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           serialize(model) {\n          // this will make the URL `/posts/12`\n          return { post_id: model.id };\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         This method is called when `transitionTo` is called with a context\n      in order to populate the URL.\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    serialize(model, params) {\n      if (params.length < 1 || !model) {\n        return;\n      }\n      let object = {};\n      if (params.length === 1) {\n        let [name] = params;\n        (true && !(name) && (0, _debug.assert)('has name', name));\n        if (typeof model === 'object' && name in model) {\n          object[name] = (0, _object.get)(model, name);\n        } else if (/_id$/.test(name)) {\n          object[name] = (0, _object.get)(model, 'id');\n        } else if ((0, _utils2.isProxy)(model)) {\n          object[name] = (0, _object.get)(model, name);\n        }\n      } else {\n        object = (0, _object.getProperties)(model, params);\n      }\n      return object;\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    _setRouteName(name) {\n      this.routeName = name;\n      let owner = (0, _owner.getOwner)(this);\n      (true && !(owner instanceof _instance.default) && (0, _debug.assert)('Expected route to have EngineInstance as owner', owner instanceof _instance.default));\n      this.fullRouteName = getEngineRouteName(owner, name);\n    }\n    /**\n      @private\n         @method _stashNames\n    */\n    _stashNames(routeInfo, dynamicParent) {\n      if (this._names) {\n        return;\n      }\n      let names = this._names = routeInfo['_names'];\n      if (!names.length) {\n        routeInfo = dynamicParent;\n        names = routeInfo && routeInfo['_names'] || [];\n      }\n      // SAFETY: Since `_qp` is protected we can't infer the type\n      let qps = (0, _object.get)(this, '_qp').qps;\n      let namePaths = new Array(names.length);\n      for (let a = 0; a < names.length; ++a) {\n        namePaths[a] = `${routeInfo.name}.${names[a]}`;\n      }\n      for (let qp of qps) {\n        if (qp.scope === 'model') {\n          qp.parts = namePaths;\n        }\n      }\n    }\n    /**\n      @private\n         @property _activeQPChanged\n    */\n    _activeQPChanged(qp, value) {\n      this._router._activeQPChanged(qp.scopedPropertyName, value);\n    }\n    /**\n      @private\n      @method _updatingQPChanged\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 extends 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    paramsFor(name) {\n      let owner = (0, _owner.getOwner)(this);\n      (true && !(owner) && (0, _debug.assert)('Route is unexpectedly missing an owner', owner));\n      let route = owner.lookup(`route:${name}`);\n      if (route === undefined) {\n        return {};\n      }\n      let transition = this._router._routerMicrolib.activeTransition;\n      let state = transition ? transition[_router_js.STATE_SYMBOL] : this._router._routerMicrolib.state;\n      let fullName = route.fullRouteName;\n      let params = {\n        ...state.params[fullName]\n      };\n      let queryParams = getQueryParamsFor(route, state);\n      return Object.entries(queryParams).reduce((params, [key, value]) => {\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] = value;\n        return params;\n      }, params);\n    }\n    /**\n      Serializes the query parameter key\n         @method serializeQueryParamKey\n      @param {String} controllerPropertyName\n      @private\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    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    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    _optionsForQueryParam(qp) {\n      const queryParams = (0, _object.get)(this, 'queryParams');\n      return (0, _object.get)(queryParams, qp.urlKey) || (0, _object.get)(queryParams, qp.prop) || queryParams[qp.urlKey] || 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    resetController(_controller, _isExiting, _transition) {\n      // We document that subclasses do not have to return *anything* and in fact\n      // do not even have to call super, so whiel we *do* return `this`, we need\n      // to be explicit in the types that our return type is *effectively* `void`.\n      return this;\n    }\n    /**\n      @private\n         @method exit\n    */\n    exit(transition) {\n      this.deactivate(transition);\n      this.trigger('deactivate', transition);\n      this.teardownViews();\n    }\n    /**\n      @private\n         @method _internalReset\n      @since 3.6.0\n    */\n    _internalReset(isExiting, transition) {\n      let controller = this.controller;\n      // SAFETY: Since `_qp` is protected we can't infer the type\n      controller['_qpDelegate'] = (0, _object.get)(this, '_qp').states.inactive;\n      this.resetController(controller, isExiting, transition);\n    }\n    /**\n      @private\n         @method enter\n    */\n    enter(transition) {\n      this[RENDER_STATE] = undefined;\n      this.activate(transition);\n      this.trigger('activate', transition);\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      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      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      @param {Transition} transition\n      @since 1.0.0\n      @public\n    */\n    deactivate(_transition) {}\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      @param {Transition} transition\n      @since 1.0.0\n      @public\n    */\n    activate(_transition) {}\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    intermediateTransitionTo(...args) {\n      let [name, ...preparedArgs] = (0, _utils3.prefixRouteNameArg)(this, args);\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    refresh() {\n      return this._router._routerMicrolib.refresh(this);\n    }\n    /**\n      This hook is the entry point for router.js\n         @private\n      @method setup\n    */\n    setup(context, transition) {\n      let controllerName = this.controllerName || this.routeName;\n      let definedController = this.controllerFor(controllerName, true);\n      let controller = definedController ?? this.generateController(controllerName);\n      // SAFETY: Since `_qp` is protected we can't infer the type\n      let queryParams = (0, _object.get)(this, '_qp');\n      // Assign the route's controller so that it can more easily be\n      // referenced in action handlers. Side effects. Side effects everywhere.\n      if (!this.controller) {\n        let propNames = queryParams.propertyNames;\n        addQueryParamsObservers(controller, propNames);\n        this.controller = controller;\n      }\n      let states = queryParams.states;\n      controller._qpDelegate = states.allowOverrides;\n      if (transition) {\n        // Update the model dep values used to calculate cache keys.\n        (0, _utils3.stashParamNames)(this._router, transition[_router_js.STATE_SYMBOL].routeInfos);\n        let cache = this._bucketCache;\n        let params = transition[_router_js.PARAMS_SYMBOL];\n        let allParams = queryParams.propertyNames;\n        allParams.forEach(prop => {\n          let aQp = queryParams.map[prop];\n          (true && !(aQp) && (0, _debug.assert)('expected aQp', aQp));\n          aQp.values = params;\n          let cacheKey = (0, _utils3.calculateCacheKey)(aQp.route.fullRouteName, aQp.parts, aQp.values);\n          let value = cache.lookup(cacheKey, prop, aQp.undecoratedDefaultValue);\n          (0, _object.set)(controller, prop, value);\n        });\n        let qpValues = getQueryParamsFor(this, transition[_router_js.STATE_SYMBOL]);\n        (0, _object.setProperties)(controller, qpValues);\n      }\n      this.setupController(controller, context, transition);\n      if (this._environment.options.shouldRender) {\n        this[RENDER]();\n      }\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      (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    _qpChanged(prop, value, qp) {\n      if (!qp) {\n        return;\n      }\n      // Update model-dep cache\n      let cache = this._bucketCache;\n      let cacheKey = (0, _utils3.calculateCacheKey)(qp.route.fullRouteName, qp.parts, qp.values);\n      cache.stash(cacheKey, prop, value);\n    }\n    beforeModel(_transition) {}\n    afterModel(_resolvedModel, _transition) {}\n    /**\n      A hook you can implement to optionally redirect to another route.\n         Calling `this.router.transitionTo` from inside of the `redirect` hook will\n      abort the current transition (into the route that has implemented `redirect`).\n         `redirect` and `afterModel` behave very similarly and are\n      called almost at the same time, but they have an important\n      distinction when calling `this.router.transitionTo` to a child route\n      of the current route. From `afterModel`, this new transition\n      invalidates the current transition, causing `beforeModel`,\n      `model`, and `afterModel` hooks to be called again. But the\n      same transition started from `redirect` does _not_ invalidate\n      the current transition. In other words, by the time the `redirect`\n      hook has been called, both the resolved model and the attempted\n      entry into this route are considered 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    redirect(_model, _transition) {}\n    /**\n      Called when the context is changed by router.js.\n         @private\n      @method contextDidChange\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         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.router.transitionTo('posts');\n         // model passed in, so model hook not called\n      thePost = store.findRecord('post', 1);\n      this.router.transitionTo('post', thePost);\n         // integer passed in, model hook is called\n      this.router.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.router.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         Note that the legacy behavior of automatically defining a model\n      hook when a dynamic segment ending in `_id` is present is\n      [deprecated](https://deprecations.emberjs.com/v5.x#toc_deprecate-implicit-route-model).\n      You should explicitly define a model hook whenever any segments are\n      present.\n         Example\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n      import { service } from '@ember/service';\n         export default class PostRoute extends Route {\n        @service store;\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    model(params, transition) {\n      let name, sawParams, value;\n      // SAFETY: Since `_qp` is protected we can't infer the type\n      let queryParams = (0, _object.get)(this, '_qp').map;\n      for (let prop in params) {\n        if (prop === 'queryParams' || queryParams && prop in queryParams) {\n          continue;\n        }\n        let match = prop.match(/^(.*)_id$/);\n        if (match !== null) {\n          name = match[1];\n          value = params[prop];\n        }\n        sawParams = true;\n      }\n      if (!name) {\n        if (sawParams) {\n          // SAFETY: This should be equivalent\n          return Object.assign({}, params);\n        } else {\n          if (transition.resolveIndex < 1) {\n            return;\n          }\n          // SAFETY: This should be correct, but TS is unable to infer this.\n          return transition[_router_js.STATE_SYMBOL].routeInfos[transition.resolveIndex - 1].context;\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    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    findModel(type, value) {\n      if (_environment.ENV._NO_IMPLICIT_ROUTE_MODEL) {\n        return;\n      }\n      (true && !(false) && (0, _debug.deprecate)(`The implicit model loading behavior for routes is deprecated. ` + `Please define an explicit model hook for ${this.fullRouteName}.`, false, {\n        id: 'deprecate-implicit-route-model',\n        for: 'ember-source',\n        since: {\n          available: '5.3.0',\n          enabled: '5.3.0'\n        },\n        until: '6.0.0',\n        url: 'https://deprecations.emberjs.com/v5.x/#toc_deprecate-implicit-route-model'\n      }));\n      const store = 'store' in this ? this.store : (0, _object.get)(this, '_store');\n      (true && !(isStoreLike(store)) && (0, _debug.assert)('Expected route to have a store with a find method', isStoreLike(store))); // SAFETY: We don't actually know it will return this, but this code path is also deprecated.\n      return store.find(type, value);\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      import { service } from '@ember/service';\n         export default class PhotosRoute extends Route {\n        @service store;\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      @param {Transition} [transition]\n      @since 1.0.0\n      @public\n    */\n    setupController(controller, context, _transition) {\n      if (controller && context !== undefined) {\n        (0, _object.set)(controller, 'model', context);\n      }\n    }\n    controllerFor(name, _skipAssert = false) {\n      let owner = (0, _owner.getOwner)(this);\n      (true && !(owner) && (0, _debug.assert)('Route is unexpectedly missing an owner', owner));\n      let route = owner.lookup(`route:${name}`);\n      if (route && route.controllerName) {\n        name = route.controllerName;\n      }\n      let controller = owner.lookup(`controller:${name}`);\n      // 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      (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      (true && !(controller === undefined || controller instanceof _controller2.default) && (0, _debug.assert)(`Expected controller:${name} to be an instance of Controller`, controller === undefined || controller instanceof _controller2.default));\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    generateController(name) {\n      let owner = (0, _owner.getOwner)(this);\n      (true && !(owner) && (0, _debug.assert)('Route is unexpectedly missing an owner', owner));\n      return (0, _internals.generateController)(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    modelFor(_name) {\n      let name;\n      let owner = (0, _owner.getOwner)(this);\n      (true && !(owner instanceof _instance.default) && (0, _debug.assert)('Expected router owner to be an EngineInstance', owner instanceof _instance.default));\n      let transition = this._router && this._router._routerMicrolib ? this._router._routerMicrolib.activeTransition : undefined;\n      // Only change the route name when there is an active transition.\n      // Otherwise, use the passed in route name.\n      if (owner.routable && transition !== undefined) {\n        name = getEngineRouteName(owner, _name);\n      } else {\n        name = _name;\n      }\n      let route = owner.lookup(`route:${name}`);\n      // If we are mid-transition, we want to try and look up\n      // resolved parent contexts on the current transitionEvent.\n      if (transition !== undefined && transition !== null) {\n        let modelLookupName = route && route.routeName || name;\n        if (Object.prototype.hasOwnProperty.call(transition.resolvedModels, modelLookupName)) {\n          return transition.resolvedModels[modelLookupName];\n        }\n      }\n      return route?.currentModel;\n    }\n    /**\n      `this[RENDER]` is used to set up the rendering option for the outlet state.\n      @method this[RENDER]\n      @private\n     */\n    [(_a = RENDER_STATE, RENDER)]() {\n      this[RENDER_STATE] = buildRenderState(this);\n      (0, _runloop.once)(this._router, '_setOutlets');\n    }\n    willDestroy() {\n      this.teardownViews();\n    }\n    /**\n      @private\n         @method teardownViews\n    */\n    teardownViews() {\n      if (this[RENDER_STATE]) {\n        this[RENDER_STATE] = undefined;\n        (0, _runloop.once)(this._router, '_setOutlets');\n      }\n    }\n    buildRouteInfoMetadata() {}\n    _paramsFor(routeName, params) {\n      let transition = this._router._routerMicrolib.activeTransition;\n      if (transition !== undefined) {\n        return this.paramsFor(routeName);\n      }\n      return params;\n    }\n    /** @deprecated Manually define your own store, such as with `@service store` */\n    get _store() {\n      const owner = (0, _owner.getOwner)(this);\n      (true && !(owner) && (0, _debug.assert)('Route is unexpectedly missing an owner', owner));\n      let routeName = this.routeName;\n      return {\n        find(name, value) {\n          let modelClass = owner.factoryFor(`model:${name}`);\n          (true && !(Boolean(modelClass)) && (0, _debug.assert)(`You used the dynamic segment \\`${name}_id\\` in your route ` + `\\`${routeName}\\` for which Ember requires you provide a ` + `data-loading implementation. Commonly, that is done by ` + `adding a model hook implementation on the route ` + `(\\`model({${name}_id}) {\\`) or by injecting an implemention of ` + `a data store: \\`@service store;\\`.`, Boolean(modelClass)));\n          if (!modelClass) {\n            return;\n          }\n          modelClass = modelClass.class;\n          (true && !(typeof modelClass.find === 'function') && (0, _debug.assert)(`You used the dynamic segment \\`${name}_id\\` in your route ` + `\\`${routeName}\\` for which Ember requires you provide a ` + `data-loading implementation. Commonly, that is done by ` + `adding a model hook implementation on the route ` + `(\\`model({${name}_id}) {\\`) or by injecting an implemention of ` + `a data store: \\`@service store;\\`.\\n\\n` + `Rarely, applications may attempt to use a legacy behavior where ` + `the model class (in this case \\`${name}\\`) is resolved and the ` + `\\`find\\` method on that class is invoked to load data. In this ` + `application, a model of \\`${name}\\` was found but it did not ` + `provide a \\`find\\` method. You should not add a \\`find\\` ` + `method to your model. Instead, please implement an appropriate ` + `\\`model\\` hook on the \\`${routeName}\\` route.`, typeof modelClass.find === 'function'));\n          return modelClass.find(value);\n        }\n      };\n    }\n    /**\n      @private\n      @property _qp\n      */\n    get _qp() {\n      let combinedQueryParameterConfiguration = {};\n      let controllerName = this.controllerName || this.routeName;\n      let owner = (0, _owner.getOwner)(this);\n      (true && !(owner) && (0, _debug.assert)('Route is unexpectedly missing an owner', owner));\n      let controller = owner.lookup(`controller:${controllerName}`);\n      let queryParameterConfiguraton = (0, _object.get)(this, 'queryParams');\n      let hasRouterDefinedQueryParams = Object.keys(queryParameterConfiguraton).length > 0;\n      if (controller) {\n        (true && !(controller instanceof _controller2.default) && (0, _debug.assert)('Expected an instance of controller', controller instanceof _controller2.default)); // 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        let controllerDefinedQueryParameterConfiguration = (0, _object.get)(controller, 'queryParams') || [];\n        let normalizedControllerQueryParameterConfiguration = (0, _utils3.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, _internals.generateController)(owner, controllerName);\n        combinedQueryParameterConfiguration = queryParameterConfiguraton;\n      }\n      let qps = [];\n      let map = {};\n      let propertyNames = [];\n      for (let propName in combinedQueryParameterConfiguration) {\n        if (!Object.prototype.hasOwnProperty.call(combinedQueryParameterConfiguration, propName)) {\n          continue;\n        }\n        // to support the dubious feature of using unknownProperty\n        // on queryParams configuration\n        if (propName === 'unknownProperty' || propName === '_super') {\n          // possible todo: issue deprecation warning?\n          continue;\n        }\n        let desc = combinedQueryParameterConfiguration[propName];\n        (true && !(desc) && (0, _debug.assert)(`[BUG] missing query parameter configuration for ${propName}`, desc));\n        let scope = desc.scope || 'model';\n        let parts = undefined;\n        if (scope === 'controller') {\n          parts = [];\n        }\n        let urlKey = desc.as || this.serializeQueryParamKey(propName);\n        let defaultValue = (0, _object.get)(controller, propName);\n        defaultValue = copyDefaultValue(defaultValue);\n        let type = desc.type || (0, _utils.typeOf)(defaultValue);\n        let defaultValueSerialized = this.serializeQueryParam(defaultValue, urlKey, type);\n        let scopedPropertyName = `${controllerName}:${propName}`;\n        let qp = {\n          undecoratedDefaultValue: (0, _object.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      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            let qp = map[prop];\n            (true && !(qp) && (0, _debug.assert)('expected inactive callback to only be called for registered qps', qp));\n            this._qpChanged(prop, value, qp);\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            let qp = map[prop];\n            (true && !(qp) && (0, _debug.assert)('expected active callback to only be called for registered qps', qp));\n            this._qpChanged(prop, value, qp);\n            return this._activeQPChanged(qp, value);\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            let qp = map[prop];\n            (true && !(qp) && (0, _debug.assert)('expected allowOverrides callback to only be called for registered qps', qp));\n            this._qpChanged(prop, value, qp);\n            return this._updatingQPChanged(qp);\n          }\n        }\n      };\n    }\n  }\n  Route.isRouteFactory = true;\n  __decorate([_object.computed], Route.prototype, \"_store\", null);\n  __decorate([_object.computed], Route.prototype, \"_qp\", null);\n  function getRenderState(route) {\n    return route[RENDER_STATE];\n  }\n  function buildRenderState(route) {\n    let owner = (0, _owner.getOwner)(route);\n    (true && !(owner) && (0, _debug.assert)('Route is unexpectedly missing an owner', owner));\n    let name = route.routeName;\n    let controller = owner.lookup(`controller:${route.controllerName || name}`);\n    (true && !(controller instanceof _controller2.default) && (0, _debug.assert)('Expected an instance of controller', controller instanceof _controller2.default));\n    let model = route.currentModel;\n    let template = owner.lookup(`template:${route.templateName || name}`);\n    let render = {\n      owner,\n      into: undefined,\n      outlet: 'main',\n      name,\n      controller,\n      model,\n      template: template?.(owner) ?? route._topLevelViewTemplate(owner)\n    };\n    if (true /* DEBUG */) {\n      let LOG_VIEW_LOOKUPS = (0, _object.get)(route._router, 'namespace.LOG_VIEW_LOOKUPS');\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    return render;\n  }\n  function getFullQueryParams(router, state) {\n    if (state.fullQueryParams) {\n      return state.fullQueryParams;\n    }\n    let haveAllRouteInfosResolved = state.routeInfos.every(routeInfo => routeInfo.route);\n    let fullQueryParamsState = {\n      ...state.queryParams\n    };\n    router._deserializeQueryParams(state.routeInfos, fullQueryParamsState);\n    // only cache query params state if all routeinfos have resolved; it's possible\n    // for lazy routes to not have resolved when `getFullQueryParams` is called, so\n    // we wait until all routes have resolved prior to caching query params state\n    if (haveAllRouteInfosResolved) {\n      state.fullQueryParams = fullQueryParamsState;\n    }\n    return fullQueryParamsState;\n  }\n  function getQueryParamsFor(route, state) {\n    state.queryParamsFor = state.queryParamsFor || {};\n    let name = route.fullRouteName;\n    let existing = state.queryParamsFor[name];\n    if (existing) {\n      return existing;\n    }\n    let fullQueryParams = getFullQueryParams(route._router, state);\n    let params = state.queryParamsFor[name] = {};\n    // Copy over all the query params for this route/controller into params hash.\n    // SAFETY: Since `_qp` is protected we can't infer the type\n    let qps = (0, _object.get)(route, '_qp').qps;\n    for (let qp of qps) {\n      // Put deserialized qp on params hash.\n      let qpValueWasPassedIn = (qp.prop in fullQueryParams);\n      params[qp.prop] = qpValueWasPassedIn ? fullQueryParams[qp.prop] : copyDefaultValue(qp.defaultValue);\n    }\n    return params;\n  }\n  // FIXME: This should probably actually return a `NativeArray` if the passed in value is an Array.\n  function copyDefaultValue(value) {\n    if (Array.isArray(value)) {\n      // SAFETY: We lost the type data about the array if we don't cast.\n      return (0, _array.A)(value.slice());\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  function mergeEachQueryParams(controllerQP, routeQP) {\n    let qps = {};\n    let keysAlreadyMergedOrSkippable = {\n      defaultValue: true,\n      type: true,\n      scope: true,\n      as: true\n    };\n    // first loop over all controller qps, merging them with any matching route qps\n    // into a new empty object to avoid mutating.\n    for (let cqpName in controllerQP) {\n      if (!Object.prototype.hasOwnProperty.call(controllerQP, cqpName)) {\n        continue;\n      }\n      qps[cqpName] = {\n        ...controllerQP[cqpName],\n        ...routeQP[cqpName]\n      };\n      // allows us to skip this QP when we check route QPs.\n      keysAlreadyMergedOrSkippable[cqpName] = true;\n    }\n    // loop over all route qps, skipping those that were merged in the first pass\n    // because they also appear in controller qps\n    for (let rqpName in routeQP) {\n      if (!Object.prototype.hasOwnProperty.call(routeQP, rqpName) || keysAlreadyMergedOrSkippable[rqpName]) {\n        continue;\n      }\n      qps[rqpName] = {\n        ...routeQP[rqpName],\n        ...controllerQP[rqpName]\n      };\n    }\n    return qps;\n  }\n  function addQueryParamsObservers(controller, propNames) {\n    propNames.forEach(prop => {\n      if ((0, _metal.descriptorForProperty)(controller, prop) === undefined) {\n        let desc = (0, _utils2.lookupDescriptor)(controller, prop);\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      (0, _metal.addObserver)(controller, `${prop}.[]`, controller, controller._qpChanged, false);\n    });\n  }\n  function getEngineRouteName(engine, routeName) {\n    if (engine.routable) {\n      let prefix = engine.mountPoint;\n      if (routeName === 'application') {\n        return prefix;\n      } else {\n        return `${prefix}.${routeName}`;\n      }\n    }\n    return routeName;\n  }\n  const defaultSerialize = _exports.defaultSerialize = Route.prototype.serialize;\n  function hasDefaultSerialize(route) {\n    return route.serialize === defaultSerialize;\n  }\n  // Set these here so they can be overridden with extend\n  Route.reopen({\n    mergedProperties: ['queryParams'],\n    queryParams: {},\n    templateName: null,\n    controllerName: null,\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      if (this._router && this._router._routerMicrolib || !(0, _debug.isTesting)()) {\n        this._router.send(...args);\n      } else {\n        let name = args.shift();\n        let action = this.actions[name];\n        if (action) {\n          return action.apply(this, args);\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        // SAFETY: Since `_qp` is protected we can't infer the type\n        let qpMap = (0, _object.get)(this, '_qp').map;\n        let totalChanged = Object.keys(changed).concat(Object.keys(removed));\n        for (let change of totalChanged) {\n          let qp = qpMap[change];\n          if (qp) {\n            let options = this._optionsForQueryParam(qp);\n            (true && !(options && typeof options === 'object') && (0, _debug.assert)('options exists', options && typeof options === 'object'));\n            if ((0, _object.get)(options, 'refreshModel') && this._router.currentState) {\n              this.refresh();\n              break;\n            }\n          }\n        }\n        return true;\n      },\n      finalizeQueryParamChange(params, finalParams, transition) {\n        if (this.fullRouteName !== 'application') {\n          return true;\n        }\n        // Transition object is absent for intermediate transitions.\n        if (!transition) {\n          return;\n        }\n        let routeInfos = transition[_router_js.STATE_SYMBOL].routeInfos;\n        let router = this._router;\n        let qpMeta = router._queryParamsFor(routeInfos);\n        let changes = router._qpUpdates;\n        let qpUpdated = false;\n        let replaceUrl;\n        (0, _utils3.stashParamNames)(router, routeInfos);\n        for (let qp of qpMeta.qps) {\n          let route = qp.route;\n          let controller = route.controller;\n          let presentKey = qp.urlKey in params && qp.urlKey;\n          // Do a reverse lookup to see if the changed query\n          // param URL key corresponds to a QP property on\n          // this controller.\n          let value;\n          let svalue;\n          if (changes.has(qp.urlKey)) {\n            // Value updated in/before setupController\n            value = (0, _object.get)(controller, qp.prop);\n            svalue = route.serializeQueryParam(value, qp.urlKey, qp.type);\n          } else {\n            if (presentKey) {\n              svalue = params[presentKey];\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          // SAFETY: Since `_qp` is protected we can't infer the type\n          controller._qpDelegate = (0, _object.get)(route, '_qp').states.inactive;\n          let thisQueryParamChanged = svalue !== qp.serializedValue;\n          if (thisQueryParamChanged) {\n            if (transition.queryParamsOnly && replaceUrl !== false) {\n              let options = route._optionsForQueryParam(qp);\n              let replaceConfigValue = (0, _object.get)(options, 'replace');\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            (0, _object.set)(controller, qp.prop, value);\n            qpUpdated = true;\n          }\n          // Stash current serialized value of controller.\n          qp.serializedValue = svalue;\n          let thisQueryParamHasDefaultValue = qp.serializedDefaultValue === svalue;\n          if (!thisQueryParamHasDefaultValue) {\n            finalParams.push({\n              value: svalue,\n              visible: true,\n              key: presentKey || qp.urlKey\n            });\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        if (qpUpdated === true) {\n          (0, _metal.flushAsyncObservers)(false);\n        }\n        if (replaceUrl) {\n          transition.method('replace');\n        }\n        qpMeta.qps.forEach(qp => {\n          // SAFETY: Since `_qp` is protected we can't infer the type\n          let routeQpMeta = (0, _object.get)(qp.route, '_qp');\n          let finalizedController = qp.route.controller;\n          finalizedController['_qpDelegate'] = (0, _object.get)(routeQpMeta, 'states.active');\n        });\n        router._qpUpdates.clear();\n        return;\n      }\n    }\n  });\n  var _default = _exports.default = Route;\n});","define(\"@ember/routing/router-service\", [\"exports\", \"@ember/-internals/owner\", \"@ember/object/evented\", \"@ember/debug\", \"@ember/object/computed\", \"@ember/service\", \"@glimmer/validator\", \"@ember/routing/router\", \"@ember/routing/lib/utils\"], function (_exports, _owner, _evented, _debug, _computed, _service, _validator, _router2, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.ROUTER = void 0;\n  var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n  };\n  /**\n   * @module @ember/routing/router-service\n   */\n\n  const ROUTER = _exports.ROUTER = Symbol('ROUTER');\n  function cleanURL(url, rootURL) {\n    if (rootURL === '/') {\n      return url;\n    }\n    return url.substring(rootURL.length);\n  }\n  class RouterService extends _service.default.extend(_evented.default) {\n    get _router() {\n      let router = this[ROUTER];\n      if (router !== undefined) {\n        return router;\n      }\n      let owner = (0, _owner.getOwner)(this);\n      (true && !(owner) && (0, _debug.assert)('RouterService is unexpectedly missing an owner', owner));\n      let _router = owner.lookup('router:main');\n      (true && !(_router instanceof _router2.default) && (0, _debug.assert)('ROUTER SERVICE BUG: Expected router to be an instance of EmberRouter', _router instanceof _router2.default));\n      return this[ROUTER] = _router;\n    }\n    willDestroy() {\n      super.willDestroy();\n      this[ROUTER] = undefined;\n    }\n    /**\n       Transition the application into another route. The route may\n       be either a single route or route path:\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 in the first action, and in the second we trigger\n       a query-params only transition.\n          ```app/components/example.js\n       import Component from '@glimmer/component';\n       import { action } from '@ember/object';\n       import { 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            @action\n         fetchMoreComments(latestComment) {\n           this.router.transitionTo({\n             queryParams: { commentsAfter: latestComment }\n           });\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. May be supplied as the only\n        parameter to trigger a query-parameter-only transition.\n       @return {Transition} the transition object associated with this\n         attempted transition\n       @public\n     */\n    transitionTo(...args) {\n      if ((0, _utils.resemblesURL)(args[0])) {\n        // NOTE: this `args[0] as string` cast is safe and TS correctly infers it\n        // in 3.6+, so it can be removed when TS is upgraded.\n        return this._router._doURLTransition('transitionTo', args[0]);\n      }\n      let {\n        routeName,\n        models,\n        queryParams\n      } = (0, _utils.extractRouteArgs)(args);\n      let transition = this._router._doTransition(routeName, models, queryParams, true);\n      return transition;\n    }\n    /**\n       Similar to `transitionTo`, but instead of adding the destination to the browser's URL history,\n       it replaces the entry for the current route.\n       When the user clicks the \"back\" button in the browser, there will be fewer steps.\n       This is most commonly used to manage redirects in a way that does not cause confusing additions\n       to the user's browsing history.\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       import { service } from '@ember/service';\n          export default class extends Route {\n         @service router;\n         beforeModel() {\n           if (!authorized()){\n             this.router.replaceWith('unauthorized');\n           }\n         }\n       });\n       ```\n          @method replaceWith\n       @param {String} routeNameOrUrl the name of the route or a URL of the desired destination\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route i.e. an object of params to pass to the destination 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    replaceWith(...args) {\n      return this.transitionTo(...args).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 { 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 { 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) for 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    urlFor(routeName, ...args) {\n      this._router.setupRouter();\n      return this._router.generate(routeName, ...args);\n    }\n    /**\n       Returns `true` if `routeName/models/queryParams` is the active route, where `models` and `queryParams` are optional.\n       See [model](api/ember/release/classes/Route/methods/model?anchor=model) and\n       [queryParams](/api/ember/3.7/classes/Route/properties/queryParams?anchor=queryParams) for more information about these arguments.\n          In the following example, `isActive` will return `true` if the current route is `/posts`.\n          ```app/components/posts.js\n       import Component from '@glimmer/component';\n       import { service } from '@ember/service';\n          export default class extends Component {\n         @service router;\n            displayComments() {\n           return this.router.isActive('posts');\n         }\n       });\n       ```\n          The next example includes a dynamic segment, and will return `true` if the current route is `/posts/1`,\n       assuming the post has an id of 1:\n          ```app/components/posts.js\n       import Component from '@glimmer/component';\n       import { service } from '@ember/service';\n          export default class extends Component {\n         @service router;\n            displayComments(post) {\n           return this.router.isActive('posts', post.id);\n         }\n       });\n       ```\n          Where `post.id` is the id of a specific post, which is represented in the route as /posts/[post.id].\n       If `post.id` is equal to 1, then isActive will return true if the current route is /posts/1, and false if the route is anything else.\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 when determining the active 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    isActive(...args) {\n      let {\n        routeName,\n        models,\n        queryParams\n      } = (0, _utils.extractRouteArgs)(args);\n      let routerMicrolib = this._router._routerMicrolib;\n      // When using isActive() in a getter, we want to entagle with the auto-tracking system\n      // for example,\n      // in\n      // get isBarActive() {\n      //   return isActive('foo.bar');\n      // }\n      //\n      // you'd expect isBarActive to be dirtied when the route changes.\n      //\n      // https://github.com/emberjs/ember.js/issues/19004\n      (0, _validator.consumeTag)((0, _validator.tagFor)(this._router, 'currentURL'));\n      // UNSAFE: casting `routeName as string` here encodes the existing\n      // assumption but may be wrong: `extractRouteArgs` correctly returns it as\n      // `string | undefined`. There may be bugs if `isActiveIntent` does\n      // not correctly account for `undefined` values for `routeName`. Spoilers:\n      // it *does not* account for this being `undefined`.\n      if (!routerMicrolib.isActiveIntent(routeName, models)) {\n        return false;\n      }\n      let hasQueryParams = Object.keys(queryParams).length > 0;\n      if (hasQueryParams) {\n        // UNSAFE: casting `routeName as string` here encodes the existing\n        // assumption but may be wrong: `extractRouteArgs` correctly returns it\n        // as `string | undefined`. There may be bugs if `_prepareQueryParams`\n        // does not correctly account for `undefined` values for `routeName`.\n        //  Spoilers: under the hood this currently uses router.js APIs which\n        // *do not* account for this being `undefined`.\n        let targetRouteName = routeName;\n        queryParams = Object.assign({}, queryParams);\n        this._router._prepareQueryParams(targetRouteName, models, queryParams, true /* fromRouterService */);\n        let currentQueryParams = Object.assign({}, routerMicrolib.state.queryParams);\n        this._router._prepareQueryParams(targetRouteName, models, currentQueryParams, true /* fromRouterService */);\n        return (0, _utils.shallowEqual)(queryParams, currentQueryParams);\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 { 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        @return {RouteInfo | null}\n        @public\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      this._router.setupRouter();\n      let 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        @return {RouteInfo}\n        @public\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      this._router.setupRouter();\n      let internalURL = cleanURL(url, this.rootURL);\n      return this._router._routerMicrolib.recognizeAndLoad(internalURL);\n    }\n    /**\n      You can register a listener for events emitted by this service with `.on()`:\n         ```app/routes/contact-form.js\n      import Route from '@ember/routing';\n      import { service } from '@ember/service';\n         export default class extends Route {\n        @service router;\n           activate() {\n          this.router.on('routeWillChange', (transition) => {\n            if (!transition.to.find(route => route.name === this.routeName)) {\n              alert(\"Please save or cancel your changes.\");\n              transition.abort();\n            }\n          })\n        }\n      }\n      ```\n         @method on\n      @param {String} eventName\n      @param {Function} callback\n      @public\n    */\n    /**\n      You can unregister a listener for events emitted by this service with `.off()`:\n         ```app/routes/contact-form.js\n      import Route from '@ember/routing';\n      import { service } from '@ember/service';\n         export default class ContactFormRoute extends Route {\n        @service router;\n           callback = (transition) => {\n          if (!transition.to.find(route => route.name === this.routeName)) {\n            alert('Please save or cancel your changes.');\n            transition.abort();\n          }\n        };\n           activate() {\n          this.router.on('routeWillChange', this.callback);\n        }\n           deactivate() {\n          this.router.off('routeWillChange', this.callback);\n        }\n      }\n      ```\n         @method off\n      @param {String} eventName\n      @param {Function} callback\n      @public\n    */\n    /**\n      The `routeWillChange` event 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';\n      import { service } from '@ember/service';\n         export default class extends Route {\n        @service router;\n           activate() {\n          this.router.on('routeWillChange', (transition) => {\n            if (!transition.to.find(route => route.name === this.routeName)) {\n              alert(\"Please save or cancel your changes.\");\n              transition.abort();\n            }\n          })\n        }\n      }\n      ```\n         The `routeWillChange` event fires whenever a new route is chosen as the desired target of a transition. This includes `transitionTo`, `replaceWith`, all redirection for any reason including error handling, and abort. Aborting implies changing the desired target back to where you already were. Once a transition has completed, `routeDidChange` fires.\n         @event routeWillChange\n      @param {Transition} transition\n      @public\n    */\n    /**\n      The `routeDidChange` event only fires once a transition has settled.\n      This includes aborts and error substates. Like the `routeWillChange` event\n      it receives a Transition as the sole argument.\n         A good example is sending some analytics when the route has transitioned:\n         ```app/routes/contact-form.js\n      import Route from '@ember/routing';\n      import { service } from '@ember/service';\n         export default class extends Route {\n        @service router;\n           activate() {\n          this.router.on('routeDidChange', (transition) => {\n            ga.send('pageView', {\n              current: transition.to.name,\n              from: transition.from.name\n            });\n          })\n        }\n      }\n      ```\n         `routeDidChange` will be called after any `Route`'s\n      [didTransition](/ember/release/classes/Route/events/didTransition?anchor=didTransition)\n      action has been fired.\n      The updates of properties\n      [currentURL](/ember/release/classes/RouterService/properties/currentURL?anchor=currentURL),\n      [currentRouteName](/ember/release/classes/RouterService/properties/currentURL?anchor=currentRouteName)\n      and\n      [currentRoute](/ember/release/classes/RouterService/properties/currentURL?anchor=currentRoute)\n      are completed at the time `routeDidChange` is called.\n         @event routeDidChange\n      @param {Transition} transition\n      @public\n    */\n    /**\n     * Refreshes all currently active routes, doing a full transition.\n     * If a route name is provided and refers to a currently active route,\n     * it will refresh only that route and its descendents.\n     * Returns a promise that will be resolved once the refresh is complete.\n     * All resetController, beforeModel, model, afterModel, redirect, and setupController\n     * hooks will be called again. You will get new data from the model hook.\n     *\n     * @method refresh\n     * @param {String} [routeName] the route to refresh (along with all child routes)\n     * @return Transition\n     * @public\n     */\n    refresh(pivotRouteName) {\n      if (!pivotRouteName) {\n        return this._router._routerMicrolib.refresh();\n      }\n      (true && !(this._router.hasRoute(pivotRouteName)) && (0, _debug.assert)(`The route \"${pivotRouteName}\" was not found`, this._router.hasRoute(pivotRouteName)));\n      (true && !(this.isActive(pivotRouteName)) && (0, _debug.assert)(`The route \"${pivotRouteName}\" is currently not active`, this.isActive(pivotRouteName)));\n      let owner = (0, _owner.getOwner)(this);\n      (true && !(owner) && (0, _debug.assert)('RouterService is unexpectedly missing an owner', owner));\n      let pivotRoute = owner.lookup(`route:${pivotRouteName}`);\n      return this._router._routerMicrolib.refresh(pivotRoute);\n    }\n  }\n  _exports.default = RouterService;\n  __decorate([(0, _computed.readOnly)('_router.currentRouteName')], RouterService.prototype, \"currentRouteName\", void 0);\n  __decorate([(0, _computed.readOnly)('_router.currentURL')], RouterService.prototype, \"currentURL\", void 0);\n  __decorate([(0, _computed.readOnly)('_router.location')], RouterService.prototype, \"location\", void 0);\n  __decorate([(0, _computed.readOnly)('_router.rootURL')], RouterService.prototype, \"rootURL\", void 0);\n  __decorate([(0, _computed.readOnly)('_router.currentRoute')], RouterService.prototype, \"currentRoute\", void 0);\n});","define(\"@ember/routing/router\", [\"exports\", \"@ember/-internals/container\", \"@ember/object\", \"@ember/owner\", \"@ember/routing/-internals\", \"@ember/routing/lib/utils\", \"@ember/array\", \"@ember/utils\", \"@ember/object/evented\", \"@ember/debug\", \"@ember/runloop\", \"@ember/routing/route\", \"router_js\", \"@ember/engine/instance\"], function (_exports, _container, _object, _owner, _internals, _utils, _array, _utils2, _evented, _debug, _runloop, _route, _router_js, _instance) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.triggerEvent = triggerEvent;\n  /**\n  @module @ember/routing/router\n  */\n  function defaultDidTransition(infos) {\n    updatePaths(this);\n    this._cancelSlowTransitionTimer();\n    this.notifyPropertyChange('url');\n    this.set('currentState', this.targetState);\n    if (true /* DEBUG */) {\n      // @ts-expect-error namespace isn't public\n      if (this.namespace.LOG_TRANSITIONS) {\n        // eslint-disable-next-line no-console\n        console.log(`Transitioned into '${EmberRouter._routePath(infos)}'`);\n      }\n    }\n  }\n  function defaultWillTransition(oldInfos, newInfos) {\n    if (true /* DEBUG */) {\n      // @ts-expect-error namespace isn't public\n      if (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  let freezeRouteInfo;\n  if (true /* DEBUG */) {\n    freezeRouteInfo = transition => {\n      if (transition.from !== null && !Object.isFrozen(transition.from)) {\n        Object.freeze(transition.from);\n      }\n      if (transition.to !== null && !Object.isFrozen(transition.to)) {\n        Object.freeze(transition.to);\n      }\n    };\n  }\n  function K() {\n    return this;\n  }\n  const {\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  class EmberRouter extends _object.default.extend(_evented.default) {\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    static map(callback) {\n      if (!this.dslCallbacks) {\n        this.dslCallbacks = [];\n        // FIXME: Can we remove this?\n        this.reopenClass({\n          dslCallbacks: this.dslCallbacks\n        });\n      }\n      this.dslCallbacks.push(callback);\n      return this;\n    }\n    static _routePath(routeInfos) {\n      let path = [];\n      // 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      function intersectionMatches(a1, a2) {\n        for (let i = 0; i < a1.length; ++i) {\n          if (a1[i] !== a2[i]) {\n            return false;\n          }\n        }\n        return true;\n      }\n      let name, nameParts, oldNameParts;\n      for (let i = 1; i < routeInfos.length; i++) {\n        let routeInfo = routeInfos[i];\n        (true && !(routeInfo) && (0, _debug.assert)('has routeInfo', routeInfo));\n        name = routeInfo.name;\n        nameParts = name.split('.');\n        oldNameParts = slice.call(path);\n        while (oldNameParts.length) {\n          if (intersectionMatches(oldNameParts, nameParts)) {\n            break;\n          }\n          oldNameParts.shift();\n        }\n        path.push(...nameParts.slice(oldNameParts.length));\n      }\n      return path.join('.');\n    }\n    // Note that owner is actually required in this scenario, but since it is strictly\n    // optional in other contexts trying to make it required here confuses TS.\n    constructor(owner) {\n      super(owner);\n      this._didSetupRouter = false;\n      this._initialTransitionStarted = false;\n      this.currentURL = null;\n      this.currentRouteName = null;\n      this.currentPath = null;\n      this.currentRoute = null;\n      this._qpCache = Object.create(null);\n      // Set of QueryParam['urlKey']\n      this._qpUpdates = new Set();\n      this._queuedQPChanges = {};\n      this._toplevelView = null;\n      this._handledErrors = new Set();\n      this._engineInstances = Object.create(null);\n      this._engineInfoByRoute = Object.create(null);\n      this._slowTransitionTimer = null;\n      this.currentState = null;\n      this.targetState = null;\n      (true && !(owner) && (0, _debug.assert)('BUG: Missing owner', owner));\n      this._resetQueuedQueryParameterChanges();\n      this.namespace = owner.lookup('application:main');\n      let bucketCache = owner.lookup((0, _container.privatize)`-bucket-cache:main`);\n      (true && !(bucketCache instanceof _internals.BucketCache) && (0, _debug.assert)('BUG: BucketCache should always be present', bucketCache instanceof _internals.BucketCache));\n      this._bucketCache = bucketCache;\n      let routerService = owner.lookup('service:router');\n      (true && !(routerService !== undefined) && (0, _debug.assert)('BUG: RouterService should always be present', routerService !== undefined));\n      this._routerService = routerService;\n    }\n    _initRouterJs() {\n      let location = (0, _object.get)(this, 'location');\n      let router = this;\n      const owner = (0, _owner.getOwner)(this);\n      (true && !(owner) && (0, _debug.assert)('Router is unexpectedly missing an owner', owner));\n      let seen = Object.create(null);\n      class PrivateRouter extends _router_js.default {\n        getRoute(name) {\n          let routeName = name;\n          let routeOwner = owner;\n          let engineInfo = router._engineInfoByRoute[routeName];\n          if (engineInfo) {\n            let engineInstance = router._getEngineInstance(engineInfo);\n            routeOwner = engineInstance;\n            routeName = engineInfo.localFullName;\n          }\n          let fullRouteName = `route:${routeName}`;\n          (true && !(routeOwner) && (0, _debug.assert)('Route is unexpectedly missing an owner', routeOwner));\n          let route = routeOwner.lookup(fullRouteName);\n          if (seen[name]) {\n            (true && !(route) && (0, _debug.assert)('seen routes should exist', route));\n            return route;\n          }\n          seen[name] = true;\n          if (!route) {\n            // SAFETY: this is configured in `commonSetupRegistry` in the\n            // `@ember/application/lib` package.\n            let DefaultRoute = routeOwner.factoryFor('route:basic').class;\n            routeOwner.register(fullRouteName, DefaultRoute.extend());\n            route = routeOwner.lookup(fullRouteName);\n            if (true /* DEBUG */) {\n              if (router.namespace.LOG_ACTIVE_GENERATION) {\n                (0, _debug.info)(`generated -> ${fullRouteName}`, {\n                  fullName: fullRouteName\n                });\n              }\n            }\n          }\n          route._setRouteName(routeName);\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          return route;\n        }\n        getSerializer(name) {\n          let engineInfo = router._engineInfoByRoute[name];\n          // If this is not an Engine route, we fall back to the handler for serialization\n          if (!engineInfo) {\n            return;\n          }\n          return engineInfo.serializeMethod || _route.defaultSerialize;\n        }\n        updateURL(path) {\n          (0, _runloop.once)(() => {\n            location.setURL(path);\n            (0, _object.set)(router, 'currentURL', path);\n          });\n        }\n        // TODO: merge into routeDidChange\n        didTransition(infos) {\n          (true && !(router.didTransition === defaultDidTransition) && (0, _debug.assert)('You attempted to override the \"didTransition\" method which has been deprecated. Please inject the router service and listen to the \"routeDidChange\" event.', router.didTransition === defaultDidTransition));\n          router.didTransition(infos);\n        }\n        // TODO: merge into routeWillChange\n        willTransition(oldInfos, newInfos) {\n          (true && !(router.willTransition === defaultWillTransition) && (0, _debug.assert)('You attempted to override the \"willTransition\" method which has been deprecated. Please inject the router service and listen to the \"routeWillChange\" event.', router.willTransition === defaultWillTransition));\n          router.willTransition(oldInfos, newInfos);\n        }\n        triggerEvent(routeInfos, ignoreFailure, name, args) {\n          return triggerEvent.bind(router)(routeInfos, ignoreFailure, name, args);\n        }\n        routeWillChange(transition) {\n          router.trigger('routeWillChange', transition);\n          if (true /* DEBUG */) {\n            freezeRouteInfo(transition);\n          }\n          router._routerService.trigger('routeWillChange', transition);\n          // in case of intermediate transition we update the current route\n          // to make router.currentRoute.name consistent with router.currentRouteName\n          // see https://github.com/emberjs/ember.js/issues/19449\n          if (transition.isIntermediate) {\n            router.set('currentRoute', transition.to);\n          }\n        }\n        routeDidChange(transition) {\n          router.set('currentRoute', transition.to);\n          (0, _runloop.once)(() => {\n            router.trigger('routeDidChange', transition);\n            if (true /* DEBUG */) {\n              freezeRouteInfo(transition);\n            }\n            router._routerService.trigger('routeDidChange', transition);\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            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        replaceURL(url) {\n          if (location.replaceURL) {\n            let doReplaceURL = () => {\n              location.replaceURL(url);\n              (0, _object.set)(router, 'currentURL', url);\n            };\n            (0, _runloop.once)(doReplaceURL);\n          } else {\n            this.updateURL(url);\n          }\n        }\n      }\n      let routerMicrolib = this._routerMicrolib = new PrivateRouter();\n      let dslCallbacks = this.constructor.dslCallbacks || [K];\n      let dsl = this._buildDSL();\n      dsl.route('application', {\n        path: '/',\n        resetNamespace: true,\n        overrideNameAssertion: true\n      }, function () {\n        for (let i = 0; i < dslCallbacks.length; i++) {\n          dslCallbacks[i].call(this);\n        }\n      });\n      if (true /* DEBUG */) {\n        if (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    _buildDSL() {\n      let enableLoadingSubstates = this._hasModuleBasedResolver();\n      let router = this;\n      const owner = (0, _owner.getOwner)(this);\n      (true && !(owner) && (0, _debug.assert)('Router is unexpectedly missing an owner', owner));\n      let options = {\n        enableLoadingSubstates,\n        resolveRouteMap(name) {\n          return owner.factoryFor(`route-map:${name}`);\n        },\n        addRouteForEngine(name, engineInfo) {\n          if (!router._engineInfoByRoute[name]) {\n            router._engineInfoByRoute[name] = engineInfo;\n          }\n        }\n      };\n      return new _internals.DSL(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    _resetQueuedQueryParameterChanges() {\n      this._queuedQPChanges = {};\n    }\n    _hasModuleBasedResolver() {\n      let owner = (0, _owner.getOwner)(this);\n      (true && !(owner) && (0, _debug.assert)('Router is unexpectedly missing an owner', owner));\n      let resolver = (0, _object.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    startRouting() {\n      if (this.setupRouter()) {\n        let initialURL = (0, _object.get)(this, 'initialURL');\n        if (initialURL === undefined) {\n          initialURL = (0, _object.get)(this, 'location').getURL();\n        }\n        let initialTransition = this.handleURL(initialURL);\n        if (initialTransition && initialTransition.error) {\n          throw initialTransition.error;\n        }\n      }\n    }\n    setupRouter() {\n      if (this._didSetupRouter) {\n        return false;\n      }\n      this._didSetupRouter = true;\n      this._setupLocation();\n      let location = (0, _object.get)(this, 'location');\n      // Allow the Location class to cancel the router setup while it refreshes\n      // the page\n      if ((0, _object.get)(location, 'cancelRouterSetup')) {\n        return false;\n      }\n      this._initRouterJs();\n      location.onUpdateURL(url => {\n        this.handleURL(url);\n      });\n      return true;\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      let routeInfos = this._routerMicrolib.currentRouteInfos;\n      if (!routeInfos) {\n        return;\n      }\n      let root = null;\n      let parent = null;\n      for (let routeInfo of routeInfos) {\n        let route = routeInfo.route;\n        let render = (0, _route.getRenderState)(route);\n        if (render) {\n          let state = {\n            render,\n            outlets: {\n              main: undefined\n            }\n          };\n          if (parent) {\n            parent.outlets.main = state;\n          } else {\n            root = state;\n          }\n          parent = state;\n        } else {\n          // It used to be that we would create a stub entry and keep traversing,\n          // but I don't think that is necessary anymore – if a parent route did\n          // not render, then the child routes have nowhere to render into these\n          // days. That wasn't always the case since in the past any route can\n          // render into any other route's outlets.\n          break;\n        }\n      }\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      if (root === null) {\n        return;\n      }\n      if (!this._toplevelView) {\n        let owner = (0, _owner.getOwner)(this);\n        (true && !(owner) && (0, _debug.assert)('Router is unexpectedly missing an owner', owner)); // SAFETY: we don't presently have any type registries internally to make\n        // this safe, so in each of these cases we assume that nothing *else* is\n        // registered at this `FullName`, and simply check to make sure that\n        // *something* is.\n        let OutletView = owner.factoryFor('view:-outlet');\n        (true && !(OutletView !== undefined) && (0, _debug.assert)('[BUG] unexpectedly missing `view:-outlet`', OutletView !== undefined));\n        let application = owner.lookup('application:main');\n        (true && !(application !== undefined) && (0, _debug.assert)('[BUG] unexpectedly missing `application:-main`', application !== undefined));\n        let environment = owner.lookup('-environment:main');\n        (true && !(environment !== undefined) && (0, _debug.assert)('[BUG] unexpectedly missing `-environment:main`', environment !== undefined));\n        let template = owner.lookup('template:-outlet');\n        (true && !(template !== undefined) && (0, _debug.assert)('[BUG] unexpectedly missing `template:-outlet`', template !== undefined));\n        this._toplevelView = OutletView.create({\n          environment,\n          template,\n          application\n        });\n        this._toplevelView.setOutletState(root);\n        // TODO(SAFETY): At least one test runs without this set correctly. At a\n        // later time, update the test to configure this correctly. The test ID:\n        // `Router Service - non application test:  RouterService#transitionTo with basic route`\n        let instance = owner.lookup('-application-instance:main');\n        // let instance = owner.lookup('-application-instance:main') as ApplicationInstance | undefined;\n        // assert('[BUG] unexpectedly missing `-application-instance:main`', instance !== undefined);\n        if (instance) {\n          // SAFETY: LOL. This is calling a deprecated API with a type that we\n          // cannot actually confirm at a type level *is* a `ViewMixin`. Seems:\n          // not great on multiple fronts!\n          instance.didCreateRootView(this._toplevelView);\n        }\n      } else {\n        this._toplevelView.setOutletState(root);\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      let _url = url.split(/#(.+)?/)[0];\n      return this._doURLTransition('handleURL', _url);\n    }\n    _doURLTransition(routerJsMethod, url) {\n      this._initialTransitionStarted = true;\n      let transition = this._routerMicrolib[routerJsMethod](url || '/');\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         @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    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      let {\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    intermediateTransitionTo(name, ...args) {\n      this._routerMicrolib.intermediateTransitionTo(name, ...args);\n      updatePaths(this);\n      if (true /* DEBUG */) {\n        let infos = this._routerMicrolib.currentRouteInfos;\n        if (this.namespace.LOG_TRANSITIONS) {\n          (true && !(infos) && (0, _debug.assert)('expected infos to be set', infos)); // eslint-disable-next-line no-console\n          console.log(`Intermediate-transitioned into '${EmberRouter._routePath(infos)}'`);\n        }\n      }\n    }\n    /**\n      Similar to `transitionTo`, but instead of adding the destination to the browser's URL history,\n      it replaces the entry for the current route.\n      When the user clicks the \"back\" button in the browser, there will be fewer steps.\n      This is most commonly used to manage redirects in a way that does not cause confusing additions\n      to the user's browsing history.\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      @public\n    */\n    replaceWith(...args) {\n      return this.transitionTo(...args).method('replace');\n    }\n    generate(name, ...args) {\n      let url = this._routerMicrolib.generate(name, ...args);\n      (true && !(typeof this.location !== 'string') && (0, _debug.assert)('expected non-string location', typeof this.location !== 'string'));\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    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    isActiveIntent(routeName, models, queryParams) {\n      return this.currentState.isActiveIntent(routeName, models, queryParams);\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    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    reset() {\n      this._didSetupRouter = false;\n      this._initialTransitionStarted = false;\n      if (this._routerMicrolib) {\n        this._routerMicrolib.reset();\n      }\n    }\n    willDestroy() {\n      if (this._toplevelView) {\n        this._toplevelView.destroy();\n        this._toplevelView = null;\n      }\n      super.willDestroy();\n      this.reset();\n      let instances = this._engineInstances;\n      for (let name in instances) {\n        let instanceMap = instances[name];\n        (true && !(instanceMap) && (0, _debug.assert)('has instanceMap', instanceMap));\n        for (let id in instanceMap) {\n          let instance = instanceMap[id];\n          (true && !(instance) && (0, _debug.assert)('has instance', instance));\n          (0, _runloop.run)(instance, '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    _activeQPChanged(queryParameterName, newValue) {\n      this._queuedQPChanges[queryParameterName] = newValue;\n      (0, _runloop.once)(this, this._fireQueryParamTransition);\n    }\n    // The queryParameterName is QueryParam['urlKey']\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    _fireQueryParamTransition() {\n      this.transitionTo({\n        queryParams: this._queuedQPChanges\n      });\n      this._resetQueuedQueryParameterChanges();\n    }\n    _setupLocation() {\n      let location = this.location;\n      let rootURL = this.rootURL;\n      let owner = (0, _owner.getOwner)(this);\n      (true && !(owner) && (0, _debug.assert)('Router is unexpectedly missing an owner', owner));\n      if ('string' === typeof location) {\n        let resolvedLocation = owner.lookup(`location:${location}`);\n        (true && !(resolvedLocation) && (0, _debug.assert)(`Could not resolve a location class at 'location:${location}'`, resolvedLocation));\n        location = (0, _object.set)(this, 'location', resolvedLocation);\n      }\n      if (location !== null && typeof location === 'object') {\n        if (rootURL) {\n          (0, _object.set)(location, 'rootURL', rootURL);\n        }\n        // ensure that initState is called AFTER the rootURL is set on\n        // the location instance\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    _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, _utils2.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    _serializeQueryParam(value, type) {\n      if (value === null || value === undefined) {\n        return value;\n      } else if (type === 'array') {\n        return JSON.stringify(value);\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    _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    _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, _array.A)(JSON.parse(value));\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    _pruneDefaultQueryParamValues(routeInfos, queryParams) {\n      let qps = this._queryParamsFor(routeInfos);\n      for (let key in queryParams) {\n        let qp = qps.map[key];\n        if (qp && qp.serializedDefaultValue === queryParams[key]) {\n          delete queryParams[key];\n        }\n      }\n    }\n    _doTransition(_targetRouteName, models, _queryParams, _fromRouterService) {\n      let targetRouteName = _targetRouteName || (0, _utils.getActiveTargetName)(this._routerMicrolib);\n      (true && !(Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName)) && (0, _debug.assert)(`The route ${targetRouteName} was not found`, Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName)));\n      this._initialTransitionStarted = true;\n      let queryParams = {};\n      this._processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams);\n      Object.assign(queryParams, _queryParams);\n      this._prepareQueryParams(targetRouteName, models, queryParams, Boolean(_fromRouterService));\n      let transition = this._routerMicrolib.transitionTo(targetRouteName, ...models, {\n        queryParams\n      });\n      didBeginTransition(transition, this);\n      return transition;\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      let unchangedQPs = {};\n      let qpUpdates = this._qpUpdates;\n      let params = (0, _route.getFullQueryParams)(this, this._routerMicrolib.activeTransition[_router_js.STATE_SYMBOL]);\n      for (let key in params) {\n        if (!qpUpdates.has(key)) {\n          unchangedQPs[key] = params[key];\n        }\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      this._fullyScopeQueryParams(targetRouteName, models, _queryParams);\n      this._fullyScopeQueryParams(targetRouteName, models, unchangedQPs);\n      Object.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    _prepareQueryParams(targetRouteName, models, queryParams, _fromRouterService) {\n      let state = calculatePostTransitionState(this, targetRouteName, models);\n      this._hydrateUnsuppliedQueryParams(state, queryParams, Boolean(_fromRouterService));\n      this._serializeQueryParams(state.routeInfos, queryParams);\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    _getQPMeta(routeInfo) {\n      let route = routeInfo.route;\n      return route && (0, _object.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    _queryParamsFor(routeInfos) {\n      let routeInfoLength = routeInfos.length;\n      let leafRouteName = routeInfos[routeInfoLength - 1].name;\n      let cached = this._qpCache[leafRouteName];\n      if (cached !== undefined) {\n        return cached;\n      }\n      let shouldCache = true;\n      let map = {};\n      let qps = [];\n      let qpsByUrlKey = true /* DEBUG */ ? {} : null;\n      let qpMeta;\n      let urlKey;\n      let qpOther;\n      for (let routeInfo of routeInfos) {\n        qpMeta = this._getQPMeta(routeInfo);\n        if (!qpMeta) {\n          shouldCache = false;\n          continue;\n        }\n        // Loop over each QP to make sure we don't have any collisions by urlKey\n        for (let qp of qpMeta.qps) {\n          if (true /* DEBUG */) {\n            urlKey = qp.urlKey;\n            qpOther = qpsByUrlKey[urlKey];\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            qpsByUrlKey[urlKey] = qp;\n          }\n          qps.push(qp);\n        }\n        Object.assign(map, qpMeta.map);\n      }\n      let finalQPMeta = {\n        qps,\n        map\n      };\n      if (shouldCache) {\n        this._qpCache[leafRouteName] = finalQPMeta;\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    _fullyScopeQueryParams(leafRouteName, contexts, queryParams) {\n      let state = calculatePostTransitionState(this, leafRouteName, contexts);\n      let routeInfos = state.routeInfos;\n      let qpMeta;\n      for (let routeInfo of routeInfos) {\n        qpMeta = this._getQPMeta(routeInfo);\n        if (!qpMeta) {\n          continue;\n        }\n        for (let qp of qpMeta.qps) {\n          let presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\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    _hydrateUnsuppliedQueryParams(state, queryParams, _fromRouterService) {\n      let routeInfos = state.routeInfos;\n      let appCache = this._bucketCache;\n      let qpMeta;\n      let qp;\n      let presentProp;\n      for (let routeInfo of routeInfos) {\n        qpMeta = this._getQPMeta(routeInfo);\n        if (!qpMeta) {\n          continue;\n        }\n        // Needs to stay for index loop to avoid throwIfClosureRequired\n        for (let j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {\n          qp = qpMeta.qps[j];\n          (true && !(qp) && (0, _debug.assert)('expected qp', qp));\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 || qp.scopedPropertyName === presentProp) {\n              return true;\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            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 || qp.scopedPropertyName === presentProp) {\n              return true;\n            }\n            if (_fromRouterService && presentProp !== false && qp.urlKey !== qp.prop) {\n              return false;\n            }\n            return true;\n          }()));\n          if (presentProp) {\n            if (presentProp !== qp.scopedPropertyName) {\n              queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n              delete queryParams[presentProp];\n            }\n          } else {\n            let cacheKey = (0, _utils.calculateCacheKey)(qp.route.fullRouteName, qp.parts, state.params);\n            (true && !(appCache) && (0, _debug.assert)('ROUTER BUG: expected appCache to be defined. This is an internal bug, please open an issue on Github if you see this message!', appCache));\n            queryParams[qp.scopedPropertyName] = appCache.lookup(cacheKey, qp.prop, qp.defaultValue);\n          }\n        }\n      }\n    }\n    _scheduleLoadingEvent(transition, originRoute) {\n      this._cancelSlowTransitionTimer();\n      this._slowTransitionTimer = (0, _runloop.scheduleOnce)('routerTransitions', this, this._handleSlowTransition, transition, originRoute);\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      let targetState = new _internals.RouterState(this, this._routerMicrolib, this._routerMicrolib.activeTransition[_router_js.STATE_SYMBOL]);\n      this.set('targetState', targetState);\n      transition.trigger(true, 'loading', transition, originRoute);\n    }\n    _cancelSlowTransitionTimer() {\n      if (this._slowTransitionTimer) {\n        (0, _runloop.cancel)(this._slowTransitionTimer);\n      }\n      this._slowTransitionTimer = null;\n    }\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    _markErrorAsHandled(error) {\n      this._handledErrors.add(error);\n    }\n    _isErrorHandled(error) {\n      return this._handledErrors.has(error);\n    }\n    _clearHandledError(error) {\n      this._handledErrors.delete(error);\n    }\n    _getEngineInstance({\n      name,\n      instanceId,\n      mountPoint\n    }) {\n      let engineInstances = this._engineInstances;\n      let namedInstances = engineInstances[name];\n      if (!namedInstances) {\n        namedInstances = Object.create(null);\n        engineInstances[name] = namedInstances;\n      }\n      // We just set these!\n      (true && !(namedInstances) && (0, _debug.assert)('has namedInstances', namedInstances));\n      let engineInstance = namedInstances[instanceId];\n      if (!engineInstance) {\n        let owner = (0, _owner.getOwner)(this);\n        (true && !(owner instanceof _instance.default) && (0, _debug.assert)('Expected router to have EngineInstance as owner', owner instanceof _instance.default));\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        namedInstances[instanceId] = engineInstance;\n      }\n      return engineInstance;\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  function forEachRouteAbove(routeInfos, callback) {\n    for (let i = routeInfos.length - 1; i >= 0; --i) {\n      let routeInfo = routeInfos[i];\n      (true && !(routeInfo) && (0, _debug.assert)('has routeInfo', routeInfo));\n      let route = routeInfo.route;\n      // 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      if (route === undefined) {\n        continue;\n      }\n      if (callback(route, routeInfo) !== true) {\n        return;\n      }\n    }\n  }\n  // These get invoked when an action bubbles above ApplicationRoute\n  // and are not meant to be overridable.\n  let defaultActionHandlers = {\n    willResolveModel(_routeInfos, transition, originRoute) {\n      this._scheduleLoadingEvent(transition, originRoute);\n    },\n    // Attempt to find an appropriate error route or substate to enter.\n    error(routeInfos, error, transition) {\n      let router = this;\n      let 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          let errorRouteName = findRouteStateName(route, 'error');\n          if (errorRouteName) {\n            router._markErrorAsHandled(error);\n            router.intermediateTransitionTo(errorRouteName, error);\n            return false;\n          }\n        }\n        // Check for an 'error' substate route\n        let errorSubstateName = findRouteSubstateName(route, 'error');\n        if (errorSubstateName) {\n          router._markErrorAsHandled(error);\n          router.intermediateTransitionTo(errorSubstateName, error);\n          return false;\n        }\n        return true;\n      });\n      logError(error, `Error while processing route: ${transition.targetName}`);\n    },\n    // Attempt to find an appropriate loading route or substate to enter.\n    loading(routeInfos, transition) {\n      let router = this;\n      let 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          let loadingRouteName = findRouteStateName(route, 'loading');\n          if (loadingRouteName) {\n            router.intermediateTransitionTo(loadingRouteName);\n            return false;\n          }\n        }\n        // Check for loading substate\n        let loadingSubstateName = findRouteSubstateName(route, 'loading');\n        if (loadingSubstateName) {\n          router.intermediateTransitionTo(loadingSubstateName);\n          return false;\n        }\n        // Don't bubble above pivot route.\n        return transition.pivotHandler !== route;\n      });\n    }\n  };\n  function logError(_error, initialMessage) {\n    let errorArgs = [];\n    let error;\n    if (_error && typeof _error === 'object' && typeof _error.errorThrown === 'object') {\n      error = _error.errorThrown;\n    } else {\n      error = _error;\n    }\n    if (initialMessage) {\n      errorArgs.push(initialMessage);\n    }\n    if (error) {\n      if (error.message) {\n        errorArgs.push(error.message);\n      }\n      if (error.stack) {\n        errorArgs.push(error.stack);\n      }\n      if (typeof error === 'string') {\n        errorArgs.push(error);\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  function findRouteSubstateName(route, state) {\n    let owner = (0, _owner.getOwner)(route);\n    (true && !(owner) && (0, _debug.assert)('Route is unexpectedly missing an owner', owner));\n    let {\n      routeName,\n      fullRouteName,\n      _router: router\n    } = route;\n    let substateName = `${routeName}_${state}`;\n    let 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  function findRouteStateName(route, state) {\n    let owner = (0, _owner.getOwner)(route);\n    (true && !(owner) && (0, _debug.assert)('Route is unexpectedly missing an owner', owner));\n    let {\n      routeName,\n      fullRouteName,\n      _router: router\n    } = route;\n    let stateName = routeName === 'application' ? state : `${routeName}.${state}`;\n    let 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  function routeHasBeenDefined(owner, router, localName, fullName) {\n    let routerHasRoute = router.hasRoute(fullName);\n    let ownerHasRoute = owner.factoryFor(`template:${localName}`) || owner.factoryFor(`route:${localName}`);\n    return routerHasRoute && ownerHasRoute;\n  }\n  function triggerEvent(routeInfos, ignoreFailure, name, args) {\n    if (!routeInfos) {\n      if (ignoreFailure) {\n        return;\n      }\n      // TODO: update?\n      throw new Error(`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    let eventWasHandled = false;\n    let routeInfo, handler, actionHandler;\n    for (let i = routeInfos.length - 1; i >= 0; i--) {\n      routeInfo = routeInfos[i];\n      (true && !(routeInfo) && (0, _debug.assert)('[BUG] Missing routeInfo', routeInfo));\n      handler = routeInfo.route;\n      actionHandler = handler && handler.actions && handler.actions[name];\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            (true && !(handler) && (0, _debug.assert)('[BUG] Missing handler', handler));\n            handler._router._markErrorAsHandled(args[0]);\n          }\n          return;\n        }\n      }\n    }\n    let defaultHandler = defaultActionHandlers[name];\n    if (defaultHandler) {\n      defaultHandler.call(this, routeInfos, ...args);\n      return;\n    }\n    if (!eventWasHandled && !ignoreFailure) {\n      throw new Error(`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  function calculatePostTransitionState(emberRouter, leafRouteName, contexts) {\n    let state = emberRouter._routerMicrolib.applyIntent(leafRouteName, contexts);\n    let {\n      routeInfos,\n      params\n    } = state;\n    for (let routeInfo of routeInfos) {\n      // If the routeInfo is not resolved, we serialize the context into params\n      if (!routeInfo.isResolved) {\n        params[routeInfo.name] = routeInfo.serialize(routeInfo.context);\n      } else {\n        params[routeInfo.name] = routeInfo.params;\n      }\n    }\n    return state;\n  }\n  function updatePaths(router) {\n    let infos = router._routerMicrolib.currentRouteInfos;\n    if (infos.length === 0) {\n      return;\n    }\n    let path = EmberRouter._routePath(infos);\n    let info = infos[infos.length - 1];\n    (true && !(info) && (0, _debug.assert)('expected info', info));\n    let currentRouteName = info.name;\n    let location = router.location;\n    (true && !(typeof location !== 'string') && (0, _debug.assert)('expected location to not be a string', typeof location !== 'string'));\n    let currentURL = location.getURL();\n    (0, _object.set)(router, 'currentPath', path);\n    (0, _object.set)(router, 'currentRouteName', currentRouteName);\n    (0, _object.set)(router, 'currentURL', currentURL);\n  }\n  function didBeginTransition(transition, router) {\n    let routerState = new _internals.RouterState(router, router._routerMicrolib, transition[_router_js.STATE_SYMBOL]);\n    if (!router.currentState) {\n      router.set('currentState', routerState);\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  function forEachQueryParam(router, routeInfos, queryParams, callback) {\n    let qpCache = router._queryParamsFor(routeInfos);\n    for (let key in queryParams) {\n      if (!Object.prototype.hasOwnProperty.call(queryParams, key)) {\n        continue;\n      }\n      let value = queryParams[key];\n      let qp = qpCache.map[key];\n      callback(key, value, qp);\n    }\n  }\n  EmberRouter.reopen({\n    didTransition: defaultDidTransition,\n    willTransition: defaultWillTransition,\n    rootURL: '/',\n    location: 'hash',\n    // FIXME: Does this need to be overrideable via extend?\n    url: (0, _object.computed)(function () {\n      let location = (0, _object.get)(this, 'location');\n      if (typeof location === 'string') {\n        return undefined;\n      }\n      return location.getURL();\n    })\n  });\n  var _default = _exports.default = EmberRouter;\n});","define(\"@ember/routing/transition\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"@ember/runloop/-private/backburner\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"@ember/runloop/index\", [\"exports\", \"@ember/debug\", \"@ember/-internals/error-handling\", \"@ember/-internals/metal\", \"backburner.js\"], function (_exports, _debug, _errorHandling, _metal, _backburner2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._backburner = void 0;\n  _exports._cancelTimers = _cancelTimers;\n  _exports._getCurrentRunLoop = _getCurrentRunLoop;\n  _exports._hasScheduledTimers = _hasScheduledTimers;\n  _exports._rsvpErrorQueue = _exports._queues = void 0;\n  _exports.begin = begin;\n  _exports.bind = bind;\n  _exports.cancel = cancel;\n  _exports.debounce = debounce;\n  _exports.end = end;\n  _exports.join = join;\n  _exports.later = later;\n  _exports.next = next;\n  _exports.once = once;\n  _exports.run = run;\n  _exports.schedule = schedule;\n  _exports.scheduleOnce = scheduleOnce;\n  _exports.throttle = throttle;\n  let currentRunLoop = null;\n  function _getCurrentRunLoop() {\n    return currentRunLoop;\n  }\n  function onBegin(current) {\n    currentRunLoop = current;\n  }\n  function onEnd(_current, next) {\n    currentRunLoop = next;\n    (0, _metal.flushAsyncObservers)();\n  }\n  function flush(queueName, next) {\n    if (queueName === 'render' || queueName === _rsvpErrorQueue) {\n      (0, _metal.flushAsyncObservers)();\n    }\n    next();\n  }\n  const _rsvpErrorQueue = _exports._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  const _queues = _exports._queues = ['actions',\n  // 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',\n  // 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  /**\n   * @internal\n   * @private\n   */\n  const _backburner = _exports._backburner = new _backburner2.default(_queues, {\n    defaultQueue: 'actions',\n    onBegin,\n    onEnd,\n    onErrorTarget: _errorHandling.onErrorTarget,\n    onErrorMethod: 'onerror',\n    flush\n  });\n  function run(...args) {\n    // @ts-expect-error TS doesn't like our spread args\n    return _backburner.run(...args);\n  }\n  function join(methodOrTarget, methodOrArg, ...additionalArgs) {\n    return _backburner.join(methodOrTarget, methodOrArg, ...additionalArgs);\n  }\n  function 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      let length = arguments.length;\n      if (length === 0) {\n        return false;\n      } else if (length === 1) {\n        return typeof methodOrTarget === 'function';\n      } else {\n        return typeof methodOrArg === 'function' ||\n        // second argument is a function\n        methodOrTarget !== null && typeof methodOrArg === 'string' && methodOrArg in methodOrTarget ||\n        // second argument is the name of a method in first argument\n        typeof methodOrTarget === 'function' //first argument is a function\n        ;\n      }\n      // @ts-expect-error TS doesn't like our spread args\n    }(...curried)) && (0, _debug.assert)('could not find a suitable method to bind', function (methodOrTarget, methodOrArg) {\n      let length = arguments.length;\n      if (length === 0) {\n        return false;\n      } else if (length === 1) {\n        return typeof methodOrTarget === 'function';\n      } else {\n        return typeof methodOrArg === 'function' || methodOrTarget !== null && typeof methodOrArg === 'string' && methodOrArg in methodOrTarget || typeof methodOrTarget === 'function';\n      }\n    }(...curried))); // @ts-expect-error TS doesn't like our spread args\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  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  function end() {\n    _backburner.end();\n  }\n  function schedule(...args) {\n    // @ts-expect-error TS doesn't like the rest args here\n    return _backburner.schedule(...args);\n  }\n  // Used by global test teardown\n  function _hasScheduledTimers() {\n    return _backburner.hasTimers();\n  }\n  // Used by global test teardown\n  function _cancelTimers() {\n    _backburner.cancelTimers();\n  }\n  function later(...args) {\n    return _backburner.later(...args);\n  }\n  function once(...args) {\n    // @ts-expect-error TS doesn't like the rest args here\n    return _backburner.scheduleOnce('actions', ...args);\n  }\n  function scheduleOnce(...args) {\n    // @ts-expect-error TS doesn't like the rest args here\n    return _backburner.scheduleOnce(...args);\n  }\n  function next(...args) {\n    return _backburner.later(...args, 1);\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  function cancel(timer) {\n    return _backburner.cancel(timer);\n  }\n  function debounce(...args) {\n    // @ts-expect-error TS doesn't like the rest args here\n    return _backburner.debounce(...args);\n  }\n  function throttle(...args) {\n    // @ts-expect-error TS doesn't like the rest args here\n    return _backburner.throttle(...args);\n  }\n});","define(\"@ember/service/index\", [\"exports\", \"@ember/object/-internals\", \"@ember/-internals/metal\"], function (_exports, _internals, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.inject = inject;\n  _exports.service = service;\n  function inject(...args) {\n    return (0, _metal.inject)('service', ...args);\n  }\n  function service(...args) {\n    return (0, _metal.inject)('service', ...args);\n  }\n  /**\n    @class Service\n    @extends EmberObject\n    @since 1.10.0\n    @public\n  */\n  class Service extends _internals.FrameworkObject {}\n  Service.isServiceFactory = true;\n  var _default = _exports.default = Service;\n});","define(\"@ember/template-compilation/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.__emberTemplateCompiler = void 0;\n  _exports.__registerTemplateCompiler = __registerTemplateCompiler;\n  _exports.precompileTemplate = _exports.compileTemplate = void 0;\n  let __emberTemplateCompiler = _exports.__emberTemplateCompiler = void 0;\n  const compileTemplate = (...args) => {\n    if (!__emberTemplateCompiler) {\n      throw new Error('Attempted to call `compileTemplate` without first loading the runtime template compiler.');\n    }\n    return __emberTemplateCompiler.compile(...args);\n  };\n  _exports.compileTemplate = compileTemplate;\n  let precompileTemplate = _exports.precompileTemplate = void 0;\n  if (true /* DEBUG */) {\n    _exports.precompileTemplate = precompileTemplate = () => {\n      throw new Error('Attempted to call `precompileTemplate` at runtime, but this API is meant to be used at compile time. You should use `compileTemplate` instead.');\n    };\n  }\n  function __registerTemplateCompiler(c) {\n    _exports.__emberTemplateCompiler = __emberTemplateCompiler = c;\n  }\n});","define(\"@ember/template-factory/index\", [\"exports\", \"@glimmer/opcode-compiler\"], function (_exports, _opcodeCompiler) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"createTemplateFactory\", {\n    enumerable: true,\n    get: function () {\n      return _opcodeCompiler.templateFactory;\n    }\n  });\n});","define(\"@ember/template/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, \"htmlSafe\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.htmlSafe;\n    }\n  });\n  Object.defineProperty(_exports, \"isHTMLSafe\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.isHTMLSafe;\n    }\n  });\n});","define(\"@ember/test/adapter\", [\"exports\", \"ember-testing\"], function (_exports, _emberTesting) {\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 _emberTesting.Adapter;\n    }\n  });\n});","define(\"@ember/test/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.registerHelper = _exports.registerAsyncHelper = _exports._impl = void 0;\n  _exports.registerTestImplementation = registerTestImplementation;\n  _exports.unregisterWaiter = _exports.unregisterHelper = _exports.registerWaiter = void 0;\n  let registerAsyncHelper = _exports.registerAsyncHelper = void 0;\n  let registerHelper = _exports.registerHelper = void 0;\n  let registerWaiter = _exports.registerWaiter = void 0;\n  let unregisterHelper = _exports.unregisterHelper = void 0;\n  let unregisterWaiter = _exports.unregisterWaiter = void 0;\n  let _impl = _exports._impl = void 0;\n  let testingNotAvailableMessage = () => {\n    throw new Error('Attempted to use test utilities, but `ember-testing` was not included');\n  };\n  _exports.registerAsyncHelper = registerAsyncHelper = testingNotAvailableMessage;\n  _exports.registerHelper = registerHelper = testingNotAvailableMessage;\n  _exports.registerWaiter = registerWaiter = testingNotAvailableMessage;\n  _exports.unregisterHelper = unregisterHelper = testingNotAvailableMessage;\n  _exports.unregisterWaiter = unregisterWaiter = testingNotAvailableMessage;\n  function registerTestImplementation(impl) {\n    let {\n      Test\n    } = impl;\n    _exports.registerAsyncHelper = registerAsyncHelper = Test.registerAsyncHelper;\n    _exports.registerHelper = registerHelper = Test.registerHelper;\n    _exports.registerWaiter = registerWaiter = Test.registerWaiter;\n    _exports.unregisterHelper = unregisterHelper = Test.unregisterHelper;\n    _exports.unregisterWaiter = unregisterWaiter = Test.unregisterWaiter;\n    _exports._impl = _impl = impl;\n  }\n});","define(\"@ember/utils/index\", [\"exports\", \"@ember/utils/lib/is_none\", \"@ember/utils/lib/is_blank\", \"@ember/utils/lib/is_empty\", \"@ember/utils/lib/is_present\", \"@ember/utils/lib/is-equal\", \"@ember/utils/lib/type-of\", \"@ember/utils/lib/compare\"], function (_exports, _is_none, _is_blank, _is_empty, _is_present, _isEqual, _typeOf, _compare) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"compare\", {\n    enumerable: true,\n    get: function () {\n      return _compare.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isBlank\", {\n    enumerable: true,\n    get: function () {\n      return _is_blank.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isEmpty\", {\n    enumerable: true,\n    get: function () {\n      return _is_empty.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isEqual\", {\n    enumerable: true,\n    get: function () {\n      return _isEqual.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isNone\", {\n    enumerable: true,\n    get: function () {\n      return _is_none.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isPresent\", {\n    enumerable: true,\n    get: function () {\n      return _is_present.default;\n    }\n  });\n  Object.defineProperty(_exports, \"typeOf\", {\n    enumerable: true,\n    get: function () {\n      return _typeOf.default;\n    }\n  });\n});","define(\"@ember/utils/lib/compare\", [\"exports\", \"@ember/utils/lib/type-of\", \"@ember/-internals/runtime\", \"@ember/debug\"], function (_exports, _typeOf, _runtime, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = compare;\n  const 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    regexp: 11,\n    filelist: 12,\n    error: 13\n  };\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  function spaceship(a, b) {\n    // SAFETY: `Math.sign` always returns `-1` for negative, `0` for zero, and `1`\n    // for positive numbers. (The extra precision is useful for the way we use\n    // this in the context of `compare`.)\n    return Math.sign(a - b);\n  }\n  /**\n   @module @ember/utils\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  function compare(v, w) {\n    if (v === w) {\n      return 0;\n    }\n    let type1 = (0, _typeOf.default)(v);\n    let type2 = (0, _typeOf.default)(w);\n    if (type1 === 'instance' && isComparable(v) && v.constructor.compare) {\n      return v.constructor.compare(v, w);\n    }\n    if (type2 === 'instance' && isComparable(w) && w.constructor.compare) {\n      // SAFETY: Multiplying by a negative just changes the sign\n      return w.constructor.compare(w, v) * -1;\n    }\n    let res = spaceship(TYPE_ORDER[type1], TYPE_ORDER[type2]);\n    if (res !== 0) {\n      return res;\n    }\n    // types are equal - so we have to check values now\n    switch (type1) {\n      case 'boolean':\n        (true && !(typeof v === 'boolean' && typeof w === 'boolean') && (0, _debug.assert)('both are boolean', typeof v === 'boolean' && typeof w === 'boolean'));\n        return spaceship(Number(v), Number(w));\n      case 'number':\n        (true && !(typeof v === 'number' && typeof w === 'number') && (0, _debug.assert)('both are numbers', typeof v === 'number' && typeof w === 'number'));\n        return spaceship(v, w);\n      case 'string':\n        (true && !(typeof v === 'string' && typeof w === 'string') && (0, _debug.assert)('both are strings', typeof v === 'string' && typeof w === 'string'));\n        return spaceship(v.localeCompare(w), 0);\n      case 'array':\n        {\n          (true && !(Array.isArray(v) && Array.isArray(w)) && (0, _debug.assert)('both are arrays', Array.isArray(v) && Array.isArray(w)));\n          let vLen = v.length;\n          let wLen = w.length;\n          let len = Math.min(vLen, wLen);\n          for (let i = 0; i < len; i++) {\n            let r = compare(v[i], w[i]);\n            if (r !== 0) {\n              return r;\n            }\n          }\n          // all elements are equal now\n          // shorter array should be ordered first\n          return spaceship(vLen, wLen);\n        }\n      case 'instance':\n        if (isComparable(v) && v.compare) {\n          return v.compare(v, w);\n        }\n        return 0;\n      case 'date':\n        (true && !(v instanceof Date && w instanceof Date) && (0, _debug.assert)('both are dates', v instanceof Date && w instanceof Date));\n        return spaceship(v.getTime(), w.getTime());\n      default:\n        return 0;\n    }\n  }\n  function isComparable(value) {\n    return _runtime.Comparable.detect(value);\n  }\n});","define(\"@ember/utils/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   @module @ember/utils\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    if (a instanceof Date && b instanceof Date) {\n      return a.getTime() === b.getTime();\n    }\n    return a === b;\n  }\n});","define(\"@ember/utils/lib/is_blank\", [\"exports\", \"@ember/utils/lib/is_empty\"], function (_exports, _is_empty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isBlank;\n  /**\n   @module @ember/utils\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(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  function isBlank(obj) {\n    return (0, _is_empty.default)(obj) || typeof obj === 'string' && /\\S/.test(obj) === false;\n  }\n});","define(\"@ember/utils/lib/is_empty\", [\"exports\", \"@ember/object\", \"@ember/-internals/metal\"], function (_exports, _object, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isEmpty;\n  /**\n   @module @ember/utils\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(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  function isEmpty(obj) {\n    if (obj === null || obj === undefined) {\n      return true;\n    }\n    if (!(0, _metal.hasUnknownProperty)(obj) && typeof obj.size === 'number') {\n      return !obj.size;\n    }\n    if (typeof obj === 'object') {\n      let size = (0, _object.get)(obj, 'size');\n      if (typeof size === 'number') {\n        return !size;\n      }\n      let length = (0, _object.get)(obj, 'length');\n      if (typeof length === 'number') {\n        return !length;\n      }\n    }\n    if (typeof obj.length === 'number' && typeof obj !== 'function') {\n      return !obj.length;\n    }\n    return false;\n  }\n});","define(\"@ember/utils/lib/is_none\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isNone;\n  /**\n   @module @ember/utils\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(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  function isNone(obj) {\n    return obj === null || obj === undefined;\n  }\n});","define(\"@ember/utils/lib/is_present\", [\"exports\", \"@ember/utils/lib/is_blank\"], function (_exports, _is_blank) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isPresent;\n  /**\n   @module @ember/utils\n  */\n  /**\n    A value is present if it not `isBlank`.\n  \n    ```javascript\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  function isPresent(obj) {\n    return !(0, _is_blank.default)(obj);\n  }\n});","define(\"@ember/utils/lib/type-of\", [\"exports\", \"@ember/object/core\"], function (_exports, _core) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = typeOf;\n  // ........................................\n  // TYPING & ARRAY MESSAGING\n  //\n  const 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  const {\n    toString\n  } = Object.prototype;\n  /**\n   @module @ember/utils\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 item the item to check\n    @return {String} the type\n    @public\n    @static\n  */\n  function typeOf(item) {\n    if (item === null) {\n      return 'null';\n    }\n    if (item === undefined) {\n      return 'undefined';\n    }\n    let ret = TYPE_MAP[toString.call(item)] || 'object';\n    if (ret === 'function') {\n      if (_core.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.default) {\n        ret = 'instance';\n      } else if (item instanceof Date) {\n        ret = 'date';\n      }\n    }\n    return ret;\n  }\n});","define(\"@ember/version/index\", [\"exports\", \"ember/version\"], function (_exports, _version) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"VERSION\", {\n    enumerable: true,\n    get: function () {\n      return _version.default;\n    }\n  });\n});","define(\"@glimmer/debug\", [\"exports\", \"@glimmer/util\", \"@glimmer/vm\"], function (_exports, _util, _vm) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.CheckArray = CheckArray;\n  _exports.CheckBoolean = _exports.CheckBlockSymbolTable = void 0;\n  _exports.CheckDict = CheckDict;\n  _exports.CheckHandle = _exports.CheckFunction = _exports.CheckElement = _exports.CheckDocumentFragment = void 0;\n  _exports.CheckInstanceof = CheckInstanceof;\n  _exports.CheckInterface = CheckInterface;\n  _exports.CheckMaybe = CheckMaybe;\n  _exports.CheckObject = _exports.CheckNumber = _exports.CheckNull = _exports.CheckNode = void 0;\n  _exports.CheckOption = CheckOption;\n  _exports.CheckOr = CheckOr;\n  _exports.CheckUnknown = _exports.CheckString = _exports.CheckSafeString = _exports.CheckProgramSymbolTable = _exports.CheckPrimitive = void 0;\n  _exports.CheckValue = CheckValue;\n  _exports.OPERAND_TYPES = _exports.META_KIND = void 0;\n  _exports.buildEnum = buildEnum;\n  _exports.buildMetas = buildMetas;\n  _exports.buildSingleMeta = buildSingleMeta;\n  _exports.check = check;\n  _exports.debug = debug;\n  _exports.debugSlice = debugSlice;\n  _exports.expectStackChange = expectStackChange;\n  _exports.logOpcode = logOpcode;\n  _exports.normalize = normalize;\n  _exports.normalizeAll = normalizeAll;\n  _exports.normalizeParsed = normalizeParsed;\n  _exports.opcodeMetadata = opcodeMetadata;\n  _exports.recordStackSize = recordStackSize;\n  _exports.strip = strip;\n  _exports.wrap = wrap;\n  /* This file is generated by build/debug.js */\n\n  function opcodeMetadata(op, isMachine) {\n    let value = isMachine ? MACHINE_METADATA[op] : METADATA[op];\n    return value || null;\n  }\n  const METADATA = new Array(_vm.Op.Size).fill(null);\n  const MACHINE_METADATA = new Array(_vm.Op.Size).fill(null);\n  MACHINE_METADATA[_vm.MachineOp.PushFrame] = {\n    name: 'PushFrame',\n    mnemonic: 'pushf',\n    before: null,\n    stackChange: 2,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  MACHINE_METADATA[_vm.MachineOp.PopFrame] = {\n    name: 'PopFrame',\n    mnemonic: 'popf',\n    before: null,\n    stackChange: -2,\n    ops: [],\n    operands: 0,\n    check: false\n  };\n  MACHINE_METADATA[_vm.MachineOp.InvokeVirtual] = {\n    name: 'InvokeVirtual',\n    mnemonic: 'vcall',\n    before: null,\n    stackChange: -1,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  MACHINE_METADATA[_vm.MachineOp.InvokeStatic] = {\n    name: 'InvokeStatic',\n    mnemonic: 'scall',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'offset',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  MACHINE_METADATA[_vm.MachineOp.Jump] = {\n    name: 'Jump',\n    mnemonic: 'goto',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'to',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  MACHINE_METADATA[_vm.MachineOp.Return] = {\n    name: 'Return',\n    mnemonic: 'ret',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: false\n  };\n  MACHINE_METADATA[_vm.MachineOp.ReturnTo] = {\n    name: 'ReturnTo',\n    mnemonic: 'setra',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'offset',\n      type: 'i32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.Helper] = {\n    name: 'Helper',\n    mnemonic: 'ncall',\n    before: null,\n    stackChange: null,\n    ops: [{\n      name: 'helper',\n      type: 'handle'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.DynamicHelper] = {\n    name: 'DynamicHelper',\n    mnemonic: 'dynamiccall',\n    before: null,\n    stackChange: null,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.SetNamedVariables] = {\n    name: 'SetNamedVariables',\n    mnemonic: 'vsargs',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'register',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.SetBlocks] = {\n    name: 'SetBlocks',\n    mnemonic: 'vbblocks',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'register',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.SetVariable] = {\n    name: 'SetVariable',\n    mnemonic: 'sbvar',\n    before: null,\n    stackChange: -1,\n    ops: [{\n      name: 'symbol',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.SetBlock] = {\n    name: 'SetBlock',\n    mnemonic: 'sblock',\n    before: null,\n    stackChange: -3,\n    ops: [{\n      name: 'symbol',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.GetVariable] = {\n    name: 'GetVariable',\n    mnemonic: 'symload',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'symbol',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.GetProperty] = {\n    name: 'GetProperty',\n    mnemonic: 'getprop',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'property',\n      type: 'str'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.GetBlock] = {\n    name: 'GetBlock',\n    mnemonic: 'blockload',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'block',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.SpreadBlock] = {\n    name: 'SpreadBlock',\n    mnemonic: 'blockspread',\n    before: null,\n    stackChange: 2,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.HasBlock] = {\n    name: 'HasBlock',\n    mnemonic: 'hasblockload',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.HasBlockParams] = {\n    name: 'HasBlockParams',\n    mnemonic: 'hasparamsload',\n    before: null,\n    stackChange: -2,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.Concat] = {\n    name: 'Concat',\n    mnemonic: 'concat',\n    before: null,\n    stackChange: null,\n    ops: [{\n      name: 'count',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.IfInline] = {\n    name: 'IfInline',\n    mnemonic: 'ifinline',\n    before: null,\n    stackChange: -2,\n    ops: [{\n      name: 'count',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.Not] = {\n    name: 'Not',\n    mnemonic: 'not',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'count',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.Constant] = {\n    name: 'Constant',\n    mnemonic: 'rconstload',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'constant',\n      type: 'unknown'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.ConstantReference] = {\n    name: 'ConstantReference',\n    mnemonic: 'rconstrefload',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'constant',\n      type: 'unknown'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.Primitive] = {\n    name: 'Primitive',\n    mnemonic: 'pconstload',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'constant',\n      type: 'primitive'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.PrimitiveReference] = {\n    name: 'PrimitiveReference',\n    mnemonic: 'ptoref',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.ReifyU32] = {\n    name: 'ReifyU32',\n    mnemonic: 'reifyload',\n    before: null,\n    stackChange: 1,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.Dup] = {\n    name: 'Dup',\n    mnemonic: 'dup',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'register',\n      type: 'u32'\n    }, {\n      name: 'offset',\n      type: 'u32'\n    }],\n    operands: 2,\n    check: true\n  };\n  METADATA[_vm.Op.Pop] = {\n    name: 'Pop',\n    mnemonic: 'pop',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'count',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: false\n  };\n  METADATA[_vm.Op.Load] = {\n    name: 'Load',\n    mnemonic: 'put',\n    before: null,\n    stackChange: -1,\n    ops: [{\n      name: 'register',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.Fetch] = {\n    name: 'Fetch',\n    mnemonic: 'regload',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'register',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.RootScope] = {\n    name: 'RootScope',\n    mnemonic: 'rscopepush',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'symbols',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.VirtualRootScope] = {\n    name: 'VirtualRootScope',\n    mnemonic: 'vrscopepush',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'register',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.ChildScope] = {\n    name: 'ChildScope',\n    mnemonic: 'cscopepush',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.PopScope] = {\n    name: 'PopScope',\n    mnemonic: 'scopepop',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.Text] = {\n    name: 'Text',\n    mnemonic: 'apnd_text',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'contents',\n      type: 'str'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.Comment] = {\n    name: 'Comment',\n    mnemonic: 'apnd_comment',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'contents',\n      type: 'str'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.AppendHTML] = {\n    name: 'AppendHTML',\n    mnemonic: 'apnd_dynhtml',\n    before: null,\n    stackChange: -1,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.AppendSafeHTML] = {\n    name: 'AppendSafeHTML',\n    mnemonic: 'apnd_dynshtml',\n    before: null,\n    stackChange: -1,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.AppendDocumentFragment] = {\n    name: 'AppendDocumentFragment',\n    mnemonic: 'apnd_dynfrag',\n    before: null,\n    stackChange: -1,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.AppendNode] = {\n    name: 'AppendNode',\n    mnemonic: 'apnd_dynnode',\n    before: null,\n    stackChange: -1,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.AppendText] = {\n    name: 'AppendText',\n    mnemonic: 'apnd_dyntext',\n    before: null,\n    stackChange: -1,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.OpenElement] = {\n    name: 'OpenElement',\n    mnemonic: 'apnd_tag',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'tag',\n      type: 'str'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.OpenDynamicElement] = {\n    name: 'OpenDynamicElement',\n    mnemonic: 'apnd_dyntag',\n    before: null,\n    stackChange: -1,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.PushRemoteElement] = {\n    name: 'PushRemoteElement',\n    mnemonic: 'apnd_remotetag',\n    before: null,\n    stackChange: -3,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.StaticAttr] = {\n    name: 'StaticAttr',\n    mnemonic: 'apnd_attr',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'name',\n      type: 'str'\n    }, {\n      name: 'value',\n      type: 'str'\n    }, {\n      name: 'namespace',\n      type: 'option-str'\n    }],\n    operands: 3,\n    check: true\n  };\n  METADATA[_vm.Op.DynamicAttr] = {\n    name: 'DynamicAttr',\n    mnemonic: 'apnd_dynattr',\n    before: null,\n    stackChange: -1,\n    ops: [{\n      name: 'name',\n      type: 'str'\n    }, {\n      name: 'trusting',\n      type: 'bool'\n    }, {\n      name: 'namespace',\n      type: 'option-str'\n    }],\n    operands: 3,\n    check: true\n  };\n  METADATA[_vm.Op.ComponentAttr] = {\n    name: 'ComponentAttr',\n    mnemonic: 'apnd_cattr',\n    before: null,\n    stackChange: -1,\n    ops: [{\n      name: 'name',\n      type: 'str'\n    }, {\n      name: 'trusting',\n      type: 'bool'\n    }, {\n      name: 'namespace',\n      type: 'option-str'\n    }],\n    operands: 3,\n    check: true\n  };\n  METADATA[_vm.Op.FlushElement] = {\n    name: 'FlushElement',\n    mnemonic: 'apnd_flushtag',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.CloseElement] = {\n    name: 'CloseElement',\n    mnemonic: 'apnd_closetag',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.PopRemoteElement] = {\n    name: 'PopRemoteElement',\n    mnemonic: 'apnd_closeremotetag',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.Modifier] = {\n    name: 'Modifier',\n    mnemonic: 'apnd_modifier',\n    before: null,\n    stackChange: -1,\n    ops: [{\n      name: 'helper',\n      type: 'handle'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.BindDynamicScope] = {\n    name: 'BindDynamicScope',\n    mnemonic: 'setdynscope',\n    before: null,\n    stackChange: null,\n    ops: [{\n      name: 'names',\n      type: 'str-array'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.PushDynamicScope] = {\n    name: 'PushDynamicScope',\n    mnemonic: 'dynscopepush',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.PopDynamicScope] = {\n    name: 'PopDynamicScope',\n    mnemonic: 'dynscopepop',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.CompileBlock] = {\n    name: 'CompileBlock',\n    mnemonic: 'cmpblock',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.PushBlockScope] = {\n    name: 'PushBlockScope',\n    mnemonic: 'scopeload',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'scope',\n      type: 'scope'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.PushSymbolTable] = {\n    name: 'PushSymbolTable',\n    mnemonic: 'dsymload',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'table',\n      type: 'symbol-table'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.InvokeYield] = {\n    name: 'InvokeYield',\n    mnemonic: 'invokeyield',\n    before: null,\n    stackChange: null,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.JumpIf] = {\n    name: 'JumpIf',\n    mnemonic: 'iftrue',\n    before: null,\n    stackChange: -1,\n    ops: [{\n      name: 'to',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.JumpUnless] = {\n    name: 'JumpUnless',\n    mnemonic: 'iffalse',\n    before: null,\n    stackChange: -1,\n    ops: [{\n      name: 'to',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.JumpEq] = {\n    name: 'JumpEq',\n    mnemonic: 'ifeq',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'to',\n      type: 'i32'\n    }, {\n      name: 'comparison',\n      type: 'i32'\n    }],\n    operands: 2,\n    check: true\n  };\n  METADATA[_vm.Op.AssertSame] = {\n    name: 'AssertSame',\n    mnemonic: 'assert_eq',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.Enter] = {\n    name: 'Enter',\n    mnemonic: 'blk_start',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'args',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.Exit] = {\n    name: 'Exit',\n    mnemonic: 'blk_end',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.ToBoolean] = {\n    name: 'ToBoolean',\n    mnemonic: 'anytobool',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.EnterList] = {\n    name: 'EnterList',\n    mnemonic: 'list_start',\n    before: null,\n    stackChange: null,\n    ops: [{\n      name: 'address',\n      type: 'u32'\n    }, {\n      name: 'address',\n      type: 'u32'\n    }],\n    operands: 2,\n    check: true\n  };\n  METADATA[_vm.Op.ExitList] = {\n    name: 'ExitList',\n    mnemonic: 'list_end',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.Iterate] = {\n    name: 'Iterate',\n    mnemonic: 'iter',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'end',\n      type: 'u32'\n    }],\n    operands: 1,\n    check: false\n  };\n  METADATA[_vm.Op.Main] = {\n    name: 'Main',\n    mnemonic: 'main',\n    before: null,\n    stackChange: -2,\n    ops: [{\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.ContentType] = {\n    name: 'ContentType',\n    mnemonic: 'ctload',\n    before: null,\n    stackChange: 1,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.DynamicContentType] = {\n    name: 'DynamicContentType',\n    mnemonic: 'dctload',\n    before: null,\n    stackChange: 1,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.Curry] = {\n    name: 'Curry',\n    mnemonic: 'curry',\n    before: null,\n    stackChange: null,\n    ops: [{\n      name: 'type',\n      type: 'u32'\n    }, {\n      name: 'is-strict',\n      type: 'bool'\n    }],\n    operands: 2,\n    check: true\n  };\n  METADATA[_vm.Op.PushComponentDefinition] = {\n    name: 'PushComponentDefinition',\n    mnemonic: 'cmload',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'spec',\n      type: 'handle'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.PushDynamicComponentInstance] = {\n    name: 'PushDynamicComponentInstance',\n    mnemonic: 'dciload',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.ResolveDynamicComponent] = {\n    name: 'ResolveDynamicComponent',\n    mnemonic: 'cdload',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'owner',\n      type: 'owner'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.PushArgs] = {\n    name: 'PushArgs',\n    mnemonic: 'argsload',\n    before: null,\n    stackChange: null,\n    ops: [{\n      name: 'names',\n      type: 'str-array'\n    }, {\n      name: 'block-names',\n      type: 'str-array'\n    }, {\n      name: 'flags',\n      type: 'u32'\n    }],\n    operands: 3,\n    check: true\n  };\n  METADATA[_vm.Op.PushEmptyArgs] = {\n    name: 'PushEmptyArgs',\n    mnemonic: 'emptyargsload',\n    before: null,\n    stackChange: 1,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.PopArgs] = {\n    name: 'PopArgs',\n    mnemonic: 'argspop',\n    before: null,\n    stackChange: null,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.PrepareArgs] = {\n    name: 'PrepareArgs',\n    mnemonic: 'argsprep',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 1,\n    check: false\n  };\n  METADATA[_vm.Op.CaptureArgs] = {\n    name: 'CaptureArgs',\n    mnemonic: 'argscapture',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.CreateComponent] = {\n    name: 'CreateComponent',\n    mnemonic: 'comp_create',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'flags',\n      type: 'u32'\n    }, {\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 2,\n    check: true\n  };\n  METADATA[_vm.Op.RegisterComponentDestructor] = {\n    name: 'RegisterComponentDestructor',\n    mnemonic: 'comp_dest',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.PutComponentOperations] = {\n    name: 'PutComponentOperations',\n    mnemonic: 'comp_elops',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.GetComponentSelf] = {\n    name: 'GetComponentSelf',\n    mnemonic: 'comp_selfload',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.GetComponentTagName] = {\n    name: 'GetComponentTagName',\n    mnemonic: 'comp_tagload',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.GetComponentLayout] = {\n    name: 'GetComponentLayout',\n    mnemonic: 'comp_layoutload',\n    before: null,\n    stackChange: 2,\n    ops: [{\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.BindEvalScope] = {\n    name: 'BindEvalScope',\n    mnemonic: 'eval_scope',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.SetupForEval] = {\n    name: 'SetupForEval',\n    mnemonic: 'eval_setup',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.PopulateLayout] = {\n    name: 'PopulateLayout',\n    mnemonic: 'comp_layoutput',\n    before: null,\n    stackChange: -2,\n    ops: [{\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.InvokeComponentLayout] = {\n    name: 'InvokeComponentLayout',\n    mnemonic: 'comp_invokelayout',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.BeginComponentTransaction] = {\n    name: 'BeginComponentTransaction',\n    mnemonic: 'comp_begin',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.CommitComponentTransaction] = {\n    name: 'CommitComponentTransaction',\n    mnemonic: 'comp_commit',\n    before: null,\n    stackChange: 0,\n    ops: [],\n    operands: 0,\n    check: true\n  };\n  METADATA[_vm.Op.DidCreateElement] = {\n    name: 'DidCreateElement',\n    mnemonic: 'comp_created',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.DidRenderLayout] = {\n    name: 'DidRenderLayout',\n    mnemonic: 'comp_rendered',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'state',\n      type: 'register'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.ResolveMaybeLocal] = {\n    name: 'ResolveMaybeLocal',\n    mnemonic: 'eval_varload',\n    before: null,\n    stackChange: 1,\n    ops: [{\n      name: 'local',\n      type: 'str'\n    }],\n    operands: 1,\n    check: true\n  };\n  METADATA[_vm.Op.Debugger] = {\n    name: 'Debugger',\n    mnemonic: 'debugger',\n    before: null,\n    stackChange: 0,\n    ops: [{\n      name: 'symbols',\n      type: 'str-array'\n    }, {\n      name: 'debugInfo',\n      type: 'array'\n    }],\n    operands: 2,\n    check: true\n  };\n  function debugSlice(context, start, end) {}\n  function logOpcode(type, params) {}\n  function debug(c, op, isMachine) {\n    return undefined;\n  }\n\n  // TODO: How do these map onto constant and machine types?\n  const OPERAND_TYPES = _exports.OPERAND_TYPES = ['u32', 'i32', 'owner', 'handle', 'str', 'option-str', 'array', 'str-array', 'bool', 'primitive', 'register', 'unknown', 'symbol-table', 'scope'];\n  function isOperandType(s) {\n    return OPERAND_TYPES.indexOf(s) !== -1;\n  }\n  function normalize(key, input) {\n    let name;\n    if (input.format === undefined) {\n      throw new Error(`Missing format in ${JSON.stringify(input)}`);\n    }\n    if (Array.isArray(input.format)) {\n      name = input.format[0];\n    } else {\n      name = input.format;\n    }\n    let ops = Array.isArray(input.format) ? operands(input.format.slice(1)) : [];\n    return {\n      name,\n      mnemonic: key,\n      before: null,\n      stackChange: stackChange(input['operand-stack']),\n      ops,\n      operands: ops.length,\n      check: input.skip === true ? false : true\n    };\n  }\n  function stackChange(stack) {\n    if (stack === undefined) {\n      return 0;\n    }\n    let before = stack[0];\n    let after = stack[1];\n    if (hasRest(before) || hasRest(after)) {\n      return null;\n    }\n    return after.length - before.length;\n  }\n  function hasRest(input) {\n    if (!Array.isArray(input)) {\n      throw new Error(`Unexpected stack entry: ${JSON.stringify(input)}`);\n    }\n    return input.some(s => s.slice(-3) === '...');\n  }\n  function operands(input) {\n    if (!Array.isArray(input)) {\n      throw new Error(`Expected operands array, got ${JSON.stringify(input)}`);\n    }\n    return input.map(op);\n  }\n  function op(input) {\n    let [name, type] = input.split(':');\n    if (isOperandType(type)) {\n      return {\n        name,\n        type\n      };\n    } else {\n      throw new Error(`Expected operand, found ${JSON.stringify(input)}`);\n    }\n  }\n  function normalizeAll(parsed) {\n    let machine = normalizeParsed(parsed.machine);\n    let syscall = normalizeParsed(parsed.syscall);\n    return {\n      machine,\n      syscall\n    };\n  }\n  function normalizeParsed(parsed) {\n    let out = Object.create(null);\n    for (const [key, value] of Object.entries(parsed)) {\n      out[key] = normalize(key, value);\n    }\n    return out;\n  }\n  function buildEnum(name, parsed, offset, max) {\n    let e = [`export enum ${name} {`];\n    let last;\n    Object.values(parsed).forEach((value, i) => {\n      e.push(`  ${value.name} = ${offset + i},`);\n      last = i;\n    });\n    e.push(`  Size = ${last + offset + 1},`);\n    e.push('}');\n    let enumString = e.join('\\n');\n    let predicate;\n    if (max) {\n      predicate = strip`\n      export function is${name}(value: number): value is ${name} {\n        return value >= ${offset} && value <= ${max};\n      }\n    `;\n    } else {\n      predicate = strip`\n      export function is${name}(value: number): value is ${name} {\n        return value >= ${offset};\n      }\n    `;\n    }\n    return {\n      enumString,\n      predicate\n    };\n  }\n  function strip(strings, ...args) {\n    let out = '';\n    for (let i = 0; i < strings.length; i++) {\n      let string = strings[i];\n      let dynamic = args[i] !== undefined ? String(args[i]) : '';\n      out += `${string}${dynamic}`;\n    }\n\n    // eslint-disable-next-line regexp/no-super-linear-backtracking\n    out = /^\\s*?\\n?([\\s\\S]*?)\\s*$/u.exec(out)[1];\n    let min = Number.MAX_SAFE_INTEGER;\n    for (let line of out.split('\\n')) {\n      let leading = /^\\s*/u.exec(line)[0].length;\n      min = Math.min(min, leading);\n    }\n    let stripped = '';\n    for (let line of out.split('\\n')) {\n      stripped += line.slice(min) + '\\n';\n    }\n    return stripped;\n  }\n  const META_KIND = _exports.META_KIND = ['METADATA', 'MACHINE_METADATA'];\n  function buildSingleMeta(kind, all, key) {\n    let e = kind === 'MACHINE_METADATA' ? 'MachineOp' : 'Op';\n    return `${kind}[${e}.${all[key].name}] = ${stringify(all[key], 0)};`;\n  }\n  function stringify(o, pad) {\n    if (typeof o !== 'object' || o === null) {\n      if (typeof o === 'string') {\n        return `'${o}'`;\n      }\n      return JSON.stringify(o);\n    }\n    if (Array.isArray(o)) {\n      return `[${o.map(v => stringify(v, pad)).join(', ')}]`;\n    }\n    let out = ['{'];\n    for (let key of Object.keys(o)) {\n      out.push(`${' '.repeat(pad + 2)}${key}: ${stringify(o[key], pad + 2)},`);\n    }\n    out.push(`${' '.repeat(pad)}}`);\n    return out.join('\\n');\n  }\n  function buildMetas(kind, all) {\n    let out = [];\n    for (let key of Object.keys(all)) {\n      out.push(buildSingleMeta(kind, all, key));\n    }\n    return out.join('\\n\\n');\n  }\n  function wrap(checker) {\n    class Wrapped {\n      validate(value) {\n        return checker().validate(value);\n      }\n      expected() {\n        return checker().expected();\n      }\n    }\n    return new Wrapped();\n  }\n  class TypeofChecker {\n    constructor(expectedType) {\n      this.expectedType = expectedType;\n    }\n    validate(value) {\n      return typeof value === this.expectedType;\n    }\n    expected() {\n      return `typeof ${this.expectedType}`;\n    }\n  }\n  class PrimitiveChecker {\n    validate(value) {\n      return typeof value !== 'string' || typeof value === 'number' || typeof value === 'string' || value === undefined || value === null;\n    }\n    expected() {\n      return `a primitive`;\n    }\n  }\n  class NullChecker {\n    validate(value) {\n      return value === null;\n    }\n    expected() {\n      return `null`;\n    }\n  }\n  class InstanceofChecker {\n    constructor(Class) {\n      this.Class = Class;\n    }\n    validate(value) {\n      return value ? value instanceof this.Class : false;\n    }\n    expected() {\n      return `an instance of ${this.Class.name}`;\n    }\n  }\n  class OptionChecker {\n    constructor(checker, emptyValue) {\n      this.checker = checker;\n      this.emptyValue = emptyValue;\n    }\n    validate(value) {\n      if (value === this.emptyValue) return true;\n      return this.checker.validate(value);\n    }\n    expected() {\n      return `${this.checker.expected()} or null`;\n    }\n  }\n  class MaybeChecker {\n    constructor(checker) {\n      this.checker = checker;\n    }\n    validate(value) {\n      if (value === null || value === undefined) return true;\n      return this.checker.validate(value);\n    }\n    expected() {\n      return `${this.checker.expected()} or null or undefined`;\n    }\n  }\n  class OrChecker {\n    constructor(left, right) {\n      this.left = left;\n      this.right = right;\n    }\n    validate(value) {\n      return this.left.validate(value) || this.right.validate(value);\n    }\n    expected() {\n      return `${this.left.expected()} or ${this.right.expected()}`;\n    }\n  }\n  class ExactValueChecker {\n    constructor(value, desc) {\n      this.value = value;\n      this.desc = desc;\n    }\n    validate(obj) {\n      return obj === this.value;\n    }\n    expected() {\n      return this.desc;\n    }\n  }\n  class PropertyChecker {\n    constructor(checkers) {\n      this.checkers = checkers;\n    }\n    validate(obj) {\n      if (typeof obj !== 'object') return false;\n      if (obj === null || obj === undefined) return false;\n      return Object.entries(this.checkers).every(([k, checker]) => k in obj ? checker.validate(obj[k]) : false);\n    }\n    expected() {\n      let pairs = Object.entries(this.checkers).map(([k, checker]) => {\n        return `${k}: ${checker.expected()}`;\n      });\n      return `{ ${pairs.join(',')} }`;\n    }\n  }\n  class ArrayChecker {\n    constructor(checker) {\n      this.checker = checker;\n    }\n    validate(obj) {\n      if (obj === null || obj === undefined) return false;\n      if (!Array.isArray(obj)) return false;\n      return obj.every(item => this.checker.validate(item));\n    }\n    expected() {\n      return `Array<${this.checker.expected()}>`;\n    }\n  }\n  class DictChecker {\n    constructor(checker) {\n      this.checker = checker;\n    }\n    validate(value) {\n      let isDict = typeof value === 'object' && value !== null && Object.getPrototypeOf(value) === null;\n      if (!isDict) return false;\n      let {\n        checker\n      } = this;\n      for (let key in value) {\n        if (!checker.validate(value[key])) {\n          return false;\n        }\n      }\n      return true;\n    }\n    expected() {\n      return `a primitive`;\n    }\n  }\n  class OpaqueChecker {\n    constructor() {\n      this.type = void 0;\n    }\n    validate(_obj) {\n      return true;\n    }\n    expected() {\n      return `any`;\n    }\n  }\n  class ObjectChecker {\n    validate(obj) {\n      return typeof obj === 'function' || typeof obj === 'object' && obj !== null;\n    }\n    expected() {\n      return `an object or function (valid WeakMap key)`;\n    }\n  }\n  class SafeStringChecker {\n    validate(value) {\n      return typeof value === 'object' && value !== null && typeof value.toHTML === 'function';\n    }\n    expected() {\n      return `SafeString`;\n    }\n  }\n  function CheckInstanceof(Class) {\n    return new InstanceofChecker(Class);\n  }\n  function CheckOption(checker) {\n    return new OptionChecker(checker, null);\n  }\n  function CheckMaybe(checker) {\n    return new MaybeChecker(checker);\n  }\n  function CheckInterface(obj) {\n    return new PropertyChecker(obj);\n  }\n  function CheckArray(obj) {\n    return new ArrayChecker(obj);\n  }\n  function CheckDict(obj) {\n    return new DictChecker(obj);\n  }\n  function defaultMessage(value, expected) {\n    return `Got ${value}, expected:\\n${expected}`;\n  }\n  function check(value, checker, message = defaultMessage) {\n    if (typeof checker === 'function') {\n      checker(value);\n      return value;\n    }\n    if (checker.validate(value)) {\n      return value;\n    } else {\n      throw new Error(message(value, checker.expected()));\n    }\n  }\n  let size = 0;\n  function recordStackSize(sp) {\n    size = sp;\n  }\n  function expectStackChange(stack, expected, name) {\n    let actual = stack.sp - size;\n    if (actual === expected) return;\n    throw new Error(`Expected stack to change by ${expected}, but it changed by ${actual} in ${name}`);\n  }\n  const CheckPrimitive = _exports.CheckPrimitive = new PrimitiveChecker();\n  const CheckFunction = _exports.CheckFunction = new TypeofChecker('function');\n  const CheckNumber = _exports.CheckNumber = new TypeofChecker('number');\n  const CheckBoolean = _exports.CheckBoolean = new TypeofChecker('boolean');\n  const CheckHandle = _exports.CheckHandle = CheckNumber;\n  const CheckString = _exports.CheckString = new TypeofChecker('string');\n  const CheckNull = _exports.CheckNull = new NullChecker();\n  const CheckUnknown = _exports.CheckUnknown = new OpaqueChecker();\n  const CheckSafeString = _exports.CheckSafeString = new SafeStringChecker();\n  const CheckObject = _exports.CheckObject = new ObjectChecker();\n  function CheckOr(left, right) {\n    return new OrChecker(left, right);\n  }\n  function CheckValue(value, desc = String(value)) {\n    return new ExactValueChecker(value, desc);\n  }\n  const CheckBlockSymbolTable = _exports.CheckBlockSymbolTable = CheckInterface({\n    parameters: CheckArray(CheckNumber)\n  });\n  const CheckProgramSymbolTable = _exports.CheckProgramSymbolTable = CheckInterface({\n    hasEval: CheckBoolean,\n    symbols: CheckArray(CheckString)\n  });\n  const CheckElement = _exports.CheckElement = CheckInterface({\n    nodeType: CheckValue(1),\n    tagName: CheckString,\n    nextSibling: CheckUnknown\n  });\n  const CheckDocumentFragment = _exports.CheckDocumentFragment = CheckInterface({\n    nodeType: CheckValue(11),\n    nextSibling: CheckUnknown\n  });\n  const CheckNode = _exports.CheckNode = CheckInterface({\n    nodeType: CheckNumber,\n    nextSibling: CheckUnknown\n  });\n});","define(\"@glimmer/destroyable\", [\"exports\", \"@glimmer/global-context\", \"@glimmer/util\"], function (_exports, _globalContext, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._hasDestroyableChildren = _hasDestroyableChildren;\n  _exports.assertDestroyablesDestroyed = void 0;\n  _exports.associateDestroyableChild = associateDestroyableChild;\n  _exports.destroy = destroy;\n  _exports.destroyChildren = destroyChildren;\n  _exports.enableDestroyableTracking = void 0;\n  _exports.isDestroyed = isDestroyed;\n  _exports.isDestroying = isDestroying;\n  _exports.registerDestructor = registerDestructor;\n  _exports.unregisterDestructor = unregisterDestructor;\n  var DestroyingState = /*#__PURE__*/function (DestroyingState) {\n    DestroyingState[DestroyingState[\"Live\"] = 0] = \"Live\";\n    DestroyingState[DestroyingState[\"Destroying\"] = 1] = \"Destroying\";\n    DestroyingState[DestroyingState[\"Destroyed\"] = 2] = \"Destroyed\";\n    return DestroyingState;\n  }(DestroyingState || {});\n  let DESTROYABLE_META = new WeakMap();\n  function push(collection, newItem) {\n    if (collection === null) {\n      return newItem;\n    } else if (Array.isArray(collection)) {\n      collection.push(newItem);\n      return collection;\n    } else {\n      return [collection, newItem];\n    }\n  }\n  function iterate(collection, fn) {\n    if (Array.isArray(collection)) {\n      collection.forEach(fn);\n    } else if (collection !== null) {\n      fn(collection);\n    }\n  }\n  function remove(collection, item, message) {\n    if (true /* DEBUG */) {\n      let collectionIsItem = collection === item;\n      let collectionContainsItem = Array.isArray(collection) && collection.indexOf(item) !== -1;\n      if (!collectionIsItem && !collectionContainsItem) {\n        throw new Error(String(message));\n      }\n    }\n    if (Array.isArray(collection) && collection.length > 1) {\n      let index = collection.indexOf(item);\n      collection.splice(index, 1);\n      return collection;\n    } else {\n      return null;\n    }\n  }\n  function getDestroyableMeta(destroyable) {\n    let meta = DESTROYABLE_META.get(destroyable);\n    if (meta === undefined) {\n      meta = {\n        parents: null,\n        children: null,\n        eagerDestructors: null,\n        destructors: null,\n        state: DestroyingState.Live\n      };\n      if (true /* DEBUG */) {\n        meta.source = destroyable;\n      }\n      DESTROYABLE_META.set(destroyable, meta);\n    }\n    return meta;\n  }\n  function associateDestroyableChild(parent, child) {\n    if (true /* DEBUG */ && isDestroying(parent)) {\n      throw new Error('Attempted to associate a destroyable child with an object that is already destroying or destroyed');\n    }\n    let parentMeta = getDestroyableMeta(parent);\n    let childMeta = getDestroyableMeta(child);\n    parentMeta.children = push(parentMeta.children, child);\n    childMeta.parents = push(childMeta.parents, parent);\n    return child;\n  }\n  function registerDestructor(destroyable, destructor, eager = false) {\n    if (true /* DEBUG */ && isDestroying(destroyable)) {\n      throw new Error('Attempted to register a destructor with an object that is already destroying or destroyed');\n    }\n    let meta = getDestroyableMeta(destroyable);\n    let destructorsKey = eager === true ? 'eagerDestructors' : 'destructors';\n    meta[destructorsKey] = push(meta[destructorsKey], destructor);\n    return destructor;\n  }\n  function unregisterDestructor(destroyable, destructor, eager = false) {\n    if (true /* DEBUG */ && isDestroying(destroyable)) {\n      throw new Error('Attempted to unregister a destructor with an object that is already destroying or destroyed');\n    }\n    let meta = getDestroyableMeta(destroyable);\n    let destructorsKey = eager === true ? 'eagerDestructors' : 'destructors';\n    meta[destructorsKey] = remove(meta[destructorsKey], destructor, true /* DEBUG */ && 'attempted to remove a destructor that was not registered with the destroyable');\n  }\n\n  ////////////\n\n  function destroy(destroyable) {\n    let meta = getDestroyableMeta(destroyable);\n    if (meta.state >= DestroyingState.Destroying) return;\n    let {\n      parents,\n      children,\n      eagerDestructors,\n      destructors\n    } = meta;\n    meta.state = DestroyingState.Destroying;\n    iterate(children, destroy);\n    iterate(eagerDestructors, destructor => destructor(destroyable));\n    iterate(destructors, destructor => (0, _globalContext.scheduleDestroy)(destroyable, destructor));\n    (0, _globalContext.scheduleDestroyed)(() => {\n      iterate(parents, parent => removeChildFromParent(destroyable, parent));\n      meta.state = DestroyingState.Destroyed;\n    });\n  }\n  function removeChildFromParent(child, parent) {\n    let parentMeta = getDestroyableMeta(parent);\n    if (parentMeta.state === DestroyingState.Live) {\n      parentMeta.children = remove(parentMeta.children, child, true /* DEBUG */ && \"attempted to remove child from parent, but the parent's children did not contain the child. This is likely a bug with destructors.\");\n    }\n  }\n  function destroyChildren(destroyable) {\n    let {\n      children\n    } = getDestroyableMeta(destroyable);\n    iterate(children, destroy);\n  }\n  function _hasDestroyableChildren(destroyable) {\n    let meta = DESTROYABLE_META.get(destroyable);\n    return meta === undefined ? false : meta.children !== null;\n  }\n  function isDestroying(destroyable) {\n    let meta = DESTROYABLE_META.get(destroyable);\n    return meta === undefined ? false : meta.state >= DestroyingState.Destroying;\n  }\n  function isDestroyed(destroyable) {\n    let meta = DESTROYABLE_META.get(destroyable);\n    return meta === undefined ? false : meta.state >= DestroyingState.Destroyed;\n  }\n\n  ////////////\n\n  let enableDestroyableTracking = _exports.enableDestroyableTracking = void 0;\n  let assertDestroyablesDestroyed = _exports.assertDestroyablesDestroyed = void 0;\n  if (true /* DEBUG */) {\n    let isTesting = false;\n    _exports.enableDestroyableTracking = enableDestroyableTracking = () => {\n      if (isTesting) {\n        // Reset destroyable meta just in case, before throwing the error\n        DESTROYABLE_META = new WeakMap();\n        throw new Error('Attempted to start destroyable testing, but you did not end the previous destroyable test. Did you forget to call `assertDestroyablesDestroyed()`');\n      }\n      isTesting = true;\n      DESTROYABLE_META = new Map();\n    };\n    _exports.assertDestroyablesDestroyed = 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      isTesting = false;\n      let map = DESTROYABLE_META;\n      DESTROYABLE_META = new WeakMap();\n      let undestroyed = [];\n      map.forEach(meta => {\n        if (meta.state !== DestroyingState.Destroyed) {\n          undestroyed.push(meta.source);\n        }\n      });\n      if (undestroyed.length > 0) {\n        let objectsToString = undestroyed.map(_util.debugToString).join('\\n    ');\n        let error = new Error(`Some destroyables were not destroyed during this test:\\n    ${objectsToString}`);\n        error.destroyables = undestroyed;\n        throw error;\n      }\n    };\n  }\n});","define(\"@glimmer/encoder\", [\"exports\", \"@glimmer/vm\"], function (_exports, _vm) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.InstructionEncoderImpl = void 0;\n  class InstructionEncoderImpl {\n    constructor(buffer) {\n      this.size = 0;\n      this.buffer = buffer;\n    }\n    encode(type, machine, ...args) {\n      if (type > _vm.TYPE_SIZE) {\n        throw new Error(`Opcode type over 8-bits. Got ${type}.`);\n      }\n      let first = type | machine | arguments.length - 2 << _vm.ARG_SHIFT;\n      this.buffer.push(first);\n      for (const op of args) {\n        if (true /* DEBUG */ && typeof op === 'number' && op > _vm.MAX_SIZE) {\n          throw new Error(`Operand over 32-bits. Got ${op}.`);\n        }\n        this.buffer.push(op);\n      }\n      this.size = this.buffer.length;\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  _exports.InstructionEncoderImpl = InstructionEncoderImpl;\n});","define(\"@glimmer/env\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.DEBUG = _exports.CI = void 0;\n  const DEBUG = _exports.DEBUG = false;\n  const CI = _exports.CI = false;\n});","define(\"@glimmer/global-context\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.assertGlobalContextWasSet = _exports.assert = void 0;\n  _exports.default = setGlobalContext;\n  _exports.warnIfStyleNotTrusted = _exports.toIterator = _exports.toBool = _exports.testOverrideGlobalContext = _exports.setProp = _exports.setPath = _exports.scheduleRevalidate = _exports.scheduleDestroyed = _exports.scheduleDestroy = _exports.getProp = _exports.getPath = _exports.deprecate = void 0;\n  /**\n   * This package contains global context functions for Glimmer. These functions\n   * are set by the embedding environment and must be set before initial render.\n   *\n   * These functions should meet the following criteria:\n   *\n   * - Must be provided by the embedder, due to having framework specific\n   *   behaviors (e.g. interop with classic Ember behaviors that should not be\n   *   upstreamed) or to being out of scope for the VM (e.g. scheduling a\n   *   revalidation)\n   * - Never differ between render roots\n   * - Never change over time\n   *\n   */\n\n  //////////\n\n  /**\n   * Interfaces\n   *\n   * TODO: Move these into @glimmer/interfaces, move @glimmer/interfaces to\n   * @glimmer/internal-interfaces.\n   */\n  //////////\n  /**\n   * Schedules a VM revalidation.\n   *\n   * Note: this has a default value so that tags can warm themselves when first loaded.\n   */\n  let scheduleRevalidate = () => {};\n\n  /**\n   * Schedules a destructor to run\n   *\n   * @param destroyable The destroyable being destroyed\n   * @param destructor The destructor being scheduled\n   */\n  _exports.scheduleRevalidate = scheduleRevalidate;\n  let scheduleDestroy = _exports.scheduleDestroy = void 0;\n\n  /**\n   * Finalizes destruction\n   *\n   * @param finalizer finalizer function\n   */\n  let scheduleDestroyed = _exports.scheduleDestroyed = void 0;\n\n  /**\n   * Hook to provide iterators for `{{each}}` loops\n   *\n   * @param value The value to create an iterator for\n   */\n  let toIterator = _exports.toIterator = void 0;\n\n  /**\n   * Hook to specify truthiness within Glimmer templates\n   *\n   * @param value The value to convert to a boolean\n   */\n  let toBool = _exports.toBool = void 0;\n\n  /**\n   * Hook for specifying how Glimmer should access properties in cases where it\n   * needs to. For instance, accessing an object's values in templates.\n   *\n   * @param obj The object provided to get a value from\n   * @param path The path to get the value from\n   */\n  let getProp = _exports.getProp = void 0;\n\n  /**\n   * Hook for specifying how Glimmer should update props in cases where it needs\n   * to. For instance, when updating a template reference (e.g. 2-way-binding)\n   *\n   * @param obj The object provided to get a value from\n   * @param prop The prop to set the value at\n   * @param value The value to set the value to\n   */\n  let setProp = _exports.setProp = void 0;\n\n  /**\n   * Hook for specifying how Glimmer should access paths in cases where it needs\n   * to. For instance, the `key` value of `{{each}}` loops.\n   *\n   * @param obj The object provided to get a value from\n   * @param path The path to get the value from\n   */\n  let getPath = _exports.getPath = void 0;\n\n  /**\n   * Hook for specifying how Glimmer should update paths in cases where it needs\n   * to. For instance, when updating a template reference (e.g. 2-way-binding)\n   *\n   * @param obj The object provided to get a value from\n   * @param path The path to get the value from\n   */\n  let setPath = _exports.setPath = void 0;\n\n  /**\n   * Hook to warn if a style binding string or value was not marked as trusted\n   * (e.g. HTMLSafe)\n   */\n  let warnIfStyleNotTrusted = _exports.warnIfStyleNotTrusted = void 0;\n\n  /**\n   * Hook to customize assertion messages in the VM. Usages can be stripped out\n   * by using the @glimmer/vm-babel-plugins package.\n   */\n  let assert = _exports.assert = void 0;\n\n  /**\n   * Hook to customize deprecation messages in the VM. Usages can be stripped out\n   * by using the @glimmer/vm-babel-plugins package.\n   */\n  let deprecate = _exports.deprecate = void 0;\n\n  //////////\n\n  let globalContextWasSet = false;\n  function setGlobalContext(context) {\n    if (true /* DEBUG */) {\n      if (globalContextWasSet) {\n        throw new Error('Attempted to set the global context twice. This should only be set once.');\n      }\n      globalContextWasSet = true;\n    }\n    _exports.scheduleRevalidate = scheduleRevalidate = context.scheduleRevalidate;\n    _exports.scheduleDestroy = scheduleDestroy = context.scheduleDestroy;\n    _exports.scheduleDestroyed = scheduleDestroyed = context.scheduleDestroyed;\n    _exports.toIterator = toIterator = context.toIterator;\n    _exports.toBool = toBool = context.toBool;\n    _exports.getProp = getProp = context.getProp;\n    _exports.setProp = setProp = context.setProp;\n    _exports.getPath = getPath = context.getPath;\n    _exports.setPath = setPath = context.setPath;\n    _exports.warnIfStyleNotTrusted = warnIfStyleNotTrusted = context.warnIfStyleNotTrusted;\n    _exports.assert = assert = context.assert;\n    _exports.deprecate = deprecate = context.deprecate;\n  }\n  let assertGlobalContextWasSet = _exports.assertGlobalContextWasSet = void 0;\n  let testOverrideGlobalContext = _exports.testOverrideGlobalContext = void 0;\n  if (true /* DEBUG */) {\n    _exports.assertGlobalContextWasSet = assertGlobalContextWasSet = () => {\n      if (globalContextWasSet === false) {\n        throw new Error('The global context for Glimmer VM was not set. You must set these global context functions to let Glimmer VM know how to accomplish certain operations. You can do this by importing `setGlobalContext` from `@glimmer/global-context`');\n      }\n    };\n    _exports.testOverrideGlobalContext = testOverrideGlobalContext = context => {\n      let originalGlobalContext = globalContextWasSet ? {\n        scheduleRevalidate,\n        scheduleDestroy,\n        scheduleDestroyed,\n        toIterator,\n        toBool,\n        getProp,\n        setProp,\n        getPath,\n        setPath,\n        warnIfStyleNotTrusted,\n        assert,\n        deprecate\n      } : null;\n      if (context === null) {\n        globalContextWasSet = false;\n      } else {\n        globalContextWasSet = true;\n      }\n\n      // We use `undefined as any` here to unset the values when resetting the\n      // context at the end of a test.\n      _exports.scheduleRevalidate = scheduleRevalidate = context?.scheduleRevalidate || undefined;\n      _exports.scheduleDestroy = scheduleDestroy = context?.scheduleDestroy || undefined;\n      _exports.scheduleDestroyed = scheduleDestroyed = context?.scheduleDestroyed || undefined;\n      _exports.toIterator = toIterator = context?.toIterator || undefined;\n      _exports.toBool = toBool = context?.toBool || undefined;\n      _exports.getProp = getProp = context?.getProp || undefined;\n      _exports.setProp = setProp = context?.setProp || undefined;\n      _exports.getPath = getPath = context?.getPath || undefined;\n      _exports.setPath = setPath = context?.setPath || undefined;\n      _exports.warnIfStyleNotTrusted = warnIfStyleNotTrusted = context?.warnIfStyleNotTrusted || undefined;\n      _exports.assert = assert = context?.assert || undefined;\n      _exports.deprecate = deprecate = context?.deprecate || undefined;\n      return originalGlobalContext;\n    };\n  }\n});","define(\"@glimmer/manager\", [\"exports\", \"@glimmer/util\", \"@glimmer/destroyable\", \"@glimmer/reference\", \"@glimmer/validator\", \"@glimmer/debug\", \"@glimmer/vm\"], function (_exports, _util, _destroyable, _reference, _validator, _debug, _vm) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.CustomModifierManager = _exports.CustomHelperManager = _exports.CustomComponentManager = void 0;\n  _exports.capabilityFlagsFrom = capabilityFlagsFrom;\n  _exports.componentCapabilities = componentCapabilities;\n  _exports.getComponentTemplate = getComponentTemplate;\n  _exports.getCustomTagFor = getCustomTagFor;\n  _exports.getInternalComponentManager = getInternalComponentManager;\n  _exports.getInternalHelperManager = getInternalHelperManager;\n  _exports.getInternalModifierManager = getInternalModifierManager;\n  _exports.hasCapability = hasCapability;\n  _exports.hasDestroyable = hasDestroyable;\n  _exports.hasInternalComponentManager = hasInternalComponentManager;\n  _exports.hasInternalHelperManager = hasInternalHelperManager;\n  _exports.hasInternalModifierManager = hasInternalModifierManager;\n  _exports.hasValue = hasValue;\n  _exports.helperCapabilities = helperCapabilities;\n  _exports.managerHasCapability = managerHasCapability;\n  _exports.modifierCapabilities = modifierCapabilities;\n  _exports.setComponentManager = setComponentManager;\n  _exports.setComponentTemplate = setComponentTemplate;\n  _exports.setCustomTagFor = setCustomTagFor;\n  _exports.setHelperManager = setHelperManager;\n  _exports.setInternalComponentManager = setInternalComponentManager;\n  _exports.setInternalHelperManager = setInternalHelperManager;\n  _exports.setInternalModifierManager = setInternalModifierManager;\n  _exports.setModifierManager = setModifierManager;\n  const CUSTOM_TAG_FOR = new WeakMap();\n  function getCustomTagFor(obj) {\n    return CUSTOM_TAG_FOR.get(obj);\n  }\n  function setCustomTagFor(obj, customTagFn) {\n    CUSTOM_TAG_FOR.set(obj, customTagFn);\n  }\n  function convertToInt(prop) {\n    if (typeof prop === 'symbol') return null;\n    const num = Number(prop);\n    if (isNaN(num)) return null;\n    return num % 1 === 0 ? num : null;\n  }\n  function tagForNamedArg(namedArgs, key) {\n    return (0, _validator.track)(() => {\n      if (key in namedArgs) {\n        (0, _reference.valueForRef)(namedArgs[key]);\n      }\n    });\n  }\n  function tagForPositionalArg(positionalArgs, key) {\n    return (0, _validator.track)(() => {\n      if (key === '[]') {\n        // consume all of the tags in the positional array\n        positionalArgs.forEach(_reference.valueForRef);\n      }\n      const parsed = convertToInt(key);\n      if (parsed !== null && parsed < positionalArgs.length) {\n        // consume the tag of the referenced index\n        (0, _reference.valueForRef)(positionalArgs[parsed]);\n      }\n    });\n  }\n  class NamedArgsProxy {\n    constructor(named) {\n      this.named = named;\n    }\n    get(_target, prop) {\n      const ref = this.named[prop];\n      if (ref !== undefined) {\n        return (0, _reference.valueForRef)(ref);\n      }\n    }\n    has(_target, prop) {\n      return prop in this.named;\n    }\n    ownKeys() {\n      return Object.keys(this.named);\n    }\n    isExtensible() {\n      return false;\n    }\n    getOwnPropertyDescriptor(_target, prop) {\n      if (true /* DEBUG */ && !(prop in this.named)) {\n        throw new Error(`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(). Attempted to get the descriptor for \\`${String(prop)}\\``);\n      }\n      return {\n        enumerable: true,\n        configurable: true\n      };\n    }\n  }\n  class PositionalArgsProxy {\n    constructor(positional) {\n      this.positional = positional;\n    }\n    get(target, prop) {\n      let {\n        positional\n      } = this;\n      if (prop === 'length') {\n        return positional.length;\n      }\n      const parsed = convertToInt(prop);\n      if (parsed !== null && parsed < positional.length) {\n        return (0, _reference.valueForRef)(positional[parsed]);\n      }\n      return target[prop];\n    }\n    isExtensible() {\n      return false;\n    }\n    has(_target, prop) {\n      const parsed = convertToInt(prop);\n      return parsed !== null && parsed < this.positional.length;\n    }\n  }\n  const argsProxyFor = (capturedArgs, type) => {\n    const {\n      named,\n      positional\n    } = capturedArgs;\n    let getNamedTag = (_obj, key) => tagForNamedArg(named, key);\n    let getPositionalTag = (_obj, key) => tagForPositionalArg(positional, key);\n    const namedHandler = new NamedArgsProxy(named);\n    const positionalHandler = new PositionalArgsProxy(positional);\n    const namedTarget = Object.create(null);\n    const positionalTarget = [];\n    if (true /* DEBUG */) {\n      const setHandler = function (_target, prop) {\n        throw new Error(`You attempted to set ${String(prop)} on the arguments of a component, helper, or modifier. Arguments are immutable and cannot be updated directly; they always represent the values that are passed down. If you want to set default values, you should use a getter and local tracked state instead.`);\n      };\n      const forInDebugHandler = () => {\n        throw new Error(`Object.keys() was called on the positional arguments array for a ${type}, which is not supported. This function is a low-level function that should not need to be called for positional argument arrays. You may be attempting to iterate over the array using for...in instead of for...of.`);\n      };\n      namedHandler.set = setHandler;\n      positionalHandler.set = setHandler;\n      positionalHandler.ownKeys = forInDebugHandler;\n    }\n    const namedProxy = new Proxy(namedTarget, namedHandler);\n    const positionalProxy = new Proxy(positionalTarget, positionalHandler);\n    setCustomTagFor(namedProxy, getNamedTag);\n    setCustomTagFor(positionalProxy, getPositionalTag);\n    return {\n      named: namedProxy,\n      positional: positionalProxy\n    };\n  };\n  const FROM_CAPABILITIES = true /* DEBUG */ ? new WeakSet() : undefined;\n  function buildCapabilities(capabilities) {\n    if (true /* DEBUG */) {\n      FROM_CAPABILITIES.add(capabilities);\n      Object.freeze(capabilities);\n    }\n    return capabilities;\n  }\n  const EMPTY = _vm.InternalComponentCapabilities.Empty;\n  /**\n   * Converts a ComponentCapabilities object into a 32-bit integer representation.\n   */\n  function capabilityFlagsFrom(capabilities) {\n    return EMPTY | capability(capabilities, 'dynamicLayout') | capability(capabilities, 'dynamicTag') | capability(capabilities, 'prepareArgs') | capability(capabilities, 'createArgs') | capability(capabilities, 'attributeHook') | capability(capabilities, 'elementHook') | capability(capabilities, 'dynamicScope') | capability(capabilities, 'createCaller') | capability(capabilities, 'updateHook') | capability(capabilities, 'createInstance') | capability(capabilities, 'wrapped') | capability(capabilities, 'willDestroy') | capability(capabilities, 'hasSubOwner');\n  }\n  function capability(capabilities, capability) {\n    return capabilities[capability] ? _vm.InternalComponentCapabilities[capability] : EMPTY;\n  }\n  function managerHasCapability(_manager, capabilities, capability) {\n    (0, _debug.check)(capabilities, _debug.CheckNumber);\n    return !!(capabilities & capability);\n  }\n  function hasCapability(capabilities, capability) {\n    (0, _debug.check)(capabilities, _debug.CheckNumber);\n    return !!(capabilities & capability);\n  }\n  function helperCapabilities(managerAPI, options = {}) {\n    if (true /* DEBUG */ && managerAPI !== '3.23') {\n      throw new Error('Invalid helper manager compatibility specified');\n    }\n    if (true /* DEBUG */ && (!(options.hasValue || options.hasScheduledEffect) || options.hasValue && options.hasScheduledEffect)) {\n      throw new Error('You must pass either the `hasValue` OR the `hasScheduledEffect` capability when defining a helper manager. Passing neither, or both, is not permitted.');\n    }\n    if (true /* DEBUG */ && options.hasScheduledEffect) {\n      throw new Error('The `hasScheduledEffect` capability has not yet been implemented for helper managers. Please pass `hasValue` instead');\n    }\n    return buildCapabilities({\n      hasValue: Boolean(options.hasValue),\n      hasDestroyable: Boolean(options.hasDestroyable),\n      hasScheduledEffect: Boolean(options.hasScheduledEffect)\n    });\n  }\n\n  ////////////\n\n  function hasValue(manager) {\n    return manager.capabilities.hasValue;\n  }\n  function hasDestroyable(manager) {\n    return manager.capabilities.hasDestroyable;\n  }\n\n  ////////////\n\n  class CustomHelperManager {\n    constructor(factory) {\n      this.helperManagerDelegates = new WeakMap();\n      this.undefinedDelegate = null;\n      this.factory = factory;\n    }\n    getDelegateForOwner(owner) {\n      let delegate = this.helperManagerDelegates.get(owner);\n      if (delegate === undefined) {\n        let {\n          factory\n        } = this;\n        delegate = factory(owner);\n        if (true /* DEBUG */ && !FROM_CAPABILITIES.has(delegate.capabilities)) {\n          // TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\n          throw new Error(`Custom helper managers must have a \\`capabilities\\` property that is the result of calling the \\`capabilities('3.23')\\` (imported via \\`import { capabilities } from '@ember/helper';\\`). Received: \\`${JSON.stringify(delegate.capabilities)}\\` for: \\`${delegate}\\``);\n        }\n        this.helperManagerDelegates.set(owner, delegate);\n      }\n      return delegate;\n    }\n    getDelegateFor(owner) {\n      if (owner === undefined) {\n        let {\n          undefinedDelegate\n        } = this;\n        if (undefinedDelegate === null) {\n          let {\n            factory\n          } = this;\n          this.undefinedDelegate = undefinedDelegate = factory(undefined);\n        }\n        return undefinedDelegate;\n      } else {\n        return this.getDelegateForOwner(owner);\n      }\n    }\n    getHelper(definition) {\n      return (capturedArgs, owner) => {\n        let manager = this.getDelegateFor(owner);\n        const args = argsProxyFor(capturedArgs, 'helper');\n        const bucket = manager.createHelper(definition, args);\n        if (hasValue(manager)) {\n          let cache = (0, _reference.createComputeRef)(() => manager.getValue(bucket), null, true /* DEBUG */ && manager.getDebugName && manager.getDebugName(definition));\n          if (hasDestroyable(manager)) {\n            (0, _destroyable.associateDestroyableChild)(cache, manager.getDestroyable(bucket));\n          }\n          return cache;\n        } else if (hasDestroyable(manager)) {\n          let ref = (0, _reference.createConstRef)(undefined, true /* DEBUG */ && (manager.getDebugName?.(definition) ?? 'unknown helper'));\n          (0, _destroyable.associateDestroyableChild)(ref, manager.getDestroyable(bucket));\n          return ref;\n        } else {\n          return _reference.UNDEFINED_REFERENCE;\n        }\n      };\n    }\n  }\n  _exports.CustomHelperManager = CustomHelperManager;\n  class FunctionHelperManager {\n    constructor() {\n      this.capabilities = buildCapabilities({\n        hasValue: true,\n        hasDestroyable: false,\n        hasScheduledEffect: false\n      });\n    }\n    createHelper(fn, args) {\n      return {\n        fn,\n        args\n      };\n    }\n    getValue({\n      fn,\n      args\n    }) {\n      if (Object.keys(args.named).length > 0) {\n        let argsForFn = [...args.positional, args.named];\n        return fn(...argsForFn);\n      }\n      return fn(...args.positional);\n    }\n    getDebugName(fn) {\n      if (fn.name) {\n        return `(helper function ${fn.name})`;\n      }\n      return '(anonymous helper function)';\n    }\n  }\n  const COMPONENT_MANAGERS = new WeakMap();\n  const MODIFIER_MANAGERS = new WeakMap();\n  const HELPER_MANAGERS = new WeakMap();\n\n  ///////////\n\n  const getPrototypeOf$1 = Object.getPrototypeOf;\n  function setManager(map, manager, obj) {\n    if (true /* DEBUG */ && (typeof obj !== 'object' || obj === null) && typeof obj !== 'function') {\n      throw new Error(`Attempted to set a manager on a non-object value. Managers can only be associated with objects or functions. Value was ${(0, _util.debugToString)(obj)}`);\n    }\n    if (true /* DEBUG */ && map.has(obj)) {\n      throw new Error(`Attempted to set the same type of manager multiple times on a value. You can only associate one manager of each type with a given value. Value was ${(0, _util.debugToString)(obj)}`);\n    }\n    map.set(obj, manager);\n    return obj;\n  }\n  function getManager(map, obj) {\n    let pointer = obj;\n    while (pointer !== undefined && pointer !== null) {\n      const manager = map.get(pointer);\n      if (manager !== undefined) {\n        return manager;\n      }\n      pointer = getPrototypeOf$1(pointer);\n    }\n    return undefined;\n  }\n\n  ///////////\n\n  function setInternalModifierManager(manager, definition) {\n    return setManager(MODIFIER_MANAGERS, manager, definition);\n  }\n  function getInternalModifierManager(definition, isOptional) {\n    if (true /* DEBUG */ && typeof definition !== 'function' && (typeof definition !== 'object' || definition === null)) {\n      throw new Error(`Attempted to use a value as a modifier, but it was not an object or function. Modifier definitions must be objects or functions with an associated modifier manager. The value was: ${definition}`);\n    }\n    const manager = getManager(MODIFIER_MANAGERS, definition);\n    if (manager === undefined) {\n      if (isOptional === true) {\n        return null;\n      } else if (true /* DEBUG */) {\n        throw new Error(`Attempted to load a modifier, but there wasn't a modifier manager associated with the definition. The definition was: ${(0, _util.debugToString)(definition)}`);\n      }\n    }\n    return manager;\n  }\n  function setInternalHelperManager(manager, definition) {\n    return setManager(HELPER_MANAGERS, manager, definition);\n  }\n  const DEFAULT_MANAGER = new CustomHelperManager(() => new FunctionHelperManager());\n  function getInternalHelperManager(definition, isOptional) {\n    if (true /* DEBUG */ && typeof definition !== 'function' && (typeof definition !== 'object' || definition === null)) {\n      throw new Error(`Attempted to use a value as a helper, but it was not an object or function. Helper definitions must be objects or functions with an associated helper manager. The value was: ${definition}`);\n    }\n    let manager = getManager(HELPER_MANAGERS, definition);\n\n    // Functions are special-cased because functions are defined\n    // as the \"default\" helper, per: https://github.com/emberjs/rfcs/pull/756\n    if (manager === undefined && typeof definition === 'function') {\n      manager = DEFAULT_MANAGER;\n    }\n    if (manager) {\n      return manager;\n    } else if (isOptional === true) {\n      return null;\n    } else if (true /* DEBUG */) {\n      throw new Error(`Attempted to load a helper, but there wasn't a helper manager associated with the definition. The definition was: ${(0, _util.debugToString)(definition)}`);\n    }\n    return null;\n  }\n  function setInternalComponentManager(factory, obj) {\n    return setManager(COMPONENT_MANAGERS, factory, obj);\n  }\n  function getInternalComponentManager(definition, isOptional) {\n    if (true /* DEBUG */ && typeof definition !== 'function' && (typeof definition !== 'object' || definition === null)) {\n      throw new Error(`Attempted to use a value as a component, but it was not an object or function. Component definitions must be objects or functions with an associated component manager. The value was: ${definition}`);\n    }\n    const manager = getManager(COMPONENT_MANAGERS, definition);\n    if (manager === undefined) {\n      if (isOptional === true) {\n        return null;\n      } else if (true /* DEBUG */) {\n        throw new Error(`Attempted to load a component, but there wasn't a component manager associated with the definition. The definition was: ${(0, _util.debugToString)(definition)}`);\n      }\n    }\n    return manager;\n  }\n\n  ///////////\n\n  function hasInternalComponentManager(definition) {\n    return getManager(COMPONENT_MANAGERS, definition) !== undefined;\n  }\n  function hasInternalHelperManager(definition) {\n    return hasDefaultHelperManager(definition) || getManager(HELPER_MANAGERS, definition) !== undefined;\n  }\n  function hasInternalModifierManager(definition) {\n    return getManager(MODIFIER_MANAGERS, definition) !== undefined;\n  }\n  function hasDefaultHelperManager(definition) {\n    return typeof definition === 'function';\n  }\n  const CAPABILITIES = {\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    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  function componentCapabilities(managerAPI, options = {}) {\n    if (true /* DEBUG */ && managerAPI !== '3.13') {\n      throw new Error('Invalid component manager compatibility specified');\n    }\n    let updateHook = Boolean(options.updateHook);\n    return buildCapabilities({\n      asyncLifeCycleCallbacks: Boolean(options.asyncLifecycleCallbacks),\n      destructor: Boolean(options.destructor),\n      updateHook\n    });\n  }\n  function hasAsyncLifeCycleCallbacks(delegate) {\n    return delegate.capabilities.asyncLifeCycleCallbacks;\n  }\n  function hasUpdateHook(delegate) {\n    return delegate.capabilities.updateHook;\n  }\n  function hasAsyncUpdateHook(delegate) {\n    return hasAsyncLifeCycleCallbacks(delegate) && hasUpdateHook(delegate);\n  }\n  function hasDestructors(delegate) {\n    return delegate.capabilities.destructor;\n  }\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  class CustomComponentManager {\n    constructor(factory) {\n      this.componentManagerDelegates = new WeakMap();\n      this.factory = factory;\n    }\n    getDelegateFor(owner) {\n      let {\n        componentManagerDelegates\n      } = this;\n      let delegate = componentManagerDelegates.get(owner);\n      if (delegate === undefined) {\n        let {\n          factory\n        } = this;\n        delegate = factory(owner);\n        if (true /* DEBUG */ && !FROM_CAPABILITIES.has(delegate.capabilities)) {\n          // TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\n          throw new Error(`Custom component managers must have a \\`capabilities\\` property that is the result of calling the \\`capabilities('3.13')\\` (imported via \\`import { capabilities } from '@ember/component';\\`). Received: \\`${JSON.stringify(delegate.capabilities)}\\` for: \\`${delegate}\\``);\n        }\n        componentManagerDelegates.set(owner, delegate);\n      }\n      return delegate;\n    }\n    create(owner, definition, vmArgs) {\n      let delegate = this.getDelegateFor(owner);\n      let args = argsProxyFor(vmArgs.capture(), 'component');\n      let component = delegate.createComponent(definition, args);\n      return new CustomComponentState(component, delegate, args);\n    }\n    getDebugName(definition) {\n      return typeof definition === 'function' ? definition.name : definition.toString();\n    }\n    update(bucket) {\n      let {\n        delegate\n      } = bucket;\n      if (hasUpdateHook(delegate)) {\n        let {\n          component,\n          args\n        } = bucket;\n        delegate.updateComponent(component, args);\n      }\n    }\n    didCreate({\n      component,\n      delegate\n    }) {\n      if (hasAsyncLifeCycleCallbacks(delegate)) {\n        delegate.didCreateComponent(component);\n      }\n    }\n    didUpdate({\n      component,\n      delegate\n    }) {\n      if (hasAsyncUpdateHook(delegate)) {\n        delegate.didUpdateComponent(component);\n      }\n    }\n    didRenderLayout() {}\n    didUpdateLayout() {}\n    getSelf({\n      component,\n      delegate\n    }) {\n      return (0, _reference.createConstRef)(delegate.getContext(component), 'this');\n    }\n    getDestroyable(bucket) {\n      const {\n        delegate\n      } = bucket;\n      if (hasDestructors(delegate)) {\n        const {\n          component\n        } = bucket;\n        (0, _destroyable.registerDestructor)(bucket, () => delegate.destroyComponent(component));\n        return bucket;\n      }\n      return null;\n    }\n    getCapabilities() {\n      return CAPABILITIES;\n    }\n  }\n\n  /**\n   * Stores internal state about a component instance after it's been created.\n   */\n  _exports.CustomComponentManager = CustomComponentManager;\n  class CustomComponentState {\n    constructor(component, delegate, args) {\n      this.component = component;\n      this.delegate = delegate;\n      this.args = args;\n    }\n  }\n  function modifierCapabilities(managerAPI, optionalFeatures = {}) {\n    if (true /* DEBUG */ && managerAPI !== '3.22') {\n      throw new Error('Invalid modifier manager compatibility specified');\n    }\n    return buildCapabilities({\n      disableAutoTracking: Boolean(optionalFeatures.disableAutoTracking)\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  class CustomModifierManager {\n    constructor(factory) {\n      this.componentManagerDelegates = new WeakMap();\n      this.factory = factory;\n    }\n    getDelegateFor(owner) {\n      let {\n        componentManagerDelegates\n      } = this;\n      let delegate = componentManagerDelegates.get(owner);\n      if (delegate === undefined) {\n        let {\n          factory\n        } = this;\n        delegate = factory(owner);\n        if (true /* DEBUG */ && !FROM_CAPABILITIES.has(delegate.capabilities)) {\n          // TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\n          throw new Error(`Custom modifier managers must have a \\`capabilities\\` property that is the result of calling the \\`capabilities('3.22')\\` (imported via \\`import { capabilities } from '@ember/modifier';\\`). Received: \\`${JSON.stringify(delegate.capabilities)}\\` for: \\`${delegate}\\``);\n        }\n        componentManagerDelegates.set(owner, delegate);\n      }\n      return delegate;\n    }\n    create(owner, element, definition, capturedArgs) {\n      let delegate = this.getDelegateFor(owner);\n      let args = argsProxyFor(capturedArgs, 'modifier');\n      let instance = delegate.createModifier(definition, args);\n      let tag = (0, _validator.createUpdatableTag)();\n      let state;\n      state = {\n        tag,\n        element,\n        delegate,\n        args,\n        modifier: instance\n      };\n      if (true /* DEBUG */) {\n        state.debugName = typeof definition === 'function' ? definition.name : definition.toString();\n      }\n      (0, _destroyable.registerDestructor)(state, () => delegate.destroyModifier(instance, args));\n      return state;\n    }\n    getDebugName({\n      debugName\n    }) {\n      return debugName;\n    }\n    getTag({\n      tag\n    }) {\n      return tag;\n    }\n    install({\n      element,\n      args,\n      modifier,\n      delegate\n    }) {\n      let {\n        capabilities\n      } = delegate;\n      if (capabilities.disableAutoTracking === true) {\n        (0, _validator.untrack)(() => delegate.installModifier(modifier, (0, _util.castToBrowser)(element, 'ELEMENT'), args));\n      } else {\n        delegate.installModifier(modifier, (0, _util.castToBrowser)(element, 'ELEMENT'), args);\n      }\n    }\n    update({\n      args,\n      modifier,\n      delegate\n    }) {\n      let {\n        capabilities\n      } = delegate;\n      if (capabilities.disableAutoTracking === true) {\n        (0, _validator.untrack)(() => delegate.updateModifier(modifier, args));\n      } else {\n        delegate.updateModifier(modifier, args);\n      }\n    }\n    getDestroyable(state) {\n      return state;\n    }\n  }\n  _exports.CustomModifierManager = CustomModifierManager;\n  function setComponentManager(factory, obj) {\n    return setInternalComponentManager(new CustomComponentManager(factory), obj);\n  }\n  function setModifierManager(factory, obj) {\n    return setInternalModifierManager(new CustomModifierManager(factory), obj);\n  }\n  function setHelperManager(factory, obj) {\n    return setInternalHelperManager(new CustomHelperManager(factory), obj);\n  }\n  const TEMPLATES = new WeakMap();\n  const getPrototypeOf = Object.getPrototypeOf;\n  function setComponentTemplate(factory, obj) {\n    if (true /* DEBUG */ && !(obj !== null && (typeof obj === 'object' || typeof obj === 'function'))) {\n      throw new Error(`Cannot call \\`setComponentTemplate\\` on \\`${(0, _util.debugToString)(obj)}\\``);\n    }\n    if (true /* DEBUG */ && TEMPLATES.has(obj)) {\n      throw new Error(`Cannot call \\`setComponentTemplate\\` multiple times on the same class (\\`${(0, _util.debugToString)(obj)}\\`)`);\n    }\n    TEMPLATES.set(obj, factory);\n    return obj;\n  }\n  function getComponentTemplate(obj) {\n    let pointer = obj;\n    while (pointer !== null) {\n      let template = TEMPLATES.get(pointer);\n      if (template !== undefined) {\n        return template;\n      }\n      pointer = getPrototypeOf(pointer);\n    }\n    return undefined;\n  }\n});","define(\"@glimmer/node\", [\"exports\", \"@glimmer/runtime\", \"@simple-dom/document\"], function (_exports, _runtime, _document) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.NodeDOMTreeConstruction = void 0;\n  _exports.serializeBuilder = serializeBuilder;\n  class NodeDOMTreeConstruction extends _runtime.DOMTreeConstruction {\n    // Hides property on base class\n    constructor(doc) {\n      super(doc || (0, _document.default)());\n    }\n\n    // override to prevent usage of `this.document` until after the constructor\n    setupUselessElement() {}\n    insertHTMLBefore(parent, reference, html) {\n      let raw = this.document.createRawHTMLSection(html);\n      parent.insertBefore(raw, reference);\n      return new _runtime.ConcreteBounds(parent, raw, raw);\n    }\n\n    // override to avoid SVG detection/work when in node (this is not needed in SSR)\n    createElement(tag) {\n      return this.document.createElement(tag);\n    }\n\n    // override to avoid namespace shenanigans when in node (this is not needed in SSR)\n    setAttribute(element, name, value) {\n      element.setAttribute(name, value);\n    }\n  }\n  _exports.NodeDOMTreeConstruction = NodeDOMTreeConstruction;\n  const TEXT_NODE = 3;\n  const NEEDS_EXTRA_CLOSE = new WeakMap();\n  function currentNode(cursor) {\n    let {\n      element,\n      nextSibling\n    } = cursor;\n    if (nextSibling === null) {\n      return element.lastChild;\n    } else {\n      return nextSibling.previousSibling;\n    }\n  }\n  class SerializeBuilder extends _runtime.NewElementBuilder {\n    constructor(...args) {\n      super(...args);\n      this.serializeBlockDepth = 0;\n    }\n    __openBlock() {\n      let {\n        tagName\n      } = this.element;\n      if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n        let depth = this.serializeBlockDepth++;\n        this.__appendComment(`%+b:${depth}%`);\n      }\n      super.__openBlock();\n    }\n    __closeBlock() {\n      let {\n        tagName\n      } = this.element;\n      super.__closeBlock();\n      if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n        let depth = --this.serializeBlockDepth;\n        this.__appendComment(`%-b:${depth}%`);\n      }\n    }\n    __appendHTML(html) {\n      let {\n        tagName\n      } = this.element;\n      if (tagName === 'TITLE' || tagName === 'SCRIPT' || tagName === 'STYLE') {\n        return super.__appendHTML(html);\n      }\n\n      // Do we need to run the html tokenizer here?\n      let first = this.__appendComment('%glmr%');\n      if (tagName === 'TABLE') {\n        let openIndex = html.indexOf('<');\n        if (openIndex > -1) {\n          let tr = html.slice(openIndex + 1, openIndex + 3);\n          if (tr === 'tr') {\n            html = `<tbody>${html}</tbody>`;\n          }\n        }\n      }\n      if (html === '') {\n        this.__appendComment('% %');\n      } else {\n        super.__appendHTML(html);\n      }\n      let last = this.__appendComment('%glmr%');\n      return new _runtime.ConcreteBounds(this.element, first, last);\n    }\n    __appendText(string) {\n      let {\n        tagName\n      } = this.element;\n      let current = currentNode(this);\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      return super.__appendText(string);\n    }\n    closeElement() {\n      if (NEEDS_EXTRA_CLOSE.has(this.element)) {\n        NEEDS_EXTRA_CLOSE.delete(this.element);\n        super.closeElement();\n      }\n      return super.closeElement();\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');\n          // 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          NEEDS_EXTRA_CLOSE.set(this.constructing, true);\n          this.flushElement(null);\n        }\n      }\n      return super.openElement(tag);\n    }\n    pushRemoteElement(element, cursorId, insertBefore = null) {\n      let {\n        dom\n      } = this;\n      let script = dom.createElement('script');\n      script.setAttribute('glmr', cursorId);\n      dom.insertBefore(element, script, insertBefore);\n      return super.pushRemoteElement(element, cursorId, insertBefore);\n    }\n  }\n  function serializeBuilder(env, cursor) {\n    return SerializeBuilder.forInitialRender(env, cursor);\n  }\n});","define(\"@glimmer/opcode-compiler\", [\"exports\", \"@glimmer/util\", \"@glimmer/debug\", \"@glimmer/vm\", \"@glimmer/encoder\", \"@glimmer/wire-format\", \"@glimmer/manager\", \"@glimmer/global-context\"], function (_exports, _util, _debug, _vm, _encoder, _wireFormat, _manager, _globalContext) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.WrappedBuilder = _exports.StdLib = _exports.MINIMAL_CAPABILITIES = _exports.EMPTY_BLOCKS = _exports.DEFAULT_CAPABILITIES = _exports.CompileTimeCompilationContextImpl = void 0;\n  _exports.compilable = compilable;\n  _exports.compileStatements = compileStatements;\n  _exports.compileStd = compileStd;\n  _exports.debugCompiler = void 0;\n  _exports.invokeStaticBlock = InvokeStaticBlock;\n  _exports.invokeStaticBlockWithStack = InvokeStaticBlockWithStack;\n  _exports.meta = meta;\n  _exports.programCompilationContext = programCompilationContext;\n  _exports.templateCacheCounters = void 0;\n  _exports.templateCompilationContext = templateCompilationContext;\n  _exports.templateFactory = templateFactory;\n  let debugCompiler = _exports.debugCompiler = void 0;\n  function isGetLikeTuple(opcode) {\n    return Array.isArray(opcode) && opcode.length === 2;\n  }\n  function makeResolutionTypeVerifier(typeToVerify) {\n    return opcode => {\n      if (!isGetLikeTuple(opcode)) return false;\n      let type = opcode[0];\n      return type === _wireFormat.SexpOpcodes.GetStrictKeyword || type === _wireFormat.SexpOpcodes.GetLexicalSymbol || type === typeToVerify;\n    };\n  }\n  const isGetFreeComponent = makeResolutionTypeVerifier(_wireFormat.SexpOpcodes.GetFreeAsComponentHead);\n  const isGetFreeModifier = makeResolutionTypeVerifier(_wireFormat.SexpOpcodes.GetFreeAsModifierHead);\n  const isGetFreeHelper = makeResolutionTypeVerifier(_wireFormat.SexpOpcodes.GetFreeAsHelperHead);\n  const isGetFreeComponentOrHelper = makeResolutionTypeVerifier(_wireFormat.SexpOpcodes.GetFreeAsComponentOrHelperHead);\n  const isGetFreeOptionalHelper = makeResolutionTypeVerifier(_wireFormat.SexpOpcodes.GetFreeAsHelperHeadOrThisFallback);\n  function isGetFreeDeprecatedHelper(opcode) {\n    return Array.isArray(opcode) && opcode[0] === _wireFormat.SexpOpcodes.GetFreeAsDeprecatedHelperHeadOrThisFallback;\n  }\n  const isGetFreeOptionalComponentOrHelper = makeResolutionTypeVerifier(_wireFormat.SexpOpcodes.GetFreeAsComponentOrHelperHeadOrThisFallback);\n  function assertResolverInvariants(meta) {\n    if (true /* DEBUG */) {\n      if (!meta.upvars) {\n        throw new Error('Attempted to resolve a component, helper, or modifier, but no free vars were found');\n      }\n      if (!meta.owner) {\n        throw new Error('Attempted to resolve a component, helper, or modifier, but no owner was associated with the template it was being resolved from');\n      }\n    }\n    return meta;\n  }\n\n  /**\n   * <Foo/>\n   * <Foo></Foo>\n   * <Foo @arg={{true}} />\n   */\n  function resolveComponent(resolver, constants, meta, [, expr, then]) {\n    (0, _util.assert)(isGetFreeComponent(expr), 'Attempted to resolve a component with incorrect opcode');\n    let type = expr[0];\n    if (true /* DEBUG */ && expr[0] === _wireFormat.SexpOpcodes.GetStrictKeyword) {\n      throw new Error(`Attempted to resolve a component in a strict mode template, but that value was not in scope: ${meta.upvars[expr[1]] ?? '{unknown variable}'}`);\n    }\n    if (type === _wireFormat.SexpOpcodes.GetLexicalSymbol) {\n      let {\n        scopeValues,\n        owner\n      } = meta;\n      let definition = (0, _util.expect)(scopeValues, 'BUG: scopeValues must exist if template symbol is used')[expr[1]];\n      then(constants.component(definition, (0, _util.expect)(owner, 'BUG: expected owner when resolving component definition')));\n    } else {\n      let {\n        upvars,\n        owner\n      } = assertResolverInvariants(meta);\n      let name = (0, _util.unwrap)(upvars[expr[1]]);\n      let definition = resolver.lookupComponent(name, owner);\n      if (true /* DEBUG */ && (typeof definition !== 'object' || definition === null)) {\n        throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a component, but nothing was found.`);\n      }\n      then(constants.resolvedComponent(definition, name));\n    }\n  }\n\n  /**\n   * (helper)\n   * (helper arg)\n   */\n  function resolveHelper(resolver, constants, meta, [, expr, then]) {\n    (0, _util.assert)(isGetFreeHelper(expr), 'Attempted to resolve a helper with incorrect opcode');\n    let type = expr[0];\n    if (type === _wireFormat.SexpOpcodes.GetLexicalSymbol) {\n      let {\n        scopeValues\n      } = meta;\n      let definition = (0, _util.expect)(scopeValues, 'BUG: scopeValues must exist if template symbol is used')[expr[1]];\n      then(constants.helper(definition));\n    } else if (type === _wireFormat.SexpOpcodes.GetStrictKeyword) {\n      then(lookupBuiltInHelper(expr, resolver, meta, constants, 'helper'));\n    } else {\n      let {\n        upvars,\n        owner\n      } = assertResolverInvariants(meta);\n      let name = (0, _util.unwrap)(upvars[expr[1]]);\n      let helper = resolver.lookupHelper(name, owner);\n      if (true /* DEBUG */ && helper === null) {\n        throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a helper, but nothing was found.`);\n      }\n      then(constants.helper(helper, name));\n    }\n  }\n\n  /**\n   * <div {{modifier}}/>\n   * <div {{modifier arg}}/>\n   * <Foo {{modifier}}/>\n   */\n  function resolveModifier(resolver, constants, meta, [, expr, then]) {\n    (0, _util.assert)(isGetFreeModifier(expr), 'Attempted to resolve a modifier with incorrect opcode');\n    let type = expr[0];\n    if (type === _wireFormat.SexpOpcodes.GetLexicalSymbol) {\n      let {\n        scopeValues\n      } = meta;\n      let definition = (0, _util.expect)(scopeValues, 'BUG: scopeValues must exist if template symbol is used')[expr[1]];\n      then(constants.modifier(definition));\n    } else if (type === _wireFormat.SexpOpcodes.GetStrictKeyword) {\n      let {\n        upvars\n      } = assertResolverInvariants(meta);\n      let name = (0, _util.unwrap)(upvars[expr[1]]);\n      let modifier = resolver.lookupBuiltInModifier(name);\n      if (true /* DEBUG */ && modifier === null) {\n        throw new Error(`Attempted to resolve a modifier in a strict mode template, but it was not in scope: ${name}`);\n      }\n      then(constants.modifier(modifier, name));\n    } else {\n      let {\n        upvars,\n        owner\n      } = assertResolverInvariants(meta);\n      let name = (0, _util.unwrap)(upvars[expr[1]]);\n      let modifier = resolver.lookupModifier(name, owner);\n      if (true /* DEBUG */ && modifier === null) {\n        throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a modifier, but nothing was found.`);\n      }\n      then(constants.modifier(modifier, name));\n    }\n  }\n\n  /**\n   * {{component-or-helper arg}}\n   */\n  function resolveComponentOrHelper(resolver, constants, meta, [, expr, {\n    ifComponent,\n    ifHelper\n  }]) {\n    (0, _util.assert)(isGetFreeComponentOrHelper(expr), 'Attempted to resolve a component or helper with incorrect opcode');\n    let type = expr[0];\n    if (type === _wireFormat.SexpOpcodes.GetLexicalSymbol) {\n      let {\n        scopeValues,\n        owner\n      } = meta;\n      let definition = (0, _util.expect)(scopeValues, 'BUG: scopeValues must exist if template symbol is used')[expr[1]];\n      let component = constants.component(definition, (0, _util.expect)(owner, 'BUG: expected owner when resolving component definition'), true);\n      if (component !== null) {\n        ifComponent(component);\n        return;\n      }\n      let helper = constants.helper(definition, null, true);\n      if (true /* DEBUG */ && helper === null) {\n        throw new Error(`Attempted to use a value as either a component or helper, but it did not have a component manager or helper manager associated with it. The value was: ${(0, _util.debugToString)(definition)}`);\n      }\n      ifHelper((0, _util.expect)(helper, 'BUG: helper must exist'));\n    } else if (type === _wireFormat.SexpOpcodes.GetStrictKeyword) {\n      ifHelper(lookupBuiltInHelper(expr, resolver, meta, constants, 'component or helper'));\n    } else {\n      let {\n        upvars,\n        owner\n      } = assertResolverInvariants(meta);\n      let name = (0, _util.unwrap)(upvars[expr[1]]);\n      let definition = resolver.lookupComponent(name, owner);\n      if (definition !== null) {\n        ifComponent(constants.resolvedComponent(definition, name));\n      } else {\n        let helper = resolver.lookupHelper(name, owner);\n        if (true /* DEBUG */ && helper === null) {\n          throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a component or helper, but nothing was found.`);\n        }\n        ifHelper(constants.helper(helper, name));\n      }\n    }\n  }\n\n  /**\n   * <Foo @arg={{helper}}>\n   */\n  function resolveOptionalHelper(resolver, constants, meta, [, expr, {\n    ifHelper\n  }]) {\n    (0, _util.assert)(isGetFreeOptionalHelper(expr) || isGetFreeDeprecatedHelper(expr), 'Attempted to resolve a helper with incorrect opcode');\n    let {\n      upvars,\n      owner\n    } = assertResolverInvariants(meta);\n    let name = (0, _util.unwrap)(upvars[expr[1]]);\n    let helper = resolver.lookupHelper(name, owner);\n    if (helper) {\n      ifHelper(constants.helper(helper, name), name, meta.moduleName);\n    }\n  }\n\n  /**\n   * {{maybeHelperOrComponent}}\n   */\n  function resolveOptionalComponentOrHelper(resolver, constants, meta, [, expr, {\n    ifComponent,\n    ifHelper,\n    ifValue\n  }]) {\n    (0, _util.assert)(isGetFreeOptionalComponentOrHelper(expr), 'Attempted to resolve an optional component or helper with incorrect opcode');\n    let type = expr[0];\n    if (type === _wireFormat.SexpOpcodes.GetLexicalSymbol) {\n      let {\n        scopeValues,\n        owner\n      } = meta;\n      let definition = (0, _util.expect)(scopeValues, 'BUG: scopeValues must exist if template symbol is used')[expr[1]];\n      if (typeof definition !== 'function' && (typeof definition !== 'object' || definition === null)) {\n        // The value is not an object, so it can't be a component or helper.\n        ifValue(constants.value(definition));\n        return;\n      }\n      let component = constants.component(definition, (0, _util.expect)(owner, 'BUG: expected owner when resolving component definition'), true);\n      if (component !== null) {\n        ifComponent(component);\n        return;\n      }\n      let helper = constants.helper(definition, null, true);\n      if (helper !== null) {\n        ifHelper(helper);\n        return;\n      }\n      ifValue(constants.value(definition));\n    } else if (type === _wireFormat.SexpOpcodes.GetStrictKeyword) {\n      ifHelper(lookupBuiltInHelper(expr, resolver, meta, constants, 'value'));\n    } else {\n      let {\n        upvars,\n        owner\n      } = assertResolverInvariants(meta);\n      let name = (0, _util.unwrap)(upvars[expr[1]]);\n      let definition = resolver.lookupComponent(name, owner);\n      if (definition !== null) {\n        ifComponent(constants.resolvedComponent(definition, name));\n        return;\n      }\n      let helper = resolver.lookupHelper(name, owner);\n      if (helper !== null) {\n        ifHelper(constants.helper(helper, name));\n      }\n    }\n  }\n  function lookupBuiltInHelper(expr, resolver, meta, constants, type) {\n    let {\n      upvars\n    } = assertResolverInvariants(meta);\n    let name = (0, _util.unwrap)(upvars[expr[1]]);\n    let helper = resolver.lookupBuiltInHelper(name);\n    if (true /* DEBUG */ && helper === null) {\n      // Keyword helper did not exist, which means that we're attempting to use a\n      // value of some kind that is not in scope\n      throw new Error(`Attempted to resolve a ${type} in a strict mode template, but that value was not in scope: ${meta.upvars[expr[1]] ?? '{unknown variable}'}`);\n    }\n    return constants.helper(helper, name);\n  }\n  const HighLevelResolutionOpcodes = {\n    Modifier: 1003,\n    Component: 1004,\n    Helper: 1005,\n    OptionalHelper: 1006,\n    ComponentOrHelper: 1007,\n    OptionalComponentOrHelper: 1008,\n    Free: 1009,\n    Local: 1010,\n    TemplateLocal: 1011\n  };\n  const HighLevelBuilderOpcodes = {\n    Label: 1000,\n    StartLabels: 1001,\n    StopLabels: 1002,\n    Start: 1000,\n    End: 1002\n  };\n  const HighLevelOperands = {\n    Label: 1,\n    IsStrictMode: 2,\n    DebugSymbols: 3,\n    Block: 4,\n    StdLib: 5,\n    NonSmallInt: 6,\n    SymbolTable: 7,\n    Layout: 8\n  };\n  function labelOperand(value) {\n    return {\n      type: HighLevelOperands.Label,\n      value\n    };\n  }\n  function debugSymbolsOperand() {\n    return {\n      type: HighLevelOperands.DebugSymbols,\n      value: undefined\n    };\n  }\n  function isStrictMode() {\n    return {\n      type: HighLevelOperands.IsStrictMode,\n      value: undefined\n    };\n  }\n  function blockOperand(value) {\n    return {\n      type: HighLevelOperands.Block,\n      value\n    };\n  }\n  function stdlibOperand(value) {\n    return {\n      type: HighLevelOperands.StdLib,\n      value\n    };\n  }\n  function nonSmallIntOperand(value) {\n    (0, _util.assert)(!(0, _util.isSmallInt)(value), 'Attempted to make a operand for an int that was not a small int, you should encode this as an immediate');\n    return {\n      type: HighLevelOperands.NonSmallInt,\n      value\n    };\n  }\n  function symbolTableOperand(value) {\n    return {\n      type: HighLevelOperands.SymbolTable,\n      value\n    };\n  }\n  function layoutOperand(value) {\n    return {\n      type: HighLevelOperands.Layout,\n      value\n    };\n  }\n  class Labels {\n    constructor() {\n      this.labels = (0, _util.dict)();\n      this.targets = [];\n    }\n    label(name, index) {\n      this.labels[name] = index;\n    }\n    target(at, target) {\n      this.targets.push({\n        at,\n        target\n      });\n    }\n    patch(heap) {\n      let {\n        targets,\n        labels\n      } = this;\n      for (const {\n        at,\n        target\n      } of targets) {\n        let address = labels[target] - at;\n        (0, _util.assert)(heap.getbyaddr(at) === -1, 'Expected heap to contain a placeholder, but it did not');\n        heap.setbyaddr(at, address);\n      }\n    }\n  }\n  function encodeOp(encoder, constants, resolver, meta, op) {\n    if (isBuilderOpcode(op[0])) {\n      let [type, ...operands] = op;\n      encoder.push(constants, type, ...operands);\n    } else {\n      switch (op[0]) {\n        case HighLevelBuilderOpcodes.Label:\n          return encoder.label(op[1]);\n        case HighLevelBuilderOpcodes.StartLabels:\n          return encoder.startLabels();\n        case HighLevelBuilderOpcodes.StopLabels:\n          return encoder.stopLabels();\n        case HighLevelResolutionOpcodes.Component:\n          return resolveComponent(resolver, constants, meta, op);\n        case HighLevelResolutionOpcodes.Modifier:\n          return resolveModifier(resolver, constants, meta, op);\n        case HighLevelResolutionOpcodes.Helper:\n          return resolveHelper(resolver, constants, meta, op);\n        case HighLevelResolutionOpcodes.ComponentOrHelper:\n          return resolveComponentOrHelper(resolver, constants, meta, op);\n        case HighLevelResolutionOpcodes.OptionalHelper:\n          return resolveOptionalHelper(resolver, constants, meta, op);\n        case HighLevelResolutionOpcodes.OptionalComponentOrHelper:\n          return resolveOptionalComponentOrHelper(resolver, constants, meta, op);\n        case HighLevelResolutionOpcodes.Local:\n          {\n            let freeVar = op[1];\n            let name = (0, _util.expect)(meta.upvars, 'BUG: attempted to resolve value but no upvars found')[freeVar];\n            let andThen = op[2];\n            andThen(name, meta.moduleName);\n            break;\n          }\n        case HighLevelResolutionOpcodes.TemplateLocal:\n          {\n            let [, valueIndex, then] = op;\n            let value = (0, _util.expect)(meta.scopeValues, 'BUG: Attempted to gect a template local, but template does not have any')[valueIndex];\n            then(constants.value(value));\n            break;\n          }\n        case HighLevelResolutionOpcodes.Free:\n          if (true /* DEBUG */) {\n            let [, upvarIndex] = op;\n            let freeName = (0, _util.expect)(meta.upvars, 'BUG: attempted to resolve value but no upvars found')[upvarIndex];\n            throw new Error(`Attempted to resolve a value in a strict mode template, but that value was not in scope: ${freeName}`);\n          }\n          break;\n        default:\n          throw new Error(`Unexpected high level opcode ${op[0]}`);\n      }\n    }\n  }\n  class EncoderImpl {\n    constructor(heap, meta, stdlib) {\n      this.labelsStack = new _util.Stack();\n      this.encoder = new _encoder.InstructionEncoderImpl([]);\n      this.errors = [];\n      this.handle = void 0;\n      this.heap = heap;\n      this.meta = meta;\n      this.stdlib = stdlib;\n      this.handle = heap.malloc();\n    }\n    error(error) {\n      this.encoder.encode(_vm.Op.Primitive, 0);\n      this.errors.push(error);\n    }\n    commit(size) {\n      let handle = this.handle;\n      this.heap.pushMachine(_vm.MachineOp.Return);\n      this.heap.finishMalloc(handle, size);\n      if ((0, _util.isPresentArray)(this.errors)) {\n        return {\n          errors: this.errors,\n          handle\n        };\n      } else {\n        return handle;\n      }\n    }\n    push(constants, type, ...args) {\n      let {\n        heap\n      } = this;\n      if (true /* DEBUG */ && type > _vm.TYPE_SIZE) {\n        throw new Error(`Opcode type over 8-bits. Got ${type}.`);\n      }\n      let machine = (0, _vm.isMachineOp)(type) ? _vm.MACHINE_MASK : 0;\n      let first = type | machine | args.length << _vm.ARG_SHIFT;\n      heap.pushRaw(first);\n      for (let i = 0; i < args.length; i++) {\n        let op = args[i];\n        heap.pushRaw(this.operand(constants, op));\n      }\n    }\n    operand(constants, operand) {\n      if (typeof operand === 'number') {\n        return operand;\n      }\n      if (typeof operand === 'object' && operand !== null) {\n        if (Array.isArray(operand)) {\n          return (0, _util.encodeHandle)(constants.array(operand));\n        } else {\n          switch (operand.type) {\n            case HighLevelOperands.Label:\n              this.currentLabels.target(this.heap.offset, operand.value);\n              return -1;\n            case HighLevelOperands.IsStrictMode:\n              return (0, _util.encodeHandle)(constants.value(this.meta.isStrictMode));\n            case HighLevelOperands.DebugSymbols:\n              return (0, _util.encodeHandle)(constants.array(this.meta.evalSymbols || _util.EMPTY_STRING_ARRAY));\n            case HighLevelOperands.Block:\n              return (0, _util.encodeHandle)(constants.value(compilableBlock(operand.value, this.meta)));\n            case HighLevelOperands.StdLib:\n              return (0, _util.expect)(this.stdlib, 'attempted to encode a stdlib operand, but the encoder did not have a stdlib. Are you currently building the stdlib?')[operand.value];\n            case HighLevelOperands.NonSmallInt:\n            case HighLevelOperands.SymbolTable:\n            case HighLevelOperands.Layout:\n              return constants.value(operand.value);\n          }\n        }\n      }\n      return (0, _util.encodeHandle)(constants.value(operand));\n    }\n    get currentLabels() {\n      return (0, _util.expect)(this.labelsStack.current, 'bug: not in a label stack');\n    }\n    label(name) {\n      this.currentLabels.label(name, this.heap.offset + 1);\n    }\n    startLabels() {\n      this.labelsStack.push(new Labels());\n    }\n    stopLabels() {\n      let label = (0, _util.expect)(this.labelsStack.pop(), 'unbalanced push and pop labels');\n      label.patch(this.heap);\n    }\n  }\n  function isBuilderOpcode(op) {\n    return op < HighLevelBuilderOpcodes.Start;\n  }\n  class StdLib {\n    constructor(main, trustingGuardedAppend, cautiousGuardedAppend, trustingNonDynamicAppend, cautiousNonDynamicAppend) {\n      this.main = main;\n      this.trustingGuardedAppend = trustingGuardedAppend;\n      this.cautiousGuardedAppend = cautiousGuardedAppend;\n      this.trustingNonDynamicAppend = trustingNonDynamicAppend;\n      this.cautiousNonDynamicAppend = cautiousNonDynamicAppend;\n    }\n    get 'trusting-append'() {\n      return this.trustingGuardedAppend;\n    }\n    get 'cautious-append'() {\n      return this.cautiousGuardedAppend;\n    }\n    get 'trusting-non-dynamic-append'() {\n      return this.trustingNonDynamicAppend;\n    }\n    get 'cautious-non-dynamic-append'() {\n      return this.cautiousNonDynamicAppend;\n    }\n    getAppend(trusting) {\n      return trusting ? this.trustingGuardedAppend : this.cautiousGuardedAppend;\n    }\n  }\n  _exports.StdLib = StdLib;\n  class NamedBlocksImpl {\n    constructor(blocks) {\n      this.names = void 0;\n      this.blocks = blocks;\n      this.names = blocks ? Object.keys(blocks) : [];\n    }\n    get(name) {\n      if (!this.blocks) return null;\n      return this.blocks[name] || null;\n    }\n    has(name) {\n      let {\n        blocks\n      } = this;\n      return blocks !== null && name in blocks;\n    }\n    with(name, block) {\n      let {\n        blocks\n      } = this;\n      if (blocks) {\n        return new NamedBlocksImpl((0, _util.assign)({}, blocks, {\n          [name]: block\n        }));\n      } else {\n        return new NamedBlocksImpl({\n          [name]: block\n        });\n      }\n    }\n    get hasAny() {\n      return this.blocks !== null;\n    }\n  }\n  const EMPTY_BLOCKS = _exports.EMPTY_BLOCKS = new NamedBlocksImpl(null);\n  function namedBlocks(blocks) {\n    if (blocks === null) {\n      return EMPTY_BLOCKS;\n    }\n    let out = (0, _util.dict)();\n    let [keys, values] = blocks;\n    for (const [i, key] of (0, _util.enumerate)(keys)) {\n      out[key] = (0, _util.unwrap)(values[i]);\n    }\n    return new NamedBlocksImpl(out);\n  }\n\n  /**\n   * Push a reference onto the stack corresponding to a statically known primitive\n   * @param value A JavaScript primitive (undefined, null, boolean, number or string)\n   */\n  function PushPrimitiveReference(op, value) {\n    PushPrimitive(op, value);\n    op(_vm.Op.PrimitiveReference);\n  }\n\n  /**\n   * Push an encoded representation of a JavaScript primitive on the stack\n   *\n   * @param value A JavaScript primitive (undefined, null, boolean, number or string)\n   */\n  function PushPrimitive(op, primitive) {\n    let p = primitive;\n    if (typeof p === 'number') {\n      p = (0, _util.isSmallInt)(p) ? (0, _util.encodeImmediate)(p) : nonSmallIntOperand(p);\n    }\n    op(_vm.Op.Primitive, p);\n  }\n\n  /**\n   * Invoke a foreign function (a \"helper\") based on a statically known handle\n   *\n   * @param op The op creation function\n   * @param handle A handle\n   * @param positional An optional list of expressions to compile\n   * @param named An optional list of named arguments (name + expression) to compile\n   */\n  function Call(op, handle, positional, named) {\n    op(_vm.MachineOp.PushFrame);\n    SimpleArgs(op, positional, named, false);\n    op(_vm.Op.Helper, handle);\n    op(_vm.MachineOp.PopFrame);\n    op(_vm.Op.Fetch, _vm.$v0);\n  }\n\n  /**\n   * Invoke a foreign function (a \"helper\") based on a dynamically loaded definition\n   *\n   * @param op The op creation function\n   * @param positional An optional list of expressions to compile\n   * @param named An optional list of named arguments (name + expression) to compile\n   */\n  function CallDynamic(op, positional, named, append) {\n    op(_vm.MachineOp.PushFrame);\n    SimpleArgs(op, positional, named, false);\n    op(_vm.Op.Dup, _vm.$fp, 1);\n    op(_vm.Op.DynamicHelper);\n    if (append) {\n      op(_vm.Op.Fetch, _vm.$v0);\n      append();\n      op(_vm.MachineOp.PopFrame);\n      op(_vm.Op.Pop, 1);\n    } else {\n      op(_vm.MachineOp.PopFrame);\n      op(_vm.Op.Pop, 1);\n      op(_vm.Op.Fetch, _vm.$v0);\n    }\n  }\n\n  /**\n   * Evaluate statements in the context of new dynamic scope entries. Move entries from the\n   * stack into named entries in the dynamic scope, then evaluate the statements, then pop\n   * the dynamic scope\n   *\n   * @param names a list of dynamic scope names\n   * @param block a function that returns a list of statements to evaluate\n   */\n  function DynamicScope(op, names, block) {\n    op(_vm.Op.PushDynamicScope);\n    op(_vm.Op.BindDynamicScope, names);\n    block();\n    op(_vm.Op.PopDynamicScope);\n  }\n  function Curry(op, type, definition, positional, named) {\n    op(_vm.MachineOp.PushFrame);\n    SimpleArgs(op, positional, named, false);\n    op(_vm.Op.CaptureArgs);\n    expr(op, definition);\n    op(_vm.Op.Curry, type, isStrictMode());\n    op(_vm.MachineOp.PopFrame);\n    op(_vm.Op.Fetch, _vm.$v0);\n  }\n  class Compilers {\n    constructor() {\n      this.names = {};\n      this.funcs = [];\n    }\n    add(name, func) {\n      this.names[name] = this.funcs.push(func) - 1;\n    }\n    compile(op, sexp) {\n      let name = sexp[0];\n      let index = (0, _util.unwrap)(this.names[name]);\n      let func = this.funcs[index];\n      (0, _util.assert)(!!func, `expected an implementation for ${sexp[0]}`);\n      func(op, sexp);\n    }\n  }\n  const EXPRESSIONS = new Compilers();\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.Concat, (op, [, parts]) => {\n    for (let part of parts) {\n      expr(op, part);\n    }\n    op(_vm.Op.Concat, parts.length);\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.Call, (op, [, expression, positional, named]) => {\n    if (isGetFreeHelper(expression)) {\n      op(HighLevelResolutionOpcodes.Helper, expression, handle => {\n        Call(op, handle, positional, named);\n      });\n    } else {\n      expr(op, expression);\n      CallDynamic(op, positional, named);\n    }\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.Curry, (op, [, expr, type, positional, named]) => {\n    Curry(op, type, expr, positional, named);\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.GetSymbol, (op, [, sym, path]) => {\n    op(_vm.Op.GetVariable, sym);\n    withPath(op, path);\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.GetLexicalSymbol, (op, [, sym, path]) => {\n    op(HighLevelResolutionOpcodes.TemplateLocal, sym, handle => {\n      op(_vm.Op.ConstantReference, handle);\n      withPath(op, path);\n    });\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.GetStrictKeyword, (op, [, sym, _path]) => {\n    op(HighLevelResolutionOpcodes.Free, sym, _handle => {\n      // TODO: Implement in strict mode\n    });\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.GetFreeAsComponentOrHelperHeadOrThisFallback, () => {\n    // TODO: The logic for this opcode currently exists in STATEMENTS.Append, since\n    // we want different wrapping logic depending on if we are invoking a component,\n    // helper, or {{this}} fallback. Eventually we fix the opcodes so that we can\n    // traverse the subexpression tree like normal in this location.\n    throw new Error('unimplemented opcode');\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.GetFreeAsHelperHeadOrThisFallback, (op, expr) => {\n    // <div id={{baz}}>\n\n    op(HighLevelResolutionOpcodes.Local, expr[1], _name => {\n      op(HighLevelResolutionOpcodes.OptionalHelper, expr, {\n        ifHelper: handle => {\n          Call(op, handle, null, null);\n        }\n      });\n    });\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.GetFreeAsDeprecatedHelperHeadOrThisFallback, (op, expr) => {\n    // <Foo @bar={{baz}}>\n\n    op(HighLevelResolutionOpcodes.Local, expr[1], _name => {\n      op(HighLevelResolutionOpcodes.OptionalHelper, expr, {\n        ifHelper: (handle, name, moduleName) => {\n          (true && (0, _globalContext.assert)(expr[2] && expr[2].length === 1, '[BUG] Missing argument name'));\n          let arg = expr[2][0];\n          (true && !(false) && (0, _globalContext.deprecate)(`The \\`${name}\\` helper was used in the \\`${moduleName}\\` template as \\`${arg}={{${name}}}\\`. ` + `This is ambigious between wanting the \\`${arg}\\` argument to be the \\`${name}\\` helper itself, ` + `or the result of invoking the \\`${name}\\` helper (current behavior). ` + `This implicit invocation behavior has been deprecated.\\n\\n` + `Instead, please explicitly invoke the helper with parenthesis, i.e. \\`${arg}={{(${name})}}\\`.\\n\\n` + `Note: the parenthesis are only required in this exact scenario where an ambiguity is present – where ` + `\\`${name}\\` referes to a global helper (as opposed to a local variable), AND ` + `the \\`${name}\\` helper invocation does not take any arguments, AND ` + `this occurs in a named argument position of a component invocation.\\n\\n` + `We expect this combination to be quite rare, as most helpers require at least one argument. ` + `There is no need to refactor helper invocations in cases where this deprecation was not triggered.`, false, {\n            id: 'argument-less-helper-paren-less-invocation'\n          }));\n          Call(op, handle, null, null);\n        }\n      });\n    });\n  });\n  function withPath(op, path) {\n    if (path === undefined || path.length === 0) return;\n    for (let i = 0; i < path.length; i++) {\n      op(_vm.Op.GetProperty, path[i]);\n    }\n  }\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.Undefined, op => PushPrimitiveReference(op, undefined));\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.HasBlock, (op, [, block]) => {\n    expr(op, block);\n    op(_vm.Op.HasBlock);\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.HasBlockParams, (op, [, block]) => {\n    expr(op, block);\n    op(_vm.Op.SpreadBlock);\n    op(_vm.Op.CompileBlock);\n    op(_vm.Op.HasBlockParams);\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.IfInline, (op, [, condition, truthy, falsy]) => {\n    // Push in reverse order\n    expr(op, falsy);\n    expr(op, truthy);\n    expr(op, condition);\n    op(_vm.Op.IfInline);\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.Not, (op, [, value]) => {\n    expr(op, value);\n    op(_vm.Op.Not);\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.GetDynamicVar, (op, [, expression]) => {\n    expr(op, expression);\n    op(_vm.Op.GetDynamicVar);\n  });\n  EXPRESSIONS.add(_wireFormat.SexpOpcodes.Log, (op, [, positional]) => {\n    op(_vm.MachineOp.PushFrame);\n    SimpleArgs(op, positional, null, false);\n    op(_vm.Op.Log);\n    op(_vm.MachineOp.PopFrame);\n    op(_vm.Op.Fetch, _vm.$v0);\n  });\n  function expr(op, expression) {\n    if (Array.isArray(expression)) {\n      EXPRESSIONS.compile(op, expression);\n    } else {\n      PushPrimitive(op, expression);\n      op(_vm.Op.PrimitiveReference);\n    }\n  }\n\n  /**\n   * Compile arguments, pushing an Arguments object onto the stack.\n   *\n   * @param args.params\n   * @param args.hash\n   * @param args.blocks\n   * @param args.atNames\n   */\n  function CompileArgs(op, positional, named, blocks, atNames) {\n    let blockNames = blocks.names;\n    for (const name of blockNames) {\n      PushYieldableBlock(op, blocks.get(name));\n    }\n    let count = CompilePositional(op, positional);\n    let flags = count << 4;\n    if (atNames) flags |= 0b1000;\n    if (blocks) {\n      flags |= 0b111;\n    }\n    let names = _util.EMPTY_ARRAY;\n    if (named) {\n      names = named[0];\n      let val = named[1];\n      for (let i = 0; i < val.length; i++) {\n        expr(op, val[i]);\n      }\n    }\n    op(_vm.Op.PushArgs, names, blockNames, flags);\n  }\n  function SimpleArgs(op, positional, named, atNames) {\n    if (positional === null && named === null) {\n      op(_vm.Op.PushEmptyArgs);\n      return;\n    }\n    let count = CompilePositional(op, positional);\n    let flags = count << 4;\n    if (atNames) flags |= 0b1000;\n    let names = _util.EMPTY_STRING_ARRAY;\n    if (named) {\n      names = named[0];\n      let val = named[1];\n      for (let i = 0; i < val.length; i++) {\n        expr(op, val[i]);\n      }\n    }\n    op(_vm.Op.PushArgs, names, _util.EMPTY_STRING_ARRAY, flags);\n  }\n\n  /**\n   * Compile an optional list of positional arguments, which pushes each argument\n   * onto the stack and returns the number of parameters compiled\n   *\n   * @param positional an optional list of positional arguments\n   */\n  function CompilePositional(op, positional) {\n    if (positional === null) return 0;\n    for (let i = 0; i < positional.length; i++) {\n      expr(op, positional[i]);\n    }\n    return positional.length;\n  }\n  function meta(layout) {\n    let [, symbols,, upvars] = layout.block;\n    return {\n      evalSymbols: evalSymbols(layout),\n      upvars: upvars,\n      scopeValues: layout.scope?.() ?? null,\n      isStrictMode: layout.isStrictMode,\n      moduleName: layout.moduleName,\n      owner: layout.owner,\n      size: symbols.length\n    };\n  }\n  function evalSymbols(layout) {\n    let {\n      block\n    } = layout;\n    let [, symbols, hasEval] = block;\n    return hasEval ? symbols : null;\n  }\n\n  /**\n   * Yield to a block located at a particular symbol location.\n   *\n   * @param to the symbol containing the block to yield to\n   * @param params optional block parameters to yield to the block\n   */\n  function YieldBlock(op, to, positional) {\n    SimpleArgs(op, positional, null, true);\n    op(_vm.Op.GetBlock, to);\n    op(_vm.Op.SpreadBlock);\n    op(_vm.Op.CompileBlock);\n    op(_vm.Op.InvokeYield);\n    op(_vm.Op.PopScope);\n    op(_vm.MachineOp.PopFrame);\n  }\n\n  /**\n   * Push an (optional) yieldable block onto the stack. The yieldable block must be known\n   * statically at compile time.\n   *\n   * @param block An optional Compilable block\n   */\n  function PushYieldableBlock(op, block) {\n    PushSymbolTable(op, block && block[1]);\n    op(_vm.Op.PushBlockScope);\n    PushCompilable(op, block);\n  }\n\n  /**\n   * Invoke a block that is known statically at compile time.\n   *\n   * @param block a Compilable block\n   */\n  function InvokeStaticBlock(op, block) {\n    op(_vm.MachineOp.PushFrame);\n    PushCompilable(op, block);\n    op(_vm.Op.CompileBlock);\n    op(_vm.MachineOp.InvokeVirtual);\n    op(_vm.MachineOp.PopFrame);\n  }\n\n  /**\n   * Invoke a static block, preserving some number of stack entries for use in\n   * updating.\n   *\n   * @param block A compilable block\n   * @param callerCount A number of stack entries to preserve\n   */\n  function InvokeStaticBlockWithStack(op, block, callerCount) {\n    let parameters = block[1];\n    let calleeCount = parameters.length;\n    let count = Math.min(callerCount, calleeCount);\n    if (count === 0) {\n      InvokeStaticBlock(op, block);\n      return;\n    }\n    op(_vm.MachineOp.PushFrame);\n    if (count) {\n      op(_vm.Op.ChildScope);\n      for (let i = 0; i < count; i++) {\n        op(_vm.Op.Dup, _vm.$fp, callerCount - i);\n        op(_vm.Op.SetVariable, parameters[i]);\n      }\n    }\n    PushCompilable(op, block);\n    op(_vm.Op.CompileBlock);\n    op(_vm.MachineOp.InvokeVirtual);\n    if (count) {\n      op(_vm.Op.PopScope);\n    }\n    op(_vm.MachineOp.PopFrame);\n  }\n  function PushSymbolTable(op, parameters) {\n    if (parameters !== null) {\n      op(_vm.Op.PushSymbolTable, symbolTableOperand({\n        parameters\n      }));\n    } else {\n      PushPrimitive(op, null);\n    }\n  }\n  function PushCompilable(op, _block) {\n    if (_block === null) {\n      PushPrimitive(op, null);\n    } else {\n      op(_vm.Op.Constant, blockOperand(_block));\n    }\n  }\n  function SwitchCases(op, bootstrap, matcher) {\n    // Setup the switch DSL\n    let clauses = [];\n    let count = 0;\n    function when(match, callback) {\n      clauses.push({\n        match,\n        callback,\n        label: `CLAUSE${count++}`\n      });\n    }\n\n    // Call the callback\n    matcher(when);\n\n    // Emit the opcodes for the switch\n    op(_vm.Op.Enter, 1);\n    bootstrap();\n    op(HighLevelBuilderOpcodes.StartLabels);\n\n    // First, emit the jump opcodes. We don't need a jump for the last\n    // opcode, since it bleeds directly into its clause.\n    for (let clause of clauses.slice(0, -1)) {\n      op(_vm.Op.JumpEq, labelOperand(clause.label), clause.match);\n    }\n\n    // Enumerate the clauses in reverse order. Earlier matches will\n    // require fewer checks.\n    for (let i = clauses.length - 1; i >= 0; i--) {\n      let clause = (0, _util.unwrap)(clauses[i]);\n      op(HighLevelBuilderOpcodes.Label, clause.label);\n      op(_vm.Op.Pop, 1);\n      clause.callback();\n\n      // 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      if (i !== 0) {\n        op(_vm.MachineOp.Jump, labelOperand('END'));\n      }\n    }\n    op(HighLevelBuilderOpcodes.Label, 'END');\n    op(HighLevelBuilderOpcodes.StopLabels);\n    op(_vm.Op.Exit);\n  }\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  function Replayable(op, args, body) {\n    // Start a new label frame, to give END and RETURN\n    // a unique meaning.\n\n    op(HighLevelBuilderOpcodes.StartLabels);\n    op(_vm.MachineOp.PushFrame);\n\n    // If the body invokes a block, its return will return to\n    // END. Otherwise, the return in RETURN will return to END.\n    op(_vm.MachineOp.ReturnTo, labelOperand('ENDINITIAL'));\n\n    // 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    let count = args();\n\n    // 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    op(_vm.Op.Enter, count);\n\n    // 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    body();\n\n    // 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    op(HighLevelBuilderOpcodes.Label, 'FINALLY');\n\n    // Finalize the DOM.\n    op(_vm.Op.Exit);\n\n    // 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    op(_vm.MachineOp.Return);\n\n    // Cleanup code for the block. Runs on initial execution\n    // but not on updating.\n    op(HighLevelBuilderOpcodes.Label, 'ENDINITIAL');\n    op(_vm.MachineOp.PopFrame);\n    op(HighLevelBuilderOpcodes.StopLabels);\n  }\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  function ReplayableIf(op, args, ifTrue, ifFalse) {\n    return Replayable(op, args, () => {\n      // If the conditional is false, jump to the ELSE label.\n      op(_vm.Op.JumpUnless, labelOperand('ELSE'));\n      // Otherwise, execute the code associated with the true branch.\n      ifTrue();\n      // 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      op(_vm.MachineOp.Jump, labelOperand('FINALLY'));\n      op(HighLevelBuilderOpcodes.Label, 'ELSE');\n\n      // 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      if (ifFalse !== undefined) {\n        ifFalse();\n      }\n    });\n  }\n  const ATTRS_BLOCK = '&attrs';\n\n  // {{component}}\n\n  // <Component>\n\n  // chokepoint\n\n  function InvokeComponent(op, component, _elementBlock, positional, named, _blocks) {\n    let {\n      compilable,\n      capabilities,\n      handle\n    } = component;\n    let elementBlock = _elementBlock ? [_elementBlock, []] : null;\n    let blocks = Array.isArray(_blocks) || _blocks === null ? namedBlocks(_blocks) : _blocks;\n    if (compilable) {\n      op(_vm.Op.PushComponentDefinition, handle);\n      InvokeStaticComponent(op, {\n        capabilities: capabilities,\n        layout: compilable,\n        elementBlock,\n        positional,\n        named,\n        blocks\n      });\n    } else {\n      op(_vm.Op.PushComponentDefinition, handle);\n      InvokeNonStaticComponent(op, {\n        capabilities: capabilities,\n        elementBlock,\n        positional,\n        named,\n        atNames: true,\n        blocks\n      });\n    }\n  }\n  function InvokeDynamicComponent(op, definition, _elementBlock, positional, named, _blocks, atNames, curried) {\n    let elementBlock = _elementBlock ? [_elementBlock, []] : null;\n    let blocks = Array.isArray(_blocks) || _blocks === null ? namedBlocks(_blocks) : _blocks;\n    Replayable(op, () => {\n      expr(op, definition);\n      op(_vm.Op.Dup, _vm.$sp, 0);\n      return 2;\n    }, () => {\n      op(_vm.Op.JumpUnless, labelOperand('ELSE'));\n      if (curried) {\n        op(_vm.Op.ResolveCurriedComponent);\n      } else {\n        op(_vm.Op.ResolveDynamicComponent, isStrictMode());\n      }\n      op(_vm.Op.PushDynamicComponentInstance);\n      InvokeNonStaticComponent(op, {\n        capabilities: true,\n        elementBlock,\n        positional,\n        named,\n        atNames,\n        blocks\n      });\n      op(HighLevelBuilderOpcodes.Label, 'ELSE');\n    });\n  }\n  function InvokeStaticComponent(op, {\n    capabilities,\n    layout,\n    elementBlock,\n    positional,\n    named,\n    blocks\n  }) {\n    let {\n      symbolTable\n    } = layout;\n    let bailOut = symbolTable.hasEval || (0, _manager.hasCapability)(capabilities, _vm.InternalComponentCapabilities.prepareArgs);\n    if (bailOut) {\n      InvokeNonStaticComponent(op, {\n        capabilities,\n        elementBlock,\n        positional,\n        named,\n        atNames: true,\n        blocks,\n        layout\n      });\n      return;\n    }\n    op(_vm.Op.Fetch, _vm.$s0);\n    op(_vm.Op.Dup, _vm.$sp, 1);\n    op(_vm.Op.Load, _vm.$s0);\n    op(_vm.MachineOp.PushFrame);\n\n    // Setup arguments\n    let {\n      symbols\n    } = symbolTable;\n\n    // As we push values onto the stack, we store the symbols associated  with them\n    // so that we can set them on the scope later on with SetVariable and SetBlock\n    let blockSymbols = [];\n    let argSymbols = [];\n    let argNames = [];\n\n    // First we push the blocks onto the stack\n    let blockNames = blocks.names;\n\n    // Starting with the attrs block, if it exists and is referenced in the component\n    if (elementBlock !== null) {\n      let symbol = symbols.indexOf(ATTRS_BLOCK);\n      if (symbol !== -1) {\n        PushYieldableBlock(op, elementBlock);\n        blockSymbols.push(symbol);\n      }\n    }\n\n    // Followed by the other blocks, if they exist and are referenced in the component.\n    // Also store the index of the associated symbol.\n    for (const name of blockNames) {\n      let symbol = symbols.indexOf(`&${name}`);\n      if (symbol !== -1) {\n        PushYieldableBlock(op, blocks.get(name));\n        blockSymbols.push(symbol);\n      }\n    }\n\n    // Next up we have arguments. If the component has the `createArgs` capability,\n    // then it wants access to the arguments in JavaScript. We can't know whether\n    // or not an argument is used, so we have to give access to all of them.\n    if ((0, _manager.hasCapability)(capabilities, _vm.InternalComponentCapabilities.createArgs)) {\n      // First we push positional arguments\n      let count = CompilePositional(op, positional);\n\n      // setup the flags with the count of positionals, and to indicate that atNames\n      // are used\n      let flags = count << 4;\n      flags |= 0b1000;\n      let names = _util.EMPTY_STRING_ARRAY;\n\n      // Next, if named args exist, push them all. If they have an associated symbol\n      // in the invoked component (e.g. they are used within its template), we push\n      // that symbol. If not, we still push the expression as it may be used, and\n      // we store the symbol as -1 (this is used later).\n      if (named !== null) {\n        names = named[0];\n        let val = named[1];\n        for (let i = 0; i < val.length; i++) {\n          let symbol = symbols.indexOf((0, _util.unwrap)(names[i]));\n          expr(op, val[i]);\n          argSymbols.push(symbol);\n        }\n      }\n\n      // Finally, push the VM arguments themselves. These args won't need access\n      // to blocks (they aren't accessible from userland anyways), so we push an\n      // empty array instead of the actual block names.\n      op(_vm.Op.PushArgs, names, _util.EMPTY_STRING_ARRAY, flags);\n\n      // And push an extra pop operation to remove the args before we begin setting\n      // variables on the local context\n      argSymbols.push(-1);\n    } else if (named !== null) {\n      // If the component does not have the `createArgs` capability, then the only\n      // expressions we need to push onto the stack are those that are actually\n      // referenced in the template of the invoked component (e.g. have symbols).\n      let names = named[0];\n      let val = named[1];\n      for (let i = 0; i < val.length; i++) {\n        let name = (0, _util.unwrap)(names[i]);\n        let symbol = symbols.indexOf(name);\n        if (symbol !== -1) {\n          expr(op, val[i]);\n          argSymbols.push(symbol);\n          argNames.push(name);\n        }\n      }\n    }\n    op(_vm.Op.BeginComponentTransaction, _vm.$s0);\n    if ((0, _manager.hasCapability)(capabilities, _vm.InternalComponentCapabilities.dynamicScope)) {\n      op(_vm.Op.PushDynamicScope);\n    }\n    if ((0, _manager.hasCapability)(capabilities, _vm.InternalComponentCapabilities.createInstance)) {\n      op(_vm.Op.CreateComponent, blocks.has('default') | 0, _vm.$s0);\n    }\n    op(_vm.Op.RegisterComponentDestructor, _vm.$s0);\n    if ((0, _manager.hasCapability)(capabilities, _vm.InternalComponentCapabilities.createArgs)) {\n      op(_vm.Op.GetComponentSelf, _vm.$s0);\n    } else {\n      op(_vm.Op.GetComponentSelf, _vm.$s0, argNames);\n    }\n\n    // Setup the new root scope for the component\n    op(_vm.Op.RootScope, symbols.length + 1, Object.keys(blocks).length > 0 ? 1 : 0);\n\n    // Pop the self reference off the stack and set it to the symbol for `this`\n    // in the new scope. This is why all subsequent symbols are increased by one.\n    op(_vm.Op.SetVariable, 0);\n\n    // Going in reverse, now we pop the args/blocks off the stack, starting with\n    // arguments, and assign them to their symbols in the new scope.\n    for (const symbol of (0, _util.reverse)(argSymbols)) {\n      // for (let i = argSymbols.length - 1; i >= 0; i--) {\n      //   let symbol = argSymbols[i];\n\n      if (symbol === -1) {\n        // The expression was not bound to a local symbol, it was only pushed to be\n        // used with VM args in the javascript side\n        op(_vm.Op.Pop, 1);\n      } else {\n        op(_vm.Op.SetVariable, symbol + 1);\n      }\n    }\n\n    // if any positional params exist, pop them off the stack as well\n    if (positional !== null) {\n      op(_vm.Op.Pop, positional.length);\n    }\n\n    // Finish up by popping off and assigning blocks\n    for (const symbol of (0, _util.reverse)(blockSymbols)) {\n      op(_vm.Op.SetBlock, symbol + 1);\n    }\n    op(_vm.Op.Constant, layoutOperand(layout));\n    op(_vm.Op.CompileBlock);\n    op(_vm.MachineOp.InvokeVirtual);\n    op(_vm.Op.DidRenderLayout, _vm.$s0);\n    op(_vm.MachineOp.PopFrame);\n    op(_vm.Op.PopScope);\n    if ((0, _manager.hasCapability)(capabilities, _vm.InternalComponentCapabilities.dynamicScope)) {\n      op(_vm.Op.PopDynamicScope);\n    }\n    op(_vm.Op.CommitComponentTransaction);\n    op(_vm.Op.Load, _vm.$s0);\n  }\n  function InvokeNonStaticComponent(op, {\n    capabilities,\n    elementBlock,\n    positional,\n    named,\n    atNames,\n    blocks: namedBlocks,\n    layout\n  }) {\n    let bindableBlocks = !!namedBlocks;\n    let bindableAtNames = capabilities === true || (0, _manager.hasCapability)(capabilities, _vm.InternalComponentCapabilities.prepareArgs) || !!(named && named[0].length !== 0);\n    let blocks = namedBlocks.with('attrs', elementBlock);\n    op(_vm.Op.Fetch, _vm.$s0);\n    op(_vm.Op.Dup, _vm.$sp, 1);\n    op(_vm.Op.Load, _vm.$s0);\n    op(_vm.MachineOp.PushFrame);\n    CompileArgs(op, positional, named, blocks, atNames);\n    op(_vm.Op.PrepareArgs, _vm.$s0);\n    invokePreparedComponent(op, blocks.has('default'), bindableBlocks, bindableAtNames, () => {\n      if (layout) {\n        op(_vm.Op.PushSymbolTable, symbolTableOperand(layout.symbolTable));\n        op(_vm.Op.Constant, layoutOperand(layout));\n        op(_vm.Op.CompileBlock);\n      } else {\n        op(_vm.Op.GetComponentLayout, _vm.$s0);\n      }\n      op(_vm.Op.PopulateLayout, _vm.$s0);\n    });\n    op(_vm.Op.Load, _vm.$s0);\n  }\n  function WrappedComponent(op, layout, attrsBlockNumber) {\n    op(HighLevelBuilderOpcodes.StartLabels);\n    WithSavedRegister(op, _vm.$s1, () => {\n      op(_vm.Op.GetComponentTagName, _vm.$s0);\n      op(_vm.Op.PrimitiveReference);\n      op(_vm.Op.Dup, _vm.$sp, 0);\n    });\n    op(_vm.Op.JumpUnless, labelOperand('BODY'));\n    op(_vm.Op.Fetch, _vm.$s1);\n    op(_vm.Op.PutComponentOperations);\n    op(_vm.Op.OpenDynamicElement);\n    op(_vm.Op.DidCreateElement, _vm.$s0);\n    YieldBlock(op, attrsBlockNumber, null);\n    op(_vm.Op.FlushElement);\n    op(HighLevelBuilderOpcodes.Label, 'BODY');\n    InvokeStaticBlock(op, [layout.block[0], []]);\n    op(_vm.Op.Fetch, _vm.$s1);\n    op(_vm.Op.JumpUnless, labelOperand('END'));\n    op(_vm.Op.CloseElement);\n    op(HighLevelBuilderOpcodes.Label, 'END');\n    op(_vm.Op.Load, _vm.$s1);\n    op(HighLevelBuilderOpcodes.StopLabels);\n  }\n  function invokePreparedComponent(op, hasBlock, bindableBlocks, bindableAtNames, populateLayout = null) {\n    op(_vm.Op.BeginComponentTransaction, _vm.$s0);\n    op(_vm.Op.PushDynamicScope);\n    op(_vm.Op.CreateComponent, hasBlock | 0, _vm.$s0);\n\n    // 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    if (populateLayout) {\n      populateLayout();\n    }\n    op(_vm.Op.RegisterComponentDestructor, _vm.$s0);\n    op(_vm.Op.GetComponentSelf, _vm.$s0);\n    op(_vm.Op.VirtualRootScope, _vm.$s0);\n    op(_vm.Op.SetVariable, 0);\n    op(_vm.Op.SetupForEval, _vm.$s0);\n    if (bindableAtNames) op(_vm.Op.SetNamedVariables, _vm.$s0);\n    if (bindableBlocks) op(_vm.Op.SetBlocks, _vm.$s0);\n    op(_vm.Op.Pop, 1);\n    op(_vm.Op.InvokeComponentLayout, _vm.$s0);\n    op(_vm.Op.DidRenderLayout, _vm.$s0);\n    op(_vm.MachineOp.PopFrame);\n    op(_vm.Op.PopScope);\n    op(_vm.Op.PopDynamicScope);\n    op(_vm.Op.CommitComponentTransaction);\n  }\n  function InvokeBareComponent(op) {\n    op(_vm.Op.Fetch, _vm.$s0);\n    op(_vm.Op.Dup, _vm.$sp, 1);\n    op(_vm.Op.Load, _vm.$s0);\n    op(_vm.MachineOp.PushFrame);\n    op(_vm.Op.PushEmptyArgs);\n    op(_vm.Op.PrepareArgs, _vm.$s0);\n    invokePreparedComponent(op, false, false, true, () => {\n      op(_vm.Op.GetComponentLayout, _vm.$s0);\n      op(_vm.Op.PopulateLayout, _vm.$s0);\n    });\n    op(_vm.Op.Load, _vm.$s0);\n  }\n  function WithSavedRegister(op, register, block) {\n    op(_vm.Op.Fetch, register);\n    block();\n    op(_vm.Op.Load, register);\n  }\n  function main(op) {\n    op(_vm.Op.Main, _vm.$s0);\n    invokePreparedComponent(op, false, false, true);\n  }\n\n  /**\n   * Append content to the DOM. This standard function triages content and does the\n   * right thing based upon whether it's a string, safe string, component, fragment\n   * or node.\n   *\n   * @param trusting whether to interpolate a string as raw HTML (corresponds to\n   * triple curlies)\n   */\n  function StdAppend(op, trusting, nonDynamicAppend) {\n    SwitchCases(op, () => op(_vm.Op.ContentType), when => {\n      when(_vm.ContentType.String, () => {\n        if (trusting) {\n          op(_vm.Op.AssertSame);\n          op(_vm.Op.AppendHTML);\n        } else {\n          op(_vm.Op.AppendText);\n        }\n      });\n      if (typeof nonDynamicAppend === 'number') {\n        when(_vm.ContentType.Component, () => {\n          op(_vm.Op.ResolveCurriedComponent);\n          op(_vm.Op.PushDynamicComponentInstance);\n          InvokeBareComponent(op);\n        });\n        when(_vm.ContentType.Helper, () => {\n          CallDynamic(op, null, null, () => {\n            op(_vm.MachineOp.InvokeStatic, nonDynamicAppend);\n          });\n        });\n      } else {\n        // when non-dynamic, we can no longer call the value (potentially because we've already called it)\n        // this prevents infinite loops. We instead coerce the value, whatever it is, into the DOM.\n        when(_vm.ContentType.Component, () => {\n          op(_vm.Op.AppendText);\n        });\n        when(_vm.ContentType.Helper, () => {\n          op(_vm.Op.AppendText);\n        });\n      }\n      when(_vm.ContentType.SafeString, () => {\n        op(_vm.Op.AssertSame);\n        op(_vm.Op.AppendSafeHTML);\n      });\n      when(_vm.ContentType.Fragment, () => {\n        op(_vm.Op.AssertSame);\n        op(_vm.Op.AppendDocumentFragment);\n      });\n      when(_vm.ContentType.Node, () => {\n        op(_vm.Op.AssertSame);\n        op(_vm.Op.AppendNode);\n      });\n    });\n  }\n  function compileStd(context) {\n    let mainHandle = build(context, op => main(op));\n    let trustingGuardedNonDynamicAppend = build(context, op => StdAppend(op, true, null));\n    let cautiousGuardedNonDynamicAppend = build(context, op => StdAppend(op, false, null));\n    let trustingGuardedDynamicAppend = build(context, op => StdAppend(op, true, trustingGuardedNonDynamicAppend));\n    let cautiousGuardedDynamicAppend = build(context, op => StdAppend(op, false, cautiousGuardedNonDynamicAppend));\n    return new StdLib(mainHandle, trustingGuardedDynamicAppend, cautiousGuardedDynamicAppend, trustingGuardedNonDynamicAppend, cautiousGuardedNonDynamicAppend);\n  }\n  const STDLIB_META = {\n    evalSymbols: null,\n    upvars: null,\n    moduleName: 'stdlib',\n    // TODO: ??\n    scopeValues: null,\n    isStrictMode: true,\n    owner: null,\n    size: 0\n  };\n  function build(program, builder) {\n    let {\n      constants,\n      heap,\n      resolver\n    } = program;\n    let encoder = new EncoderImpl(heap, STDLIB_META);\n    function pushOp(...op) {\n      encodeOp(encoder, constants, resolver, STDLIB_META, op);\n    }\n    builder(pushOp);\n    let result = encoder.commit(0);\n    if (typeof result !== 'number') {\n      // This shouldn't be possible\n      throw new Error(`Unexpected errors compiling std`);\n    } else {\n      return result;\n    }\n  }\n  class CompileTimeCompilationContextImpl {\n    constructor({\n      constants,\n      heap\n    }, resolver, createOp) {\n      this.constants = void 0;\n      this.heap = void 0;\n      this.stdlib = void 0;\n      this.resolver = resolver;\n      this.createOp = createOp;\n      this.constants = constants;\n      this.heap = heap;\n      this.stdlib = compileStd(this);\n    }\n  }\n  _exports.CompileTimeCompilationContextImpl = CompileTimeCompilationContextImpl;\n  function programCompilationContext(artifacts, resolver, createOp) {\n    return new CompileTimeCompilationContextImpl(artifacts, resolver, createOp);\n  }\n  function templateCompilationContext(program, meta) {\n    let encoder = new EncoderImpl(program.heap, meta, program.stdlib);\n    return {\n      program,\n      encoder,\n      meta\n    };\n  }\n  const STATEMENTS = new Compilers();\n  const INFLATE_ATTR_TABLE = ['class', 'id', 'value', 'name', 'type', 'style', 'href'];\n  const INFLATE_TAG_TABLE = ['div', 'span', 'p', 'a'];\n  function inflateTagName(tagName) {\n    return typeof tagName === 'string' ? tagName : INFLATE_TAG_TABLE[tagName];\n  }\n  function inflateAttrName(attrName) {\n    return typeof attrName === 'string' ? attrName : INFLATE_ATTR_TABLE[attrName];\n  }\n  STATEMENTS.add(_wireFormat.SexpOpcodes.Comment, (op, sexp) => op(_vm.Op.Comment, sexp[1]));\n  STATEMENTS.add(_wireFormat.SexpOpcodes.CloseElement, op => op(_vm.Op.CloseElement));\n  STATEMENTS.add(_wireFormat.SexpOpcodes.FlushElement, op => op(_vm.Op.FlushElement));\n  STATEMENTS.add(_wireFormat.SexpOpcodes.Modifier, (op, [, expression, positional, named]) => {\n    if (isGetFreeModifier(expression)) {\n      op(HighLevelResolutionOpcodes.Modifier, expression, handle => {\n        op(_vm.MachineOp.PushFrame);\n        SimpleArgs(op, positional, named, false);\n        op(_vm.Op.Modifier, handle);\n        op(_vm.MachineOp.PopFrame);\n      });\n    } else {\n      expr(op, expression);\n      op(_vm.MachineOp.PushFrame);\n      SimpleArgs(op, positional, named, false);\n      op(_vm.Op.Dup, _vm.$fp, 1);\n      op(_vm.Op.DynamicModifier);\n      op(_vm.MachineOp.PopFrame);\n    }\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.StaticAttr, (op, [, name, value, namespace]) => {\n    op(_vm.Op.StaticAttr, inflateAttrName(name), value, namespace ?? null);\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.StaticComponentAttr, (op, [, name, value, namespace]) => {\n    op(_vm.Op.StaticComponentAttr, inflateAttrName(name), value, namespace ?? null);\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.DynamicAttr, (op, [, name, value, namespace]) => {\n    expr(op, value);\n    op(_vm.Op.DynamicAttr, inflateAttrName(name), false, namespace ?? null);\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.TrustingDynamicAttr, (op, [, name, value, namespace]) => {\n    expr(op, value);\n    op(_vm.Op.DynamicAttr, inflateAttrName(name), true, namespace ?? null);\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.ComponentAttr, (op, [, name, value, namespace]) => {\n    expr(op, value);\n    op(_vm.Op.ComponentAttr, inflateAttrName(name), false, namespace ?? null);\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.TrustingComponentAttr, (op, [, name, value, namespace]) => {\n    expr(op, value);\n    op(_vm.Op.ComponentAttr, inflateAttrName(name), true, namespace ?? null);\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.OpenElement, (op, [, tag]) => {\n    op(_vm.Op.OpenElement, inflateTagName(tag));\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.OpenElementWithSplat, (op, [, tag]) => {\n    op(_vm.Op.PutComponentOperations);\n    op(_vm.Op.OpenElement, inflateTagName(tag));\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.Component, (op, [, expr, elementBlock, named, blocks]) => {\n    if (isGetFreeComponent(expr)) {\n      op(HighLevelResolutionOpcodes.Component, expr, component => {\n        InvokeComponent(op, component, elementBlock, null, named, blocks);\n      });\n    } else {\n      // otherwise, the component name was an expression, so resolve the expression\n      // and invoke it as a dynamic component\n      InvokeDynamicComponent(op, expr, elementBlock, null, named, blocks, true, true);\n    }\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.Yield, (op, [, to, params]) => YieldBlock(op, to, params));\n  STATEMENTS.add(_wireFormat.SexpOpcodes.AttrSplat, (op, [, to]) => YieldBlock(op, to, null));\n  STATEMENTS.add(_wireFormat.SexpOpcodes.Debugger, (op, [, debugInfo]) => op(_vm.Op.Debugger, debugSymbolsOperand(), debugInfo));\n  STATEMENTS.add(_wireFormat.SexpOpcodes.Append, (op, [, value]) => {\n    // Special case for static values\n    if (!Array.isArray(value)) {\n      op(_vm.Op.Text, value === null || value === undefined ? '' : String(value));\n    } else if (isGetFreeOptionalComponentOrHelper(value)) {\n      op(HighLevelResolutionOpcodes.OptionalComponentOrHelper, value, {\n        ifComponent(component) {\n          InvokeComponent(op, component, null, null, null, null);\n        },\n        ifHelper(handle) {\n          op(_vm.MachineOp.PushFrame);\n          Call(op, handle, null, null);\n          op(_vm.MachineOp.InvokeStatic, stdlibOperand('cautious-non-dynamic-append'));\n          op(_vm.MachineOp.PopFrame);\n        },\n        ifValue(handle) {\n          op(_vm.MachineOp.PushFrame);\n          op(_vm.Op.ConstantReference, handle);\n          op(_vm.MachineOp.InvokeStatic, stdlibOperand('cautious-non-dynamic-append'));\n          op(_vm.MachineOp.PopFrame);\n        }\n      });\n    } else if (value[0] === _wireFormat.SexpOpcodes.Call) {\n      let [, expression, positional, named] = value;\n      if (isGetFreeComponentOrHelper(expression)) {\n        op(HighLevelResolutionOpcodes.ComponentOrHelper, expression, {\n          ifComponent(component) {\n            InvokeComponent(op, component, null, positional, hashToArgs(named), null);\n          },\n          ifHelper(handle) {\n            op(_vm.MachineOp.PushFrame);\n            Call(op, handle, positional, named);\n            op(_vm.MachineOp.InvokeStatic, stdlibOperand('cautious-non-dynamic-append'));\n            op(_vm.MachineOp.PopFrame);\n          }\n        });\n      } else {\n        SwitchCases(op, () => {\n          expr(op, expression);\n          op(_vm.Op.DynamicContentType);\n        }, when => {\n          when(_vm.ContentType.Component, () => {\n            op(_vm.Op.ResolveCurriedComponent);\n            op(_vm.Op.PushDynamicComponentInstance);\n            InvokeNonStaticComponent(op, {\n              capabilities: true,\n              elementBlock: null,\n              positional,\n              named,\n              atNames: false,\n              blocks: namedBlocks(null)\n            });\n          });\n          when(_vm.ContentType.Helper, () => {\n            CallDynamic(op, positional, named, () => {\n              op(_vm.MachineOp.InvokeStatic, stdlibOperand('cautious-non-dynamic-append'));\n            });\n          });\n        });\n      }\n    } else {\n      op(_vm.MachineOp.PushFrame);\n      expr(op, value);\n      op(_vm.MachineOp.InvokeStatic, stdlibOperand('cautious-append'));\n      op(_vm.MachineOp.PopFrame);\n    }\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.TrustingAppend, (op, [, value]) => {\n    if (!Array.isArray(value)) {\n      op(_vm.Op.Text, value === null || value === undefined ? '' : String(value));\n    } else {\n      op(_vm.MachineOp.PushFrame);\n      expr(op, value);\n      op(_vm.MachineOp.InvokeStatic, stdlibOperand('trusting-append'));\n      op(_vm.MachineOp.PopFrame);\n    }\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.Block, (op, [, expr, positional, named, blocks]) => {\n    if (isGetFreeComponent(expr)) {\n      op(HighLevelResolutionOpcodes.Component, expr, component => {\n        InvokeComponent(op, component, null, positional, hashToArgs(named), blocks);\n      });\n    } else {\n      InvokeDynamicComponent(op, expr, null, positional, named, blocks, false, false);\n    }\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.InElement, (op, [, block, guid, destination, insertBefore]) => {\n    ReplayableIf(op, () => {\n      expr(op, guid);\n      if (insertBefore === undefined) {\n        PushPrimitiveReference(op, undefined);\n      } else {\n        expr(op, insertBefore);\n      }\n      expr(op, destination);\n      op(_vm.Op.Dup, _vm.$sp, 0);\n      return 4;\n    }, () => {\n      op(_vm.Op.PushRemoteElement);\n      InvokeStaticBlock(op, block);\n      op(_vm.Op.PopRemoteElement);\n    });\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.If, (op, [, condition, block, inverse]) => ReplayableIf(op, () => {\n    expr(op, condition);\n    op(_vm.Op.ToBoolean);\n    return 1;\n  }, () => {\n    InvokeStaticBlock(op, block);\n  }, inverse ? () => {\n    InvokeStaticBlock(op, inverse);\n  } : undefined));\n  STATEMENTS.add(_wireFormat.SexpOpcodes.Each, (op, [, value, key, block, inverse]) => Replayable(op, () => {\n    if (key) {\n      expr(op, key);\n    } else {\n      PushPrimitiveReference(op, null);\n    }\n    expr(op, value);\n    return 2;\n  }, () => {\n    op(_vm.Op.EnterList, labelOperand('BODY'), labelOperand('ELSE'));\n    op(_vm.MachineOp.PushFrame);\n    op(_vm.Op.Dup, _vm.$fp, 1);\n    op(_vm.MachineOp.ReturnTo, labelOperand('ITER'));\n    op(HighLevelBuilderOpcodes.Label, 'ITER');\n    op(_vm.Op.Iterate, labelOperand('BREAK'));\n    op(HighLevelBuilderOpcodes.Label, 'BODY');\n    InvokeStaticBlockWithStack(op, block, 2);\n    op(_vm.Op.Pop, 2);\n    op(_vm.MachineOp.Jump, labelOperand('FINALLY'));\n    op(HighLevelBuilderOpcodes.Label, 'BREAK');\n    op(_vm.MachineOp.PopFrame);\n    op(_vm.Op.ExitList);\n    op(_vm.MachineOp.Jump, labelOperand('FINALLY'));\n    op(HighLevelBuilderOpcodes.Label, 'ELSE');\n    if (inverse) {\n      InvokeStaticBlock(op, inverse);\n    }\n  }));\n  STATEMENTS.add(_wireFormat.SexpOpcodes.With, (op, [, value, block, inverse]) => {\n    ReplayableIf(op, () => {\n      expr(op, value);\n      op(_vm.Op.Dup, _vm.$sp, 0);\n      op(_vm.Op.ToBoolean);\n      return 2;\n    }, () => {\n      InvokeStaticBlockWithStack(op, block, 1);\n    }, () => {\n      if (inverse) {\n        InvokeStaticBlock(op, inverse);\n      }\n    });\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.Let, (op, [, positional, block]) => {\n    let count = CompilePositional(op, positional);\n    InvokeStaticBlockWithStack(op, block, count);\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.WithDynamicVars, (op, [, named, block]) => {\n    if (named) {\n      let [names, expressions] = named;\n      CompilePositional(op, expressions);\n      DynamicScope(op, names, () => {\n        InvokeStaticBlock(op, block);\n      });\n    } else {\n      InvokeStaticBlock(op, block);\n    }\n  });\n  STATEMENTS.add(_wireFormat.SexpOpcodes.InvokeComponent, (op, [, expr, positional, named, blocks]) => {\n    if (isGetFreeComponent(expr)) {\n      op(HighLevelResolutionOpcodes.Component, expr, component => {\n        InvokeComponent(op, component, null, positional, hashToArgs(named), blocks);\n      });\n    } else {\n      InvokeDynamicComponent(op, expr, null, positional, named, blocks, false, false);\n    }\n  });\n  function hashToArgs(hash) {\n    if (hash === null) return null;\n    let names = hash[0].map(key => `@${key}`);\n    return [names, hash[1]];\n  }\n  const PLACEHOLDER_HANDLE = -1;\n  class CompilableTemplateImpl {\n    constructor(statements, meta,\n    // Part of CompilableTemplate\n    symbolTable,\n    // Used for debugging\n    moduleName = 'plain block') {\n      this.compiled = null;\n      this.statements = statements;\n      this.meta = meta;\n      this.symbolTable = symbolTable;\n      this.moduleName = moduleName;\n    }\n\n    // Part of CompilableTemplate\n    compile(context) {\n      return maybeCompile(this, context);\n    }\n  }\n  function compilable(layout, moduleName) {\n    let [statements, symbols, hasEval] = layout.block;\n    return new CompilableTemplateImpl(statements, meta(layout), {\n      symbols,\n      hasEval\n    }, moduleName);\n  }\n  function maybeCompile(compilable, context) {\n    if (compilable.compiled !== null) return compilable.compiled;\n    compilable.compiled = PLACEHOLDER_HANDLE;\n    let {\n      statements,\n      meta\n    } = compilable;\n    let result = compileStatements(statements, meta, context);\n    compilable.compiled = result;\n    return result;\n  }\n  function compileStatements(statements, meta, syntaxContext) {\n    let sCompiler = STATEMENTS;\n    let context = templateCompilationContext(syntaxContext, meta);\n    let {\n      encoder,\n      program: {\n        constants,\n        resolver\n      }\n    } = context;\n    function pushOp(...op) {\n      encodeOp(encoder, constants, resolver, meta, op);\n    }\n    for (const statement of statements) {\n      sCompiler.compile(pushOp, statement);\n    }\n    let handle = context.encoder.commit(meta.size);\n    return handle;\n  }\n  function compilableBlock(block, containing) {\n    return new CompilableTemplateImpl(block[0], containing, {\n      parameters: block[1] || _util.EMPTY_ARRAY\n    });\n  }\n  const DEFAULT_CAPABILITIES = _exports.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    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  const MINIMAL_CAPABILITIES = _exports.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    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  class WrappedBuilder {\n    constructor(layout, moduleName) {\n      this.symbolTable = void 0;\n      this.compiled = null;\n      this.attrsBlockNumber = void 0;\n      this.layout = layout;\n      this.moduleName = moduleName;\n      let {\n        block\n      } = layout;\n      let [, symbols, hasEval] = block;\n      symbols = symbols.slice();\n\n      // ensure ATTRS_BLOCK is always included (only once) in the list of symbols\n      let attrsBlockIndex = symbols.indexOf(ATTRS_BLOCK);\n      if (attrsBlockIndex === -1) {\n        this.attrsBlockNumber = symbols.push(ATTRS_BLOCK);\n      } else {\n        this.attrsBlockNumber = attrsBlockIndex + 1;\n      }\n      this.symbolTable = {\n        hasEval,\n        symbols\n      };\n    }\n    compile(syntax) {\n      if (this.compiled !== null) return this.compiled;\n      let m = meta(this.layout);\n      let context = templateCompilationContext(syntax, m);\n      let {\n        encoder,\n        program: {\n          constants,\n          resolver\n        }\n      } = context;\n      function pushOp(...op) {\n        encodeOp(encoder, constants, resolver, m, op);\n      }\n      WrappedComponent(pushOp, this.layout, this.attrsBlockNumber);\n      let handle = context.encoder.commit(m.size);\n      if (typeof handle !== 'number') {\n        return handle;\n      }\n      this.compiled = handle;\n      return handle;\n    }\n  }\n  _exports.WrappedBuilder = WrappedBuilder;\n  let clientId = 0;\n  let templateCacheCounters = _exports.templateCacheCounters = {\n    cacheHit: 0,\n    cacheMiss: 0\n  };\n\n  // These interfaces are for backwards compatibility, some addons use these intimate APIs\n\n  /**\n   * Wraps a template js in a template module to change it into a factory\n   * that handles lazy parsing the template and to create per env singletons\n   * of the template.\n   */\n  function templateFactory({\n    id: templateId,\n    moduleName,\n    block,\n    scope,\n    isStrictMode\n  }) {\n    // TODO(template-refactors): This should be removed in the near future, as it\n    // appears that id is unused. It is currently kept for backwards compat reasons.\n    let id = templateId || `client-${clientId++}`;\n\n    // TODO: This caches JSON serialized output once in case a template is\n    // compiled by multiple owners, but we haven't verified if this is actually\n    // helpful. We should benchmark this in the future.\n    let parsedBlock;\n    let ownerlessTemplate = null;\n    let templateCache = new WeakMap();\n    let factory = owner => {\n      if (parsedBlock === undefined) {\n        parsedBlock = JSON.parse(block);\n      }\n      if (owner === undefined) {\n        if (ownerlessTemplate === null) {\n          templateCacheCounters.cacheMiss++;\n          ownerlessTemplate = new TemplateImpl({\n            id,\n            block: parsedBlock,\n            moduleName,\n            owner: null,\n            scope,\n            isStrictMode\n          });\n        } else {\n          templateCacheCounters.cacheHit++;\n        }\n        return ownerlessTemplate;\n      }\n      let result = templateCache.get(owner);\n      if (result === undefined) {\n        templateCacheCounters.cacheMiss++;\n        result = new TemplateImpl({\n          id,\n          block: parsedBlock,\n          moduleName,\n          owner,\n          scope,\n          isStrictMode\n        });\n        templateCache.set(owner, result);\n      } else {\n        templateCacheCounters.cacheHit++;\n      }\n      return result;\n    };\n    factory.__id = id;\n    factory.__meta = {\n      moduleName\n    };\n    return factory;\n  }\n  class TemplateImpl {\n    constructor(parsedLayout) {\n      this.result = 'ok';\n      this.layout = null;\n      this.wrappedLayout = null;\n      this.parsedLayout = parsedLayout;\n    }\n    get moduleName() {\n      return this.parsedLayout.moduleName;\n    }\n    get id() {\n      return this.parsedLayout.id;\n    }\n\n    // TODO(template-refactors): This should be removed in the near future, it is\n    // only being exposed for backwards compatibility\n    get referrer() {\n      return {\n        moduleName: this.parsedLayout.moduleName,\n        owner: this.parsedLayout.owner\n      };\n    }\n    asLayout() {\n      if (this.layout) return this.layout;\n      return this.layout = compilable((0, _util.assign)({}, this.parsedLayout), this.moduleName);\n    }\n    asWrappedLayout() {\n      if (this.wrappedLayout) return this.wrappedLayout;\n      return this.wrappedLayout = new WrappedBuilder((0, _util.assign)({}, this.parsedLayout), this.moduleName);\n    }\n  }\n});","define(\"@glimmer/owner\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.OWNER = void 0;\n  _exports.getOwner = getOwner;\n  _exports.setOwner = setOwner;\n  const OWNER = _exports.OWNER = Symbol('OWNER');\n  /**\n    Framework objects in a Glimmer application may receive an owner object.\n    Glimmer is unopinionated about this owner, but will forward it through its\n    internal resolution system, and through its managers if it is provided.\n  */\n  function getOwner(object) {\n    return object[OWNER];\n  }\n\n  /**\n    `setOwner` set's an object's owner\n  */\n  function setOwner(object, owner) {\n    object[OWNER] = owner;\n  }\n});","define(\"@glimmer/program\", [\"exports\", \"@glimmer/manager\", \"@glimmer/opcode-compiler\", \"@glimmer/util\", \"@glimmer/vm\", \"@glimmer/wire-format\"], function (_exports, _manager, _opcodeCompiler, _util, _vm, _wireFormat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.RuntimeProgramImpl = _exports.RuntimeOpImpl = _exports.RuntimeHeapImpl = _exports.RuntimeConstantsImpl = _exports.HeapImpl = _exports.ConstantsImpl = _exports.CompileTimeConstantImpl = void 0;\n  _exports.artifacts = artifacts;\n  _exports.hydrateHeap = hydrateHeap;\n  /**\n   * Default component template, which is a plain yield\n   */\n  const DEFAULT_TEMPLATE_BLOCK = [[[_wireFormat.SexpOpcodes.Yield, 1, null]], ['&default'], false, []];\n  const DEFAULT_TEMPLATE = {\n    // random uuid\n    id: '1b32f5c2-7623-43d6-a0ad-9672898920a1',\n    moduleName: '__default__.hbs',\n    block: JSON.stringify(DEFAULT_TEMPLATE_BLOCK),\n    scope: null,\n    isStrictMode: true\n  };\n  const WELL_KNOWN_EMPTY_ARRAY = Object.freeze([]);\n  const STARTER_CONSTANTS = (0, _util.constants)(WELL_KNOWN_EMPTY_ARRAY);\n  const WELL_KNOWN_EMPTY_ARRAY_POSITION = STARTER_CONSTANTS.indexOf(WELL_KNOWN_EMPTY_ARRAY);\n  class CompileTimeConstantImpl {\n    constructor() {\n      // `0` means NULL\n      this.values = STARTER_CONSTANTS.slice();\n      this.indexMap = new Map(this.values.map((value, index) => [value, index]));\n    }\n    value(value) {\n      let indexMap = this.indexMap;\n      let index = indexMap.get(value);\n      if (index === undefined) {\n        index = this.values.push(value) - 1;\n        indexMap.set(value, index);\n      }\n      return index;\n    }\n    array(values) {\n      if (values.length === 0) {\n        return WELL_KNOWN_EMPTY_ARRAY_POSITION;\n      }\n      let handles = new Array(values.length);\n      for (let i = 0; i < values.length; i++) {\n        handles[i] = this.value(values[i]);\n      }\n      return this.value(handles);\n    }\n    toPool() {\n      return this.values;\n    }\n  }\n  _exports.CompileTimeConstantImpl = CompileTimeConstantImpl;\n  class RuntimeConstantsImpl {\n    constructor(pool) {\n      this.values = void 0;\n      this.values = pool;\n    }\n    getValue(handle) {\n      return this.values[handle];\n    }\n    getArray(value) {\n      let handles = this.getValue(value);\n      let reified = new Array(handles.length);\n      for (const [i, n] of (0, _util.enumerate)(handles)) {\n        reified[i] = this.getValue(n);\n      }\n      return reified;\n    }\n  }\n  _exports.RuntimeConstantsImpl = RuntimeConstantsImpl;\n  class ConstantsImpl extends CompileTimeConstantImpl {\n    constructor(...args) {\n      super(...args);\n      this.reifiedArrs = {\n        [WELL_KNOWN_EMPTY_ARRAY_POSITION]: WELL_KNOWN_EMPTY_ARRAY\n      };\n      this.defaultTemplate = (0, _opcodeCompiler.templateFactory)(DEFAULT_TEMPLATE)();\n      // Used for tests and debugging purposes, and to be able to analyze large apps\n      // This is why it's enabled even in production\n      this.helperDefinitionCount = 0;\n      this.modifierDefinitionCount = 0;\n      this.componentDefinitionCount = 0;\n      this.helperDefinitionCache = new WeakMap();\n      this.modifierDefinitionCache = new WeakMap();\n      this.componentDefinitionCache = new WeakMap();\n    }\n    helper(definitionState,\n    // TODO: Add a way to expose resolved name for debugging\n    _resolvedName = null, isOptional) {\n      let handle = this.helperDefinitionCache.get(definitionState);\n      if (handle === undefined) {\n        let managerOrHelper = (0, _manager.getInternalHelperManager)(definitionState, isOptional);\n        if (managerOrHelper === null) {\n          this.helperDefinitionCache.set(definitionState, null);\n          return null;\n        }\n        (0, _util.assert)(managerOrHelper, 'BUG: expected manager or helper');\n        let helper = typeof managerOrHelper === 'function' ? managerOrHelper : managerOrHelper.getHelper(definitionState);\n        handle = this.value(helper);\n        this.helperDefinitionCache.set(definitionState, handle);\n        this.helperDefinitionCount++;\n      }\n      return handle;\n    }\n    modifier(definitionState, resolvedName = null, isOptional) {\n      let handle = this.modifierDefinitionCache.get(definitionState);\n      if (handle === undefined) {\n        let manager = (0, _manager.getInternalModifierManager)(definitionState, isOptional);\n        if (manager === null) {\n          this.modifierDefinitionCache.set(definitionState, null);\n          return null;\n        }\n        let definition = {\n          resolvedName,\n          manager,\n          state: definitionState\n        };\n        handle = this.value(definition);\n        this.modifierDefinitionCache.set(definitionState, handle);\n        this.modifierDefinitionCount++;\n      }\n      return handle;\n    }\n    component(definitionState, owner, isOptional) {\n      let definition = this.componentDefinitionCache.get(definitionState);\n      if (definition === undefined) {\n        let manager = (0, _manager.getInternalComponentManager)(definitionState, isOptional);\n        if (manager === null) {\n          this.componentDefinitionCache.set(definitionState, null);\n          return null;\n        }\n        (0, _util.assert)(manager, 'BUG: expected manager');\n        let capabilities = (0, _manager.capabilityFlagsFrom)(manager.getCapabilities(definitionState));\n        let templateFactory = (0, _manager.getComponentTemplate)(definitionState);\n        let compilable = null;\n        let template;\n        if (!(0, _manager.managerHasCapability)(manager, capabilities, _vm.InternalComponentCapabilities.dynamicLayout)) {\n          template = templateFactory?.(owner) ?? this.defaultTemplate;\n        } else {\n          template = templateFactory?.(owner);\n        }\n        if (template !== undefined) {\n          template = (0, _util.unwrapTemplate)(template);\n          compilable = (0, _manager.managerHasCapability)(manager, capabilities, _vm.InternalComponentCapabilities.wrapped) ? template.asWrappedLayout() : template.asLayout();\n        }\n        definition = {\n          resolvedName: null,\n          handle: -1,\n          // replaced momentarily\n          manager,\n          capabilities,\n          state: definitionState,\n          compilable\n        };\n        definition.handle = this.value(definition);\n        this.componentDefinitionCache.set(definitionState, definition);\n        this.componentDefinitionCount++;\n      }\n      return definition;\n    }\n    resolvedComponent(resolvedDefinition, resolvedName) {\n      let definition = this.componentDefinitionCache.get(resolvedDefinition);\n      if (definition === undefined) {\n        let {\n          manager,\n          state,\n          template\n        } = resolvedDefinition;\n        let capabilities = (0, _manager.capabilityFlagsFrom)(manager.getCapabilities(resolvedDefinition));\n        let compilable = null;\n        if (!(0, _manager.managerHasCapability)(manager, capabilities, _vm.InternalComponentCapabilities.dynamicLayout)) {\n          template = template ?? this.defaultTemplate;\n        }\n        if (template !== null) {\n          template = (0, _util.unwrapTemplate)(template);\n          compilable = (0, _manager.managerHasCapability)(manager, capabilities, _vm.InternalComponentCapabilities.wrapped) ? template.asWrappedLayout() : template.asLayout();\n        }\n        definition = {\n          resolvedName,\n          handle: -1,\n          // replaced momentarily\n          manager,\n          capabilities,\n          state,\n          compilable\n        };\n        definition.handle = this.value(definition);\n        this.componentDefinitionCache.set(resolvedDefinition, definition);\n        this.componentDefinitionCount++;\n      }\n      return (0, _util.expect)(definition, 'BUG: resolved component definitions cannot be null');\n    }\n    getValue(index) {\n      (0, _util.assert)(index >= 0, `cannot get value for handle: ${index}`);\n      return this.values[index];\n    }\n    getArray(index) {\n      let reifiedArrs = this.reifiedArrs;\n      let reified = reifiedArrs[index];\n      if (reified === undefined) {\n        let names = this.getValue(index);\n        reified = new Array(names.length);\n        for (const [i, name] of (0, _util.enumerate)(names)) {\n          reified[i] = this.getValue(name);\n        }\n        reifiedArrs[index] = reified;\n      }\n      return reified;\n    }\n  }\n  _exports.ConstantsImpl = ConstantsImpl;\n  class RuntimeOpImpl {\n    constructor(heap) {\n      this.offset = 0;\n      this.heap = heap;\n    }\n    get size() {\n      let rawType = this.heap.getbyaddr(this.offset);\n      return ((rawType & _vm.OPERAND_LEN_MASK) >> _vm.ARG_SHIFT) + 1;\n    }\n    get isMachine() {\n      let rawType = this.heap.getbyaddr(this.offset);\n      return rawType & _vm.MACHINE_MASK ? 1 : 0;\n    }\n    get type() {\n      return this.heap.getbyaddr(this.offset) & _vm.TYPE_MASK;\n    }\n    get op1() {\n      return this.heap.getbyaddr(this.offset + 1);\n    }\n    get op2() {\n      return this.heap.getbyaddr(this.offset + 2);\n    }\n    get op3() {\n      return this.heap.getbyaddr(this.offset + 3);\n    }\n  }\n  _exports.RuntimeOpImpl = RuntimeOpImpl;\n  var TableSlotState = /*#__PURE__*/function (TableSlotState) {\n    TableSlotState[TableSlotState[\"Allocated\"] = 0] = \"Allocated\";\n    TableSlotState[TableSlotState[\"Freed\"] = 1] = \"Freed\";\n    TableSlotState[TableSlotState[\"Purged\"] = 2] = \"Purged\";\n    TableSlotState[TableSlotState[\"Pointer\"] = 3] = \"Pointer\";\n    return TableSlotState;\n  }(TableSlotState || {});\n  const PAGE_SIZE = 0x100000;\n  class RuntimeHeapImpl {\n    constructor(serializedHeap) {\n      this.heap = void 0;\n      this.table = void 0;\n      let {\n        buffer,\n        table\n      } = serializedHeap;\n      this.heap = new Int32Array(buffer);\n      this.table = table;\n    }\n\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    getaddr(handle) {\n      return (0, _util.unwrap)(this.table[handle]);\n    }\n    getbyaddr(address) {\n      return (0, _util.expect)(this.heap[address], 'Access memory out of bounds of the heap');\n    }\n    sizeof(handle) {\n      return sizeof(this.table);\n    }\n  }\n  _exports.RuntimeHeapImpl = RuntimeHeapImpl;\n  function hydrateHeap(serializedHeap) {\n    return new RuntimeHeapImpl(serializedHeap);\n  }\n\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  class HeapImpl {\n    constructor() {\n      this.offset = 0;\n      this.heap = void 0;\n      this.handleTable = void 0;\n      this.handleState = void 0;\n      this.handle = 0;\n      this.heap = new Int32Array(PAGE_SIZE);\n      this.handleTable = [];\n      this.handleState = [];\n    }\n    pushRaw(value) {\n      this.sizeCheck();\n      this.heap[this.offset++] = value;\n    }\n    pushOp(item) {\n      this.pushRaw(item);\n    }\n    pushMachine(item) {\n      this.pushRaw(item | _vm.MACHINE_MASK);\n    }\n    sizeCheck() {\n      let {\n        heap\n      } = this;\n      if (this.offset === this.heap.length) {\n        let newHeap = new Int32Array(heap.length + PAGE_SIZE);\n        newHeap.set(heap, 0);\n        this.heap = newHeap;\n      }\n    }\n    getbyaddr(address) {\n      return (0, _util.unwrap)(this.heap[address]);\n    }\n    setbyaddr(address, value) {\n      this.heap[address] = value;\n    }\n    malloc() {\n      // push offset, info, size\n      this.handleTable.push(this.offset);\n      return this.handleTable.length - 1;\n    }\n    finishMalloc(handle) {}\n    size() {\n      return this.offset;\n    }\n\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    getaddr(handle) {\n      return (0, _util.unwrap)(this.handleTable[handle]);\n    }\n    sizeof(handle) {\n      return sizeof(this.handleTable);\n    }\n    free(handle) {\n      this.handleState[handle] = TableSlotState.Freed;\n    }\n\n    /**\n     * The heap uses the [Mark-Compact Algorithm](https://en.wikipedia.org/wiki/Mark-compact_algorithm) to shift\n     * reachable memory to the bottom of the heap and freeable\n     * memory to the top of the heap. When we have shifted all\n     * the reachable memory to the top of the heap, we move the\n     * offset to the next free position.\n     */\n    compact() {\n      let compactedSize = 0;\n      let {\n        handleTable,\n        handleState,\n        heap\n      } = this;\n      for (let i = 0; i < length; i++) {\n        let offset = (0, _util.unwrap)(handleTable[i]);\n        let size = (0, _util.unwrap)(handleTable[i + 1]) - (0, _util.unwrap)(offset);\n        let state = handleState[i];\n        if (state === TableSlotState.Purged) {\n          continue;\n        } else if (state === TableSlotState.Freed) {\n          // transition to \"already freed\" aka \"purged\"\n          // a good improvement would be to reuse\n          // these slots\n          handleState[i] = TableSlotState.Purged;\n          compactedSize += size;\n        } else if (state === TableSlotState.Allocated) {\n          for (let j = offset; j <= i + size; j++) {\n            heap[j - compactedSize] = (0, _util.unwrap)(heap[j]);\n          }\n          handleTable[i] = offset - compactedSize;\n        } else if (state === TableSlotState.Pointer) {\n          handleTable[i] = offset - compactedSize;\n        }\n      }\n      this.offset = this.offset - compactedSize;\n    }\n    capture(offset = this.offset) {\n      // Only called in eager mode\n      let buffer = slice(this.heap, 0, offset).buffer;\n      return {\n        handle: this.handle,\n        table: this.handleTable,\n        buffer: buffer\n      };\n    }\n  }\n  _exports.HeapImpl = HeapImpl;\n  class RuntimeProgramImpl {\n    constructor(constants, heap) {\n      this._opcode = void 0;\n      this.constants = constants;\n      this.heap = heap;\n      this._opcode = new RuntimeOpImpl(this.heap);\n    }\n    opcode(offset) {\n      this._opcode.offset = offset;\n      return this._opcode;\n    }\n  }\n  _exports.RuntimeProgramImpl = RuntimeProgramImpl;\n  function slice(arr, start, end) {\n    if (arr.slice !== undefined) {\n      return arr.slice(start, end);\n    }\n    let ret = new Int32Array(end);\n    for (; start < end; start++) {\n      ret[start] = (0, _util.unwrap)(arr[start]);\n    }\n    return ret;\n  }\n  function sizeof(table, handle) {\n    {\n      return -1;\n    }\n  }\n  function artifacts() {\n    return {\n      constants: new ConstantsImpl(),\n      heap: new HeapImpl()\n    };\n  }\n});","define(\"@glimmer/reference\", [\"exports\", \"@glimmer/global-context\", \"@glimmer/util\", \"@glimmer/validator\"], function (_exports, _globalContext, _util, _validator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.UNDEFINED_REFERENCE = _exports.TRUE_REFERENCE = _exports.REFERENCE = _exports.NULL_REFERENCE = _exports.FALSE_REFERENCE = void 0;\n  _exports.childRefFor = childRefFor;\n  _exports.childRefFromParts = childRefFromParts;\n  _exports.createComputeRef = createComputeRef;\n  _exports.createConstRef = createConstRef;\n  _exports.createDebugAliasRef = void 0;\n  _exports.createInvokableRef = createInvokableRef;\n  _exports.createIteratorItemRef = createIteratorItemRef;\n  _exports.createIteratorRef = createIteratorRef;\n  _exports.createPrimitiveRef = createPrimitiveRef;\n  _exports.createReadOnlyRef = createReadOnlyRef;\n  _exports.createUnboundRef = createUnboundRef;\n  _exports.isConstRef = isConstRef;\n  _exports.isInvokableRef = isInvokableRef;\n  _exports.isUpdatableRef = isUpdatableRef;\n  _exports.updateRef = updateRef;\n  _exports.valueForRef = valueForRef;\n  const REFERENCE = _exports.REFERENCE = Symbol('REFERENCE');\n  const CONSTANT = 0;\n  const COMPUTE = 1;\n  const UNBOUND = 2;\n  const INVOKABLE = 3;\n\n  //////////\n\n  class ReferenceImpl {\n    constructor(type) {\n      this[REFERENCE] = void 0;\n      this.tag = null;\n      this.lastRevision = _validator.INITIAL;\n      this.lastValue = void 0;\n      this.children = null;\n      this.compute = null;\n      this.update = null;\n      this.debugLabel = void 0;\n      this[REFERENCE] = type;\n    }\n  }\n  function createPrimitiveRef(value) {\n    const ref = new ReferenceImpl(UNBOUND);\n    ref.tag = _validator.CONSTANT_TAG;\n    ref.lastValue = value;\n    if (true /* DEBUG */) {\n      ref.debugLabel = String(value);\n    }\n    return ref;\n  }\n  const UNDEFINED_REFERENCE = _exports.UNDEFINED_REFERENCE = createPrimitiveRef(undefined);\n  const NULL_REFERENCE = _exports.NULL_REFERENCE = createPrimitiveRef(null);\n  const TRUE_REFERENCE = _exports.TRUE_REFERENCE = createPrimitiveRef(true);\n  const FALSE_REFERENCE = _exports.FALSE_REFERENCE = createPrimitiveRef(false);\n  function createConstRef(value, debugLabel) {\n    const ref = new ReferenceImpl(CONSTANT);\n    ref.lastValue = value;\n    ref.tag = _validator.CONSTANT_TAG;\n    if (true /* DEBUG */) {\n      ref.debugLabel = debugLabel;\n    }\n    return ref;\n  }\n  function createUnboundRef(value, debugLabel) {\n    const ref = new ReferenceImpl(UNBOUND);\n    ref.lastValue = value;\n    ref.tag = _validator.CONSTANT_TAG;\n    if (true /* DEBUG */) {\n      ref.debugLabel = debugLabel;\n    }\n    return ref;\n  }\n  function createComputeRef(compute, update = null, debugLabel = 'unknown') {\n    const ref = new ReferenceImpl(COMPUTE);\n    ref.compute = compute;\n    ref.update = update;\n    if (true /* DEBUG */) {\n      ref.debugLabel = `(result of a \\`${debugLabel}\\` helper)`;\n    }\n    return ref;\n  }\n  function createReadOnlyRef(ref) {\n    if (!isUpdatableRef(ref)) return ref;\n    return createComputeRef(() => valueForRef(ref), null, ref.debugLabel);\n  }\n  function isInvokableRef(ref) {\n    return ref[REFERENCE] === INVOKABLE;\n  }\n  function createInvokableRef(inner) {\n    const ref = createComputeRef(() => valueForRef(inner), value => updateRef(inner, value));\n    ref.debugLabel = inner.debugLabel;\n    ref[REFERENCE] = INVOKABLE;\n    return ref;\n  }\n  function isConstRef(_ref) {\n    const ref = _ref;\n    return ref.tag === _validator.CONSTANT_TAG;\n  }\n  function isUpdatableRef(_ref) {\n    const ref = _ref;\n    return ref.update !== null;\n  }\n  function valueForRef(_ref) {\n    const ref = _ref;\n    let {\n      tag\n    } = ref;\n    if (tag === _validator.CONSTANT_TAG) {\n      return ref.lastValue;\n    }\n    const {\n      lastRevision\n    } = ref;\n    let lastValue;\n    if (tag === null || !(0, _validator.validateTag)(tag, lastRevision)) {\n      const {\n        compute\n      } = ref;\n      const newTag = (0, _validator.track)(() => {\n        lastValue = ref.lastValue = compute();\n      }, true /* DEBUG */ && ref.debugLabel);\n      tag = ref.tag = newTag;\n      ref.lastRevision = (0, _validator.valueForTag)(newTag);\n    } else {\n      lastValue = ref.lastValue;\n    }\n    (0, _validator.consumeTag)(tag);\n    return lastValue;\n  }\n  function updateRef(_ref, value) {\n    const ref = _ref;\n    const update = (0, _util.expect)(ref.update, 'called update on a non-updatable reference');\n    update(value);\n  }\n  function childRefFor(_parentRef, path) {\n    const parentRef = _parentRef;\n    const type = parentRef[REFERENCE];\n    let children = parentRef.children;\n    let child;\n    if (children === null) {\n      children = parentRef.children = new Map();\n    } else {\n      child = children.get(path);\n      if (child !== undefined) {\n        return child;\n      }\n    }\n    if (type === UNBOUND) {\n      const parent = valueForRef(parentRef);\n      if ((0, _util.isDict)(parent)) {\n        child = createUnboundRef(parent[path], true /* DEBUG */ && `${parentRef.debugLabel}.${path}`);\n      } else {\n        child = UNDEFINED_REFERENCE;\n      }\n    } else {\n      child = createComputeRef(() => {\n        const parent = valueForRef(parentRef);\n        if ((0, _util.isDict)(parent)) {\n          return (0, _globalContext.getProp)(parent, path);\n        }\n      }, val => {\n        const parent = valueForRef(parentRef);\n        if ((0, _util.isDict)(parent)) {\n          return (0, _globalContext.setProp)(parent, path, val);\n        }\n      });\n      if (true /* DEBUG */) {\n        child.debugLabel = `${parentRef.debugLabel}.${path}`;\n      }\n    }\n    children.set(path, child);\n    return child;\n  }\n  function childRefFromParts(root, parts) {\n    let reference = root;\n    for (const part of parts) {\n      reference = childRefFor(reference, part);\n    }\n    return reference;\n  }\n  let createDebugAliasRef = _exports.createDebugAliasRef = void 0;\n  if (true /* DEBUG */) {\n    _exports.createDebugAliasRef = createDebugAliasRef = (debugLabel, inner) => {\n      const update = isUpdatableRef(inner) ? value => updateRef(inner, value) : null;\n      const ref = createComputeRef(() => valueForRef(inner), update);\n      ref[REFERENCE] = inner[REFERENCE];\n      ref.debugLabel = debugLabel;\n      return ref;\n    };\n  }\n  const NULL_IDENTITY = {};\n  const KEY = (_, index) => index;\n  const INDEX = (_, index) => String(index);\n  const IDENTITY = item => {\n    if (item === null) {\n      // Returning null as an identity will cause failures since the iterator\n      // can't tell that it's actually supposed to be null\n      return NULL_IDENTITY;\n    }\n    return item;\n  };\n  function keyForPath(path) {\n    if (true /* DEBUG */ && path[0] === '@') {\n      throw new Error(`invalid keypath: '${path}', valid keys: @index, @identity, or a path`);\n    }\n    return uniqueKeyFor(item => (0, _globalContext.getPath)(item, path));\n  }\n  function makeKeyFor(key) {\n    switch (key) {\n      case '@key':\n        return uniqueKeyFor(KEY);\n      case '@index':\n        return uniqueKeyFor(INDEX);\n      case '@identity':\n        return uniqueKeyFor(IDENTITY);\n      default:\n        return keyForPath(key);\n    }\n  }\n  class WeakMapWithPrimitives {\n    constructor() {\n      this._weakMap = void 0;\n      this._primitiveMap = void 0;\n    }\n    get weakMap() {\n      if (this._weakMap === undefined) {\n        this._weakMap = new WeakMap();\n      }\n      return this._weakMap;\n    }\n    get primitiveMap() {\n      if (this._primitiveMap === undefined) {\n        this._primitiveMap = new Map();\n      }\n      return this._primitiveMap;\n    }\n    set(key, value) {\n      if ((0, _util.isObject)(key)) {\n        this.weakMap.set(key, value);\n      } else {\n        this.primitiveMap.set(key, value);\n      }\n    }\n    get(key) {\n      if ((0, _util.isObject)(key)) {\n        return this.weakMap.get(key);\n      } else {\n        return this.primitiveMap.get(key);\n      }\n    }\n  }\n  const IDENTITIES = new WeakMapWithPrimitives();\n  function identityForNthOccurence(value, count) {\n    let identities = IDENTITIES.get(value);\n    if (identities === undefined) {\n      identities = [];\n      IDENTITIES.set(value, identities);\n    }\n    let identity = identities[count];\n    if (identity === undefined) {\n      identity = {\n        value,\n        count\n      };\n      identities[count] = identity;\n    }\n    return identity;\n  }\n\n  /**\n   * When iterating over a list, it's possible that an item with the same unique\n   * key could be encountered twice:\n   *\n   * ```js\n   * let arr = ['same', 'different', 'same', 'same'];\n   * ```\n   *\n   * In general, we want to treat these items as _unique within the list_. To do\n   * this, we track the occurences of every item as we iterate the list, and when\n   * an item occurs more than once, we generate a new unique key just for that\n   * item, and that occurence within the list. The next time we iterate the list,\n   * and encounter an item for the nth time, we can get the _same_ key, and let\n   * Glimmer know that it should reuse the DOM for the previous nth occurence.\n   */\n  function uniqueKeyFor(keyFor) {\n    let seen = new WeakMapWithPrimitives();\n    return (value, memo) => {\n      let key = keyFor(value, memo);\n      let count = seen.get(key) || 0;\n      seen.set(key, count + 1);\n      if (count === 0) {\n        return key;\n      }\n      return identityForNthOccurence(key, count);\n    };\n  }\n  function createIteratorRef(listRef, key) {\n    return createComputeRef(() => {\n      let iterable = valueForRef(listRef);\n      let keyFor = makeKeyFor(key);\n      if (Array.isArray(iterable)) {\n        return new ArrayIterator(iterable, keyFor);\n      }\n      let maybeIterator = (0, _globalContext.toIterator)(iterable);\n      if (maybeIterator === null) {\n        return new ArrayIterator(_util.EMPTY_ARRAY, () => null);\n      }\n      return new IteratorWrapper(maybeIterator, keyFor);\n    });\n  }\n  function createIteratorItemRef(_value) {\n    let value = _value;\n    let tag = (0, _validator.createTag)();\n    return createComputeRef(() => {\n      (0, _validator.consumeTag)(tag);\n      return value;\n    }, newValue => {\n      if (value !== newValue) {\n        value = newValue;\n        (0, _validator.dirtyTag)(tag);\n      }\n    });\n  }\n  class IteratorWrapper {\n    constructor(inner, keyFor) {\n      this.inner = inner;\n      this.keyFor = keyFor;\n    }\n    isEmpty() {\n      return this.inner.isEmpty();\n    }\n    next() {\n      let nextValue = this.inner.next();\n      if (nextValue !== null) {\n        nextValue.key = this.keyFor(nextValue.value, nextValue.memo);\n      }\n      return nextValue;\n    }\n  }\n  class ArrayIterator {\n    constructor(iterator, keyFor) {\n      this.current = void 0;\n      this.pos = 0;\n      this.iterator = iterator;\n      this.keyFor = keyFor;\n      if (iterator.length === 0) {\n        this.current = {\n          kind: 'empty'\n        };\n      } else {\n        this.current = {\n          kind: 'first',\n          value: iterator[this.pos]\n        };\n      }\n    }\n    isEmpty() {\n      return this.current.kind === 'empty';\n    }\n    next() {\n      let value;\n      let current = this.current;\n      if (current.kind === 'first') {\n        this.current = {\n          kind: 'progress'\n        };\n        value = current.value;\n      } else if (this.pos >= this.iterator.length - 1) {\n        return null;\n      } else {\n        value = this.iterator[++this.pos];\n      }\n      let {\n        keyFor\n      } = this;\n      let key = keyFor(value, this.pos);\n      let memo = this.pos;\n      return {\n        key,\n        value,\n        memo\n      };\n    }\n  }\n});","define(\"@glimmer/runtime\", [\"exports\", \"@glimmer/debug\", \"@glimmer/reference\", \"@glimmer/util\", \"@glimmer/vm\", \"@glimmer/destroyable\", \"@glimmer/global-context\", \"@glimmer/manager\", \"@glimmer/validator\", \"@glimmer/program\", \"@glimmer/owner\"], function (_exports, _debug, _reference, _util, _vm2, _destroyable, _globalContext, _manager, _validator, _program, _owner2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.array = _exports.UpdatingVM = _exports.UpdatableBlockImpl = _exports.TemplateOnlyComponentManager = _exports.TemplateOnlyComponent = _exports.TEMPLATE_ONLY_COMPONENT_MANAGER = _exports.SimpleDynamicAttribute = _exports.SERIALIZATION_FIRST_NODE_STRING = _exports.RemoteLiveBlock = _exports.RehydrateBuilder = _exports.PartialScopeImpl = _exports.NewElementBuilder = _exports.LowLevelVM = _exports.IDOMChanges = _exports.EnvironmentImpl = _exports.EMPTY_POSITIONAL = _exports.EMPTY_NAMED = _exports.EMPTY_ARGS = _exports.DynamicScopeImpl = _exports.DynamicAttribute = _exports.DOMTreeConstruction = _exports.DOMChanges = _exports.CursorImpl = _exports.CurriedValue = _exports.ConcreteBounds = void 0;\n  _exports.clear = clear;\n  _exports.clientBuilder = clientBuilder;\n  _exports.concat = void 0;\n  _exports.createCapturedArgs = createCapturedArgs;\n  _exports.curry = curry;\n  Object.defineProperty(_exports, \"destroy\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.destroy;\n    }\n  });\n  _exports.dynamicAttribute = dynamicAttribute;\n  _exports.hash = _exports.get = _exports.fn = void 0;\n  _exports.inTransaction = inTransaction;\n  _exports.invokeHelper = invokeHelper;\n  Object.defineProperty(_exports, \"isDestroyed\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.isDestroyed;\n    }\n  });\n  Object.defineProperty(_exports, \"isDestroying\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.isDestroying;\n    }\n  });\n  _exports.isSerializationFirstNode = isSerializationFirstNode;\n  _exports.isWhitespace = isWhitespace;\n  _exports.normalizeProperty = normalizeProperty;\n  _exports.on = void 0;\n  Object.defineProperty(_exports, \"registerDestructor\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.registerDestructor;\n    }\n  });\n  _exports.rehydrationBuilder = rehydrationBuilder;\n  _exports.reifyArgs = reifyArgs;\n  _exports.reifyNamed = reifyNamed;\n  _exports.reifyPositional = reifyPositional;\n  _exports.renderComponent = renderComponent;\n  _exports.renderMain = renderMain;\n  _exports.renderSync = renderSync;\n  _exports.resetDebuggerCallback = resetDebuggerCallback;\n  _exports.runtimeContext = runtimeContext;\n  _exports.setDebuggerCallback = setDebuggerCallback;\n  _exports.templateOnlyComponent = templateOnlyComponent;\n  class DynamicScopeImpl {\n    constructor(bucket) {\n      this.bucket = void 0;\n      if (bucket) {\n        this.bucket = (0, _util.assign)({}, bucket);\n      } else {\n        this.bucket = {};\n      }\n    }\n    get(key) {\n      return (0, _util.unwrap)(this.bucket[key]);\n    }\n    set(key, reference) {\n      return this.bucket[key] = reference;\n    }\n    child() {\n      return new DynamicScopeImpl(this.bucket);\n    }\n  }\n  _exports.DynamicScopeImpl = DynamicScopeImpl;\n  class PartialScopeImpl {\n    static root(self, size = 0, owner) {\n      let refs = new Array(size + 1).fill(_reference.UNDEFINED_REFERENCE);\n      return new PartialScopeImpl(refs, owner, null, null, null).init({\n        self\n      });\n    }\n    static sized(size = 0, owner) {\n      let refs = new Array(size + 1).fill(_reference.UNDEFINED_REFERENCE);\n      return new PartialScopeImpl(refs, owner, null, null, null);\n    }\n    constructor(\n    // the 0th slot is `self`\n    slots, owner, callerScope,\n    // named arguments and blocks passed to a layout that uses eval\n    evalScope,\n    // locals in scope when the partial was invoked\n    partialMap) {\n      this.slots = slots;\n      this.owner = owner;\n      this.callerScope = callerScope;\n      this.evalScope = evalScope;\n      this.partialMap = partialMap;\n    }\n    init({\n      self\n    }) {\n      this.slots[0] = self;\n      return this;\n    }\n    getSelf() {\n      return this.get(0);\n    }\n    getSymbol(symbol) {\n      return this.get(symbol);\n    }\n    getBlock(symbol) {\n      let block = this.get(symbol);\n      return block === _reference.UNDEFINED_REFERENCE ? null : block;\n    }\n    getEvalScope() {\n      return this.evalScope;\n    }\n    getPartialMap() {\n      return this.partialMap;\n    }\n    bind(symbol, value) {\n      this.set(symbol, value);\n    }\n    bindSelf(self) {\n      this.set(0, self);\n    }\n    bindSymbol(symbol, value) {\n      this.set(symbol, value);\n    }\n    bindBlock(symbol, value) {\n      this.set(symbol, value);\n    }\n    bindEvalScope(map) {\n      this.evalScope = map;\n    }\n    bindPartialMap(map) {\n      this.partialMap = map;\n    }\n    bindCallerScope(scope) {\n      this.callerScope = scope;\n    }\n    getCallerScope() {\n      return this.callerScope;\n    }\n    child() {\n      return new PartialScopeImpl(this.slots.slice(), this.owner, this.callerScope, this.evalScope, this.partialMap);\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      return this.slots[index];\n    }\n    set(index, value) {\n      if (index >= this.slots.length) {\n        throw new RangeError(`BUG: cannot get $${index} from scope; length=${this.slots.length}`);\n      }\n      this.slots[index] = value;\n    }\n  }\n\n  // These symbols represent \"friend\" properties that are used inside of\n  // the VM in other classes, but are not intended to be a part of\n  // Glimmer's API.\n  _exports.PartialScopeImpl = PartialScopeImpl;\n  const INNER_VM = Symbol('INNER_VM');\n  const DESTROYABLE_STACK = Symbol('DESTROYABLE_STACK');\n  const STACKS = Symbol('STACKS');\n  const REGISTERS = Symbol('REGISTERS');\n  const HEAP = Symbol('HEAP');\n  const CONSTANTS = Symbol('CONSTANTS');\n  const ARGS$1 = Symbol('ARGS');\n  class CursorImpl {\n    constructor(element, nextSibling) {\n      this.element = element;\n      this.nextSibling = nextSibling;\n    }\n  }\n  _exports.CursorImpl = CursorImpl;\n  class ConcreteBounds {\n    constructor(parentNode, first, last) {\n      this.parentNode = parentNode;\n      this.first = first;\n      this.last = last;\n    }\n    parentElement() {\n      return this.parentNode;\n    }\n    firstNode() {\n      return this.first;\n    }\n    lastNode() {\n      return this.last;\n    }\n  }\n  _exports.ConcreteBounds = ConcreteBounds;\n  function move(bounds, reference) {\n    let parent = bounds.parentElement();\n    let first = bounds.firstNode();\n    let last = bounds.lastNode();\n    let current = first;\n\n    // eslint-disable-next-line no-constant-condition\n    while (true) {\n      let next = current.nextSibling;\n      parent.insertBefore(current, reference);\n      if (current === last) {\n        return next;\n      }\n      current = (0, _util.expect)(next, 'invalid bounds');\n    }\n  }\n  function clear(bounds) {\n    let parent = bounds.parentElement();\n    let first = bounds.firstNode();\n    let last = bounds.lastNode();\n    let current = first;\n\n    // eslint-disable-next-line no-constant-condition\n    while (true) {\n      let next = current.nextSibling;\n      parent.removeChild(current);\n      if (current === last) {\n        return next;\n      }\n      current = (0, _util.expect)(next, 'invalid bounds');\n    }\n  }\n  function normalizeStringValue(value) {\n    if (isEmpty$2(value)) {\n      return '';\n    }\n    return String(value);\n  }\n  function shouldCoerce(value) {\n    return isString(value) || isEmpty$2(value) || typeof value === 'boolean' || typeof value === 'number';\n  }\n  function isEmpty$2(value) {\n    return value === null || value === undefined || typeof value.toString !== 'function';\n  }\n  function isSafeString(value) {\n    return typeof value === 'object' && value !== null && typeof value.toHTML === 'function';\n  }\n  function isNode(value) {\n    return typeof value === 'object' && value !== null && typeof value.nodeType === 'number';\n  }\n  function isFragment(value) {\n    return isNode(value) && value.nodeType === 11;\n  }\n  function isString(value) {\n    return typeof value === 'string';\n  }\n\n  /*\n   * @method normalizeProperty\n   * @param element {HTMLElement}\n   * @param slotName {String}\n   * @returns {Object} { name, type }\n   */\n  function normalizeProperty(element, slotName) {\n    let type, normalized;\n    if (slotName in element) {\n      normalized = slotName;\n      type = 'prop';\n    } else {\n      let lower = slotName.toLowerCase();\n      if (lower in element) {\n        type = 'prop';\n        normalized = lower;\n      } else {\n        type = 'attr';\n        normalized = slotName;\n      }\n    }\n    if (type === 'prop' && (normalized.toLowerCase() === 'style' || preferAttr(element.tagName, normalized))) {\n      type = 'attr';\n    }\n    return {\n      normalized,\n      type\n    };\n  }\n\n  // properties that MUST be set as attributes, due to:\n  // * browser bug\n  // * strange spec outlier\n  const 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    OUTPUT: {\n      form: true\n    },\n    BUTTON: {\n      form: true\n    }\n  };\n  function preferAttr(tagName, propName) {\n    let tag = ATTR_OVERRIDES[tagName.toUpperCase()];\n    return tag && tag[propName.toLowerCase()] || false;\n  }\n  const badProtocols = ['javascript:', 'vbscript:'];\n  const badTags = ['A', 'BODY', 'LINK', 'IMG', 'IFRAME', 'BASE', 'FORM'];\n  const badTagsForDataURI = ['EMBED'];\n  const badAttributes = ['href', 'src', 'background', 'action'];\n  const badAttributesForDataURI = ['src'];\n  function has(array, item) {\n    return array.indexOf(item) !== -1;\n  }\n  function checkURI(tagName, attribute) {\n    return (tagName === null || has(badTags, tagName)) && has(badAttributes, attribute);\n  }\n  function checkDataURI(tagName, attribute) {\n    if (tagName === null) return false;\n    return has(badTagsForDataURI, tagName) && has(badAttributesForDataURI, attribute);\n  }\n  function requiresSanitization(tagName, attribute) {\n    return checkURI(tagName, attribute) || checkDataURI(tagName, attribute);\n  }\n  function findProtocolForURL() {\n    if (typeof URL === 'object' && URL !== null &&\n    // this is super annoying, TS thinks that URL **must** be a function so `URL.parse` check\n    // thinks it is `never` without this `as unknown as any`\n    typeof URL.parse === 'function') {\n      // In Ember-land the `fastboot` package sets the `URL` global to `require('url')`\n      // ultimately, this should be changed (so that we can either rely on the natural `URL` global\n      // that exists) but for now we have to detect the specific `FastBoot` case first\n      //\n      // a future version of `fastboot` will detect if this legacy URL setup is required (by\n      // inspecting Ember version) and if new enough, it will avoid shadowing the `URL` global\n      // constructor with `require('url')`.\n      let nodeURL = URL;\n      return url => {\n        let protocol = null;\n        if (typeof url === 'string') {\n          protocol = nodeURL.parse(url).protocol;\n        }\n        return protocol === null ? ':' : protocol;\n      };\n    } else if (typeof URL === 'function') {\n      return _url => {\n        try {\n          let url = new URL(_url);\n          return url.protocol;\n        } catch (error) {\n          // any non-fully qualified url string will trigger an error (because there is no\n          // baseURI that we can provide; in that case we **know** that the protocol is\n          // \"safe\" because it isn't specifically one of the `badProtocols` listed above\n          // (and those protocols can never be the default baseURI)\n          return ':';\n        }\n      };\n    } else {\n      throw new Error(`@glimmer/runtime needs a valid \"globalThis.URL\"`);\n    }\n  }\n  let _protocolForUrlImplementation;\n  function protocolForUrl(url) {\n    if (!_protocolForUrlImplementation) {\n      _protocolForUrlImplementation = findProtocolForURL();\n    }\n    return _protocolForUrlImplementation(url);\n  }\n  function sanitizeAttributeValue(element, attribute, value) {\n    let tagName = null;\n    if (value === null || value === undefined) {\n      return value;\n    }\n    if (isSafeString(value)) {\n      return value.toHTML();\n    }\n    if (!element) {\n      tagName = null;\n    } else {\n      tagName = element.tagName.toUpperCase();\n    }\n    let str = normalizeStringValue(value);\n    if (checkURI(tagName, attribute)) {\n      let protocol = protocolForUrl(str);\n      if (has(badProtocols, protocol)) {\n        return `unsafe:${str}`;\n      }\n    }\n    if (checkDataURI(tagName, attribute)) {\n      return `unsafe:${str}`;\n    }\n    return str;\n  }\n  function dynamicAttribute(element, attr, namespace, isTrusting = false) {\n    const {\n      tagName,\n      namespaceURI\n    } = element;\n    const attribute = {\n      element,\n      name: attr,\n      namespace\n    };\n    if (true /* DEBUG */ && attr === 'style' && !isTrusting) {\n      return new DebugStyleAttributeManager(attribute);\n    }\n    if (namespaceURI === _util.NS_SVG) {\n      return buildDynamicAttribute(tagName, attr, attribute);\n    }\n    const {\n      type,\n      normalized\n    } = normalizeProperty(element, attr);\n    if (type === 'attr') {\n      return buildDynamicAttribute(tagName, normalized, attribute);\n    } else {\n      return buildDynamicProperty(tagName, normalized, attribute);\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  function buildDynamicProperty(tagName, name, attribute) {\n    if (requiresSanitization(tagName, name)) {\n      return new SafeDynamicProperty(name, attribute);\n    }\n    if (isUserInputValue(tagName, name)) {\n      return new InputValueDynamicAttribute(name, attribute);\n    }\n    if (isOptionSelected(tagName, name)) {\n      return new OptionSelectedDynamicAttribute(name, attribute);\n    }\n    return new DefaultDynamicProperty(name, attribute);\n  }\n  class DynamicAttribute {\n    constructor(attribute) {\n      this.attribute = attribute;\n    }\n  }\n  _exports.DynamicAttribute = DynamicAttribute;\n  class SimpleDynamicAttribute extends DynamicAttribute {\n    set(dom, value, _env) {\n      const normalizedValue = normalizeValue(value);\n      if (normalizedValue !== null) {\n        const {\n          name,\n          namespace\n        } = this.attribute;\n        dom.__setAttribute(name, normalizedValue, namespace);\n      }\n    }\n    update(value, _env) {\n      const normalizedValue = normalizeValue(value);\n      const {\n        element,\n        name\n      } = this.attribute;\n      if (normalizedValue === null) {\n        element.removeAttribute(name);\n      } else {\n        element.setAttribute(name, normalizedValue);\n      }\n    }\n  }\n  _exports.SimpleDynamicAttribute = SimpleDynamicAttribute;\n  class DefaultDynamicProperty extends DynamicAttribute {\n    constructor(normalizedName, attribute) {\n      super(attribute);\n      this.value = void 0;\n      this.normalizedName = normalizedName;\n    }\n    set(dom, value, _env) {\n      if (value !== null && value !== undefined) {\n        this.value = value;\n        dom.__setProperty(this.normalizedName, value);\n      }\n    }\n    update(value, _env) {\n      const {\n        element\n      } = this.attribute;\n      if (this.value !== value) {\n        element[this.normalizedName] = this.value = value;\n        if (value === null || value === undefined) {\n          this.removeAttribute();\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      const {\n        element,\n        namespace\n      } = this.attribute;\n      if (namespace) {\n        element.removeAttributeNS(namespace, this.normalizedName);\n      } else {\n        element.removeAttribute(this.normalizedName);\n      }\n    }\n  }\n  class SafeDynamicProperty extends DefaultDynamicProperty {\n    set(dom, value, env) {\n      const {\n        element,\n        name\n      } = this.attribute;\n      const sanitized = sanitizeAttributeValue(element, name, value);\n      super.set(dom, sanitized, env);\n    }\n    update(value, env) {\n      const {\n        element,\n        name\n      } = this.attribute;\n      const sanitized = sanitizeAttributeValue(element, name, value);\n      super.update(sanitized, env);\n    }\n  }\n  class SafeDynamicAttribute extends SimpleDynamicAttribute {\n    set(dom, value, env) {\n      const {\n        element,\n        name\n      } = this.attribute;\n      const sanitized = sanitizeAttributeValue(element, name, value);\n      super.set(dom, sanitized, env);\n    }\n    update(value, env) {\n      const {\n        element,\n        name\n      } = this.attribute;\n      const sanitized = sanitizeAttributeValue(element, name, value);\n      super.update(sanitized, env);\n    }\n  }\n  class InputValueDynamicAttribute extends DefaultDynamicProperty {\n    set(dom, value) {\n      dom.__setProperty('value', normalizeStringValue(value));\n    }\n    update(value) {\n      const input = (0, _util.castToBrowser)(this.attribute.element, ['input', 'textarea']);\n      const currentValue = input.value;\n      const normalizedValue = normalizeStringValue(value);\n      if (currentValue !== normalizedValue) {\n        input.value = normalizedValue;\n      }\n    }\n  }\n  class OptionSelectedDynamicAttribute extends DefaultDynamicProperty {\n    set(dom, value) {\n      if (value !== null && value !== undefined && value !== false) {\n        dom.__setProperty('selected', true);\n      }\n    }\n    update(value) {\n      const option = (0, _util.castToBrowser)(this.attribute.element, 'option');\n      if (value) {\n        option.selected = true;\n      } else {\n        option.selected = false;\n      }\n    }\n  }\n  function isOptionSelected(tagName, attribute) {\n    return tagName === 'OPTION' && attribute === 'selected';\n  }\n  function isUserInputValue(tagName, attribute) {\n    return (tagName === 'INPUT' || tagName === 'TEXTAREA') && attribute === 'value';\n  }\n  function normalizeValue(value) {\n    if (value === false || value === undefined || value === null || typeof value.toString === 'undefined') {\n      return null;\n    }\n    if (value === true) {\n      return '';\n    }\n    // onclick function etc in SSR\n    if (typeof value === 'function') {\n      return null;\n    }\n    return String(value);\n  }\n  let DebugStyleAttributeManager;\n  if (true /* DEBUG */) {\n    DebugStyleAttributeManager = class extends SimpleDynamicAttribute {\n      set(dom, value, env) {\n        (0, _globalContext.warnIfStyleNotTrusted)(value);\n        super.set(dom, value, env);\n      }\n      update(value, env) {\n        (0, _globalContext.warnIfStyleNotTrusted)(value);\n        super.update(value, env);\n      }\n    };\n  }\n  class First {\n    constructor(node) {\n      this.node = node;\n    }\n    firstNode() {\n      return this.node;\n    }\n  }\n  class Last {\n    constructor(node) {\n      this.node = node;\n    }\n    lastNode() {\n      return this.node;\n    }\n  }\n  const CURSOR_STACK = Symbol('CURSOR_STACK');\n  class NewElementBuilder {\n    static forInitialRender(env, cursor) {\n      return new this(env, cursor.element, cursor.nextSibling).initialize();\n    }\n    static resume(env, block) {\n      let parentNode = block.parentElement();\n      let nextSibling = block.reset(env);\n      let stack = new this(env, parentNode, nextSibling).initialize();\n      stack.pushLiveBlock(block);\n      return stack;\n    }\n    constructor(env, parentNode, nextSibling) {\n      this.dom = void 0;\n      this.updateOperations = void 0;\n      this.constructing = null;\n      this.operations = null;\n      this.env = void 0;\n      this[CURSOR_STACK] = 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    initialize() {\n      this.pushSimpleBlock();\n      return this;\n    }\n    debugBlocks() {\n      return this.blockStack.toArray();\n    }\n    get element() {\n      return this[CURSOR_STACK].current.element;\n    }\n    get nextSibling() {\n      return this[CURSOR_STACK].current.nextSibling;\n    }\n    get hasBlocks() {\n      return this.blockStack.size > 0;\n    }\n    block() {\n      return (0, _util.expect)(this.blockStack.current, 'Expected a current live block');\n    }\n    popElement() {\n      this[CURSOR_STACK].pop();\n      (0, _util.expect)(this[CURSOR_STACK].current, \"can't pop past the last element\");\n    }\n    pushSimpleBlock() {\n      return this.pushLiveBlock(new SimpleLiveBlock(this.element));\n    }\n    pushUpdatableBlock() {\n      return this.pushLiveBlock(new UpdatableBlockImpl(this.element));\n    }\n    pushBlockList(list) {\n      return this.pushLiveBlock(new LiveBlockList(this.element, list));\n    }\n    pushLiveBlock(block, isRemote = false) {\n      let current = this.blockStack.current;\n      if (current !== null) {\n        if (!isRemote) {\n          current.didAppendBounds(block);\n        }\n      }\n      this.__openBlock();\n      this.blockStack.push(block);\n      return block;\n    }\n    popBlock() {\n      this.block().finalize(this);\n      this.__closeBlock();\n      return (0, _util.expect)(this.blockStack.pop(), 'Expected popBlock to return a block');\n    }\n    __openBlock() {}\n    __closeBlock() {}\n\n    // todo return seems unused\n    openElement(tag) {\n      let element = this.__openElement(tag);\n      this.constructing = element;\n      return element;\n    }\n    __openElement(tag) {\n      return this.dom.createElement(tag, this.element);\n    }\n    flushElement(modifiers) {\n      let parent = this.element;\n      let element = (0, _util.expect)(this.constructing, `flushElement should only be called when constructing an element`);\n      this.__flushElement(parent, element);\n      this.constructing = null;\n      this.operations = null;\n      this.pushModifiers(modifiers);\n      this.pushElement(element, null);\n      this.didOpenElement(element);\n    }\n    __flushElement(parent, constructing) {\n      this.dom.insertBefore(parent, constructing, this.nextSibling);\n    }\n    closeElement() {\n      this.willCloseElement();\n      this.popElement();\n      return this.popModifiers();\n    }\n    pushRemoteElement(element, guid, insertBefore) {\n      return this.__pushRemoteElement(element, guid, insertBefore);\n    }\n    __pushRemoteElement(element, _guid, insertBefore) {\n      this.pushElement(element, insertBefore);\n      if (insertBefore === undefined) {\n        while (element.lastChild) {\n          element.removeChild(element.lastChild);\n        }\n      }\n      let block = new RemoteLiveBlock(element);\n      return this.pushLiveBlock(block, true);\n    }\n    popRemoteElement() {\n      this.popBlock();\n      this.popElement();\n    }\n    pushElement(element, nextSibling = null) {\n      this[CURSOR_STACK].push(new CursorImpl(element, nextSibling));\n    }\n    pushModifiers(modifiers) {\n      this.modifierStack.push(modifiers);\n    }\n    popModifiers() {\n      return this.modifierStack.pop();\n    }\n    didAppendBounds(bounds) {\n      this.block().didAppendBounds(bounds);\n      return bounds;\n    }\n    didAppendNode(node) {\n      this.block().didAppendNode(node);\n      return node;\n    }\n    didOpenElement(element) {\n      this.block().openElement(element);\n      return element;\n    }\n    willCloseElement() {\n      this.block().closeElement();\n    }\n    appendText(string) {\n      return this.didAppendNode(this.__appendText(string));\n    }\n    __appendText(text) {\n      let {\n        dom,\n        element,\n        nextSibling\n      } = this;\n      let node = dom.createTextNode(text);\n      dom.insertBefore(element, node, nextSibling);\n      return node;\n    }\n    __appendNode(node) {\n      this.dom.insertBefore(this.element, node, this.nextSibling);\n      return node;\n    }\n    __appendFragment(fragment) {\n      let first = fragment.firstChild;\n      if (first) {\n        let ret = new ConcreteBounds(this.element, first, fragment.lastChild);\n        this.dom.insertBefore(this.element, fragment, this.nextSibling);\n        return ret;\n      } else {\n        const comment = this.__appendComment('');\n        return new ConcreteBounds(this.element, comment, comment);\n      }\n    }\n    __appendHTML(html) {\n      return this.dom.insertHTMLBefore(this.element, this.nextSibling, html);\n    }\n    appendDynamicHTML(value) {\n      let bounds = this.trustedContent(value);\n      this.didAppendBounds(bounds);\n    }\n    appendDynamicText(value) {\n      let node = this.untrustedContent(value);\n      this.didAppendNode(node);\n      return node;\n    }\n    appendDynamicFragment(value) {\n      let bounds = this.__appendFragment(value);\n      this.didAppendBounds(bounds);\n    }\n    appendDynamicNode(value) {\n      let node = this.__appendNode(value);\n      let bounds = new ConcreteBounds(this.element, node, node);\n      this.didAppendBounds(bounds);\n    }\n    trustedContent(value) {\n      return this.__appendHTML(value);\n    }\n    untrustedContent(value) {\n      return this.__appendText(value);\n    }\n    appendComment(string) {\n      return this.didAppendNode(this.__appendComment(string));\n    }\n    __appendComment(string) {\n      let {\n        dom,\n        element,\n        nextSibling\n      } = this;\n      let node = dom.createComment(string);\n      dom.insertBefore(element, node, nextSibling);\n      return node;\n    }\n    __setAttribute(name, value, namespace) {\n      this.dom.setAttribute(this.constructing, name, value, namespace);\n    }\n    __setProperty(name, value) {\n      this.constructing[name] = value;\n    }\n    setStaticAttribute(name, value, namespace) {\n      this.__setAttribute(name, value, namespace);\n    }\n    setDynamicAttribute(name, value, trusting, namespace) {\n      let element = this.constructing;\n      let attribute = dynamicAttribute(element, name, namespace, trusting);\n      attribute.set(this, value, this.env);\n      return attribute;\n    }\n  }\n  _exports.NewElementBuilder = NewElementBuilder;\n  class SimpleLiveBlock {\n    constructor(parent) {\n      this.first = null;\n      this.last = null;\n      this.nesting = 0;\n      this.parent = parent;\n    }\n    parentElement() {\n      return this.parent;\n    }\n    firstNode() {\n      let first = (0, _util.expect)(this.first, 'cannot call `firstNode()` while `SimpleLiveBlock` is still initializing');\n      return first.firstNode();\n    }\n    lastNode() {\n      let last = (0, _util.expect)(this.last, 'cannot call `lastNode()` while `SimpleLiveBlock` is still initializing');\n      return last.lastNode();\n    }\n    openElement(element) {\n      this.didAppendNode(element);\n      this.nesting++;\n    }\n    closeElement() {\n      this.nesting--;\n    }\n    didAppendNode(node) {\n      if (this.nesting !== 0) return;\n      if (!this.first) {\n        this.first = new First(node);\n      }\n      this.last = new Last(node);\n    }\n    didAppendBounds(bounds) {\n      if (this.nesting !== 0) return;\n      if (!this.first) {\n        this.first = bounds;\n      }\n      this.last = bounds;\n    }\n    finalize(stack) {\n      if (this.first === null) {\n        stack.appendComment('');\n      }\n    }\n  }\n  class RemoteLiveBlock extends SimpleLiveBlock {\n    constructor(parent) {\n      super(parent);\n      (0, _destroyable.registerDestructor)(this, () => {\n        // In general, you only need to clear the root of a hierarchy, and should never\n        // need to clear any child nodes. This is an important constraint that gives us\n        // a strong guarantee that clearing a subtree is a single DOM operation.\n        //\n        // Because remote blocks are not normally physically nested inside of the tree\n        // that they are logically nested inside, we manually clear remote blocks when\n        // a logical parent is cleared.\n        //\n        // HOWEVER, it is currently possible for a remote block to be physically nested\n        // inside of the block it is logically contained inside of. This happens when\n        // the remote block is appended to the end of the application's entire element.\n        //\n        // The problem with that scenario is that Glimmer believes that it owns more of\n        // the DOM than it actually does. The code is attempting to write past the end\n        // of the Glimmer-managed root, but Glimmer isn't aware of that.\n        //\n        // The correct solution to that problem is for Glimmer to be aware of the end\n        // of the bounds that it owns, and once we make that change, this check could\n        // be removed.\n        //\n        // For now, a more targeted fix is to check whether the node was already removed\n        // and avoid clearing the node if it was. In most cases this shouldn't happen,\n        // so this might hide bugs where the code clears nested nodes unnecessarily,\n        // so we should eventually try to do the correct fix.\n        if (this.parentElement() === this.firstNode().parentNode) {\n          clear(this);\n        }\n      });\n    }\n  }\n  _exports.RemoteLiveBlock = RemoteLiveBlock;\n  class UpdatableBlockImpl extends SimpleLiveBlock {\n    reset() {\n      (0, _destroyable.destroy)(this);\n      let nextSibling = clear(this);\n      this.first = null;\n      this.last = null;\n      this.nesting = 0;\n      return nextSibling;\n    }\n  }\n\n  // FIXME: All the noops in here indicate a modelling problem\n  _exports.UpdatableBlockImpl = UpdatableBlockImpl;\n  class LiveBlockList {\n    constructor(parent, boundList) {\n      this.parent = parent;\n      this.boundList = boundList;\n      this.parent = parent;\n      this.boundList = boundList;\n    }\n    parentElement() {\n      return this.parent;\n    }\n    firstNode() {\n      let head = (0, _util.expect)(this.boundList[0], 'cannot call `firstNode()` while `LiveBlockList` is still initializing');\n      return head.firstNode();\n    }\n    lastNode() {\n      let boundList = this.boundList;\n      let tail = (0, _util.expect)(boundList[boundList.length - 1], 'cannot call `lastNode()` while `LiveBlockList` is still initializing');\n      return tail.lastNode();\n    }\n    openElement(_element) {\n      (0, _util.assert)(false, 'Cannot openElement directly inside a block list');\n    }\n    closeElement() {\n      (0, _util.assert)(false, 'Cannot closeElement directly inside a block list');\n    }\n    didAppendNode(_node) {\n      (0, _util.assert)(false, 'Cannot create a new node directly inside a block list');\n    }\n    didAppendBounds(_bounds) {}\n    finalize(_stack) {\n      (0, _util.assert)(this.boundList.length > 0, 'boundsList cannot be empty');\n    }\n  }\n  function clientBuilder(env, cursor) {\n    return NewElementBuilder.forInitialRender(env, cursor);\n  }\n  class AppendOpcodes {\n    constructor() {\n      this.evaluateOpcode = new Array(_vm2.Op.Size).fill(null);\n    }\n    add(name, evaluate, kind = 'syscall') {\n      this.evaluateOpcode[name] = {\n        syscall: kind !== 'machine',\n        evaluate\n      };\n    }\n    debugBefore(vm, opcode) {\n      let params = undefined;\n      let opName = undefined;\n      let sp;\n      (0, _debug.recordStackSize)(vm.fetchValue(_vm2.$sp));\n      return {\n        sp: sp,\n        pc: vm.fetchValue(_vm2.$pc),\n        name: opName,\n        params,\n        type: opcode.type,\n        isMachine: opcode.isMachine,\n        size: opcode.size,\n        state: undefined\n      };\n    }\n    debugAfter(vm, pre) {}\n    evaluate(vm, opcode, type) {\n      let operation = (0, _util.unwrap)(this.evaluateOpcode[type]);\n      if (operation.syscall) {\n        (0, _util.assert)(!opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);\n        operation.evaluate(vm, opcode);\n      } else {\n        (0, _util.assert)(opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);\n        operation.evaluate(vm[INNER_VM], opcode);\n      }\n    }\n  }\n  const APPEND_OPCODES = new AppendOpcodes();\n  const TYPE = Symbol('TYPE');\n  const INNER = Symbol('INNER');\n  const OWNER = Symbol('OWNER');\n  const ARGS = Symbol('ARGS');\n  const RESOLVED = Symbol('RESOLVED');\n  const CURRIED_VALUES = new WeakSet();\n  function isCurriedValue(value) {\n    return CURRIED_VALUES.has(value);\n  }\n  function isCurriedType(value, type) {\n    return isCurriedValue(value) && value[TYPE] === type;\n  }\n  class CurriedValue {\n    /** @internal */\n    constructor(type, inner, owner, args, resolved = false) {\n      this[TYPE] = void 0;\n      this[INNER] = void 0;\n      this[OWNER] = void 0;\n      this[ARGS] = void 0;\n      this[RESOLVED] = void 0;\n      CURRIED_VALUES.add(this);\n      this[TYPE] = type;\n      this[INNER] = inner;\n      this[OWNER] = owner;\n      this[ARGS] = args;\n      this[RESOLVED] = resolved;\n    }\n  }\n  _exports.CurriedValue = CurriedValue;\n  function resolveCurriedValue(curriedValue) {\n    let currentWrapper = curriedValue;\n    let positional;\n    let named;\n    let definition, owner, resolved;\n\n    // eslint-disable-next-line no-constant-condition\n    while (true) {\n      let {\n        [ARGS]: curriedArgs,\n        [INNER]: inner\n      } = currentWrapper;\n      if (curriedArgs !== null) {\n        let {\n          named: curriedNamed,\n          positional: curriedPositional\n        } = curriedArgs;\n        if (curriedPositional.length > 0) {\n          positional = positional === undefined ? curriedPositional : curriedPositional.concat(positional);\n        }\n        if (named === undefined) {\n          named = [];\n        }\n        named.unshift(curriedNamed);\n      }\n      if (!isCurriedValue(inner)) {\n        // Save off the owner that this helper was curried with. Later on,\n        // we'll fetch the value of this register and set it as the owner on the\n        // new root scope.\n        definition = inner;\n        owner = currentWrapper[OWNER];\n        resolved = currentWrapper[RESOLVED];\n        break;\n      }\n      currentWrapper = inner;\n    }\n    return {\n      definition,\n      owner,\n      resolved,\n      positional,\n      named\n    };\n  }\n  function curry(type, spec, owner, args, resolved = false) {\n    return new CurriedValue(type, spec, owner, args, resolved);\n  }\n  function createCurryRef(type, inner, owner, args, resolver, isStrict) {\n    let lastValue, curriedDefinition;\n    return (0, _reference.createComputeRef)(() => {\n      let value = (0, _reference.valueForRef)(inner);\n      if (value === lastValue) {\n        return curriedDefinition;\n      }\n      if (isCurriedType(value, type)) {\n        curriedDefinition = args ? curry(type, value, owner, args) : args;\n      } else if (type === _vm2.CurriedTypes.Component && typeof value === 'string' && value) {\n        // Only components should enter this path, as helpers and modifiers do not\n        // support string based resolution\n\n        if (true /* DEBUG */) {\n          if (isStrict) {\n            throw new Error(`Attempted to resolve a dynamic component with a string definition, \\`${value}\\` in a strict mode template. In strict mode, using strings to resolve component definitions is prohibited. You can instead import the component definition and use it directly.`);\n          }\n          let resolvedDefinition = (0, _util.expect)(resolver, 'BUG: expected resolver for curried component definitions').lookupComponent(value, owner);\n          if (!resolvedDefinition) {\n            throw new Error(`Attempted to resolve \\`${value}\\`, which was expected to be a component, but nothing was found.`);\n          }\n        }\n        curriedDefinition = curry(type, value, owner, args);\n      } else if ((0, _util.isObject)(value)) {\n        curriedDefinition = curry(type, value, owner, args);\n      } else {\n        curriedDefinition = null;\n      }\n      lastValue = value;\n      return curriedDefinition;\n    });\n  }\n\n  /** @internal */\n  function hasCustomDebugRenderTreeLifecycle(manager) {\n    return 'getDebugCustomRenderTree' in manager;\n  }\n  function resolveComponent(resolver, constants, name, owner) {\n    let definition = resolver.lookupComponent(name, (0, _util.expect)(owner, 'BUG: expected owner when looking up component'));\n    if (true /* DEBUG */ && !definition) {\n      throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a component, but nothing was found.`);\n    }\n    return constants.resolvedComponent(definition, name);\n  }\n  function createClassListRef(list) {\n    return (0, _reference.createComputeRef)(() => {\n      let ret = [];\n      for (const ref of list) {\n        let value = normalizeStringValue(typeof ref === 'string' ? ref : (0, _reference.valueForRef)(ref));\n        if (value) ret.push(value);\n      }\n      return ret.length === 0 ? null : ret.join(' ');\n    });\n  }\n  function stackAssert(name, top) {\n    return `Expected top of stack to be ${name}, was ${String(top)}`;\n  }\n  APPEND_OPCODES.add(_vm2.Op.ChildScope, vm => vm.pushChildScope());\n  APPEND_OPCODES.add(_vm2.Op.PopScope, vm => vm.popScope());\n  APPEND_OPCODES.add(_vm2.Op.PushDynamicScope, vm => vm.pushDynamicScope());\n  APPEND_OPCODES.add(_vm2.Op.PopDynamicScope, vm => vm.popDynamicScope());\n  APPEND_OPCODES.add(_vm2.Op.Constant, (vm, {\n    op1: other\n  }) => {\n    vm.stack.push(vm[CONSTANTS].getValue((0, _util.decodeHandle)(other)));\n  });\n  APPEND_OPCODES.add(_vm2.Op.ConstantReference, (vm, {\n    op1: other\n  }) => {\n    vm.stack.push((0, _reference.createConstRef)(vm[CONSTANTS].getValue((0, _util.decodeHandle)(other)), false));\n  });\n  APPEND_OPCODES.add(_vm2.Op.Primitive, (vm, {\n    op1: primitive\n  }) => {\n    let stack = vm.stack;\n    if ((0, _util.isHandle)(primitive)) {\n      // it is a handle which does not already exist on the stack\n      let value = vm[CONSTANTS].getValue((0, _util.decodeHandle)(primitive));\n      stack.push(value);\n    } else {\n      // is already an encoded immediate or primitive handle\n      stack.push((0, _util.decodeImmediate)(primitive));\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.PrimitiveReference, vm => {\n    let stack = vm.stack;\n    let value = (0, _debug.check)(stack.pop(), _debug.CheckPrimitive);\n    let ref;\n    if (value === undefined) {\n      ref = _reference.UNDEFINED_REFERENCE;\n    } else if (value === null) {\n      ref = _reference.NULL_REFERENCE;\n    } else if (value === true) {\n      ref = _reference.TRUE_REFERENCE;\n    } else if (value === false) {\n      ref = _reference.FALSE_REFERENCE;\n    } else {\n      ref = (0, _reference.createPrimitiveRef)(value);\n    }\n    stack.push(ref);\n  });\n  APPEND_OPCODES.add(_vm2.Op.Dup, (vm, {\n    op1: register,\n    op2: offset\n  }) => {\n    let position = (0, _debug.check)(vm.fetchValue(register), _debug.CheckNumber) - offset;\n    vm.stack.dup(position);\n  });\n  APPEND_OPCODES.add(_vm2.Op.Pop, (vm, {\n    op1: count\n  }) => {\n    vm.stack.pop(count);\n  });\n  APPEND_OPCODES.add(_vm2.Op.Load, (vm, {\n    op1: register\n  }) => {\n    vm.load(register);\n  });\n  APPEND_OPCODES.add(_vm2.Op.Fetch, (vm, {\n    op1: register\n  }) => {\n    vm.fetch(register);\n  });\n  APPEND_OPCODES.add(_vm2.Op.BindDynamicScope, (vm, {\n    op1: _names\n  }) => {\n    let names = vm[CONSTANTS].getArray(_names);\n    vm.bindDynamicScope(names);\n  });\n  APPEND_OPCODES.add(_vm2.Op.Enter, (vm, {\n    op1: args\n  }) => {\n    vm.enter(args);\n  });\n  APPEND_OPCODES.add(_vm2.Op.Exit, vm => {\n    vm.exit();\n  });\n  APPEND_OPCODES.add(_vm2.Op.PushSymbolTable, (vm, {\n    op1: _table\n  }) => {\n    let stack = vm.stack;\n    stack.push(vm[CONSTANTS].getValue(_table));\n  });\n  APPEND_OPCODES.add(_vm2.Op.PushBlockScope, vm => {\n    let stack = vm.stack;\n    stack.push(vm.scope());\n  });\n  APPEND_OPCODES.add(_vm2.Op.CompileBlock, vm => {\n    let stack = vm.stack;\n    let block = stack.pop();\n    if (block) {\n      stack.push(vm.compile(block));\n    } else {\n      stack.push(null);\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.InvokeYield, vm => {\n    let {\n      stack\n    } = vm;\n    let handle = (0, _debug.check)(stack.pop(), (0, _debug.CheckOption)(_debug.CheckHandle));\n    let scope = (0, _debug.check)(stack.pop(), (0, _debug.CheckOption)(CheckScope));\n    let table = (0, _debug.check)(stack.pop(), (0, _debug.CheckOption)(_debug.CheckBlockSymbolTable));\n    (0, _util.assert)(table === null || table && typeof table === 'object' && Array.isArray(table.parameters), stackAssert('Option<BlockSymbolTable>', table));\n    let args = (0, _debug.check)(stack.pop(), (0, _debug.CheckInstanceof)(VMArgumentsImpl));\n    if (table === null) {\n      // To balance the pop{Frame,Scope}\n      vm.pushFrame();\n      vm.pushScope(scope ?? vm.scope());\n      return;\n    }\n    let invokingScope = (0, _util.expect)(scope, 'BUG: expected scope');\n\n    // If necessary, create a child scope\n    {\n      let locals = table.parameters;\n      let localsCount = locals.length;\n      if (localsCount > 0) {\n        invokingScope = invokingScope.child();\n        for (let i = 0; i < localsCount; i++) {\n          invokingScope.bindSymbol((0, _util.unwrap)(locals[i]), args.at(i));\n        }\n      }\n    }\n    vm.pushFrame();\n    vm.pushScope(invokingScope);\n    vm.call(handle);\n  });\n  APPEND_OPCODES.add(_vm2.Op.JumpIf, (vm, {\n    op1: target\n  }) => {\n    let reference = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let value = Boolean((0, _reference.valueForRef)(reference));\n    if ((0, _reference.isConstRef)(reference)) {\n      if (value === true) {\n        vm.goto(target);\n      }\n    } else {\n      if (value === true) {\n        vm.goto(target);\n      }\n      vm.updateWith(new Assert(reference));\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.JumpUnless, (vm, {\n    op1: target\n  }) => {\n    let reference = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let value = Boolean((0, _reference.valueForRef)(reference));\n    if ((0, _reference.isConstRef)(reference)) {\n      if (value === false) {\n        vm.goto(target);\n      }\n    } else {\n      if (value === false) {\n        vm.goto(target);\n      }\n      vm.updateWith(new Assert(reference));\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.JumpEq, (vm, {\n    op1: target,\n    op2: comparison\n  }) => {\n    let other = (0, _debug.check)(vm.stack.peek(), _debug.CheckNumber);\n    if (other === comparison) {\n      vm.goto(target);\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.AssertSame, vm => {\n    let reference = (0, _debug.check)(vm.stack.peek(), CheckReference);\n    if ((0, _reference.isConstRef)(reference) === false) {\n      vm.updateWith(new Assert(reference));\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.ToBoolean, vm => {\n    let {\n      stack\n    } = vm;\n    let valueRef = (0, _debug.check)(stack.pop(), CheckReference);\n    stack.push((0, _reference.createComputeRef)(() => (0, _globalContext.toBool)((0, _reference.valueForRef)(valueRef))));\n  });\n  class Assert {\n    constructor(ref) {\n      this.last = void 0;\n      this.ref = ref;\n      this.last = (0, _reference.valueForRef)(ref);\n    }\n    evaluate(vm) {\n      let {\n        last,\n        ref\n      } = this;\n      let current = (0, _reference.valueForRef)(ref);\n      if (last !== current) {\n        vm.throw();\n      }\n    }\n  }\n  class AssertFilter {\n    constructor(ref, filter) {\n      this.last = void 0;\n      this.ref = ref;\n      this.filter = filter;\n      this.last = filter((0, _reference.valueForRef)(ref));\n    }\n    evaluate(vm) {\n      let {\n        last,\n        ref,\n        filter\n      } = this;\n      let current = filter((0, _reference.valueForRef)(ref));\n      if (last !== current) {\n        vm.throw();\n      }\n    }\n  }\n  class JumpIfNotModifiedOpcode {\n    constructor() {\n      this.tag = _validator.CONSTANT_TAG;\n      this.lastRevision = _validator.INITIAL;\n      this.target = void 0;\n    }\n    finalize(tag, target) {\n      this.target = target;\n      this.didModify(tag);\n    }\n    evaluate(vm) {\n      let {\n        tag,\n        target,\n        lastRevision\n      } = this;\n      if (!vm.alwaysRevalidate && (0, _validator.validateTag)(tag, lastRevision)) {\n        (0, _validator.consumeTag)(tag);\n        vm.goto((0, _util.expect)(target, 'VM BUG: Target must be set before attempting to jump'));\n      }\n    }\n    didModify(tag) {\n      this.tag = tag;\n      this.lastRevision = (0, _validator.valueForTag)(this.tag);\n      (0, _validator.consumeTag)(tag);\n    }\n  }\n  class BeginTrackFrameOpcode {\n    constructor(debugLabel) {\n      this.debugLabel = debugLabel;\n    }\n    evaluate() {\n      (0, _validator.beginTrackFrame)(this.debugLabel);\n    }\n  }\n  class EndTrackFrameOpcode {\n    constructor(target) {\n      this.target = target;\n    }\n    evaluate() {\n      let tag = (0, _validator.endTrackFrame)();\n      this.target.didModify(tag);\n    }\n  }\n  APPEND_OPCODES.add(_vm2.Op.Text, (vm, {\n    op1: text\n  }) => {\n    vm.elements().appendText(vm[CONSTANTS].getValue(text));\n  });\n  APPEND_OPCODES.add(_vm2.Op.Comment, (vm, {\n    op1: text\n  }) => {\n    vm.elements().appendComment(vm[CONSTANTS].getValue(text));\n  });\n  APPEND_OPCODES.add(_vm2.Op.OpenElement, (vm, {\n    op1: tag\n  }) => {\n    vm.elements().openElement(vm[CONSTANTS].getValue(tag));\n  });\n  APPEND_OPCODES.add(_vm2.Op.OpenDynamicElement, vm => {\n    let tagName = (0, _debug.check)((0, _reference.valueForRef)((0, _debug.check)(vm.stack.pop(), CheckReference)), _debug.CheckString);\n    vm.elements().openElement(tagName);\n  });\n  APPEND_OPCODES.add(_vm2.Op.PushRemoteElement, vm => {\n    let elementRef = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let insertBeforeRef = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let guidRef = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let element = (0, _debug.check)((0, _reference.valueForRef)(elementRef), _debug.CheckElement);\n    let insertBefore = (0, _debug.check)((0, _reference.valueForRef)(insertBeforeRef), (0, _debug.CheckMaybe)((0, _debug.CheckOption)(_debug.CheckNode)));\n    let guid = (0, _reference.valueForRef)(guidRef);\n    if (!(0, _reference.isConstRef)(elementRef)) {\n      vm.updateWith(new Assert(elementRef));\n    }\n    if (insertBefore !== undefined && !(0, _reference.isConstRef)(insertBeforeRef)) {\n      vm.updateWith(new Assert(insertBeforeRef));\n    }\n    let block = vm.elements().pushRemoteElement(element, guid, insertBefore);\n    if (block) vm.associateDestroyable(block);\n  });\n  APPEND_OPCODES.add(_vm2.Op.PopRemoteElement, vm => {\n    vm.elements().popRemoteElement();\n  });\n  APPEND_OPCODES.add(_vm2.Op.FlushElement, vm => {\n    let operations = (0, _debug.check)(vm.fetchValue(_vm2.$t0), CheckOperations);\n    let modifiers = null;\n    if (operations) {\n      modifiers = operations.flush(vm);\n      vm.loadValue(_vm2.$t0, null);\n    }\n    vm.elements().flushElement(modifiers);\n  });\n  APPEND_OPCODES.add(_vm2.Op.CloseElement, vm => {\n    let modifiers = vm.elements().closeElement();\n    if (modifiers !== null) {\n      modifiers.forEach(modifier => {\n        vm.env.scheduleInstallModifier(modifier);\n        const d = modifier.manager.getDestroyable(modifier.state);\n        if (d !== null) {\n          vm.associateDestroyable(d);\n        }\n      });\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.Modifier, (vm, {\n    op1: handle\n  }) => {\n    if (vm.env.isInteractive === false) {\n      return;\n    }\n    let owner = vm.getOwner();\n    let args = (0, _debug.check)(vm.stack.pop(), CheckArguments);\n    let definition = vm[CONSTANTS].getValue(handle);\n    let {\n      manager\n    } = definition;\n    let {\n      constructing\n    } = vm.elements();\n    let state = manager.create(owner, (0, _util.expect)(constructing, 'BUG: ElementModifier could not find the element it applies to'), definition.state, args.capture());\n    let instance = {\n      manager,\n      state,\n      definition\n    };\n    let operations = (0, _util.expect)((0, _debug.check)(vm.fetchValue(_vm2.$t0), CheckOperations), 'BUG: ElementModifier could not find operations to append to');\n    operations.addModifier(instance);\n    let tag = manager.getTag(state);\n    if (tag !== null) {\n      (0, _validator.consumeTag)(tag);\n      return vm.updateWith(new UpdateModifierOpcode(tag, instance));\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.DynamicModifier, vm => {\n    if (vm.env.isInteractive === false) {\n      return;\n    }\n    let {\n      stack\n    } = vm;\n    let ref = (0, _debug.check)(stack.pop(), CheckReference);\n    let args = (0, _debug.check)(stack.pop(), CheckArguments).capture();\n    let {\n      constructing\n    } = vm.elements();\n    let initialOwner = vm.getOwner();\n    let instanceRef = (0, _reference.createComputeRef)(() => {\n      let value = (0, _reference.valueForRef)(ref);\n      let owner;\n      if (!(0, _util.isObject)(value)) {\n        return;\n      }\n      let hostDefinition;\n      if (isCurriedType(value, _vm2.CurriedTypes.Modifier)) {\n        let {\n          definition: resolvedDefinition,\n          owner: curriedOwner,\n          positional,\n          named\n        } = resolveCurriedValue(value);\n        hostDefinition = resolvedDefinition;\n        owner = curriedOwner;\n        if (positional !== undefined) {\n          args.positional = positional.concat(args.positional);\n        }\n        if (named !== undefined) {\n          args.named = (0, _util.assign)({}, ...named, args.named);\n        }\n      } else {\n        hostDefinition = value;\n        owner = initialOwner;\n      }\n      let manager = (0, _manager.getInternalModifierManager)(hostDefinition, true);\n      if (manager === null) {\n        if (true /* DEBUG */) {\n          throw new Error(`Expected a dynamic modifier definition, but received an object or function that did not have a modifier manager associated with it. The dynamic invocation was \\`{{${ref.debugLabel}}}\\`, and the incorrect definition is the value at the path \\`${ref.debugLabel}\\`, which was: ${(0, _util.debugToString)(hostDefinition)}`);\n        } else {\n          throw new Error('BUG: modifier manager expected');\n        }\n      }\n      let definition = {\n        resolvedName: null,\n        manager,\n        state: hostDefinition\n      };\n      let state = manager.create(owner, (0, _util.expect)(constructing, 'BUG: ElementModifier could not find the element it applies to'), definition.state, args);\n      return {\n        manager,\n        state,\n        definition\n      };\n    });\n    let instance = (0, _reference.valueForRef)(instanceRef);\n    let tag = null;\n    if (instance !== undefined) {\n      let operations = (0, _util.expect)((0, _debug.check)(vm.fetchValue(_vm2.$t0), CheckOperations), 'BUG: ElementModifier could not find operations to append to');\n      operations.addModifier(instance);\n      tag = instance.manager.getTag(instance.state);\n      if (tag !== null) {\n        (0, _validator.consumeTag)(tag);\n      }\n    }\n    if (!(0, _reference.isConstRef)(ref) || tag) {\n      return vm.updateWith(new UpdateDynamicModifierOpcode(tag, instance, instanceRef));\n    }\n  });\n  class UpdateModifierOpcode {\n    constructor(tag, modifier) {\n      this.lastUpdated = void 0;\n      this.tag = tag;\n      this.modifier = modifier;\n      this.lastUpdated = (0, _validator.valueForTag)(tag);\n    }\n    evaluate(vm) {\n      let {\n        modifier,\n        tag,\n        lastUpdated\n      } = this;\n      (0, _validator.consumeTag)(tag);\n      if (!(0, _validator.validateTag)(tag, lastUpdated)) {\n        vm.env.scheduleUpdateModifier(modifier);\n        this.lastUpdated = (0, _validator.valueForTag)(tag);\n      }\n    }\n  }\n  class UpdateDynamicModifierOpcode {\n    constructor(tag, instance, instanceRef) {\n      this.lastUpdated = void 0;\n      this.tag = tag;\n      this.instance = instance;\n      this.instanceRef = instanceRef;\n      this.lastUpdated = (0, _validator.valueForTag)(tag ?? _validator.CURRENT_TAG);\n    }\n    evaluate(vm) {\n      let {\n        tag,\n        lastUpdated,\n        instance,\n        instanceRef\n      } = this;\n      let newInstance = (0, _reference.valueForRef)(instanceRef);\n      if (newInstance !== instance) {\n        if (instance !== undefined) {\n          let destroyable = instance.manager.getDestroyable(instance.state);\n          if (destroyable !== null) {\n            (0, _destroyable.destroy)(destroyable);\n          }\n        }\n        if (newInstance !== undefined) {\n          let {\n            manager,\n            state\n          } = newInstance;\n          let destroyable = manager.getDestroyable(state);\n          if (destroyable !== null) {\n            (0, _destroyable.associateDestroyableChild)(this, destroyable);\n          }\n          tag = manager.getTag(state);\n          if (tag !== null) {\n            this.lastUpdated = (0, _validator.valueForTag)(tag);\n          }\n          this.tag = tag;\n          vm.env.scheduleInstallModifier(newInstance);\n        }\n        this.instance = newInstance;\n      } else if (tag !== null && !(0, _validator.validateTag)(tag, lastUpdated)) {\n        vm.env.scheduleUpdateModifier(instance);\n        this.lastUpdated = (0, _validator.valueForTag)(tag);\n      }\n      if (tag !== null) {\n        (0, _validator.consumeTag)(tag);\n      }\n    }\n  }\n  APPEND_OPCODES.add(_vm2.Op.StaticAttr, (vm, {\n    op1: _name,\n    op2: _value,\n    op3: _namespace\n  }) => {\n    let name = vm[CONSTANTS].getValue(_name);\n    let value = vm[CONSTANTS].getValue(_value);\n    let namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n    vm.elements().setStaticAttribute(name, value, namespace);\n  });\n  APPEND_OPCODES.add(_vm2.Op.DynamicAttr, (vm, {\n    op1: _name,\n    op2: _trusting,\n    op3: _namespace\n  }) => {\n    let name = vm[CONSTANTS].getValue(_name);\n    let trusting = vm[CONSTANTS].getValue(_trusting);\n    let reference = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let value = (0, _reference.valueForRef)(reference);\n    let namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n    let attribute = vm.elements().setDynamicAttribute(name, value, trusting, namespace);\n    if (!(0, _reference.isConstRef)(reference)) {\n      vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute, vm.env));\n    }\n  });\n  class UpdateDynamicAttributeOpcode {\n    constructor(reference, attribute, env) {\n      this.updateRef = void 0;\n      let initialized = false;\n      this.updateRef = (0, _reference.createComputeRef)(() => {\n        let value = (0, _reference.valueForRef)(reference);\n        if (initialized === true) {\n          attribute.update(value, env);\n        } else {\n          initialized = true;\n        }\n      });\n      (0, _reference.valueForRef)(this.updateRef);\n    }\n    evaluate() {\n      (0, _reference.valueForRef)(this.updateRef);\n    }\n  }\n\n  /**\n   * The VM creates a new ComponentInstance data structure for every component\n   * invocation it encounters.\n   *\n   * Similar to how a ComponentDefinition contains state about all components of a\n   * particular type, a ComponentInstance contains state specific to a particular\n   * instance of a component type. It also contains a pointer back to its\n   * component type's ComponentDefinition.\n   */\n\n  APPEND_OPCODES.add(_vm2.Op.PushComponentDefinition, (vm, {\n    op1: handle\n  }) => {\n    let definition = vm[CONSTANTS].getValue(handle);\n    (0, _util.assert)(!!definition, `Missing component for ${handle}`);\n    let {\n      manager,\n      capabilities\n    } = definition;\n    let 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(_vm2.Op.ResolveDynamicComponent, (vm, {\n    op1: _isStrict\n  }) => {\n    let stack = vm.stack;\n    let component = (0, _debug.check)((0, _reference.valueForRef)((0, _debug.check)(stack.pop(), CheckReference)), (0, _debug.CheckOr)(_debug.CheckString, CheckCurriedComponentDefinition));\n    let constants = vm[CONSTANTS];\n    let owner = vm.getOwner();\n    let isStrict = constants.getValue(_isStrict);\n    vm.loadValue(_vm2.$t1, null); // Clear the temp register\n\n    let definition;\n    if (typeof component === 'string') {\n      if (true /* DEBUG */ && isStrict) {\n        throw new Error(`Attempted to resolve a dynamic component with a string definition, \\`${component}\\` in a strict mode template. In strict mode, using strings to resolve component definitions is prohibited. You can instead import the component definition and use it directly.`);\n      }\n      let resolvedDefinition = resolveComponent(vm.runtime.resolver, constants, component, owner);\n      definition = (0, _util.expect)(resolvedDefinition, `Could not find a component named \"${component}\"`);\n    } else if (isCurriedValue(component)) {\n      definition = component;\n    } else {\n      definition = constants.component(component, owner);\n    }\n    stack.push(definition);\n  });\n  APPEND_OPCODES.add(_vm2.Op.ResolveCurriedComponent, vm => {\n    let stack = vm.stack;\n    let ref = (0, _debug.check)(stack.pop(), CheckReference);\n    let value = (0, _reference.valueForRef)(ref);\n    let constants = vm[CONSTANTS];\n    let definition;\n    if (true /* DEBUG */ && !(typeof value === 'function' || typeof value === 'object' && value !== null)) {\n      throw new Error(`Expected a component definition, but received ${value}. You may have accidentally done <${ref.debugLabel}>, where \"${ref.debugLabel}\" was a string instead of a curried component definition. You must either use the component definition directly, or use the {{component}} helper to create a curried component definition when invoking dynamically.`);\n    }\n    if (isCurriedValue(value)) {\n      definition = value;\n    } else {\n      definition = constants.component(value, vm.getOwner(), true);\n      if (true /* DEBUG */ && definition === null) {\n        throw new Error(`Expected a dynamic component definition, but received an object or function that did not have a component manager associated with it. The dynamic invocation was \\`<${ref.debugLabel}>\\` or \\`{{${ref.debugLabel}}}\\`, and the incorrect definition is the value at the path \\`${ref.debugLabel}\\`, which was: ${(0, _util.debugToString)(value)}`);\n      }\n    }\n    stack.push(definition);\n  });\n  APPEND_OPCODES.add(_vm2.Op.PushDynamicComponentInstance, vm => {\n    let {\n      stack\n    } = vm;\n    let definition = stack.pop();\n    let capabilities, manager;\n    if (isCurriedValue(definition)) {\n      manager = capabilities = null;\n    } else {\n      manager = definition.manager;\n      capabilities = definition.capabilities;\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(_vm2.Op.PushArgs, (vm, {\n    op1: _names,\n    op2: _blockNames,\n    op3: flags\n  }) => {\n    let stack = vm.stack;\n    let names = vm[CONSTANTS].getArray(_names);\n    let positionalCount = flags >> 4;\n    let atNames = flags & 0b1000;\n    let blockNames = flags & 0b0111 ? vm[CONSTANTS].getArray(_blockNames) : _util.EMPTY_STRING_ARRAY;\n    vm[ARGS$1].setup(stack, names, blockNames, positionalCount, !!atNames);\n    stack.push(vm[ARGS$1]);\n  });\n  APPEND_OPCODES.add(_vm2.Op.PushEmptyArgs, vm => {\n    let {\n      stack\n    } = vm;\n    stack.push(vm[ARGS$1].empty(stack));\n  });\n  APPEND_OPCODES.add(_vm2.Op.CaptureArgs, vm => {\n    let stack = vm.stack;\n    let args = (0, _debug.check)(stack.pop(), (0, _debug.CheckInstanceof)(VMArgumentsImpl));\n    let capturedArgs = args.capture();\n    stack.push(capturedArgs);\n  });\n  APPEND_OPCODES.add(_vm2.Op.PrepareArgs, (vm, {\n    op1: _state\n  }) => {\n    let stack = vm.stack;\n    let instance = vm.fetchValue(_state);\n    let args = (0, _debug.check)(stack.pop(), (0, _debug.CheckInstanceof)(VMArgumentsImpl));\n    let {\n      definition\n    } = instance;\n    if (isCurriedType(definition, _vm2.CurriedTypes.Component)) {\n      (0, _util.assert)(!definition.manager, \"If the component definition was curried, we don't yet have a manager\");\n      let constants = vm[CONSTANTS];\n      let {\n        definition: resolvedDefinition,\n        owner,\n        resolved,\n        positional,\n        named\n      } = resolveCurriedValue(definition);\n      if (resolved === true) {\n        definition = resolvedDefinition;\n      } else if (typeof resolvedDefinition === 'string') {\n        let resolvedValue = vm.runtime.resolver.lookupComponent(resolvedDefinition, owner);\n        definition = constants.resolvedComponent((0, _util.expect)(resolvedValue, 'BUG: expected resolved component'), resolvedDefinition);\n      } else {\n        definition = constants.component(resolvedDefinition, owner);\n      }\n      if (named !== undefined) {\n        args.named.merge((0, _util.assign)({}, ...named));\n      }\n      if (positional !== undefined) {\n        args.realloc(positional.length);\n        args.positional.prepend(positional);\n      }\n      let {\n        manager\n      } = definition;\n      (0, _util.assert)(instance.manager === null, 'component instance manager should not be populated yet');\n      (0, _util.assert)(instance.capabilities === null, 'component instance manager should not be populated yet');\n      instance.definition = definition;\n      instance.manager = manager;\n      instance.capabilities = definition.capabilities;\n\n      // Save off the owner that this component was curried with. Later on,\n      // we'll fetch the value of this register and set it as the owner on the\n      // new root scope.\n      vm.loadValue(_vm2.$t1, owner);\n    }\n    let {\n      manager,\n      state\n    } = definition;\n    let capabilities = instance.capabilities;\n    if (!(0, _manager.managerHasCapability)(manager, capabilities, _vm2.InternalComponentCapabilities.prepareArgs)) {\n      stack.push(args);\n      return;\n    }\n    let blocks = args.blocks.values;\n    let blockNames = args.blocks.names;\n    let preparedArgs = manager.prepareArgs(state, args);\n    if (preparedArgs) {\n      args.clear();\n      for (let i = 0; i < blocks.length; i++) {\n        stack.push(blocks[i]);\n      }\n      let {\n        positional,\n        named\n      } = preparedArgs;\n      let positionalCount = positional.length;\n      for (let i = 0; i < positionalCount; i++) {\n        stack.push(positional[i]);\n      }\n      let names = Object.keys(named);\n      for (let i = 0; i < names.length; i++) {\n        stack.push(named[(0, _util.unwrap)(names[i])]);\n      }\n      args.setup(stack, names, blockNames, positionalCount, false);\n    }\n    stack.push(args);\n  });\n  APPEND_OPCODES.add(_vm2.Op.CreateComponent, (vm, {\n    op1: flags,\n    op2: _state\n  }) => {\n    let instance = (0, _debug.check)(vm.fetchValue(_state), CheckComponentInstance);\n    let {\n      definition,\n      manager,\n      capabilities\n    } = instance;\n    if (!(0, _manager.managerHasCapability)(manager, capabilities, _vm2.InternalComponentCapabilities.createInstance)) {\n      // TODO: Closure and Main components are always invoked dynamically, so this\n      // opcode may run even if this capability is not enabled. In the future we\n      // should handle this in a better way.\n      return;\n    }\n    let dynamicScope = null;\n    if ((0, _manager.managerHasCapability)(manager, capabilities, _vm2.InternalComponentCapabilities.dynamicScope)) {\n      dynamicScope = vm.dynamicScope();\n    }\n    let hasDefaultBlock = flags & 1;\n    let args = null;\n    if ((0, _manager.managerHasCapability)(manager, capabilities, _vm2.InternalComponentCapabilities.createArgs)) {\n      args = (0, _debug.check)(vm.stack.peek(), CheckArguments);\n    }\n    let self = null;\n    if ((0, _manager.managerHasCapability)(manager, capabilities, _vm2.InternalComponentCapabilities.createCaller)) {\n      self = vm.getSelf();\n    }\n    let state = manager.create(vm.getOwner(), definition.state, args, vm.env, dynamicScope, self, !!hasDefaultBlock);\n\n    // We want to reuse the `state` POJO here, because we know that the opcodes\n    // only transition at exactly one place.\n    instance.state = state;\n    if ((0, _manager.managerHasCapability)(manager, capabilities, _vm2.InternalComponentCapabilities.updateHook)) {\n      vm.updateWith(new UpdateComponentOpcode(state, manager, dynamicScope));\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.RegisterComponentDestructor, (vm, {\n    op1: _state\n  }) => {\n    let {\n      manager,\n      state,\n      capabilities\n    } = (0, _debug.check)(vm.fetchValue(_state), CheckComponentInstance);\n    let d = manager.getDestroyable(state);\n    if (true /* DEBUG */ && !(0, _manager.managerHasCapability)(manager, capabilities, _vm2.InternalComponentCapabilities.willDestroy) && d !== null && typeof 'willDestroy' in d) {\n      throw new Error('BUG: Destructor has willDestroy, but the willDestroy capability was not enabled for this component. Pre-destruction hooks must be explicitly opted into');\n    }\n    if (d) vm.associateDestroyable(d);\n  });\n  APPEND_OPCODES.add(_vm2.Op.BeginComponentTransaction, (vm, {\n    op1: _state\n  }) => {\n    let name;\n    if (true /* DEBUG */) {\n      let {\n        definition,\n        manager\n      } = (0, _debug.check)(vm.fetchValue(_state), CheckComponentInstance);\n      name = definition.resolvedName ?? manager.getDebugName(definition.state);\n    }\n    vm.beginCacheGroup(name);\n    vm.elements().pushSimpleBlock();\n  });\n  APPEND_OPCODES.add(_vm2.Op.PutComponentOperations, vm => {\n    vm.loadValue(_vm2.$t0, new ComponentElementOperations());\n  });\n  APPEND_OPCODES.add(_vm2.Op.ComponentAttr, (vm, {\n    op1: _name,\n    op2: _trusting,\n    op3: _namespace\n  }) => {\n    let name = vm[CONSTANTS].getValue(_name);\n    let trusting = vm[CONSTANTS].getValue(_trusting);\n    let reference = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n    (0, _debug.check)(vm.fetchValue(_vm2.$t0), (0, _debug.CheckInstanceof)(ComponentElementOperations)).setAttribute(name, reference, trusting, namespace);\n  });\n  APPEND_OPCODES.add(_vm2.Op.StaticComponentAttr, (vm, {\n    op1: _name,\n    op2: _value,\n    op3: _namespace\n  }) => {\n    let name = vm[CONSTANTS].getValue(_name);\n    let value = vm[CONSTANTS].getValue(_value);\n    let namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n    (0, _debug.check)(vm.fetchValue(_vm2.$t0), (0, _debug.CheckInstanceof)(ComponentElementOperations)).setStaticAttribute(name, value, namespace);\n  });\n  class ComponentElementOperations {\n    constructor() {\n      this.attributes = (0, _util.dict)();\n      this.classes = [];\n      this.modifiers = [];\n    }\n    setAttribute(name, value, trusting, namespace) {\n      let deferred = {\n        value,\n        namespace,\n        trusting\n      };\n      if (name === 'class') {\n        this.classes.push(value);\n      }\n      this.attributes[name] = deferred;\n    }\n    setStaticAttribute(name, value, namespace) {\n      let deferred = {\n        value,\n        namespace\n      };\n      if (name === 'class') {\n        this.classes.push(value);\n      }\n      this.attributes[name] = deferred;\n    }\n    addModifier(modifier) {\n      this.modifiers.push(modifier);\n    }\n    flush(vm) {\n      let type;\n      let attributes = this.attributes;\n      for (let name in this.attributes) {\n        if (name === 'type') {\n          type = attributes[name];\n          continue;\n        }\n        let attr = (0, _util.unwrap)(this.attributes[name]);\n        if (name === 'class') {\n          setDeferredAttr(vm, 'class', mergeClasses(this.classes), attr.namespace, attr.trusting);\n        } else {\n          setDeferredAttr(vm, name, attr.value, attr.namespace, attr.trusting);\n        }\n      }\n      if (type !== undefined) {\n        setDeferredAttr(vm, 'type', type.value, type.namespace, type.trusting);\n      }\n      return this.modifiers;\n    }\n  }\n  function mergeClasses(classes) {\n    if (classes.length === 0) {\n      return '';\n    }\n    if (classes.length === 1) {\n      return (0, _util.unwrap)(classes[0]);\n    }\n    if (allStringClasses(classes)) {\n      return classes.join(' ');\n    }\n    return createClassListRef(classes);\n  }\n  function allStringClasses(classes) {\n    return classes.every(c => typeof c === 'string');\n  }\n  function setDeferredAttr(vm, name, value, namespace, trusting = false) {\n    if (typeof value === 'string') {\n      vm.elements().setStaticAttribute(name, value, namespace);\n    } else {\n      let attribute = vm.elements().setDynamicAttribute(name, (0, _reference.valueForRef)(value), trusting, namespace);\n      if (!(0, _reference.isConstRef)(value)) {\n        vm.updateWith(new UpdateDynamicAttributeOpcode(value, attribute, vm.env));\n      }\n    }\n  }\n  APPEND_OPCODES.add(_vm2.Op.DidCreateElement, (vm, {\n    op1: _state\n  }) => {\n    let {\n      definition,\n      state\n    } = (0, _debug.check)(vm.fetchValue(_state), CheckComponentInstance);\n    let {\n      manager\n    } = definition;\n    let operations = (0, _debug.check)(vm.fetchValue(_vm2.$t0), (0, _debug.CheckInstanceof)(ComponentElementOperations));\n    manager.didCreateElement(state, (0, _util.expect)(vm.elements().constructing, `Expected a constructing element in DidCreateOpcode`), operations);\n  });\n  APPEND_OPCODES.add(_vm2.Op.GetComponentSelf, (vm, {\n    op1: _state,\n    op2: _names\n  }) => {\n    let instance = (0, _debug.check)(vm.fetchValue(_state), CheckComponentInstance);\n    let {\n      definition,\n      state\n    } = instance;\n    let {\n      manager\n    } = definition;\n    let selfRef = manager.getSelf(state);\n    if (vm.env.debugRenderTree !== undefined) {\n      let instance = (0, _debug.check)(vm.fetchValue(_state), CheckComponentInstance);\n      let {\n        definition,\n        manager\n      } = instance;\n      let args;\n      if (vm.stack.peek() === vm[ARGS$1]) {\n        args = vm[ARGS$1].capture();\n      } else {\n        let names = vm[CONSTANTS].getArray(_names);\n        vm[ARGS$1].setup(vm.stack, names, [], 0, true);\n        args = vm[ARGS$1].capture();\n      }\n      let moduleName;\n      let compilable = definition.compilable;\n      if (compilable === null) {\n        (0, _util.assert)((0, _manager.managerHasCapability)(manager, instance.capabilities, _vm2.InternalComponentCapabilities.dynamicLayout), 'BUG: No template was found for this component, and the component did not have the dynamic layout capability');\n        compilable = manager.getDynamicLayout(state, vm.runtime.resolver);\n        if (compilable !== null) {\n          moduleName = compilable.moduleName;\n        } else {\n          moduleName = '__default__.hbs';\n        }\n      } else {\n        moduleName = compilable.moduleName;\n      }\n\n      // For tearing down the debugRenderTree\n      vm.associateDestroyable(instance);\n      if (hasCustomDebugRenderTreeLifecycle(manager)) {\n        let nodes = manager.getDebugCustomRenderTree(instance.definition.state, instance.state, args, moduleName);\n        nodes.forEach(node => {\n          let {\n            bucket\n          } = node;\n          vm.env.debugRenderTree.create(bucket, node);\n          (0, _destroyable.registerDestructor)(instance, () => {\n            vm.env.debugRenderTree?.willDestroy(bucket);\n          });\n          vm.updateWith(new DebugRenderTreeUpdateOpcode(bucket));\n        });\n      } else {\n        let name = definition.resolvedName ?? manager.getDebugName(definition.state);\n        vm.env.debugRenderTree.create(instance, {\n          type: 'component',\n          name,\n          args,\n          template: moduleName,\n          instance: (0, _reference.valueForRef)(selfRef)\n        });\n        vm.associateDestroyable(instance);\n        (0, _destroyable.registerDestructor)(instance, () => {\n          vm.env.debugRenderTree?.willDestroy(instance);\n        });\n        vm.updateWith(new DebugRenderTreeUpdateOpcode(instance));\n      }\n    }\n    vm.stack.push(selfRef);\n  });\n  APPEND_OPCODES.add(_vm2.Op.GetComponentTagName, (vm, {\n    op1: _state\n  }) => {\n    let {\n      definition,\n      state\n    } = (0, _debug.check)(vm.fetchValue(_state), CheckComponentInstance);\n    let {\n      manager\n    } = definition;\n    let tagName = manager.getTagName(state);\n\n    // User provided value from JS, so we don't bother to encode\n    vm.stack.push(tagName);\n  });\n\n  // Dynamic Invocation Only\n  APPEND_OPCODES.add(_vm2.Op.GetComponentLayout, (vm, {\n    op1: _state\n  }) => {\n    let instance = (0, _debug.check)(vm.fetchValue(_state), CheckComponentInstance);\n    let {\n      manager,\n      definition\n    } = instance;\n    let {\n      stack\n    } = vm;\n    let {\n      compilable\n    } = definition;\n    if (compilable === null) {\n      let {\n        capabilities\n      } = instance;\n      (0, _util.assert)((0, _manager.managerHasCapability)(manager, capabilities, _vm2.InternalComponentCapabilities.dynamicLayout), 'BUG: No template was found for this component, and the component did not have the dynamic layout capability');\n      compilable = manager.getDynamicLayout(instance.state, vm.runtime.resolver);\n      if (compilable === null) {\n        if ((0, _manager.managerHasCapability)(manager, capabilities, _vm2.InternalComponentCapabilities.wrapped)) {\n          compilable = (0, _util.unwrapTemplate)(vm[CONSTANTS].defaultTemplate).asWrappedLayout();\n        } else {\n          compilable = (0, _util.unwrapTemplate)(vm[CONSTANTS].defaultTemplate).asLayout();\n        }\n      }\n    }\n    let handle = compilable.compile(vm.context);\n    stack.push(compilable.symbolTable);\n    stack.push(handle);\n  });\n  APPEND_OPCODES.add(_vm2.Op.Main, (vm, {\n    op1: register\n  }) => {\n    let definition = (0, _debug.check)(vm.stack.pop(), CheckComponentDefinition);\n    let invocation = (0, _debug.check)(vm.stack.pop(), CheckInvocation);\n    let {\n      manager,\n      capabilities\n    } = definition;\n    let 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(_vm2.Op.PopulateLayout, (vm, {\n    op1: _state\n  }) => {\n    let {\n      stack\n    } = vm;\n\n    // In DEBUG handles could be ErrHandle objects\n    let handle = (0, _debug.check)(stack.pop(), _debug.CheckHandle);\n    let table = (0, _debug.check)(stack.pop(), _debug.CheckProgramSymbolTable);\n    let state = (0, _debug.check)(vm.fetchValue(_state), CheckComponentInstance);\n    state.handle = handle;\n    state.table = table;\n  });\n  APPEND_OPCODES.add(_vm2.Op.VirtualRootScope, (vm, {\n    op1: _state\n  }) => {\n    let {\n      table,\n      manager,\n      capabilities,\n      state\n    } = (0, _debug.check)(vm.fetchValue(_state), CheckFinishedComponentInstance);\n    let owner;\n    if ((0, _manager.managerHasCapability)(manager, capabilities, _vm2.InternalComponentCapabilities.hasSubOwner)) {\n      owner = manager.getOwner(state);\n      vm.loadValue(_vm2.$t1, null); // Clear the temp register\n    } else {\n      // Check the temp register to see if an owner was resolved from currying\n      owner = vm.fetchValue(_vm2.$t1);\n      if (owner === null) {\n        // If an owner wasn't found, default to using the current owner. This\n        // will happen for normal dynamic component invocation,\n        // e.g. <SomeClassicEmberComponent/>\n        owner = vm.getOwner();\n      } else {\n        // Else the owner was found, so clear the temp register. This will happen\n        // if we are loading a curried component, e.g. <@someCurriedComponent/>\n        vm.loadValue(_vm2.$t1, null);\n      }\n    }\n    vm.pushRootScope(table.symbols.length + 1, owner);\n  });\n  APPEND_OPCODES.add(_vm2.Op.SetupForEval, (vm, {\n    op1: _state\n  }) => {\n    let state = (0, _debug.check)(vm.fetchValue(_state), CheckFinishedComponentInstance);\n    if (state.table.hasEval) {\n      let lookup = state.lookup = (0, _util.dict)();\n      vm.scope().bindEvalScope(lookup);\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.SetNamedVariables, (vm, {\n    op1: _state\n  }) => {\n    let state = (0, _debug.check)(vm.fetchValue(_state), CheckFinishedComponentInstance);\n    let scope = vm.scope();\n    let args = (0, _debug.check)(vm.stack.peek(), CheckArguments);\n    let callerNames = args.named.atNames;\n    for (let i = callerNames.length - 1; i >= 0; i--) {\n      let atName = (0, _util.unwrap)(callerNames[i]);\n      let symbol = state.table.symbols.indexOf(atName);\n      let value = args.named.get(atName, true);\n      if (symbol !== -1) scope.bindSymbol(symbol + 1, value);\n      if (state.lookup) state.lookup[atName] = value;\n    }\n  });\n  function bindBlock(symbolName, blockName, state, blocks, vm) {\n    let symbol = state.table.symbols.indexOf(symbolName);\n    let block = blocks.get(blockName);\n    if (symbol !== -1) vm.scope().bindBlock(symbol + 1, block);\n    if (state.lookup) state.lookup[symbolName] = block;\n  }\n  APPEND_OPCODES.add(_vm2.Op.SetBlocks, (vm, {\n    op1: _state\n  }) => {\n    let state = (0, _debug.check)(vm.fetchValue(_state), CheckFinishedComponentInstance);\n    let {\n      blocks\n    } = (0, _debug.check)(vm.stack.peek(), CheckArguments);\n    for (const [i] of (0, _util.enumerate)(blocks.names)) {\n      bindBlock((0, _util.unwrap)(blocks.symbolNames[i]), (0, _util.unwrap)(blocks.names[i]), state, blocks, vm);\n    }\n  });\n\n  // Dynamic Invocation Only\n  APPEND_OPCODES.add(_vm2.Op.InvokeComponentLayout, (vm, {\n    op1: _state\n  }) => {\n    let state = (0, _debug.check)(vm.fetchValue(_state), CheckFinishedComponentInstance);\n    vm.call(state.handle);\n  });\n  APPEND_OPCODES.add(_vm2.Op.DidRenderLayout, (vm, {\n    op1: _state\n  }) => {\n    let instance = (0, _debug.check)(vm.fetchValue(_state), CheckComponentInstance);\n    let {\n      manager,\n      state,\n      capabilities\n    } = instance;\n    let bounds = vm.elements().popBlock();\n    if (vm.env.debugRenderTree !== undefined) {\n      if (hasCustomDebugRenderTreeLifecycle(manager)) {\n        let nodes = manager.getDebugCustomRenderTree(instance.definition.state, state, EMPTY_ARGS);\n        nodes.reverse().forEach(node => {\n          let {\n            bucket\n          } = node;\n          vm.env.debugRenderTree.didRender(bucket, bounds);\n          vm.updateWith(new DebugRenderTreeDidRenderOpcode(bucket, bounds));\n        });\n      } else {\n        vm.env.debugRenderTree.didRender(instance, bounds);\n        vm.updateWith(new DebugRenderTreeDidRenderOpcode(instance, bounds));\n      }\n    }\n    if ((0, _manager.managerHasCapability)(manager, capabilities, _vm2.InternalComponentCapabilities.createInstance)) {\n      let mgr = (0, _debug.check)(manager, (0, _debug.CheckInterface)({\n        didRenderLayout: _debug.CheckFunction\n      }));\n      mgr.didRenderLayout(state, bounds);\n      vm.env.didCreate(instance);\n      vm.updateWith(new DidUpdateLayoutOpcode(instance, bounds));\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.CommitComponentTransaction, vm => {\n    vm.commitCacheGroup();\n  });\n  class UpdateComponentOpcode {\n    constructor(component, manager, dynamicScope) {\n      this.component = component;\n      this.manager = manager;\n      this.dynamicScope = dynamicScope;\n    }\n    evaluate(_vm) {\n      let {\n        component,\n        manager,\n        dynamicScope\n      } = this;\n      manager.update(component, dynamicScope);\n    }\n  }\n  class DidUpdateLayoutOpcode {\n    constructor(component, bounds) {\n      this.component = component;\n      this.bounds = bounds;\n    }\n    evaluate(vm) {\n      let {\n        component,\n        bounds\n      } = this;\n      let {\n        manager,\n        state\n      } = component;\n      manager.didUpdateLayout(state, bounds);\n      vm.env.didUpdate(component);\n    }\n  }\n  class DebugRenderTreeUpdateOpcode {\n    constructor(bucket) {\n      this.bucket = bucket;\n    }\n    evaluate(vm) {\n      vm.env.debugRenderTree?.update(this.bucket);\n    }\n  }\n  class DebugRenderTreeDidRenderOpcode {\n    constructor(bucket, bounds) {\n      this.bucket = bucket;\n      this.bounds = bounds;\n    }\n    evaluate(vm) {\n      vm.env.debugRenderTree?.didRender(this.bucket, this.bounds);\n    }\n  }\n  (0, _debug.CheckInterface)({\n    [_validator.COMPUTE]: _debug.CheckFunction\n  });\n  const CheckOperations = (0, _debug.wrap)(() => (0, _debug.CheckOption)((0, _debug.CheckInstanceof)(ComponentElementOperations)));\n  class ReferenceChecker {\n    validate(value) {\n      return typeof value === 'object' && value !== null && _reference.REFERENCE in value;\n    }\n    expected() {\n      return `Reference`;\n    }\n  }\n  const CheckReference = new ReferenceChecker();\n  const CheckIterator = (0, _debug.CheckInterface)({\n    next: _debug.CheckFunction,\n    isEmpty: _debug.CheckFunction\n  });\n  const CheckArguments = (0, _debug.wrap)(() => (0, _debug.CheckInstanceof)(VMArgumentsImpl));\n  const CheckHelper = _debug.CheckFunction;\n  class UndefinedReferenceChecker {\n    validate(value) {\n      return value === _reference.UNDEFINED_REFERENCE;\n    }\n    expected() {\n      return `undefined`;\n    }\n  }\n  const CheckUndefinedReference = new UndefinedReferenceChecker();\n  const CheckCapturedArguments = (0, _debug.CheckInterface)({\n    positional: (0, _debug.wrap)(() => (0, _debug.CheckArray)(CheckReference)),\n    named: (0, _debug.wrap)(() => (0, _debug.CheckDict)(CheckReference))\n  });\n  const CheckScope = (0, _debug.wrap)(() => (0, _debug.CheckInstanceof)(PartialScopeImpl));\n  const CheckComponentManager = (0, _debug.CheckInterface)({\n    getCapabilities: _debug.CheckFunction\n  });\n  const CheckCapabilities = _debug.CheckNumber;\n  const CheckComponentInstance = (0, _debug.CheckInterface)({\n    definition: _debug.CheckUnknown,\n    state: _debug.CheckUnknown,\n    handle: _debug.CheckUnknown,\n    table: _debug.CheckUnknown\n  });\n  const CheckCurriedComponentDefinition = (0, _debug.CheckOr)(_debug.CheckObject, _debug.CheckFunction);\n  const CheckInvocation = (0, _debug.CheckInterface)({\n    handle: _debug.CheckNumber,\n    symbolTable: _debug.CheckProgramSymbolTable\n  });\n  (0, _debug.CheckInterface)({\n    setAttribute: _debug.CheckFunction\n  });\n  const CheckFinishedComponentInstance = (0, _debug.CheckInterface)({\n    definition: _debug.CheckUnknown,\n    state: _debug.CheckUnknown,\n    handle: _debug.CheckHandle,\n    table: _debug.CheckProgramSymbolTable\n  });\n  const CheckCompilableBlock = (0, _debug.CheckInterface)({\n    compile: _debug.CheckFunction,\n    symbolTable: _debug.CheckBlockSymbolTable\n  });\n  const CheckCompilableProgram = (0, _debug.CheckInterface)({\n    compile: _debug.CheckFunction,\n    symbolTable: _debug.CheckProgramSymbolTable\n  });\n  const CheckScopeBlock = (0, _debug.CheckInterface)({\n    0: CheckCompilableBlock,\n    1: CheckScope,\n    2: _debug.CheckBlockSymbolTable\n  });\n  const CheckComponentDefinition = (0, _debug.CheckInterface)({\n    resolvedName: (0, _debug.CheckOption)(_debug.CheckString),\n    handle: _debug.CheckNumber,\n    state: (0, _debug.CheckOr)(_debug.CheckObject, _debug.CheckFunction),\n    manager: CheckComponentManager,\n    capabilities: CheckCapabilities,\n    compilable: CheckCompilableProgram\n  });\n\n  /*\n    The calling convention is:\n  \n    * 0-N block arguments at the bottom\n    * 0-N positional arguments next (left-to-right)\n    * 0-N named arguments next\n  */\n\n  class VMArgumentsImpl {\n    constructor() {\n      this.stack = null;\n      this.positional = new PositionalArgumentsImpl();\n      this.named = new NamedArgumentsImpl();\n      this.blocks = new BlockArgumentsImpl();\n    }\n    empty(stack) {\n      let base = stack[REGISTERS][_vm2.$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    setup(stack, names, blockNames, positionalCount, atNames) {\n      this.stack = stack;\n\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      let named = this.named;\n      let namedCount = names.length;\n      let namedBase = stack[REGISTERS][_vm2.$sp] - namedCount + 1;\n      named.setup(stack, namedBase, namedCount, names, atNames);\n      let positional = this.positional;\n      let positionalBase = namedBase - positionalCount;\n      positional.setup(stack, positionalBase, positionalCount);\n      let blocks = this.blocks;\n      let blocksCount = blockNames.length;\n      let blocksBase = positionalBase - blocksCount * 3;\n      blocks.setup(stack, blocksBase, blocksCount, blockNames);\n    }\n    get base() {\n      return this.blocks.base;\n    }\n    get length() {\n      return this.positional.length + this.named.length + this.blocks.length * 3;\n    }\n    at(pos) {\n      return this.positional.at(pos);\n    }\n    realloc(offset) {\n      let {\n        stack\n      } = this;\n      if (offset > 0 && stack !== null) {\n        let {\n          positional,\n          named\n        } = this;\n        let newBase = positional.base + offset;\n        let length = positional.length + named.length;\n        for (let i = length - 1; i >= 0; i--) {\n          stack.copy(i + positional.base, i + newBase);\n        }\n        positional.base += offset;\n        named.base += offset;\n        stack[REGISTERS][_vm2.$sp] += offset;\n      }\n    }\n    capture() {\n      let positional = this.positional.length === 0 ? EMPTY_POSITIONAL : this.positional.capture();\n      let named = this.named.length === 0 ? EMPTY_NAMED : this.named.capture();\n      return {\n        named,\n        positional\n      };\n    }\n    clear() {\n      let {\n        stack,\n        length\n      } = this;\n      if (length > 0 && stack !== null) stack.pop(length);\n    }\n  }\n  const EMPTY_REFERENCES = (0, _util.emptyArray)();\n  class PositionalArgumentsImpl {\n    constructor() {\n      this.base = 0;\n      this.length = 0;\n      this.stack = null;\n      this._references = null;\n    }\n    empty(stack, base) {\n      this.stack = stack;\n      this.base = base;\n      this.length = 0;\n      this._references = EMPTY_REFERENCES;\n    }\n    setup(stack, base, length) {\n      this.stack = stack;\n      this.base = base;\n      this.length = length;\n      if (length === 0) {\n        this._references = EMPTY_REFERENCES;\n      } else {\n        this._references = null;\n      }\n    }\n    at(position) {\n      let {\n        base,\n        length,\n        stack\n      } = this;\n      if (position < 0 || position >= length) {\n        return _reference.UNDEFINED_REFERENCE;\n      }\n      return (0, _debug.check)(stack.get(position, base), CheckReference);\n    }\n    capture() {\n      return this.references;\n    }\n    prepend(other) {\n      let additions = other.length;\n      if (additions > 0) {\n        let {\n          base,\n          length,\n          stack\n        } = this;\n        this.base = base = base - additions;\n        this.length = length + additions;\n        for (let i = 0; i < additions; i++) {\n          stack.set(other[i], i, base);\n        }\n        this._references = null;\n      }\n    }\n    get references() {\n      let references = this._references;\n      if (!references) {\n        let {\n          stack,\n          base,\n          length\n        } = this;\n        references = this._references = stack.slice(base, base + length);\n      }\n      return references;\n    }\n  }\n  class NamedArgumentsImpl {\n    constructor() {\n      this.base = 0;\n      this.length = 0;\n      this._references = null;\n      this._names = _util.EMPTY_STRING_ARRAY;\n      this._atNames = _util.EMPTY_STRING_ARRAY;\n    }\n    empty(stack, base) {\n      this.stack = stack;\n      this.base = base;\n      this.length = 0;\n      this._references = EMPTY_REFERENCES;\n      this._names = _util.EMPTY_STRING_ARRAY;\n      this._atNames = _util.EMPTY_STRING_ARRAY;\n    }\n    setup(stack, base, length, names, atNames) {\n      this.stack = stack;\n      this.base = base;\n      this.length = length;\n      if (length === 0) {\n        this._references = EMPTY_REFERENCES;\n        this._names = _util.EMPTY_STRING_ARRAY;\n        this._atNames = _util.EMPTY_STRING_ARRAY;\n      } else {\n        this._references = null;\n        if (atNames) {\n          this._names = null;\n          this._atNames = names;\n        } else {\n          this._names = names;\n          this._atNames = null;\n        }\n      }\n    }\n    get names() {\n      let names = this._names;\n      if (!names) {\n        names = this._names = this._atNames.map(this.toSyntheticName);\n      }\n      return names;\n    }\n    get atNames() {\n      let atNames = this._atNames;\n      if (!atNames) {\n        atNames = this._atNames = this._names.map(this.toAtName);\n      }\n      return atNames;\n    }\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\n    get(name, atNames = false) {\n      let {\n        base,\n        stack\n      } = this;\n      let names = atNames ? this.atNames : this.names;\n      let idx = names.indexOf(name);\n      if (idx === -1) {\n        return _reference.UNDEFINED_REFERENCE;\n      }\n      let ref = stack.get(idx, base);\n      if (true /* DEBUG */) {\n        return (0, _reference.createDebugAliasRef)(atNames ? name : `@${name}`, ref);\n      } else {\n        return ref;\n      }\n    }\n    capture() {\n      let {\n        names,\n        references\n      } = this;\n      let map = (0, _util.dict)();\n      for (const [i, name] of (0, _util.enumerate)(names)) {\n        if (true /* DEBUG */) {\n          map[name] = (0, _reference.createDebugAliasRef)(`@${name}`, (0, _util.unwrap)(references[i]));\n        } else {\n          map[name] = (0, _util.unwrap)(references[i]);\n        }\n      }\n      return map;\n    }\n    merge(other) {\n      let keys = Object.keys(other);\n      if (keys.length > 0) {\n        let {\n          names,\n          length,\n          stack\n        } = this;\n        let newNames = names.slice();\n        for (const name of keys) {\n          let idx = newNames.indexOf(name);\n          if (idx === -1) {\n            length = newNames.push(name);\n            stack.push(other[name]);\n          }\n        }\n        this.length = length;\n        this._references = null;\n        this._names = newNames;\n        this._atNames = null;\n      }\n    }\n    get references() {\n      let references = this._references;\n      if (!references) {\n        let {\n          base,\n          length,\n          stack\n        } = this;\n        references = this._references = stack.slice(base, base + length);\n      }\n      return references;\n    }\n    toSyntheticName(name) {\n      return name.slice(1);\n    }\n    toAtName(name) {\n      return `@${name}`;\n    }\n  }\n  function toSymbolName(name) {\n    return `&${name}`;\n  }\n  const EMPTY_BLOCK_VALUES = (0, _util.emptyArray)();\n  class BlockArgumentsImpl {\n    constructor() {\n      this.internalValues = null;\n      this._symbolNames = null;\n      this.internalTag = null;\n      this.names = _util.EMPTY_STRING_ARRAY;\n      this.length = 0;\n      this.base = 0;\n    }\n    empty(stack, base) {\n      this.stack = stack;\n      this.names = _util.EMPTY_STRING_ARRAY;\n      this.base = base;\n      this.length = 0;\n      this._symbolNames = null;\n      this.internalTag = _validator.CONSTANT_TAG;\n      this.internalValues = EMPTY_BLOCK_VALUES;\n    }\n    setup(stack, base, length, names) {\n      this.stack = stack;\n      this.names = names;\n      this.base = base;\n      this.length = length;\n      this._symbolNames = null;\n      if (length === 0) {\n        this.internalTag = _validator.CONSTANT_TAG;\n        this.internalValues = EMPTY_BLOCK_VALUES;\n      } else {\n        this.internalTag = null;\n        this.internalValues = null;\n      }\n    }\n    get values() {\n      let values = this.internalValues;\n      if (!values) {\n        let {\n          base,\n          length,\n          stack\n        } = this;\n        values = this.internalValues = stack.slice(base, base + length * 3);\n      }\n      return values;\n    }\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\n    get(name) {\n      let idx = this.names.indexOf(name);\n      if (idx === -1) {\n        return null;\n      }\n      let {\n        base,\n        stack\n      } = this;\n      let table = (0, _debug.check)(stack.get(idx * 3, base), (0, _debug.CheckOption)(_debug.CheckBlockSymbolTable));\n      let scope = (0, _debug.check)(stack.get(idx * 3 + 1, base), (0, _debug.CheckOption)(CheckScope));\n      let handle = (0, _debug.check)(stack.get(idx * 3 + 2, base), (0, _debug.CheckOption)((0, _debug.CheckOr)(_debug.CheckHandle, CheckCompilableBlock)));\n      return handle === null ? null : [handle, scope, table];\n    }\n    capture() {\n      return new CapturedBlockArgumentsImpl(this.names, this.values);\n    }\n    get symbolNames() {\n      let symbolNames = this._symbolNames;\n      if (symbolNames === null) {\n        symbolNames = this._symbolNames = this.names.map(toSymbolName);\n      }\n      return symbolNames;\n    }\n  }\n  class CapturedBlockArgumentsImpl {\n    constructor(names, values) {\n      this.length = void 0;\n      this.names = names;\n      this.values = values;\n      this.length = names.length;\n    }\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\n    get(name) {\n      let 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  function createCapturedArgs(named, positional) {\n    return {\n      named,\n      positional\n    };\n  }\n  function reifyNamed(named) {\n    let reified = (0, _util.dict)();\n    for (const [key, value] of Object.entries(named)) {\n      reified[key] = (0, _reference.valueForRef)(value);\n    }\n    return reified;\n  }\n  function reifyPositional(positional) {\n    return positional.map(_reference.valueForRef);\n  }\n  function reifyArgs(args) {\n    return {\n      named: reifyNamed(args.named),\n      positional: reifyPositional(args.positional)\n    };\n  }\n  const EMPTY_NAMED = _exports.EMPTY_NAMED = Object.freeze(Object.create(null));\n  const EMPTY_POSITIONAL = _exports.EMPTY_POSITIONAL = EMPTY_REFERENCES;\n  const EMPTY_ARGS = _exports.EMPTY_ARGS = createCapturedArgs(EMPTY_NAMED, EMPTY_POSITIONAL);\n  function createConcatRef(partsRefs) {\n    return (0, _reference.createComputeRef)(() => {\n      const parts = [];\n      for (const ref of partsRefs) {\n        const value = (0, _reference.valueForRef)(ref);\n        if (value !== null && value !== undefined) {\n          parts.push(castToString(value));\n        }\n      }\n      if (parts.length > 0) {\n        return parts.join('');\n      }\n      return null;\n    });\n  }\n  function castToString(value) {\n    if (typeof value === 'string') {\n      return value;\n    } else if (typeof value.toString !== 'function') {\n      return '';\n    }\n    return String(value);\n  }\n  APPEND_OPCODES.add(_vm2.Op.Curry, (vm, {\n    op1: type,\n    op2: _isStrict\n  }) => {\n    let stack = vm.stack;\n    let definition = (0, _debug.check)(stack.pop(), CheckReference);\n    let capturedArgs = (0, _debug.check)(stack.pop(), CheckCapturedArguments);\n    let owner = vm.getOwner();\n    let resolver = vm.runtime.resolver;\n    let isStrict = false;\n    if (true /* DEBUG */) {\n      // strict check only happens in DEBUG builds, no reason to load it otherwise\n      isStrict = vm[CONSTANTS].getValue((0, _util.decodeHandle)(_isStrict));\n    }\n    vm.loadValue(_vm2.$v0, createCurryRef(type, definition, owner, capturedArgs, resolver, isStrict));\n  });\n  APPEND_OPCODES.add(_vm2.Op.DynamicHelper, vm => {\n    let stack = vm.stack;\n    let ref = (0, _debug.check)(stack.pop(), CheckReference);\n    let args = (0, _debug.check)(stack.pop(), CheckArguments).capture();\n    let helperRef;\n    let initialOwner = vm.getOwner();\n    let helperInstanceRef = (0, _reference.createComputeRef)(() => {\n      if (helperRef !== undefined) {\n        (0, _destroyable.destroy)(helperRef);\n      }\n      let definition = (0, _reference.valueForRef)(ref);\n      if (isCurriedType(definition, _vm2.CurriedTypes.Helper)) {\n        let {\n          definition: resolvedDef,\n          owner,\n          positional,\n          named\n        } = resolveCurriedValue(definition);\n        let helper = resolveHelper(resolvedDef, ref);\n        if (named !== undefined) {\n          args.named = (0, _util.assign)({}, ...named, args.named);\n        }\n        if (positional !== undefined) {\n          args.positional = positional.concat(args.positional);\n        }\n        helperRef = helper(args, owner);\n        (0, _destroyable.associateDestroyableChild)(helperInstanceRef, helperRef);\n      } else if ((0, _util.isObject)(definition)) {\n        let helper = resolveHelper(definition, ref);\n        helperRef = helper(args, initialOwner);\n        if ((0, _destroyable._hasDestroyableChildren)(helperRef)) {\n          (0, _destroyable.associateDestroyableChild)(helperInstanceRef, helperRef);\n        }\n      } else {\n        helperRef = _reference.UNDEFINED_REFERENCE;\n      }\n    });\n    let helperValueRef = (0, _reference.createComputeRef)(() => {\n      (0, _reference.valueForRef)(helperInstanceRef);\n      return (0, _reference.valueForRef)(helperRef);\n    });\n    vm.associateDestroyable(helperInstanceRef);\n    vm.loadValue(_vm2.$v0, helperValueRef);\n  });\n  function resolveHelper(definition, ref) {\n    let managerOrHelper = (0, _manager.getInternalHelperManager)(definition, true);\n    let helper;\n    if (managerOrHelper === null) {\n      helper = null;\n    } else {\n      helper = typeof managerOrHelper === 'function' ? managerOrHelper : managerOrHelper.getHelper(definition);\n      (0, _util.assert)(managerOrHelper, 'BUG: expected manager or helper');\n    }\n    if (true /* DEBUG */ && helper === null) {\n      throw new Error(`Expected a dynamic helper definition, but received an object or function that did not have a helper manager associated with it. The dynamic invocation was \\`{{${ref.debugLabel}}}\\` or \\`(${ref.debugLabel})\\`, and the incorrect definition is the value at the path \\`${ref.debugLabel}\\`, which was: ${(0, _util.debugToString)(definition)}`);\n    }\n    return helper;\n  }\n  APPEND_OPCODES.add(_vm2.Op.Helper, (vm, {\n    op1: handle\n  }) => {\n    let stack = vm.stack;\n    let helper = (0, _debug.check)(vm[CONSTANTS].getValue(handle), CheckHelper);\n    let args = (0, _debug.check)(stack.pop(), CheckArguments);\n    let value = helper(args.capture(), vm.getOwner(), vm.dynamicScope());\n    if ((0, _destroyable._hasDestroyableChildren)(value)) {\n      vm.associateDestroyable(value);\n    }\n    vm.loadValue(_vm2.$v0, value);\n  });\n  APPEND_OPCODES.add(_vm2.Op.GetVariable, (vm, {\n    op1: symbol\n  }) => {\n    let expr = vm.referenceForSymbol(symbol);\n    vm.stack.push(expr);\n  });\n  APPEND_OPCODES.add(_vm2.Op.SetVariable, (vm, {\n    op1: symbol\n  }) => {\n    let expr = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    vm.scope().bindSymbol(symbol, expr);\n  });\n  APPEND_OPCODES.add(_vm2.Op.SetBlock, (vm, {\n    op1: symbol\n  }) => {\n    let handle = (0, _debug.check)(vm.stack.pop(), CheckCompilableBlock);\n    let scope = (0, _debug.check)(vm.stack.pop(), CheckScope);\n    let table = (0, _debug.check)(vm.stack.pop(), _debug.CheckBlockSymbolTable);\n    vm.scope().bindBlock(symbol, [handle, scope, table]);\n  });\n  APPEND_OPCODES.add(_vm2.Op.ResolveMaybeLocal, (vm, {\n    op1: _name\n  }) => {\n    let name = vm[CONSTANTS].getValue(_name);\n    let locals = vm.scope().getPartialMap();\n    let ref = locals[name];\n    if (ref === undefined) {\n      ref = (0, _reference.childRefFor)(vm.getSelf(), name);\n    }\n    vm.stack.push(ref);\n  });\n  APPEND_OPCODES.add(_vm2.Op.RootScope, (vm, {\n    op1: symbols\n  }) => {\n    vm.pushRootScope(symbols, vm.getOwner());\n  });\n  APPEND_OPCODES.add(_vm2.Op.GetProperty, (vm, {\n    op1: _key\n  }) => {\n    let key = vm[CONSTANTS].getValue(_key);\n    let expr = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    vm.stack.push((0, _reference.childRefFor)(expr, key));\n  });\n  APPEND_OPCODES.add(_vm2.Op.GetBlock, (vm, {\n    op1: _block\n  }) => {\n    let {\n      stack\n    } = vm;\n    let block = vm.scope().getBlock(_block);\n    stack.push(block);\n  });\n  APPEND_OPCODES.add(_vm2.Op.SpreadBlock, vm => {\n    let {\n      stack\n    } = vm;\n    let block = (0, _debug.check)(stack.pop(), (0, _debug.CheckOption)((0, _debug.CheckOr)(CheckScopeBlock, CheckUndefinedReference)));\n    if (block && !isUndefinedReference(block)) {\n      let [handleOrCompilable, scope, table] = block;\n      stack.push(table);\n      stack.push(scope);\n      stack.push(handleOrCompilable);\n    } else {\n      stack.push(null);\n      stack.push(null);\n      stack.push(null);\n    }\n  });\n  function isUndefinedReference(input) {\n    (0, _util.assert)(Array.isArray(input) || input === _reference.UNDEFINED_REFERENCE, 'a reference other than UNDEFINED_REFERENCE is illegal here');\n    return input === _reference.UNDEFINED_REFERENCE;\n  }\n  APPEND_OPCODES.add(_vm2.Op.HasBlock, vm => {\n    let {\n      stack\n    } = vm;\n    let block = (0, _debug.check)(stack.pop(), (0, _debug.CheckOption)((0, _debug.CheckOr)(CheckScopeBlock, CheckUndefinedReference)));\n    if (block && !isUndefinedReference(block)) {\n      stack.push(_reference.TRUE_REFERENCE);\n    } else {\n      stack.push(_reference.FALSE_REFERENCE);\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.HasBlockParams, vm => {\n    // FIXME(mmun): should only need to push the symbol table\n    let block = vm.stack.pop();\n    let scope = vm.stack.pop();\n    (0, _debug.check)(block, (0, _debug.CheckMaybe)((0, _debug.CheckOr)(_debug.CheckHandle, CheckCompilableBlock)));\n    (0, _debug.check)(scope, (0, _debug.CheckMaybe)(CheckScope));\n    let table = (0, _debug.check)(vm.stack.pop(), (0, _debug.CheckMaybe)(_debug.CheckBlockSymbolTable));\n    let hasBlockParams = table && table.parameters.length;\n    vm.stack.push(hasBlockParams ? _reference.TRUE_REFERENCE : _reference.FALSE_REFERENCE);\n  });\n  APPEND_OPCODES.add(_vm2.Op.Concat, (vm, {\n    op1: count\n  }) => {\n    let out = new Array(count);\n    for (let i = count; i > 0; i--) {\n      let offset = i - 1;\n      out[offset] = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    }\n    vm.stack.push(createConcatRef(out));\n  });\n  APPEND_OPCODES.add(_vm2.Op.IfInline, vm => {\n    let condition = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let truthy = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let falsy = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    vm.stack.push((0, _reference.createComputeRef)(() => {\n      if ((0, _globalContext.toBool)((0, _reference.valueForRef)(condition)) === true) {\n        return (0, _reference.valueForRef)(truthy);\n      } else {\n        return (0, _reference.valueForRef)(falsy);\n      }\n    }));\n  });\n  APPEND_OPCODES.add(_vm2.Op.Not, vm => {\n    let ref = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    vm.stack.push((0, _reference.createComputeRef)(() => {\n      return !(0, _globalContext.toBool)((0, _reference.valueForRef)(ref));\n    }));\n  });\n  APPEND_OPCODES.add(_vm2.Op.GetDynamicVar, vm => {\n    let scope = vm.dynamicScope();\n    let stack = vm.stack;\n    let nameRef = (0, _debug.check)(stack.pop(), CheckReference);\n    stack.push((0, _reference.createComputeRef)(() => {\n      let name = String((0, _reference.valueForRef)(nameRef));\n      return (0, _reference.valueForRef)(scope.get(name));\n    }));\n  });\n  APPEND_OPCODES.add(_vm2.Op.Log, vm => {\n    let {\n      positional\n    } = (0, _debug.check)(vm.stack.pop(), CheckArguments).capture();\n    vm.loadValue(_vm2.$v0, (0, _reference.createComputeRef)(() => {\n      // eslint-disable-next-line no-console\n      console.log(...reifyPositional(positional));\n    }));\n  });\n  class DynamicTextContent {\n    constructor(node, reference, lastValue) {\n      this.node = node;\n      this.reference = reference;\n      this.lastValue = lastValue;\n    }\n    evaluate() {\n      let value = (0, _reference.valueForRef)(this.reference);\n      let {\n        lastValue\n      } = this;\n      if (value === lastValue) return;\n      let normalized;\n      if (isEmpty$2(value)) {\n        normalized = '';\n      } else if (isString(value)) {\n        normalized = value;\n      } else {\n        normalized = String(value);\n      }\n      if (normalized !== lastValue) {\n        let textNode = this.node;\n        textNode.nodeValue = this.lastValue = normalized;\n      }\n    }\n  }\n  function toContentType(value) {\n    if (shouldCoerce(value)) {\n      return _vm2.ContentType.String;\n    } else if (isCurriedType(value, _vm2.CurriedType.Component) || (0, _manager.hasInternalComponentManager)(value)) {\n      return _vm2.ContentType.Component;\n    } else if (isCurriedType(value, _vm2.CurriedType.Helper) || (0, _manager.hasInternalHelperManager)(value)) {\n      return _vm2.ContentType.Helper;\n    } else if (isSafeString(value)) {\n      return _vm2.ContentType.SafeString;\n    } else if (isFragment(value)) {\n      return _vm2.ContentType.Fragment;\n    } else if (isNode(value)) {\n      return _vm2.ContentType.Node;\n    } else {\n      return _vm2.ContentType.String;\n    }\n  }\n  function toDynamicContentType(value) {\n    if (!(0, _util.isObject)(value)) {\n      return _vm2.ContentType.String;\n    }\n    if (isCurriedType(value, _vm2.CurriedType.Component) || (0, _manager.hasInternalComponentManager)(value)) {\n      return _vm2.ContentType.Component;\n    } else {\n      if (true /* DEBUG */ && !isCurriedType(value, _vm2.CurriedType.Helper) && !(0, _manager.hasInternalHelperManager)(value)) {\n        throw new Error(`Attempted use a dynamic value as a component or helper, but that value did not have an associated component or helper manager. The value was: ${value}`);\n      }\n      return _vm2.ContentType.Helper;\n    }\n  }\n  APPEND_OPCODES.add(_vm2.Op.ContentType, vm => {\n    let reference = (0, _debug.check)(vm.stack.peek(), CheckReference);\n    vm.stack.push(toContentType((0, _reference.valueForRef)(reference)));\n    if (!(0, _reference.isConstRef)(reference)) {\n      vm.updateWith(new AssertFilter(reference, toContentType));\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.DynamicContentType, vm => {\n    let reference = (0, _debug.check)(vm.stack.peek(), CheckReference);\n    vm.stack.push(toDynamicContentType((0, _reference.valueForRef)(reference)));\n    if (!(0, _reference.isConstRef)(reference)) {\n      vm.updateWith(new AssertFilter(reference, toDynamicContentType));\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.AppendHTML, vm => {\n    let reference = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let rawValue = (0, _reference.valueForRef)(reference);\n    let value = isEmpty$2(rawValue) ? '' : String(rawValue);\n    vm.elements().appendDynamicHTML(value);\n  });\n  APPEND_OPCODES.add(_vm2.Op.AppendSafeHTML, vm => {\n    let reference = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let rawValue = (0, _debug.check)((0, _reference.valueForRef)(reference), _debug.CheckSafeString).toHTML();\n    let value = isEmpty$2(rawValue) ? '' : (0, _debug.check)(rawValue, _debug.CheckString);\n    vm.elements().appendDynamicHTML(value);\n  });\n  APPEND_OPCODES.add(_vm2.Op.AppendText, vm => {\n    let reference = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let rawValue = (0, _reference.valueForRef)(reference);\n    let value = isEmpty$2(rawValue) ? '' : String(rawValue);\n    let node = vm.elements().appendDynamicText(value);\n    if (!(0, _reference.isConstRef)(reference)) {\n      vm.updateWith(new DynamicTextContent(node, reference, value));\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.AppendDocumentFragment, vm => {\n    let reference = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let value = (0, _debug.check)((0, _reference.valueForRef)(reference), _debug.CheckDocumentFragment);\n    vm.elements().appendDynamicFragment(value);\n  });\n  APPEND_OPCODES.add(_vm2.Op.AppendNode, vm => {\n    let reference = (0, _debug.check)(vm.stack.pop(), CheckReference);\n    let value = (0, _debug.check)((0, _reference.valueForRef)(reference), _debug.CheckNode);\n    vm.elements().appendDynamicNode(value);\n  });\n  function debugCallback(context, get) {\n    // eslint-disable-next-line no-console\n    console.info('Use `context`, and `get(<path>)` to debug this template.');\n\n    // for example...\n    context === get('this');\n\n    // eslint-disable-next-line no-debugger\n    debugger;\n  }\n  let callback = debugCallback;\n\n  // For testing purposes\n  function setDebuggerCallback(cb) {\n    callback = cb;\n  }\n  function resetDebuggerCallback() {\n    callback = debugCallback;\n  }\n  class ScopeInspector {\n    constructor(scope, symbols, debugInfo) {\n      this.locals = (0, _util.dict)();\n      this.scope = scope;\n      for (const slot of debugInfo) {\n        let name = (0, _util.unwrap)(symbols[slot - 1]);\n        let ref = scope.getSymbol(slot);\n        this.locals[name] = ref;\n      }\n    }\n    get(path) {\n      let {\n        scope,\n        locals\n      } = this;\n      let parts = path.split('.');\n      let [head, ...tail] = path.split('.');\n      let evalScope = scope.getEvalScope();\n      let ref;\n      if (head === 'this') {\n        ref = scope.getSelf();\n      } else if (locals[head]) {\n        ref = (0, _util.unwrap)(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      return tail.reduce((r, part) => (0, _reference.childRefFor)(r, part), ref);\n    }\n  }\n  APPEND_OPCODES.add(_vm2.Op.Debugger, (vm, {\n    op1: _symbols,\n    op2: _debugInfo\n  }) => {\n    let symbols = vm[CONSTANTS].getArray(_symbols);\n    let debugInfo = vm[CONSTANTS].getArray((0, _util.decodeHandle)(_debugInfo));\n    let inspector = new ScopeInspector(vm.scope(), symbols, debugInfo);\n    callback((0, _reference.valueForRef)(vm.getSelf()), path => (0, _reference.valueForRef)(inspector.get(path)));\n  });\n  APPEND_OPCODES.add(_vm2.Op.EnterList, (vm, {\n    op1: relativeStart,\n    op2: elseTarget\n  }) => {\n    let stack = vm.stack;\n    let listRef = (0, _debug.check)(stack.pop(), CheckReference);\n    let keyRef = (0, _debug.check)(stack.pop(), CheckReference);\n    let keyValue = (0, _reference.valueForRef)(keyRef);\n    let key = keyValue === null ? '@identity' : String(keyValue);\n    let iteratorRef = (0, _reference.createIteratorRef)(listRef, key);\n    let iterator = (0, _reference.valueForRef)(iteratorRef);\n    vm.updateWith(new AssertFilter(iteratorRef, iterator => iterator.isEmpty()));\n    if (iterator.isEmpty() === true) {\n      // TODO: Fix this offset, should be accurate\n      vm.goto(elseTarget + 1);\n    } else {\n      vm.enterList(iteratorRef, relativeStart);\n      vm.stack.push(iterator);\n    }\n  });\n  APPEND_OPCODES.add(_vm2.Op.ExitList, vm => {\n    vm.exitList();\n  });\n  APPEND_OPCODES.add(_vm2.Op.Iterate, (vm, {\n    op1: breaks\n  }) => {\n    let stack = vm.stack;\n    let iterator = (0, _debug.check)(stack.peek(), CheckIterator);\n    let item = iterator.next();\n    if (item !== null) {\n      vm.registerItem(vm.enterItem(item));\n    } else {\n      vm.goto(breaks);\n    }\n  });\n  const CAPABILITIES = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: false,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: false,\n    dynamicScope: false,\n    updateHook: false,\n    createInstance: false,\n    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  class TemplateOnlyComponentManager {\n    getCapabilities() {\n      return CAPABILITIES;\n    }\n    getDebugName({\n      name\n    }) {\n      return name;\n    }\n    getSelf() {\n      return _reference.NULL_REFERENCE;\n    }\n    getDestroyable() {\n      return null;\n    }\n  }\n  _exports.TemplateOnlyComponentManager = TemplateOnlyComponentManager;\n  const TEMPLATE_ONLY_COMPONENT_MANAGER = _exports.TEMPLATE_ONLY_COMPONENT_MANAGER = new TemplateOnlyComponentManager();\n\n  // This is only exported for types, don't use this class directly\n  class TemplateOnlyComponentDefinition {\n    constructor(moduleName = '@glimmer/component/template-only', name = '(unknown template-only component)') {\n      this.moduleName = moduleName;\n      this.name = name;\n    }\n    toString() {\n      return this.moduleName;\n    }\n  }\n  _exports.TemplateOnlyComponent = TemplateOnlyComponentDefinition;\n  (0, _manager.setInternalComponentManager)(TEMPLATE_ONLY_COMPONENT_MANAGER, TemplateOnlyComponentDefinition.prototype);\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 { templateOnlyComponent } from '@glimmer/runtime';\n  \n    export default templateOnlyComponent();\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  function templateOnlyComponent(moduleName, name) {\n    return new TemplateOnlyComponentDefinition(moduleName, name);\n  }\n\n  // http://www.w3.org/TR/html/syntax.html#html-integration-point\n  const SVG_INTEGRATION_POINTS = {\n    foreignObject: 1,\n    desc: 1,\n    title: 1\n  };\n\n  // http://www.w3.org/TR/html/syntax.html#adjust-svg-attributes\n  // TODO: Adjust SVG attributes\n\n  // http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n  // TODO: Adjust SVG elements\n\n  // http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n  const BLACKLIST_TABLE = Object.create(null);\n  class DOMOperations {\n    // Set by this.setupUselessElement() in constructor\n\n    constructor(document) {\n      this.document = document;\n      this.setupUselessElement();\n    }\n\n    // split into separate method so that NodeDOMTreeConstruction\n    // can override it.\n    setupUselessElement() {\n      this.uselessElement = this.document.createElement('div');\n    }\n    createElement(tag, context) {\n      let isElementInSVGNamespace, isHTMLIntegrationPoint;\n      if (context) {\n        isElementInSVGNamespace = context.namespaceURI === _util.NS_SVG || tag === 'svg';\n        isHTMLIntegrationPoint = !!SVG_INTEGRATION_POINTS[context.tagName];\n      } else {\n        isElementInSVGNamespace = tag === 'svg';\n        isHTMLIntegrationPoint = false;\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        return this.document.createElementNS(_util.NS_SVG, tag);\n      } else {\n        return this.document.createElement(tag);\n      }\n    }\n    insertBefore(parent, node, reference) {\n      parent.insertBefore(node, reference);\n    }\n    insertHTMLBefore(parent, nextSibling, html) {\n      if (html === '') {\n        const comment = this.createComment('');\n        parent.insertBefore(comment, nextSibling);\n        return new ConcreteBounds(parent, comment, comment);\n      }\n      const prev = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n      let last;\n      if (nextSibling === null) {\n        parent.insertAdjacentHTML(_util.INSERT_BEFORE_END, html);\n        last = (0, _util.expect)(parent.lastChild, 'bug in insertAdjacentHTML?');\n      } else if (nextSibling instanceof HTMLElement) {\n        nextSibling.insertAdjacentHTML('beforebegin', html);\n        last = (0, _util.expect)(nextSibling.previousSibling, 'bug in insertAdjacentHTML?');\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        const {\n          uselessElement\n        } = this;\n        parent.insertBefore(uselessElement, nextSibling);\n        uselessElement.insertAdjacentHTML(_util.INSERT_BEFORE_BEGIN, html);\n        last = (0, _util.expect)(uselessElement.previousSibling, 'bug in insertAdjacentHTML?');\n        parent.removeChild(uselessElement);\n      }\n      const first = (0, _util.expect)(prev ? prev.nextSibling : parent.firstChild, 'bug in insertAdjacentHTML?');\n      return new ConcreteBounds(parent, first, last);\n    }\n    createTextNode(text) {\n      return this.document.createTextNode(text);\n    }\n    createComment(data) {\n      return this.document.createComment(data);\n    }\n  }\n  function moveNodesBefore(source, target, nextSibling) {\n    const first = (0, _util.expect)(source.firstChild, 'source is empty');\n    let last = first;\n    let current = first;\n    while (current) {\n      const next = current.nextSibling;\n      target.insertBefore(current, nextSibling);\n      last = current;\n      current = next;\n    }\n    return new ConcreteBounds(target, first, last);\n  }\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  function applySVGInnerHTMLFix(document, DOMClass, svgNamespace) {\n    if (!document) return DOMClass;\n    if (!shouldApplyFix$1(document, svgNamespace)) {\n      return DOMClass;\n    }\n    const 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        if (parent.namespaceURI !== svgNamespace) {\n          return super.insertHTMLBefore(parent, nextSibling, html);\n        }\n        return fixSVG(parent, div, html, nextSibling);\n      }\n    };\n  }\n  function fixSVG(parent, div, html, reference) {\n    (0, _util.assert)(html !== '', 'html cannot be empty');\n    let source;\n\n    // This is important, because descendants of the <foreignObject> integration\n    // point are parsed in the HTML namespace\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      const wrappedHtml = '<svg><foreignObject>' + html + '</foreignObject></svg>';\n      (0, _util.clearElement)(div);\n      div.insertAdjacentHTML(_util.INSERT_AFTER_BEGIN, 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      const wrappedHtml = '<svg>' + html + '</svg>';\n      (0, _util.clearElement)(div);\n      div.insertAdjacentHTML(_util.INSERT_AFTER_BEGIN, wrappedHtml);\n      source = div.firstChild;\n    }\n    return moveNodesBefore(source, parent, reference);\n  }\n  function shouldApplyFix$1(document, svgNamespace) {\n    const svg = document.createElementNS(svgNamespace, 'svg');\n    try {\n      svg.insertAdjacentHTML(_util.INSERT_BEFORE_END, '<circle></circle>');\n    } catch (e) {\n      // 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 && (0, _util.castToBrowser)((0, _util.unwrap)(svg.firstChild), 'SVG').namespaceURI === _util.NS_SVG) {\n        // The test worked as expected, no fix required\n        // eslint-disable-next-line no-unsafe-finally\n        return false;\n      }\n\n      // eslint-disable-next-line no-unsafe-finally\n      return true;\n    }\n  }\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 example 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  function applyTextNodeMergingFix(document, DOMClass) {\n    if (!document) return DOMClass;\n    if (!shouldApplyFix(document)) {\n      return DOMClass;\n    }\n    return class DOMChangesWithTextNodeMergingFix extends DOMClass {\n      constructor(document) {\n        super(document);\n        this.uselessComment = void 0;\n        this.uselessComment = document.createComment('');\n      }\n      insertHTMLBefore(parent, nextSibling, html) {\n        if (html === '') {\n          return super.insertHTMLBefore(parent, nextSibling, html);\n        }\n        let didSetUselessComment = false;\n        const nextPrevious = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n        if (nextPrevious && nextPrevious instanceof Text) {\n          didSetUselessComment = true;\n          parent.insertBefore(this.uselessComment, nextSibling);\n        }\n        const bounds = super.insertHTMLBefore(parent, nextSibling, html);\n        if (didSetUselessComment) {\n          parent.removeChild(this.uselessComment);\n        }\n        return bounds;\n      }\n    };\n  }\n  function shouldApplyFix(document) {\n    const mergingTextDiv = document.createElement('div');\n    mergingTextDiv.appendChild(document.createTextNode('first'));\n    mergingTextDiv.insertAdjacentHTML(_util.INSERT_BEFORE_END, 'second');\n    if (mergingTextDiv.childNodes.length === 2) {\n      // It worked as expected, no fix required\n      return false;\n    }\n    return true;\n  }\n  const doc$1 = typeof document === 'undefined' ? null : (0, _util.castToSimple)(document);\n  class TreeConstruction extends DOMOperations {\n    createElementNS(namespace, tag) {\n      return this.document.createElementNS(namespace, tag);\n    }\n    setAttribute(element, name, value, namespace = null) {\n      if (namespace) {\n        element.setAttributeNS(namespace, name, value);\n      } else {\n        element.setAttribute(name, value);\n      }\n    }\n  }\n  let appliedTreeConstruction = TreeConstruction;\n  appliedTreeConstruction = applyTextNodeMergingFix(doc$1, appliedTreeConstruction);\n  appliedTreeConstruction = applySVGInnerHTMLFix(doc$1, appliedTreeConstruction, _util.NS_SVG);\n  const DOMTreeConstruction = _exports.DOMTreeConstruction = appliedTreeConstruction;\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  const WHITESPACE = /[\\t\\n\\v\\f\\r \\xA0\\u{1680}\\u{180e}\\u{2000}-\\u{200a}\\u{2028}\\u{2029}\\u{202f}\\u{205f}\\u{3000}\\u{feff}]/u;\n  const doc = typeof document === 'undefined' ? null : (0, _util.castToSimple)(document);\n  function isWhitespace(string) {\n    return WHITESPACE.test(string);\n  }\n  class DOMChangesImpl extends DOMOperations {\n    constructor(document) {\n      super(document);\n      this.namespace = void 0;\n      this.document = document;\n      this.namespace = null;\n    }\n    setAttribute(element, name, value) {\n      element.setAttribute(name, value);\n    }\n    removeAttribute(element, name) {\n      element.removeAttribute(name);\n    }\n    insertAfter(element, node, reference) {\n      this.insertBefore(element, node, reference.nextSibling);\n    }\n  }\n  _exports.IDOMChanges = DOMChangesImpl;\n  let helper = DOMChangesImpl;\n  helper = applyTextNodeMergingFix(doc, helper);\n  helper = applySVGInnerHTMLFix(doc, helper, _util.NS_SVG);\n  const DOMChanges = _exports.DOMChanges = helper;\n  let GUID = 0;\n  class Ref {\n    constructor(value) {\n      this.id = GUID++;\n      this.value = void 0;\n      this.value = value;\n    }\n    get() {\n      return this.value;\n    }\n    release() {\n      if (true /* DEBUG */ && this.value === null) {\n        throw new Error('BUG: double release?');\n      }\n      this.value = null;\n    }\n    toString() {\n      let label = `Ref ${this.id}`;\n      if (this.value === null) {\n        return `${label} (released)`;\n      } else {\n        try {\n          return `${label}: ${this.value}`;\n        } catch {\n          return label;\n        }\n      }\n    }\n  }\n  class DebugRenderTreeImpl {\n    constructor() {\n      this.stack = new _util.Stack();\n      this.refs = new WeakMap();\n      this.roots = new Set();\n      this.nodes = new WeakMap();\n    }\n    begin() {\n      this.reset();\n    }\n    create(state, node) {\n      let internalNode = (0, _util.assign)({}, node, {\n        bounds: null,\n        refs: new Set()\n      });\n      this.nodes.set(state, internalNode);\n      this.appendChild(internalNode, state);\n      this.enter(state);\n    }\n    update(state) {\n      this.enter(state);\n    }\n    didRender(state, bounds) {\n      if (true /* DEBUG */ && this.stack.current !== state) {\n        throw new Error(`BUG: expecting ${this.stack.current}, got ${state}`);\n      }\n      this.nodeFor(state).bounds = bounds;\n      this.exit();\n    }\n    willDestroy(state) {\n      (0, _util.expect)(this.refs.get(state), 'BUG: missing ref').release();\n    }\n    commit() {\n      this.reset();\n    }\n    capture() {\n      return this.captureRefs(this.roots);\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\n        // TODO: We could warn here? But this happens all the time in our tests?\n\n        // Clean up the root reference to prevent errors from happening if we\n        // attempt to capture the render tree (Ember Inspector may do this)\n        let root = (0, _util.expect)(this.stack.toArray()[0], 'expected root state when resetting render tree');\n        let ref = this.refs.get(root);\n        if (ref !== undefined) {\n          this.roots.delete(ref);\n        }\n        while (!this.stack.isEmpty()) {\n          this.stack.pop();\n        }\n      }\n    }\n    enter(state) {\n      this.stack.push(state);\n    }\n    exit() {\n      if (true /* DEBUG */ && this.stack.size === 0) {\n        throw new Error('BUG: unbalanced pop');\n      }\n      this.stack.pop();\n    }\n    nodeFor(state) {\n      return (0, _util.expect)(this.nodes.get(state), 'BUG: missing node');\n    }\n    appendChild(node, state) {\n      if (true /* DEBUG */ && this.refs.has(state)) {\n        throw new Error('BUG: child already appended');\n      }\n      let parent = this.stack.current;\n      let ref = new Ref(state);\n      this.refs.set(state, ref);\n      if (parent) {\n        let parentNode = this.nodeFor(parent);\n        parentNode.refs.add(ref);\n        node.parent = parentNode;\n      } else {\n        this.roots.add(ref);\n      }\n    }\n    captureRefs(refs) {\n      let captured = [];\n      refs.forEach(ref => {\n        let state = ref.get();\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    captureNode(id, state) {\n      let node = this.nodeFor(state);\n      let {\n        type,\n        name,\n        args,\n        instance,\n        refs\n      } = node;\n      let template = this.captureTemplate(node);\n      let bounds = this.captureBounds(node);\n      let children = this.captureRefs(refs);\n      return {\n        id,\n        type,\n        name,\n        args: reifyArgs(args),\n        instance,\n        template,\n        bounds,\n        children\n      };\n    }\n    captureTemplate({\n      template\n    }) {\n      return template || null;\n    }\n    captureBounds(node) {\n      let bounds = (0, _util.expect)(node.bounds, 'BUG: missing bounds');\n      let parentElement = bounds.parentElement();\n      let firstNode = bounds.firstNode();\n      let lastNode = bounds.lastNode();\n      return {\n        parentElement,\n        firstNode,\n        lastNode\n      };\n    }\n  }\n  const TRANSACTION = Symbol('TRANSACTION');\n  class TransactionImpl {\n    constructor() {\n      this.scheduledInstallModifiers = [];\n      this.scheduledUpdateModifiers = [];\n      this.createdComponents = [];\n      this.updatedComponents = [];\n    }\n    didCreate(component) {\n      this.createdComponents.push(component);\n    }\n    didUpdate(component) {\n      this.updatedComponents.push(component);\n    }\n    scheduleInstallModifier(modifier) {\n      this.scheduledInstallModifiers.push(modifier);\n    }\n    scheduleUpdateModifier(modifier) {\n      this.scheduledUpdateModifiers.push(modifier);\n    }\n    commit() {\n      let {\n        createdComponents,\n        updatedComponents\n      } = this;\n      for (const {\n        manager,\n        state\n      } of createdComponents) {\n        manager.didCreate(state);\n      }\n      for (const {\n        manager,\n        state\n      } of updatedComponents) {\n        manager.didUpdate(state);\n      }\n      let {\n        scheduledInstallModifiers,\n        scheduledUpdateModifiers\n      } = this;\n      for (const {\n        manager,\n        state,\n        definition\n      } of scheduledInstallModifiers) {\n        let modifierTag = manager.getTag(state);\n        if (modifierTag !== null) {\n          let tag = (0, _validator.track)(() => manager.install(state), true /* DEBUG */ && `- While rendering:\\n  (instance of a \\`${definition.resolvedName || manager.getDebugName(definition.state)}\\` modifier)`);\n          (0, _validator.updateTag)(modifierTag, tag);\n        } else {\n          manager.install(state);\n        }\n      }\n      for (const {\n        manager,\n        state,\n        definition\n      } of scheduledUpdateModifiers) {\n        let modifierTag = manager.getTag(state);\n        if (modifierTag !== null) {\n          let tag = (0, _validator.track)(() => manager.update(state), true /* DEBUG */ && `- While rendering:\\n  (instance of a \\`${definition.resolvedName || manager.getDebugName(definition.state)}\\` modifier)`);\n          (0, _validator.updateTag)(modifierTag, tag);\n        } else {\n          manager.update(state);\n        }\n      }\n    }\n  }\n  class EnvironmentImpl {\n    constructor(options, delegate) {\n      this[TRANSACTION] = null;\n      this.updateOperations = void 0;\n      // Delegate methods and values\n      this.isInteractive = void 0;\n      this.debugRenderTree = void 0;\n      this.delegate = delegate;\n      this.isInteractive = delegate.isInteractive;\n      this.debugRenderTree = this.delegate.enableDebugTooling ? new DebugRenderTreeImpl() : undefined;\n      if (options.appendOperations) {\n        this.appendOperations = options.appendOperations;\n        this.updateOperations = options.updateOperations;\n      } else if (options.document) {\n        this.appendOperations = new DOMTreeConstruction(options.document);\n        this.updateOperations = new DOMChangesImpl(options.document);\n      } else if (true /* DEBUG */) {\n        throw new Error('you must pass document or appendOperations to a new runtime');\n      }\n    }\n    getAppendOperations() {\n      return this.appendOperations;\n    }\n    getDOM() {\n      return (0, _util.expect)(this.updateOperations, 'Attempted to get DOM updateOperations, but they were not provided by the environment. You may be attempting to rerender in an environment which does not support rerendering, such as SSR.');\n    }\n    begin() {\n      (0, _util.assert)(!this[TRANSACTION], 'A glimmer transaction was begun, but one already exists. You may have a nested transaction, possibly caused by an earlier runtime exception while rendering. Please check your console for the stack trace of any prior exceptions.');\n      this.debugRenderTree?.begin();\n      this[TRANSACTION] = new TransactionImpl();\n    }\n    get transaction() {\n      return (0, _util.expect)(this[TRANSACTION], 'must be in a transaction');\n    }\n    didCreate(component) {\n      this.transaction.didCreate(component);\n    }\n    didUpdate(component) {\n      this.transaction.didUpdate(component);\n    }\n    scheduleInstallModifier(modifier) {\n      if (this.isInteractive) {\n        this.transaction.scheduleInstallModifier(modifier);\n      }\n    }\n    scheduleUpdateModifier(modifier) {\n      if (this.isInteractive) {\n        this.transaction.scheduleUpdateModifier(modifier);\n      }\n    }\n    commit() {\n      let transaction = this.transaction;\n      this[TRANSACTION] = null;\n      transaction.commit();\n      this.debugRenderTree?.commit();\n      this.delegate.onTransactionCommit();\n    }\n  }\n  _exports.EnvironmentImpl = EnvironmentImpl;\n  function runtimeContext(options, delegate, artifacts, resolver) {\n    return {\n      env: new EnvironmentImpl(options, delegate),\n      program: new _program.RuntimeProgramImpl(artifacts.constants, artifacts.heap),\n      resolver: resolver\n    };\n  }\n  function inTransaction(env, block) {\n    if (!env[TRANSACTION]) {\n      env.begin();\n      try {\n        block();\n      } finally {\n        env.commit();\n      }\n    } else {\n      block();\n    }\n  }\n  function internalHelper(helper) {\n    return (0, _manager.setInternalHelperManager)(helper, {});\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 Dale'\n       'Yehuda Katz'\n       this.myOtherPerson}}\n     />\n     ```\n      or\n     ```handlebars\n     {{my-component people=(array\n       'Tom Dale'\n       'Yehuda Katz'\n       this.myOtherPerson)\n     }}\n     ```\n  \n     Would result in an object such as:\n  \n     ```js\n     ['Tom Dale', '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     @param {Array} options\n     @return {Array} Array\n     @public\n   */\n\n  const array = _exports.array = internalHelper(({\n    positional\n  }) => {\n    return (0, _reference.createComputeRef)(() => reifyPositional(positional), null, 'array');\n  });\n  const isEmpty$1 = value => {\n    return value === null || value === undefined || typeof value.toString !== 'function';\n  };\n  const normalizeTextValue = value => {\n    if (isEmpty$1(value)) {\n      return '';\n    }\n    return String(value);\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  */\n  const concat = _exports.concat = internalHelper(({\n    positional\n  }) => {\n    return (0, _reference.createComputeRef)(() => reifyPositional(positional).map(normalizeTextValue).join(''), null, 'concat');\n  });\n  const context = (0, _util.buildUntouchableThis)('`fn` helper');\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      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 an arrow function to ensure that\n    `handleSelected` is properly bound to the `items-list`, but let's explore what\n    happens if we left out the arrow function:\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 an arrow function 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    @public\n  */\n  const fn = _exports.fn = internalHelper(({\n    positional\n  }) => {\n    let callbackRef = (0, _debug.check)(positional[0], assertCallbackIsFn);\n    return (0, _reference.createComputeRef)(() => {\n      return (...invocationArgs) => {\n        let [fn, ...args] = reifyPositional(positional);\n        if (true /* DEBUG */) assertCallbackIsFn(callbackRef);\n        if ((0, _reference.isInvokableRef)(callbackRef)) {\n          let value = args.length > 0 ? args[0] : invocationArgs[0];\n          return (0, _reference.updateRef)(callbackRef, value);\n        } else {\n          return fn.call(context, ...args, ...invocationArgs);\n        }\n      };\n    }, null, 'fn');\n  });\n  function assertCallbackIsFn(callbackRef) {\n    if (!(callbackRef && ((0, _reference.isInvokableRef)(callbackRef) || typeof (0, _reference.valueForRef)(callbackRef) === 'function'))) {\n      throw new Error(`You must pass a function as the \\`fn\\` helper's first argument, you passed ${callbackRef ? (0, _reference.valueForRef)(callbackRef) : callbackRef}. While rendering:\\n\\n${callbackRef?.debugLabel}`);\n    }\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      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   */\n  const get = _exports.get = internalHelper(({\n    positional\n  }) => {\n    let sourceRef = positional[0] ?? _reference.UNDEFINED_REFERENCE;\n    let pathRef = positional[1] ?? _reference.UNDEFINED_REFERENCE;\n    return (0, _reference.createComputeRef)(() => {\n      let source = (0, _reference.valueForRef)(sourceRef);\n      if ((0, _util.isDict)(source)) {\n        return (0, _globalContext.getPath)(source, String((0, _reference.valueForRef)(pathRef)));\n      }\n    }, value => {\n      let source = (0, _reference.valueForRef)(sourceRef);\n      if ((0, _util.isDict)(source)) {\n        return (0, _globalContext.setPath)(source, String((0, _reference.valueForRef)(pathRef)), value);\n      }\n    }, 'get');\n  });\n  let wrapHashProxy;\n  if (true /* DEBUG */) {\n    wrapHashProxy = hash => {\n      return new Proxy(hash, {\n        set(target, key, value) {\n          (true && !(false) && (0, _globalContext.deprecate)(`You set the '${String(key)}' property on a {{hash}} object. Setting properties on objects generated by {{hash}} is deprecated. Please update to use an object created with a tracked property or getter, or with a custom helper.`, false, {\n            id: 'setting-on-hash'\n          }));\n          target[key] = value;\n          return true;\n        }\n      });\n    };\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     @param {Object} options\n     @return {Object} Hash\n     @public\n   */\n  const hash = _exports.hash = internalHelper(({\n    named\n  }) => {\n    let ref = (0, _reference.createComputeRef)(() => {\n      let hash = reifyNamed(named);\n      if (true /* DEBUG */) {\n        hash = wrapHashProxy(hash);\n      }\n      return hash;\n    }, null, 'hash');\n\n    // Setup the children so that templates can bypass getting the value of\n    // the reference and treat children lazily\n    let children = new Map();\n    for (let name in named) {\n      children.set(name, named[name]);\n    }\n    ref.children = children;\n    return ref;\n  });\n  let ARGS_CACHES = true /* DEBUG */ ? new WeakMap() : undefined;\n  function getArgs(proxy) {\n    return (0, _validator.getValue)(true /* DEBUG */ ? ARGS_CACHES.get(proxy) : proxy.argsCache);\n  }\n  class SimpleArgsProxy {\n    constructor(context, computeArgs = () => EMPTY_ARGS) {\n      this.argsCache = void 0;\n      let argsCache = (0, _validator.createCache)(() => computeArgs(context));\n      if (true /* DEBUG */) {\n        ARGS_CACHES.set(this, argsCache);\n        Object.freeze(this);\n      } else {\n        this.argsCache = argsCache;\n      }\n    }\n    get named() {\n      return getArgs(this).named || EMPTY_NAMED;\n    }\n    get positional() {\n      return getArgs(this).positional || EMPTY_POSITIONAL;\n    }\n  }\n\n  ////////////\n\n  function invokeHelper(context, definition, computeArgs) {\n    if (true /* DEBUG */ && (typeof context !== 'object' || context === null)) {\n      throw new Error(`Expected a context object to be passed as the first parameter to invokeHelper, got ${context}`);\n    }\n    const owner = (0, _owner2.getOwner)(context);\n    const internalManager = (0, _manager.getInternalHelperManager)(definition);\n\n    // TODO: figure out why assert isn't using the TS assert thing\n    if (true /* DEBUG */ && !internalManager) {\n      throw new Error(`Expected a helper definition to be passed as the second parameter to invokeHelper, but no helper manager was found. The definition value that was passed was \\`${(0, _util.debugToString)(definition)}\\`. Did you use setHelperManager to associate a helper manager with this value?`);\n    }\n    if (true /* DEBUG */ && typeof internalManager === 'function') {\n      throw new Error('Found a helper manager, but it was an internal built-in helper manager. `invokeHelper` does not support internal helpers yet.');\n    }\n    const manager = internalManager.getDelegateFor(owner);\n    let args = new SimpleArgsProxy(context, computeArgs);\n    let bucket = manager.createHelper(definition, args);\n    let cache;\n    if ((0, _manager.hasValue)(manager)) {\n      cache = (0, _validator.createCache)(() => {\n        if (true /* DEBUG */ && ((0, _destroyable.isDestroying)(cache) || (0, _destroyable.isDestroyed)(cache))) {\n          throw new Error(`You attempted to get the value of a helper after the helper was destroyed, which is not allowed`);\n        }\n        return manager.getValue(bucket);\n      });\n      (0, _destroyable.associateDestroyableChild)(context, cache);\n    } else {\n      throw new Error('TODO: unreachable, to be implemented with hasScheduledEffect');\n    }\n    if ((0, _manager.hasDestroyable)(manager)) {\n      let destroyable = manager.getDestroyable(bucket);\n      (0, _destroyable.associateDestroyableChild)(cache, destroyable);\n    }\n    return cache;\n  }\n  const untouchableContext = (0, _util.buildUntouchableThis)('`on` modifier');\n  class OnModifierState {\n    constructor(element, args) {\n      this.tag = (0, _validator.createUpdatableTag)();\n      this.element = void 0;\n      this.args = void 0;\n      this.once = void 0;\n      this.passive = void 0;\n      this.capture = void 0;\n      this.options = void 0;\n      this.shouldUpdate = true;\n      this.element = element;\n      this.args = args;\n    }\n    updateFromArgs() {\n      let {\n        args\n      } = this;\n      let {\n        once,\n        passive,\n        capture\n      } = reifyNamed(args.named);\n      if (once !== this.once) {\n        this.once = once;\n        this.shouldUpdate = true;\n      }\n      if (passive !== this.passive) {\n        this.passive = passive;\n        this.shouldUpdate = true;\n      }\n      if (capture !== this.capture) {\n        this.capture = capture;\n        this.shouldUpdate = true;\n      }\n\n      // we want to handle both `true` and `false` because both have a meaning:\n      // https://bugs.chromium.org/p/chromium/issues/detail?id=770208\n      if (once !== undefined || passive !== undefined || capture !== undefined) {\n        this.options = {\n          once,\n          passive,\n          capture\n        };\n      } else {\n        this.options = undefined;\n      }\n      let first = (0, _util.expect)(args.positional[0], 'You must pass a valid DOM event name as the first argument to the `on` modifier');\n      let eventName = (0, _debug.check)((0, _reference.valueForRef)(first), _debug.CheckString, () => 'You must pass a valid DOM event name as the first argument to the `on` modifier');\n      if (eventName !== this.eventName) {\n        this.eventName = eventName;\n        this.shouldUpdate = true;\n      }\n      const userProvidedCallbackReference = (0, _util.expect)(args.positional[1], 'You must pass a function as the second argument to the `on` modifier');\n      const userProvidedCallback = (0, _debug.check)((0, _reference.valueForRef)(userProvidedCallbackReference), _debug.CheckFunction, actual => {\n        return `You must pass a function as the second argument to the \\`on\\` modifier; you passed ${actual === null ? 'null' : typeof actual}. While rendering:\\n\\n${userProvidedCallbackReference.debugLabel ?? `{unlabeled value}`}`;\n      });\n      if (userProvidedCallback !== this.userProvidedCallback) {\n        this.userProvidedCallback = userProvidedCallback;\n        this.shouldUpdate = true;\n      }\n      if (true /* DEBUG */ && args.positional.length !== 2) {\n        throw new Error(`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.`);\n      }\n      let needsCustomCallback = true /* DEBUG */ && passive; /* needs passive enforcement */\n\n      if (this.shouldUpdate) {\n        if (needsCustomCallback) {\n          this.callback = function (event) {\n            if (true /* DEBUG */ && passive) {\n              event.preventDefault = () => {\n                throw new Error(`You marked this listener as 'passive', meaning that you must not call 'event.preventDefault()': \\n\\n${userProvidedCallback.name ?? `{anonymous function}`}`);\n              };\n            }\n            return userProvidedCallback.call(untouchableContext, event);\n          };\n        } else if (true /* DEBUG */) {\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  let adds = 0;\n  let removes = 0;\n  function removeEventListener(element, eventName, callback, options) {\n    removes++;\n    element.removeEventListener(eventName, callback, options);\n  }\n  function addEventListener(element, eventName, callback, options) {\n    adds++;\n    element.addEventListener(eventName, callback, options);\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      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 an arrow function to ensure that `likePost` is\n    properly bound to the `items-list`, but let's explore what happens if we\n    left out the arrow function:\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 an arrow function or other means) before passing into `on`!\n  \n    @method on\n    @public\n  */\n  class OnModifierManager {\n    getDebugName() {\n      return 'on';\n    }\n    get counters() {\n      return {\n        adds,\n        removes\n      };\n    }\n    create(_owner, element, _state, args) {\n      return new OnModifierState(element, args);\n    }\n    getTag(state) {\n      if (state === null) {\n        return null;\n      }\n      return state.tag;\n    }\n    install(state) {\n      if (state === null) {\n        return;\n      }\n      state.updateFromArgs();\n      let {\n        element,\n        eventName,\n        callback,\n        options\n      } = state;\n      addEventListener(element, eventName, callback, options);\n      (0, _destroyable.registerDestructor)(state, () => removeEventListener(element, eventName, callback, options));\n      state.shouldUpdate = false;\n    }\n    update(state) {\n      if (state === null) {\n        return;\n      }\n\n      // stash prior state for el.removeEventListener\n      let {\n        element,\n        eventName,\n        callback,\n        options\n      } = state;\n      state.updateFromArgs();\n      if (!state.shouldUpdate) {\n        return;\n      }\n\n      // use prior state values for removal\n      removeEventListener(element, eventName, callback, options);\n\n      // read updated values from the state object\n      addEventListener(state.element, state.eventName, state.callback, state.options);\n      state.shouldUpdate = false;\n    }\n    getDestroyable(state) {\n      return state;\n    }\n  }\n  const on = _exports.on = (0, _manager.setInternalModifierManager)(new OnModifierManager(), {});\n  function initializeRegistersWithSP(sp) {\n    return [0, -1, sp, 0];\n  }\n  class LowLevelVM {\n    constructor(stack, heap, program, externs, registers) {\n      this.currentOpSize = 0;\n      this.stack = stack;\n      this.heap = heap;\n      this.program = program;\n      this.externs = externs;\n      this.registers = registers;\n    }\n    fetchRegister(register) {\n      return this.registers[register];\n    }\n    loadRegister(register, value) {\n      this.registers[register] = value;\n    }\n    setPc(pc) {\n      (0, _util.assert)(typeof pc === 'number' && !isNaN(pc), 'pc is set to a number');\n      this.registers[_vm2.$pc] = pc;\n    }\n\n    // Start a new frame and save $ra and $fp on the stack\n    pushFrame() {\n      this.stack.push(this.registers[_vm2.$ra]);\n      this.stack.push(this.registers[_vm2.$fp]);\n      this.registers[_vm2.$fp] = this.registers[_vm2.$sp] - 1;\n    }\n\n    // Restore $ra, $sp and $fp\n    popFrame() {\n      this.registers[_vm2.$sp] = this.registers[_vm2.$fp] - 1;\n      this.registers[_vm2.$ra] = this.stack.get(0);\n      this.registers[_vm2.$fp] = this.stack.get(1);\n    }\n    pushSmallFrame() {\n      this.stack.push(this.registers[_vm2.$ra]);\n    }\n    popSmallFrame() {\n      this.registers[_vm2.$ra] = this.stack.pop();\n    }\n\n    // Jump to an address in `program`\n    goto(offset) {\n      this.setPc(this.target(offset));\n    }\n    target(offset) {\n      return this.registers[_vm2.$pc] + offset - this.currentOpSize;\n    }\n\n    // Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\n    call(handle) {\n      (0, _util.assert)(handle < 0xffffffff, `Jumping to placeholder address`);\n      this.registers[_vm2.$ra] = this.registers[_vm2.$pc];\n      this.setPc(this.heap.getaddr(handle));\n    }\n\n    // Put a specific `program` address in $ra\n    returnTo(offset) {\n      this.registers[_vm2.$ra] = this.target(offset);\n    }\n\n    // Return to the `program` address stored in $ra\n    return() {\n      this.setPc(this.registers[_vm2.$ra]);\n    }\n    nextStatement() {\n      let {\n        registers,\n        program\n      } = this;\n      let pc = registers[_vm2.$pc];\n      (0, _util.assert)(typeof pc === 'number', 'pc is a number');\n      if (pc === -1) {\n        return null;\n      }\n\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      let opcode = program.opcode(pc);\n      let operationSize = this.currentOpSize = opcode.size;\n      this.registers[_vm2.$pc] += operationSize;\n      return opcode;\n    }\n    evaluateOuter(opcode, vm) {\n      {\n        this.evaluateInner(opcode, vm);\n      }\n    }\n    evaluateInner(opcode, vm) {\n      if (opcode.isMachine) {\n        this.evaluateMachine(opcode);\n      } else {\n        this.evaluateSyscall(opcode, vm);\n      }\n    }\n    evaluateMachine(opcode) {\n      switch (opcode.type) {\n        case _vm2.MachineOp.PushFrame:\n          return this.pushFrame();\n        case _vm2.MachineOp.PopFrame:\n          return this.popFrame();\n        case _vm2.MachineOp.InvokeStatic:\n          return this.call(opcode.op1);\n        case _vm2.MachineOp.InvokeVirtual:\n          return this.call(this.stack.pop());\n        case _vm2.MachineOp.Jump:\n          return this.goto(opcode.op1);\n        case _vm2.MachineOp.Return:\n          return this.return();\n        case _vm2.MachineOp.ReturnTo:\n          return this.returnTo(opcode.op1);\n      }\n    }\n    evaluateSyscall(opcode, vm) {\n      APPEND_OPCODES.evaluate(vm, opcode, opcode.type);\n    }\n  }\n  class UpdatingVM {\n    constructor(env, {\n      alwaysRevalidate = false\n    }) {\n      this.env = void 0;\n      this.dom = void 0;\n      this.alwaysRevalidate = void 0;\n      this.frameStack = new _util.Stack();\n      this.env = env;\n      this.dom = env.getDOM();\n      this.alwaysRevalidate = alwaysRevalidate;\n    }\n    execute(opcodes, handler) {\n      if (true /* DEBUG */) {\n        let hasErrored = true;\n        try {\n          _validator.debug.runInTrackingTransaction(() => this._execute(opcodes, handler), '- While rendering:');\n\n          // using a boolean here to avoid breaking ergonomics of \"pause on uncaught exceptions\"\n          // which would happen with a `catch` + `throw`\n          hasErrored = false;\n        } finally {\n          if (hasErrored) {\n            // eslint-disable-next-line no-console\n            console.error(`\\n\\nError occurred:\\n\\n${(0, _validator.resetTracking)()}\\n\\n`);\n          }\n        }\n      } else {\n        this._execute(opcodes, handler);\n      }\n    }\n    _execute(opcodes, handler) {\n      let {\n        frameStack\n      } = this;\n      this.try(opcodes, handler);\n      while (!frameStack.isEmpty()) {\n        let opcode = this.frame.nextStatement();\n        if (opcode === undefined) {\n          frameStack.pop();\n          continue;\n        }\n        opcode.evaluate(this);\n      }\n    }\n    get frame() {\n      return (0, _util.expect)(this.frameStack.current, 'bug: expected a frame');\n    }\n    goto(index) {\n      this.frame.goto(index);\n    }\n    try(ops, handler) {\n      this.frameStack.push(new UpdatingVMFrame(ops, handler));\n    }\n    throw() {\n      this.frame.handleException();\n      this.frameStack.pop();\n    }\n  }\n  _exports.UpdatingVM = UpdatingVM;\n  class ResumableVMStateImpl {\n    constructor(state, resumeCallback) {\n      this.state = state;\n      this.resumeCallback = resumeCallback;\n    }\n    resume(runtime, builder) {\n      return this.resumeCallback(runtime, this.state, builder);\n    }\n  }\n  class BlockOpcode {\n    constructor(state, runtime, bounds, children) {\n      this.children = void 0;\n      this.bounds = void 0;\n      this.state = state;\n      this.runtime = runtime;\n      this.children = children;\n      this.bounds = bounds;\n    }\n    parentElement() {\n      return this.bounds.parentElement();\n    }\n    firstNode() {\n      return this.bounds.firstNode();\n    }\n    lastNode() {\n      return this.bounds.lastNode();\n    }\n    evaluate(vm) {\n      vm.try(this.children, null);\n    }\n  }\n  class TryOpcode extends BlockOpcode {\n    constructor(...args) {\n      super(...args);\n      this.type = 'try';\n    }\n    // Hides property on base class\n\n    evaluate(vm) {\n      vm.try(this.children, this);\n    }\n    handleException() {\n      let {\n        state,\n        bounds,\n        runtime\n      } = this;\n      (0, _destroyable.destroyChildren)(this);\n      let elementStack = NewElementBuilder.resume(runtime.env, bounds);\n      let vm = state.resume(runtime, elementStack);\n      let updating = [];\n      let children = this.children = [];\n      let result = vm.execute(vm => {\n        vm.pushUpdating(updating);\n        vm.updateWith(this);\n        vm.pushUpdating(children);\n      });\n      (0, _destroyable.associateDestroyableChild)(this, result.drop);\n    }\n  }\n  class ListItemOpcode extends TryOpcode {\n    constructor(state, runtime, bounds, key, memo, value) {\n      super(state, runtime, bounds, []);\n      this.retained = false;\n      this.index = -1;\n      this.key = key;\n      this.memo = memo;\n      this.value = value;\n    }\n    updateReferences(item) {\n      this.retained = true;\n      (0, _reference.updateRef)(this.value, item.value);\n      (0, _reference.updateRef)(this.memo, item.memo);\n    }\n    shouldRemove() {\n      return !this.retained;\n    }\n    reset() {\n      this.retained = false;\n    }\n  }\n  class ListBlockOpcode extends BlockOpcode {\n    constructor(state, runtime, bounds, children, iterableRef) {\n      super(state, runtime, bounds, children);\n      this.type = 'list-block';\n      this.opcodeMap = new Map();\n      this.marker = null;\n      this.lastIterator = void 0;\n      this.iterableRef = iterableRef;\n      this.lastIterator = (0, _reference.valueForRef)(iterableRef);\n    }\n    initializeChild(opcode) {\n      opcode.index = this.children.length - 1;\n      this.opcodeMap.set(opcode.key, opcode);\n    }\n    evaluate(vm) {\n      let iterator = (0, _reference.valueForRef)(this.iterableRef);\n      if (this.lastIterator !== iterator) {\n        let {\n          bounds\n        } = this;\n        let {\n          dom\n        } = vm;\n        let marker = this.marker = dom.createComment('');\n        dom.insertAfter(bounds.parentElement(), marker, (0, _util.expect)(bounds.lastNode(), \"can't insert after an empty bounds\"));\n        this.sync(iterator);\n        this.parentElement().removeChild(marker);\n        this.marker = null;\n        this.lastIterator = iterator;\n      }\n\n      // Run now-updated updating opcodes\n      super.evaluate(vm);\n    }\n    sync(iterator) {\n      let {\n        opcodeMap: itemMap,\n        children\n      } = this;\n      let currentOpcodeIndex = 0;\n      let seenIndex = 0;\n      this.children = this.bounds.boundList = [];\n\n      // eslint-disable-next-line no-constant-condition\n      while (true) {\n        let item = iterator.next();\n        if (item === null) break;\n        let opcode = children[currentOpcodeIndex];\n        let {\n          key\n        } = item;\n\n        // Items that have already been found and moved will already be retained,\n        // we can continue until we find the next unretained item\n        while (opcode !== undefined && opcode.retained === true) {\n          opcode = children[++currentOpcodeIndex];\n        }\n        if (opcode !== undefined && opcode.key === key) {\n          this.retainItem(opcode, item);\n          currentOpcodeIndex++;\n        } else if (itemMap.has(key)) {\n          let itemOpcode = itemMap.get(key);\n\n          // The item opcode was seen already, so we should move it.\n          if (itemOpcode.index < seenIndex) {\n            this.moveItem(itemOpcode, item, opcode);\n          } else {\n            // Update the seen index, we are going to be moving this item around\n            // so any other items that come before it will likely need to move as\n            // well.\n            seenIndex = itemOpcode.index;\n            let seenUnretained = false;\n\n            // iterate through all of the opcodes between the current position and\n            // the position of the item's opcode, and determine if they are all\n            // retained.\n            for (let i = currentOpcodeIndex + 1; i < seenIndex; i++) {\n              if ((0, _util.unwrap)(children[i]).retained === false) {\n                seenUnretained = true;\n                break;\n              }\n            }\n\n            // If we have seen only retained opcodes between this and the matching\n            // opcode, it means that all the opcodes in between have been moved\n            // already, and we can safely retain this item's opcode.\n            if (seenUnretained === false) {\n              this.retainItem(itemOpcode, item);\n              currentOpcodeIndex = seenIndex + 1;\n            } else {\n              this.moveItem(itemOpcode, item, opcode);\n              currentOpcodeIndex++;\n            }\n          }\n        } else {\n          this.insertItem(item, opcode);\n        }\n      }\n      for (const opcode of children) {\n        if (opcode.retained === false) {\n          this.deleteItem(opcode);\n        } else {\n          opcode.reset();\n        }\n      }\n    }\n    retainItem(opcode, item) {\n      let {\n        children\n      } = this;\n      (0, _reference.updateRef)(opcode.memo, item.memo);\n      (0, _reference.updateRef)(opcode.value, item.value);\n      opcode.retained = true;\n      opcode.index = children.length;\n      children.push(opcode);\n    }\n    insertItem(item, before) {\n      let {\n        opcodeMap,\n        bounds,\n        state,\n        runtime,\n        children\n      } = this;\n      let {\n        key\n      } = item;\n      let nextSibling = before === undefined ? this.marker : before.firstNode();\n      let elementStack = NewElementBuilder.forInitialRender(runtime.env, {\n        element: bounds.parentElement(),\n        nextSibling\n      });\n      let vm = state.resume(runtime, elementStack);\n      vm.execute(vm => {\n        vm.pushUpdating();\n        let opcode = vm.enterItem(item);\n        opcode.index = children.length;\n        children.push(opcode);\n        opcodeMap.set(key, opcode);\n        (0, _destroyable.associateDestroyableChild)(this, opcode);\n      });\n    }\n    moveItem(opcode, item, before) {\n      let {\n        children\n      } = this;\n      (0, _reference.updateRef)(opcode.memo, item.memo);\n      (0, _reference.updateRef)(opcode.value, item.value);\n      opcode.retained = true;\n      let currentSibling, nextSibling;\n      if (before === undefined) {\n        move(opcode, this.marker);\n      } else {\n        currentSibling = opcode.lastNode().nextSibling;\n        nextSibling = before.firstNode();\n\n        // Items are moved throughout the algorithm, so there are cases where the\n        // the items already happen to be siblings (e.g. an item in between was\n        // moved before this move happened). Check to see if they are siblings\n        // first before doing the move.\n        if (currentSibling !== nextSibling) {\n          move(opcode, nextSibling);\n        }\n      }\n      opcode.index = children.length;\n      children.push(opcode);\n    }\n    deleteItem(opcode) {\n      (0, _destroyable.destroy)(opcode);\n      clear(opcode);\n      this.opcodeMap.delete(opcode.key);\n    }\n  }\n  class UpdatingVMFrame {\n    constructor(ops, exceptionHandler) {\n      this.current = 0;\n      this.ops = ops;\n      this.exceptionHandler = exceptionHandler;\n    }\n    goto(index) {\n      this.current = index;\n    }\n    nextStatement() {\n      return this.ops[this.current++];\n    }\n    handleException() {\n      if (this.exceptionHandler) {\n        this.exceptionHandler.handleException();\n      }\n    }\n  }\n  class RenderResultImpl {\n    constructor(env, updating, bounds, drop) {\n      this.env = env;\n      this.updating = updating;\n      this.bounds = bounds;\n      this.drop = drop;\n      (0, _destroyable.associateDestroyableChild)(this, drop);\n      (0, _destroyable.registerDestructor)(this, () => clear(this.bounds));\n    }\n    rerender({\n      alwaysRevalidate = false\n    } = {\n      alwaysRevalidate: false\n    }) {\n      let {\n        env,\n        updating\n      } = this;\n      let vm = new UpdatingVM(env, {\n        alwaysRevalidate\n      });\n      vm.execute(updating, this);\n    }\n    parentElement() {\n      return this.bounds.parentElement();\n    }\n    firstNode() {\n      return this.bounds.firstNode();\n    }\n    lastNode() {\n      return this.bounds.lastNode();\n    }\n    handleException() {\n      throw 'this should never happen';\n    }\n  }\n  class EvaluationStackImpl {\n    static restore(snapshot) {\n      return new this(snapshot.slice(), initializeRegistersWithSP(snapshot.length - 1));\n    }\n    // fp -> sp\n    constructor(stack = [], registers) {\n      this[REGISTERS] = void 0;\n      this.stack = stack;\n      this[REGISTERS] = registers;\n    }\n    push(value) {\n      this.stack[++this[REGISTERS][_vm2.$sp]] = value;\n    }\n    dup(position = this[REGISTERS][_vm2.$sp]) {\n      this.stack[++this[REGISTERS][_vm2.$sp]] = this.stack[position];\n    }\n    copy(from, to) {\n      this.stack[to] = this.stack[from];\n    }\n    pop(n = 1) {\n      let top = this.stack[this[REGISTERS][_vm2.$sp]];\n      this[REGISTERS][_vm2.$sp] -= n;\n      return top;\n    }\n    peek(offset = 0) {\n      return this.stack[this[REGISTERS][_vm2.$sp] - offset];\n    }\n    get(offset, base = this[REGISTERS][_vm2.$fp]) {\n      return this.stack[base + offset];\n    }\n    set(value, offset, base = this[REGISTERS][_vm2.$fp]) {\n      this.stack[base + offset] = value;\n    }\n    slice(start, end) {\n      return this.stack.slice(start, end);\n    }\n    capture(items) {\n      let end = this[REGISTERS][_vm2.$sp] + 1;\n      let start = end - items;\n      return this.stack.slice(start, end);\n    }\n    reset() {\n      this.stack.length = 0;\n    }\n    toArray() {\n      return this.stack.slice(this[REGISTERS][_vm2.$fp], this[REGISTERS][_vm2.$sp] + 1);\n    }\n  }\n\n  /**\n   * This interface is used by internal opcodes, and is more stable than\n   * the implementation of the Append VM itself.\n   */\n\n  class Stacks {\n    constructor() {\n      this.scope = new _util.Stack();\n      this.dynamicScope = new _util.Stack();\n      this.updating = new _util.Stack();\n      this.cache = new _util.Stack();\n      this.list = new _util.Stack();\n    }\n  }\n  class VM {\n    get stack() {\n      return this[INNER_VM].stack;\n    }\n\n    /* Registers */\n\n    get pc() {\n      return this[INNER_VM].fetchRegister(_vm2.$pc);\n    }\n    // Fetch a value from a register onto the stack\n    fetch(register) {\n      let value = this.fetchValue(register);\n      this.stack.push(value);\n    }\n\n    // Load a value from the stack into a register\n    load(register) {\n      let value = this.stack.pop();\n      this.loadValue(register, value);\n    }\n\n    // Fetch a value from a register\n\n    fetchValue(register) {\n      if ((0, _vm2.isLowLevelRegister)(register)) {\n        return this[INNER_VM].fetchRegister(register);\n      }\n      switch (register) {\n        case _vm2.$s0:\n          return this.s0;\n        case _vm2.$s1:\n          return this.s1;\n        case _vm2.$t0:\n          return this.t0;\n        case _vm2.$t1:\n          return this.t1;\n        case _vm2.$v0:\n          return this.v0;\n      }\n    }\n\n    // Load a value into a register\n\n    loadValue(register, value) {\n      if ((0, _vm2.isLowLevelRegister)(register)) {\n        this[INNER_VM].loadRegister(register, value);\n      }\n      switch (register) {\n        case _vm2.$s0:\n          this.s0 = value;\n          break;\n        case _vm2.$s1:\n          this.s1 = value;\n          break;\n        case _vm2.$t0:\n          this.t0 = value;\n          break;\n        case _vm2.$t1:\n          this.t1 = value;\n          break;\n        case _vm2.$v0:\n          this.v0 = value;\n          break;\n      }\n    }\n\n    /**\n     * Migrated to Inner\n     */\n\n    // Start a new frame and save $ra and $fp on the stack\n    pushFrame() {\n      this[INNER_VM].pushFrame();\n    }\n\n    // Restore $ra, $sp and $fp\n    popFrame() {\n      this[INNER_VM].popFrame();\n    }\n\n    // Jump to an address in `program`\n    goto(offset) {\n      this[INNER_VM].goto(offset);\n    }\n\n    // Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\n    call(handle) {\n      this[INNER_VM].call(handle);\n    }\n\n    // Put a specific `program` address in $ra\n    returnTo(offset) {\n      this[INNER_VM].returnTo(offset);\n    }\n\n    // Return to the `program` address stored in $ra\n    return() {\n      this[INNER_VM].return();\n    }\n\n    /**\n     * End of migrated.\n     */\n\n    constructor(runtime, {\n      pc,\n      scope,\n      dynamicScope,\n      stack\n    }, elementStack, context) {\n      this[STACKS] = new Stacks();\n      this[HEAP] = void 0;\n      this.destructor = void 0;\n      this[DESTROYABLE_STACK] = new _util.Stack();\n      this[CONSTANTS] = void 0;\n      this[ARGS$1] = void 0;\n      this[INNER_VM] = void 0;\n      this.s0 = null;\n      this.s1 = null;\n      this.t0 = null;\n      this.t1 = null;\n      this.v0 = null;\n      this.resume = void 0;\n      this.runtime = runtime;\n      this.elementStack = elementStack;\n      this.context = context;\n      if (true /* DEBUG */) {\n        (0, _globalContext.assertGlobalContextWasSet)();\n      }\n      this.resume = initVM(context);\n      let evalStack = EvaluationStackImpl.restore(stack);\n      (0, _util.assert)(typeof pc === 'number', 'pc is a number');\n      evalStack[REGISTERS][_vm2.$pc] = pc;\n      evalStack[REGISTERS][_vm2.$sp] = stack.length - 1;\n      evalStack[REGISTERS][_vm2.$fp] = -1;\n      this[HEAP] = this.program.heap;\n      this[CONSTANTS] = this.program.constants;\n      this.elementStack = elementStack;\n      this[STACKS].scope.push(scope);\n      this[STACKS].dynamicScope.push(dynamicScope);\n      this[ARGS$1] = new VMArgumentsImpl();\n      this[INNER_VM] = new LowLevelVM(evalStack, this[HEAP], runtime.program, {\n        debugBefore: opcode => {\n          return APPEND_OPCODES.debugBefore(this, opcode);\n        },\n        debugAfter: state => {\n          APPEND_OPCODES.debugAfter(this, state);\n        }\n      }, evalStack[REGISTERS]);\n      this.destructor = {};\n      this[DESTROYABLE_STACK].push(this.destructor);\n    }\n    static initial(runtime, context, {\n      handle,\n      self,\n      dynamicScope,\n      treeBuilder,\n      numSymbols,\n      owner\n    }) {\n      let scope = PartialScopeImpl.root(self, numSymbols, owner);\n      let state = vmState(runtime.program.heap.getaddr(handle), scope, dynamicScope);\n      let vm = initVM(context)(runtime, state, treeBuilder);\n      vm.pushUpdating();\n      return vm;\n    }\n    static empty(runtime, {\n      handle,\n      treeBuilder,\n      dynamicScope,\n      owner\n    }, context) {\n      let vm = initVM(context)(runtime, vmState(runtime.program.heap.getaddr(handle), PartialScopeImpl.root(_reference.UNDEFINED_REFERENCE, 0, owner), dynamicScope), treeBuilder);\n      vm.pushUpdating();\n      return vm;\n    }\n    compile(block) {\n      let handle = (0, _util.unwrapHandle)(block.compile(this.context));\n      return handle;\n    }\n    get program() {\n      return this.runtime.program;\n    }\n    get env() {\n      return this.runtime.env;\n    }\n    captureState(args, pc = this[INNER_VM].fetchRegister(_vm2.$pc)) {\n      return {\n        pc,\n        scope: this.scope(),\n        dynamicScope: this.dynamicScope(),\n        stack: this.stack.capture(args)\n      };\n    }\n    capture(args, pc = this[INNER_VM].fetchRegister(_vm2.$pc)) {\n      return new ResumableVMStateImpl(this.captureState(args, pc), this.resume);\n    }\n    beginCacheGroup(name) {\n      let opcodes = this.updating();\n      let guard = new JumpIfNotModifiedOpcode();\n      opcodes.push(guard);\n      opcodes.push(new BeginTrackFrameOpcode(name));\n      this[STACKS].cache.push(guard);\n      (0, _validator.beginTrackFrame)(name);\n    }\n    commitCacheGroup() {\n      let opcodes = this.updating();\n      let guard = (0, _util.expect)(this[STACKS].cache.pop(), 'VM BUG: Expected a cache group');\n      let tag = (0, _validator.endTrackFrame)();\n      opcodes.push(new EndTrackFrameOpcode(guard));\n      guard.finalize(tag, opcodes.length);\n    }\n    enter(args) {\n      let updating = [];\n      let state = this.capture(args);\n      let block = this.elements().pushUpdatableBlock();\n      let tryOpcode = new TryOpcode(state, this.runtime, block, updating);\n      this.didEnter(tryOpcode);\n    }\n    enterItem({\n      key,\n      value,\n      memo\n    }) {\n      let {\n        stack\n      } = this;\n      let valueRef = (0, _reference.createIteratorItemRef)(value);\n      let memoRef = (0, _reference.createIteratorItemRef)(memo);\n      stack.push(valueRef);\n      stack.push(memoRef);\n      let state = this.capture(2);\n      let block = this.elements().pushUpdatableBlock();\n      let opcode = new ListItemOpcode(state, this.runtime, block, key, memoRef, valueRef);\n      this.didEnter(opcode);\n      return opcode;\n    }\n    registerItem(opcode) {\n      this.listBlock().initializeChild(opcode);\n    }\n    enterList(iterableRef, offset) {\n      let updating = [];\n      let addr = this[INNER_VM].target(offset);\n      let state = this.capture(0, addr);\n      let list = this.elements().pushBlockList(updating);\n      let opcode = new ListBlockOpcode(state, this.runtime, list, updating, iterableRef);\n      this[STACKS].list.push(opcode);\n      this.didEnter(opcode);\n    }\n    didEnter(opcode) {\n      this.associateDestroyable(opcode);\n      this[DESTROYABLE_STACK].push(opcode);\n      this.updateWith(opcode);\n      this.pushUpdating(opcode.children);\n    }\n    exit() {\n      this[DESTROYABLE_STACK].pop();\n      this.elements().popBlock();\n      this.popUpdating();\n    }\n    exitList() {\n      this.exit();\n      this[STACKS].list.pop();\n    }\n    pushUpdating(list = []) {\n      this[STACKS].updating.push(list);\n    }\n    popUpdating() {\n      return (0, _util.expect)(this[STACKS].updating.pop(), \"can't pop an empty stack\");\n    }\n    updateWith(opcode) {\n      this.updating().push(opcode);\n    }\n    listBlock() {\n      return (0, _util.expect)(this[STACKS].list.current, 'expected a list block');\n    }\n    associateDestroyable(child) {\n      let parent = (0, _util.expect)(this[DESTROYABLE_STACK].current, 'Expected destructor parent');\n      (0, _destroyable.associateDestroyableChild)(parent, child);\n    }\n    tryUpdating() {\n      return this[STACKS].updating.current;\n    }\n    updating() {\n      return (0, _util.expect)(this[STACKS].updating.current, 'expected updating opcode on the updating opcode stack');\n    }\n    elements() {\n      return this.elementStack;\n    }\n    scope() {\n      return (0, _util.expect)(this[STACKS].scope.current, 'expected scope on the scope stack');\n    }\n    dynamicScope() {\n      return (0, _util.expect)(this[STACKS].dynamicScope.current, 'expected dynamic scope on the dynamic scope stack');\n    }\n    pushChildScope() {\n      this[STACKS].scope.push(this.scope().child());\n    }\n    pushDynamicScope() {\n      let child = this.dynamicScope().child();\n      this[STACKS].dynamicScope.push(child);\n      return child;\n    }\n    pushRootScope(size, owner) {\n      let scope = PartialScopeImpl.sized(size, owner);\n      this[STACKS].scope.push(scope);\n      return scope;\n    }\n    pushScope(scope) {\n      this[STACKS].scope.push(scope);\n    }\n    popScope() {\n      this[STACKS].scope.pop();\n    }\n    popDynamicScope() {\n      this[STACKS].dynamicScope.pop();\n    }\n\n    /// SCOPE HELPERS\n\n    getOwner() {\n      return this.scope().owner;\n    }\n    getSelf() {\n      return this.scope().getSelf();\n    }\n    referenceForSymbol(symbol) {\n      return this.scope().getSymbol(symbol);\n    }\n\n    /// EXECUTION\n\n    execute(initialize) {\n      if (true /* DEBUG */) {\n        let hasErrored = true;\n        try {\n          let value = this._execute(initialize);\n\n          // using a boolean here to avoid breaking ergonomics of \"pause on uncaught exceptions\"\n          // which would happen with a `catch` + `throw`\n          hasErrored = false;\n          return value;\n        } finally {\n          if (hasErrored) {\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            let elements = this.elements();\n            while (elements.hasBlocks) {\n              elements.popBlock();\n            }\n\n            // eslint-disable-next-line no-console\n            console.error(`\\n\\nError occurred:\\n\\n${(0, _validator.resetTracking)()}\\n\\n`);\n          }\n        }\n      } else {\n        return this._execute(initialize);\n      }\n    }\n    _execute(initialize) {\n      if (initialize) initialize(this);\n      let result;\n      do result = this.next(); while (!result.done);\n      return result.value;\n    }\n    next() {\n      let {\n        env,\n        elementStack\n      } = this;\n      let opcode = this[INNER_VM].nextStatement();\n      let result;\n      if (opcode !== null) {\n        this[INNER_VM].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 RenderResultImpl(env, this.popUpdating(), elementStack.popBlock(), this.destructor)\n        };\n      }\n      return result;\n    }\n    bindDynamicScope(names) {\n      let scope = this.dynamicScope();\n      for (const name of (0, _util.reverse)(names)) {\n        scope.set(name, this.stack.pop());\n      }\n    }\n  }\n  _exports.LowLevelVM = VM;\n  function vmState(pc, scope, dynamicScope) {\n    return {\n      pc,\n      scope,\n      dynamicScope,\n      stack: []\n    };\n  }\n  function initVM(context) {\n    return (runtime, state, builder) => new VM(runtime, state, builder, context);\n  }\n  class TemplateIteratorImpl {\n    constructor(vm) {\n      this.vm = vm;\n    }\n    next() {\n      return this.vm.next();\n    }\n    sync() {\n      if (true /* DEBUG */) {\n        return _validator.debug.runInTrackingTransaction(() => this.vm.execute(), '- While rendering:');\n      } else {\n        return this.vm.execute();\n      }\n    }\n  }\n  function renderSync(env, iterator) {\n    let result;\n    inTransaction(env, () => result = iterator.sync());\n    return result;\n  }\n  function renderMain(runtime, context, owner, self, treeBuilder, layout, dynamicScope = new DynamicScopeImpl()) {\n    let handle = (0, _util.unwrapHandle)(layout.compile(context));\n    let numSymbols = layout.symbolTable.symbols.length;\n    let vm = VM.initial(runtime, context, {\n      self,\n      dynamicScope,\n      treeBuilder,\n      handle,\n      numSymbols,\n      owner\n    });\n    return new TemplateIteratorImpl(vm);\n  }\n  function renderInvocation(vm, context, owner, definition, args) {\n    // Get a list of tuples of argument names and references, like\n    // [['title', reference], ['name', reference]]\n    const argList = Object.keys(args).map(key => [key, args[key]]);\n    const blockNames = ['main', 'else', 'attrs'];\n    // Prefix argument names with `@` symbol\n    const argNames = argList.map(([name]) => `@${name}`);\n    let reified = vm[CONSTANTS].component(definition, owner);\n    vm.pushFrame();\n\n    // Push blocks on to the stack, three stack values per block\n    for (let i = 0; i < 3 * blockNames.length; i++) {\n      vm.stack.push(null);\n    }\n    vm.stack.push(null);\n\n    // For each argument, push its backing reference on to the stack\n    argList.forEach(([, reference]) => {\n      vm.stack.push(reference);\n    });\n\n    // Configure VM based on blocks and args just pushed on to the stack.\n    vm[ARGS$1].setup(vm.stack, argNames, blockNames, 0, true);\n    const compilable = (0, _util.expect)(reified.compilable, 'BUG: Expected the root component rendered with renderComponent to have an associated template, set with setComponentTemplate');\n    const layoutHandle = (0, _util.unwrapHandle)(compilable.compile(context));\n    const invocation = {\n      handle: layoutHandle,\n      symbolTable: compilable.symbolTable\n    };\n\n    // Needed for the Op.Main opcode: arguments, component invocation object, and\n    // component definition.\n    vm.stack.push(vm[ARGS$1]);\n    vm.stack.push(invocation);\n    vm.stack.push(reified);\n    return new TemplateIteratorImpl(vm);\n  }\n  function renderComponent(runtime, treeBuilder, context, owner, definition, args = {}, dynamicScope = new DynamicScopeImpl()) {\n    let vm = VM.empty(runtime, {\n      treeBuilder,\n      handle: context.stdlib.main,\n      dynamicScope,\n      owner\n    }, context);\n    return renderInvocation(vm, context, owner, definition, recordToReference(args));\n  }\n  function recordToReference(record) {\n    const root = (0, _reference.createConstRef)(record, 'args');\n    return Object.keys(record).reduce((acc, key) => {\n      acc[key] = (0, _reference.childRefFor)(root, key);\n      return acc;\n    }, {});\n  }\n  const SERIALIZATION_FIRST_NODE_STRING = _exports.SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n  function isSerializationFirstNode(node) {\n    return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n  }\n  class RehydratingCursor extends CursorImpl {\n    constructor(element, nextSibling, startingBlockDepth) {\n      super(element, nextSibling);\n      this.candidate = null;\n      this.openBlockDepth = void 0;\n      this.injectedOmittedNode = false;\n      this.startingBlockDepth = startingBlockDepth;\n      this.openBlockDepth = startingBlockDepth - 1;\n    }\n  }\n  class RehydrateBuilder extends NewElementBuilder {\n    constructor(env, parentNode, nextSibling) {\n      super(env, parentNode, nextSibling);\n      this.unmatchedAttributes = null;\n      // Hides property on base class\n      this.blockDepth = 0;\n      this.startingBlockOffset = void 0;\n      if (nextSibling) throw new Error('Rehydration with nextSibling not supported');\n      let node = this.currentCursor.element.firstChild;\n      while (node !== null) {\n        if (isOpenBlock(node)) {\n          break;\n        }\n        node = node.nextSibling;\n      }\n      (0, _util.assert)(node, 'Must have opening comment for rehydration.');\n      this.candidate = node;\n      const startingBlockOffset = getBlockDepth(node);\n      if (startingBlockOffset !== 0) {\n        // We are rehydrating from a partial tree and not the root component\n        // We need to add an extra block before the first block to rehydrate correctly\n        // The extra block is needed since the renderComponent API creates a synthetic component invocation which generates the extra block\n        const newBlockDepth = startingBlockOffset - 1;\n        const newCandidate = this.dom.createComment(`%+b:${newBlockDepth}%`);\n        node.parentNode.insertBefore(newCandidate, this.candidate);\n        let closingNode = node.nextSibling;\n        while (closingNode !== null) {\n          if (isCloseBlock(closingNode) && getBlockDepth(closingNode) === startingBlockOffset) {\n            break;\n          }\n          closingNode = closingNode.nextSibling;\n        }\n        (0, _util.assert)(closingNode, 'Must have closing comment for starting block comment');\n        const newClosingBlock = this.dom.createComment(`%-b:${newBlockDepth}%`);\n        node.parentNode.insertBefore(newClosingBlock, closingNode.nextSibling);\n        this.candidate = newCandidate;\n        this.startingBlockOffset = newBlockDepth;\n      } else {\n        this.startingBlockOffset = 0;\n      }\n    }\n    get currentCursor() {\n      return this[CURSOR_STACK].current;\n    }\n    get candidate() {\n      if (this.currentCursor) {\n        return this.currentCursor.candidate;\n      }\n      return null;\n    }\n    set candidate(node) {\n      const currentCursor = this.currentCursor;\n      currentCursor.candidate = node;\n    }\n    disableRehydration(nextSibling) {\n      const currentCursor = this.currentCursor;\n\n      // rehydration will be disabled until we either:\n      // * hit popElement (and return to using the parent elements cursor)\n      // * hit closeBlock and the next sibling is a close block comment\n      //   matching the expected openBlockDepth\n      currentCursor.candidate = null;\n      currentCursor.nextSibling = nextSibling;\n    }\n    enableRehydration(candidate) {\n      const currentCursor = this.currentCursor;\n      currentCursor.candidate = candidate;\n      currentCursor.nextSibling = null;\n    }\n    pushElement(element, nextSibling = null) {\n      const cursor = new RehydratingCursor(element, nextSibling, this.blockDepth || 0);\n\n      /**\n       * <div>   <---------------  currentCursor.element\n       *   <!--%+b:1%--> <-------  would have been removed during openBlock\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      if (this.candidate !== null) {\n        cursor.candidate = element.firstChild;\n        this.candidate = element.nextSibling;\n      }\n      this[CURSOR_STACK].push(cursor);\n    }\n\n    // clears until the end of the current container\n    // either the current open block or higher\n    clearMismatch(candidate) {\n      let current = candidate;\n      const currentCursor = this.currentCursor;\n      if (currentCursor !== null) {\n        const openBlockDepth = currentCursor.openBlockDepth;\n        if (openBlockDepth >= currentCursor.startingBlockDepth) {\n          while (current) {\n            if (isCloseBlock(current)) {\n              const closeBlockDepth = getBlockDepthWithOffset(current, this.startingBlockOffset);\n              if (openBlockDepth >= closeBlockDepth) {\n                break;\n              }\n            }\n            current = this.remove(current);\n          }\n        } else {\n          while (current !== null) {\n            current = this.remove(current);\n          }\n        }\n        // current cursor parentNode should be openCandidate if element\n        // or openCandidate.parentNode if comment\n        this.disableRehydration(current);\n      }\n    }\n    __openBlock() {\n      const {\n        currentCursor\n      } = this;\n      if (currentCursor === null) return;\n      const blockDepth = this.blockDepth;\n      this.blockDepth++;\n      const {\n        candidate\n      } = currentCursor;\n      if (candidate === null) return;\n      const {\n        tagName\n      } = currentCursor.element;\n      if (isOpenBlock(candidate) && getBlockDepthWithOffset(candidate, this.startingBlockOffset) === blockDepth) {\n        this.candidate = this.remove(candidate);\n        currentCursor.openBlockDepth = blockDepth;\n      } else if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n        this.clearMismatch(candidate);\n      }\n    }\n    __closeBlock() {\n      const {\n        currentCursor\n      } = this;\n      if (currentCursor === null) return;\n\n      // openBlock is the last rehydrated open block\n      const openBlockDepth = currentCursor.openBlockDepth;\n\n      // this currently is the expected next open block depth\n      this.blockDepth--;\n      const {\n        candidate\n      } = currentCursor;\n      let isRehydrating = false;\n      if (candidate !== null) {\n        isRehydrating = true;\n        //assert(\n        //  openBlockDepth === this.blockDepth,\n        //  'when rehydrating, openBlockDepth should match this.blockDepth here'\n        //);\n\n        if (isCloseBlock(candidate) && getBlockDepthWithOffset(candidate, this.startingBlockOffset) === openBlockDepth) {\n          const nextSibling = this.remove(candidate);\n          this.candidate = nextSibling;\n          currentCursor.openBlockDepth--;\n        } else {\n          // close the block and clear mismatch in parent container\n          // we will be either at the end of the element\n          // or at the end of our containing block\n          this.clearMismatch(candidate);\n          isRehydrating = false;\n        }\n      }\n      if (isRehydrating === false) {\n        // check if nextSibling matches our expected close block\n        // if so, we remove the close block comment and\n        // restore rehydration after clearMismatch disabled\n        const nextSibling = currentCursor.nextSibling;\n        if (nextSibling !== null && isCloseBlock(nextSibling) && getBlockDepthWithOffset(nextSibling, this.startingBlockOffset) === this.blockDepth) {\n          // restore rehydration state\n          const candidate = this.remove(nextSibling);\n          this.enableRehydration(candidate);\n          currentCursor.openBlockDepth--;\n        }\n      }\n    }\n    __appendNode(node) {\n      const {\n        candidate\n      } = this;\n\n      // 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      if (candidate) {\n        return candidate;\n      } else {\n        return super.__appendNode(node);\n      }\n    }\n    __appendHTML(html) {\n      const candidateBounds = this.markerBounds();\n      if (candidateBounds) {\n        const first = candidateBounds.firstNode();\n        const last = candidateBounds.lastNode();\n        const newBounds = new ConcreteBounds(this.element, first.nextSibling, last.previousSibling);\n        const possibleEmptyMarker = this.remove(first);\n        this.remove(last);\n        if (possibleEmptyMarker !== null && isEmpty(possibleEmptyMarker)) {\n          this.candidate = this.remove(possibleEmptyMarker);\n          if (this.candidate !== null) {\n            this.clearMismatch(this.candidate);\n          }\n        }\n        return newBounds;\n      } else {\n        return super.__appendHTML(html);\n      }\n    }\n    remove(node) {\n      const element = (0, _util.expect)(node.parentNode, `cannot remove a detached node`);\n      const next = node.nextSibling;\n      element.removeChild(node);\n      return next;\n    }\n    markerBounds() {\n      const _candidate = this.candidate;\n      if (_candidate && isMarker(_candidate)) {\n        const first = _candidate;\n        let last = (0, _util.expect)(first.nextSibling, `BUG: serialization markers must be paired`);\n        while (last && !isMarker(last)) {\n          last = (0, _util.expect)(last.nextSibling, `BUG: serialization markers must be paired`);\n        }\n        return new ConcreteBounds(this.element, first, last);\n      } else {\n        return null;\n      }\n    }\n    __appendText(string) {\n      const {\n        candidate\n      } = this;\n      if (candidate) {\n        if (isTextNode(candidate)) {\n          if (candidate.nodeValue !== string) {\n            candidate.nodeValue = string;\n          }\n          this.candidate = candidate.nextSibling;\n          return candidate;\n        } else if (isSeparator(candidate)) {\n          this.candidate = this.remove(candidate);\n          return this.__appendText(string);\n        } else if (isEmpty(candidate) && string === '') {\n          this.candidate = this.remove(candidate);\n          return this.__appendText(string);\n        } else {\n          this.clearMismatch(candidate);\n          return super.__appendText(string);\n        }\n      } else {\n        return super.__appendText(string);\n      }\n    }\n    __appendComment(string) {\n      const _candidate = this.candidate;\n      if (_candidate && isComment(_candidate)) {\n        if (_candidate.nodeValue !== string) {\n          _candidate.nodeValue = string;\n        }\n        this.candidate = _candidate.nextSibling;\n        return _candidate;\n      } else if (_candidate) {\n        this.clearMismatch(_candidate);\n      }\n      return super.__appendComment(string);\n    }\n    __openElement(tag) {\n      const _candidate = this.candidate;\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        this.clearMismatch(_candidate);\n      }\n      return super.__openElement(tag);\n    }\n    __setAttribute(name, value, namespace) {\n      const unmatched = this.unmatchedAttributes;\n      if (unmatched) {\n        const attr = findByName(unmatched, name);\n        if (attr) {\n          if (attr.value !== value) {\n            attr.value = value;\n          }\n          unmatched.splice(unmatched.indexOf(attr), 1);\n          return;\n        }\n      }\n      return super.__setAttribute(name, value, namespace);\n    }\n    __setProperty(name, value) {\n      const unmatched = this.unmatchedAttributes;\n      if (unmatched) {\n        const attr = findByName(unmatched, name);\n        if (attr) {\n          if (attr.value !== value) {\n            attr.value = value;\n          }\n          unmatched.splice(unmatched.indexOf(attr), 1);\n          return;\n        }\n      }\n      return super.__setProperty(name, value);\n    }\n    __flushElement(parent, constructing) {\n      const {\n        unmatchedAttributes: unmatched\n      } = this;\n      if (unmatched) {\n        for (const attr of unmatched) {\n          this.constructing.removeAttribute(attr.name);\n        }\n        this.unmatchedAttributes = null;\n      } else {\n        super.__flushElement(parent, constructing);\n      }\n    }\n    willCloseElement() {\n      const {\n        candidate,\n        currentCursor\n      } = this;\n      if (candidate !== null) {\n        this.clearMismatch(candidate);\n      }\n      if (currentCursor && currentCursor.injectedOmittedNode) {\n        this.popElement();\n      }\n      super.willCloseElement();\n    }\n    getMarker(element, guid) {\n      const marker = element.querySelector(`script[glmr=\"${guid}\"]`);\n      if (marker) {\n        return (0, _util.castToSimple)(marker);\n      }\n      return null;\n    }\n    __pushRemoteElement(element, cursorId, insertBefore) {\n      const marker = this.getMarker((0, _util.castToBrowser)(element, 'HTML'), cursorId);\n      (0, _util.assert)(!marker || marker.parentNode === element, `expected remote element marker's parent node to match remote element`);\n\n      // when insertBefore is not present, we clear the element\n      if (insertBefore === undefined) {\n        while (element.firstChild !== null && element.firstChild !== marker) {\n          this.remove(element.firstChild);\n        }\n        insertBefore = null;\n      }\n      const cursor = new RehydratingCursor(element, null, this.blockDepth);\n      this[CURSOR_STACK].push(cursor);\n      if (marker === null) {\n        this.disableRehydration(insertBefore);\n      } else {\n        this.candidate = this.remove(marker);\n      }\n      const block = new RemoteLiveBlock(element);\n      return this.pushLiveBlock(block, true);\n    }\n    didAppendBounds(bounds) {\n      super.didAppendBounds(bounds);\n      if (this.candidate) {\n        const last = bounds.lastNode();\n        this.candidate = last && last.nextSibling;\n      }\n      return bounds;\n    }\n  }\n  _exports.RehydrateBuilder = RehydrateBuilder;\n  function isTextNode(node) {\n    return node.nodeType === 3;\n  }\n  function isComment(node) {\n    return node.nodeType === 8;\n  }\n  function isOpenBlock(node) {\n    return node.nodeType === _util.COMMENT_NODE && node.nodeValue.lastIndexOf('%+b:', 0) === 0;\n  }\n  function isCloseBlock(node) {\n    return node.nodeType === _util.COMMENT_NODE && node.nodeValue.lastIndexOf('%-b:', 0) === 0;\n  }\n  function getBlockDepth(node) {\n    return parseInt(node.nodeValue.slice(4), 10);\n  }\n  function getBlockDepthWithOffset(node, offset) {\n    return getBlockDepth(node) - offset;\n  }\n  function isElement(node) {\n    return node.nodeType === 1;\n  }\n  function isMarker(node) {\n    return node.nodeType === 8 && node.nodeValue === '%glmr%';\n  }\n  function isSeparator(node) {\n    return node.nodeType === 8 && node.nodeValue === '%|%';\n  }\n  function isEmpty(node) {\n    return node.nodeType === 8 && node.nodeValue === '% %';\n  }\n  function isSameNodeType(candidate, tag) {\n    if (candidate.namespaceURI === _util.NS_SVG) {\n      return candidate.tagName === tag;\n    }\n    return candidate.tagName === tag.toUpperCase();\n  }\n  function findByName(array, name) {\n    for (const attr of array) {\n      if (attr.name === name) return attr;\n    }\n    return undefined;\n  }\n  function rehydrationBuilder(env, cursor) {\n    return RehydrateBuilder.forInitialRender(env, cursor);\n  }\n});","define(\"@glimmer/tracking/index\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"cached\", {\n    enumerable: true,\n    get: function () {\n      return _metal.cached;\n    }\n  });\n  Object.defineProperty(_exports, \"tracked\", {\n    enumerable: true,\n    get: function () {\n      return _metal.tracked;\n    }\n  });\n});","define(\"@glimmer/tracking/primitives/cache\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"createCache\", {\n    enumerable: true,\n    get: function () {\n      return _metal.createCache;\n    }\n  });\n  Object.defineProperty(_exports, \"getValue\", {\n    enumerable: true,\n    get: function () {\n      return _metal.getValue;\n    }\n  });\n  Object.defineProperty(_exports, \"isConst\", {\n    enumerable: true,\n    get: function () {\n      return _metal.isConst;\n    }\n  });\n});","define(\"@glimmer/util\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TEXT_NODE = _exports.Stack = _exports.SERIALIZATION_FIRST_NODE_STRING = _exports.RAW_NODE = _exports.NS_XMLNS = _exports.NS_XML = _exports.NS_XLINK = _exports.NS_SVG = _exports.NS_MATHML = _exports.NS_HTML = _exports.LOGGER = _exports.LOCAL_LOGGER = _exports.ImmediateConstants = _exports.INSERT_BEFORE_END = _exports.INSERT_BEFORE_BEGIN = _exports.INSERT_AFTER_END = _exports.INSERT_AFTER_BEGIN = _exports.EMPTY_STRING_ARRAY = _exports.EMPTY_NUMBER_ARRAY = _exports.EMPTY_ARRAY = _exports.ELEMENT_NODE = _exports.DOCUMENT_TYPE_NODE = _exports.DOCUMENT_NODE = _exports.DOCUMENT_FRAGMENT_NODE = _exports.COMMENT_NODE = void 0;\n  _exports.arrayToOption = arrayToOption;\n  _exports.asPresentArray = asPresentArray;\n  _exports.assert = debugAssert;\n  _exports.assertNever = assertNever;\n  _exports.assertPresent = assertPresent;\n  _exports.assertPresentArray = assertPresentArray;\n  _exports.beginTestSteps = _exports.assign = void 0;\n  _exports.buildUntouchableThis = buildUntouchableThis;\n  _exports.castToBrowser = castToBrowser;\n  _exports.castToSimple = castToSimple;\n  _exports.checkNode = checkBrowserNode;\n  _exports.clearElement = clearElement;\n  _exports.constants = constants;\n  _exports.debugToString = void 0;\n  _exports.decodeHandle = decodeHandle;\n  _exports.decodeImmediate = decodeImmediate;\n  _exports.decodeNegative = decodeNegative;\n  _exports.decodePositive = decodePositive;\n  _exports.deprecate = deprecate;\n  _exports.dict = dict;\n  _exports.emptyArray = emptyArray;\n  _exports.encodeHandle = encodeHandle;\n  _exports.encodeImmediate = encodeImmediate;\n  _exports.encodeNegative = encodeNegative;\n  _exports.encodePositive = encodePositive;\n  _exports.endTestSteps = void 0;\n  _exports.entries = entries;\n  _exports.enumerate = enumerate;\n  _exports.exhausted = exhausted;\n  _exports.expect = expect;\n  _exports.extractHandle = extractHandle;\n  _exports.getFirst = getFirst;\n  _exports.getLast = getLast;\n  _exports.ifPresent = ifPresent;\n  _exports.intern = intern;\n  _exports.isDict = isDict;\n  _exports.isElement = isElement;\n  _exports.isEmptyArray = isEmptyArray;\n  _exports.isErrHandle = isErrHandle;\n  _exports.isHandle = isHandle;\n  _exports.isNonPrimitiveHandle = isNonPrimitiveHandle;\n  _exports.isObject = isObject;\n  _exports.isOkHandle = isOkHandle;\n  _exports.isPresent = isPresent;\n  _exports.isPresentArray = isPresentArray;\n  _exports.isSerializationFirstNode = isSerializationFirstNode;\n  _exports.isSimpleElement = isSimpleElement;\n  _exports.isSmallInt = isSmallInt;\n  _exports.keys = keys;\n  _exports.logStep = void 0;\n  _exports.mapPresentArray = mapPresentArray;\n  _exports.reverse = reverse;\n  _exports.strip = strip;\n  _exports.tuple = void 0;\n  _exports.unreachable = unreachable;\n  _exports.unwrap = unwrap;\n  _exports.unwrapHandle = unwrapHandle;\n  _exports.unwrapTemplate = unwrapTemplate;\n  _exports.values = values;\n  _exports.verifySteps = void 0;\n  const EMPTY_ARRAY = _exports.EMPTY_ARRAY = Object.freeze([]);\n  function emptyArray() {\n    return EMPTY_ARRAY;\n  }\n  const EMPTY_STRING_ARRAY = _exports.EMPTY_STRING_ARRAY = emptyArray();\n  const EMPTY_NUMBER_ARRAY = _exports.EMPTY_NUMBER_ARRAY = emptyArray();\n\n  /**\n   * This function returns `true` if the input array is the special empty array sentinel,\n   * which is sometimes used for optimizations.\n   */\n  function isEmptyArray(input) {\n    return input === EMPTY_ARRAY;\n  }\n  function* reverse(input) {\n    for (let i = input.length - 1; i >= 0; i--) {\n      yield input[i];\n    }\n  }\n  function* enumerate(input) {\n    let i = 0;\n    for (const item of input) {\n      yield [i++, item];\n    }\n  }\n\n  // import Logger from './logger';\n\n  // let alreadyWarned = false;\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\n    if (!test) {\n      throw new Error(msg || 'assertion failure');\n    }\n  }\n  function deprecate(desc) {\n    LOCAL_LOGGER.warn(`DEPRECATION: ${desc}`);\n  }\n  function keys(obj) {\n    return Object.keys(obj);\n  }\n  function unwrap(val) {\n    if (val === null || val === undefined) throw new Error(`Expected value to be present`);\n    return val;\n  }\n  function expect(val, message) {\n    if (val === null || val === undefined) throw new Error(message);\n    return val;\n  }\n  function unreachable(message = 'unreachable') {\n    return new Error(message);\n  }\n  function exhausted(value) {\n    throw new Error(`Exhausted ${String(value)}`);\n  }\n  const tuple = (...args) => args;\n  _exports.tuple = tuple;\n  function isPresent(value) {\n    return value !== null && value !== undefined;\n  }\n  function assertPresent(value, message) {\n    if (!isPresent(value)) {\n      throw new Error(`Expected present, got ${typeof value === 'string' ? value : message}`);\n    }\n  }\n  function isPresentArray(list) {\n    return list.length > 0;\n  }\n  function ifPresent(list, ifPresent, otherwise) {\n    if (isPresentArray(list)) {\n      return ifPresent(list);\n    } else {\n      return otherwise();\n    }\n  }\n  function arrayToOption(list) {\n    if (isPresentArray(list)) {\n      return list;\n    } else {\n      return null;\n    }\n  }\n  function assertPresentArray(list, message = `unexpected empty list`) {\n    if (!isPresentArray(list)) {\n      throw new Error(message);\n    }\n  }\n  function asPresentArray(list, message = `unexpected empty list`) {\n    assertPresentArray(list, message);\n    return list;\n  }\n  function getLast(list) {\n    return list.length === 0 ? undefined : list[list.length - 1];\n  }\n  function getFirst(list) {\n    return list.length === 0 ? undefined : list[0];\n  }\n  function mapPresentArray(list, mapper) {\n    if (list === null) {\n      return null;\n    }\n    let out = [];\n    for (let item of list) {\n      out.push(mapper(item));\n    }\n    return out;\n  }\n  function dict() {\n    return Object.create(null);\n  }\n  function isDict(u) {\n    return u !== null && u !== undefined;\n  }\n  function isObject(u) {\n    return typeof u === 'function' || typeof u === 'object' && u !== null;\n  }\n  class StackImpl {\n    constructor(values = []) {\n      this.stack = void 0;\n      this.current = null;\n      this.stack = values;\n    }\n    get size() {\n      return this.stack.length;\n    }\n    push(item) {\n      this.current = item;\n      this.stack.push(item);\n    }\n    pop() {\n      let item = this.stack.pop();\n      this.current = getLast(this.stack) ?? null;\n      return item === undefined ? null : item;\n    }\n    nth(from) {\n      let len = this.stack.length;\n      return len < from ? null : unwrap(this.stack[len - from]);\n    }\n    isEmpty() {\n      return this.stack.length === 0;\n    }\n    toArray() {\n      return this.stack;\n    }\n  }\n\n  /// <reference types=\"qunit\" />\n  _exports.Stack = StackImpl;\n  let beginTestSteps = _exports.beginTestSteps = void 0;\n  let endTestSteps = _exports.endTestSteps = void 0;\n  let verifySteps = _exports.verifySteps = void 0;\n  let logStep = _exports.logStep = void 0;\n  let debugToString;\n  if (true /* DEBUG */) {\n    let getFunctionName = fn => {\n      let functionName = fn.name;\n      if (functionName === undefined) {\n        let match = /function (\\w+)\\s*\\(/u.exec(String(fn));\n        functionName = match && match[1] || '';\n      }\n      return functionName.replace(/^bound /u, '');\n    };\n    let getObjectName = obj => {\n      let name;\n      let className;\n      if (obj.constructor && typeof obj.constructor === 'function') {\n        className = getFunctionName(obj.constructor);\n      }\n      if ('toString' in obj && obj.toString !== Object.prototype.toString && obj.toString !== Function.prototype.toString) {\n        name = obj.toString();\n      }\n\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      if (name && /<.*:ember\\d+>/u.test(name) && className && className[0] !== '_' && className.length > 2 && className !== 'Class') {\n        return name.replace(/<.*:/u, `<${className}:`);\n      }\n      return name || className;\n    };\n    let getPrimitiveName = value => {\n      return String(value);\n    };\n    debugToString = 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  var debugToString$1 = _exports.debugToString = debugToString;\n  function clearElement(parent) {\n    let current = parent.firstChild;\n    while (current) {\n      let next = current.nextSibling;\n      parent.removeChild(current);\n      current = next;\n    }\n  }\n  const RAW_NODE = _exports.RAW_NODE = -1;\n  const ELEMENT_NODE = _exports.ELEMENT_NODE = 1;\n  const TEXT_NODE = _exports.TEXT_NODE = 3;\n  const COMMENT_NODE = _exports.COMMENT_NODE = 8;\n  const DOCUMENT_NODE = _exports.DOCUMENT_NODE = 9;\n  const DOCUMENT_TYPE_NODE = _exports.DOCUMENT_TYPE_NODE = 10;\n  const DOCUMENT_FRAGMENT_NODE = _exports.DOCUMENT_FRAGMENT_NODE = 11;\n  const NS_HTML = _exports.NS_HTML = 'http://www.w3.org/1999/xhtml';\n  const NS_MATHML = _exports.NS_MATHML = 'http://www.w3.org/1998/Math/MathML';\n  const NS_SVG = _exports.NS_SVG = 'http://www.w3.org/2000/svg';\n  const NS_XLINK = _exports.NS_XLINK = 'http://www.w3.org/1999/xlink';\n  const NS_XML = _exports.NS_XML = 'http://www.w3.org/XML/1998/namespace';\n  const NS_XMLNS = _exports.NS_XMLNS = 'http://www.w3.org/2000/xmlns/';\n  const INSERT_BEFORE_BEGIN = _exports.INSERT_BEFORE_BEGIN = 'beforebegin';\n  const INSERT_AFTER_BEGIN = _exports.INSERT_AFTER_BEGIN = 'afterbegin';\n  const INSERT_BEFORE_END = _exports.INSERT_BEFORE_END = 'beforeend';\n  const INSERT_AFTER_END = _exports.INSERT_AFTER_END = 'afterend';\n\n  /*\n    Encoding notes\n  \n    We use 30 bit integers for encoding, so that we don't ever encode a non-SMI\n    integer to push on the stack.\n  \n    Handles are >= 0\n    Immediates are < 0\n  \n    True, False, Undefined and Null are pushed as handles into the symbol table,\n    with well known handles (0, 1, 2, 3)\n  \n    The negative space is divided into positives and negatives. Positives are\n    higher numbers (-1, -2, -3, etc), negatives are lower.\n  \n    We only encode immediates for two reasons:\n  \n    1. To transfer over the wire, so they're smaller in general\n    2. When pushing values onto the stack from the low level/inner VM, which may\n       be converted into WASM one day.\n  \n    This allows the low-level VM to always use SMIs, and to minimize using JS\n    values via handles for things like the stack pointer and frame pointer.\n    Externally, most code pushes values as JS values, except when being pulled\n    from the append byte code where it was already encoded.\n  \n    Logically, this is because the low level VM doesn't really care about these\n    higher level values. For instance, the result of a userland helper may be a\n    number, or a boolean, or undefined/null, but it's extra work to figure that\n    out and push it correctly, vs. just pushing the value as a JS value with a\n    handle.\n  \n    Note: The details could change here in the future, this is just the current\n    strategy.\n  */\n\n  let ImmediateConstants = _exports.ImmediateConstants = /*#__PURE__*/function (ImmediateConstants) {\n    ImmediateConstants[ImmediateConstants[\"MAX_SMI\"] = 1073741823] = \"MAX_SMI\";\n    ImmediateConstants[ImmediateConstants[\"MIN_SMI\"] = -1073741824] = \"MIN_SMI\";\n    ImmediateConstants[ImmediateConstants[\"SIGN_BIT\"] = -536870913] = \"SIGN_BIT\";\n    ImmediateConstants[ImmediateConstants[\"MAX_INT\"] = 536870911] = \"MAX_INT\";\n    ImmediateConstants[ImmediateConstants[\"MIN_INT\"] = -536870912] = \"MIN_INT\";\n    ImmediateConstants[ImmediateConstants[\"FALSE_HANDLE\"] = 0] = \"FALSE_HANDLE\";\n    ImmediateConstants[ImmediateConstants[\"TRUE_HANDLE\"] = 1] = \"TRUE_HANDLE\";\n    ImmediateConstants[ImmediateConstants[\"NULL_HANDLE\"] = 2] = \"NULL_HANDLE\";\n    ImmediateConstants[ImmediateConstants[\"UNDEFINED_HANDLE\"] = 3] = \"UNDEFINED_HANDLE\";\n    ImmediateConstants[ImmediateConstants[\"ENCODED_FALSE_HANDLE\"] = 0] = \"ENCODED_FALSE_HANDLE\";\n    ImmediateConstants[ImmediateConstants[\"ENCODED_TRUE_HANDLE\"] = 1] = \"ENCODED_TRUE_HANDLE\";\n    ImmediateConstants[ImmediateConstants[\"ENCODED_NULL_HANDLE\"] = 2] = \"ENCODED_NULL_HANDLE\";\n    ImmediateConstants[ImmediateConstants[\"ENCODED_UNDEFINED_HANDLE\"] = 3] = \"ENCODED_UNDEFINED_HANDLE\";\n    return ImmediateConstants;\n  }({});\n  function isHandle(value) {\n    return value >= 0;\n  }\n  function isNonPrimitiveHandle(value) {\n    return value > ImmediateConstants.ENCODED_UNDEFINED_HANDLE;\n  }\n  function constants(...values) {\n    return [false, true, null, undefined, ...values];\n  }\n  function isSmallInt(value) {\n    return value % 1 === 0 && value <= ImmediateConstants.MAX_INT && value >= ImmediateConstants.MIN_INT;\n  }\n  function encodeNegative(num) {\n    return num & ImmediateConstants.SIGN_BIT;\n  }\n  function decodeNegative(num) {\n    return num | ~ImmediateConstants.SIGN_BIT;\n  }\n  function encodePositive(num) {\n    return ~num;\n  }\n  function decodePositive(num) {\n    return ~num;\n  }\n  function encodeHandle(num) {\n    return num;\n  }\n  function decodeHandle(num) {\n    return num;\n  }\n  function encodeImmediate(num) {\n    num |= 0;\n    return num < 0 ? encodeNegative(num) : encodePositive(num);\n  }\n  function decodeImmediate(num) {\n    num |= 0;\n    return num > ImmediateConstants.SIGN_BIT ? decodePositive(num) : decodeNegative(num);\n  }\n  [1, -1].forEach(x => decodeImmediate(encodeImmediate(x)));\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    let obj = {};\n    obj[str] = 1;\n    for (let key in obj) {\n      if (key === str) {\n        return key;\n      }\n    }\n    return str;\n  }\n  const SERIALIZATION_FIRST_NODE_STRING = _exports.SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n  function isSerializationFirstNode(node) {\n    return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n  }\n  let assign = _exports.assign = Object.assign;\n  function values(obj) {\n    return Object.values(obj);\n  }\n  function entries(dict) {\n    return Object.entries(dict);\n  }\n  function castToSimple(node) {\n    if (isDocument(node)) {\n      return node;\n    } else if (isSimpleElement(node)) {\n      return node;\n    } else {\n      return node;\n    }\n  }\n\n  // If passed a document, verify we're in the browser and return it as a Document\n\n  // If we don't know what this is, but the check requires it to be an element,\n  // the cast will mandate that it's a browser element\n  // Finally, if it's a more generic check, the cast will mandate that it's a\n  // browser node and return a BrowserNodeUtils corresponding to the check\n  function castToBrowser(node, sugaryCheck) {\n    if (node === null || node === undefined) {\n      return null;\n    }\n    if (typeof document === undefined) {\n      throw new Error('Attempted to cast to a browser node in a non-browser context');\n    }\n    if (isDocument(node)) {\n      return node;\n    }\n    if (node.ownerDocument !== document) {\n      throw new Error('Attempted to cast to a browser node with a node that was not created from this document');\n    }\n    return checkBrowserNode(node, sugaryCheck);\n  }\n  function checkError(from, check) {\n    return new Error(`cannot cast a ${from} into ${String(check)}`);\n  }\n  function isDocument(node) {\n    return node.nodeType === DOCUMENT_NODE;\n  }\n  function isSimpleElement(node) {\n    return node?.nodeType === ELEMENT_NODE;\n  }\n  function isElement(node) {\n    return node?.nodeType === ELEMENT_NODE && node instanceof Element;\n  }\n  function checkBrowserNode(node, check) {\n    let isMatch = false;\n    if (node !== null) {\n      if (typeof check === 'string') {\n        isMatch = stringCheckNode(node, check);\n      } else if (Array.isArray(check)) {\n        isMatch = check.some(c => stringCheckNode(node, c));\n      } else {\n        throw unreachable();\n      }\n    }\n    if (isMatch && node instanceof Node) {\n      return node;\n    } else {\n      throw checkError(`SimpleElement(${node?.constructor?.name ?? 'null'})`, check);\n    }\n  }\n  function stringCheckNode(node, check) {\n    switch (check) {\n      case 'NODE':\n        return true;\n      case 'HTML':\n        return node instanceof HTMLElement;\n      case 'SVG':\n        return node instanceof SVGElement;\n      case 'ELEMENT':\n        return node instanceof Element;\n      default:\n        if (check.toUpperCase() === check) {\n          throw new Error(`BUG: this code is missing handling for a generic node type`);\n        }\n        return node instanceof Element && node.tagName.toLowerCase() === check;\n    }\n  }\n  function strip(strings, ...args) {\n    let out = '';\n    for (const [i, string] of enumerate(strings)) {\n      let dynamic = args[i] !== undefined ? String(args[i]) : '';\n      out += `${string}${dynamic}`;\n    }\n    let lines = out.split('\\n');\n    while (isPresentArray(lines) && /^\\s*$/u.test(getFirst(lines))) {\n      lines.shift();\n    }\n    while (isPresentArray(lines) && /^\\s*$/u.test(getLast(lines))) {\n      lines.pop();\n    }\n    let min = Infinity;\n    for (let line of lines) {\n      let leading = /^\\s*/u.exec(line)[0].length;\n      min = Math.min(min, leading);\n    }\n    let stripped = [];\n    for (let line of lines) {\n      stripped.push(line.slice(min));\n    }\n    return stripped.join('\\n');\n  }\n  function unwrapHandle(handle) {\n    if (typeof handle === 'number') {\n      return handle;\n    } else {\n      let error = handle.errors[0];\n      throw new Error(`Compile Error: ${error.problem} @ ${error.span.start}..${error.span.end}`);\n    }\n  }\n  function unwrapTemplate(template) {\n    if (template.result === 'error') {\n      throw new Error(`Compile Error: ${template.problem} @ ${template.span.start}..${template.span.end}`);\n    }\n    return template;\n  }\n  function extractHandle(handle) {\n    if (typeof handle === 'number') {\n      return handle;\n    } else {\n      return handle.handle;\n    }\n  }\n  function isOkHandle(handle) {\n    return typeof handle === 'number';\n  }\n  function isErrHandle(handle) {\n    return typeof handle === 'number';\n  }\n  function buildUntouchableThis(source) {\n    let context = null;\n    if (true /* DEBUG */) {\n      let assertOnProperty = property => {\n        let access = typeof property === 'symbol' || typeof property === 'number' ? `[${String(property)}]` : `.${property}`;\n        throw new Error(`You accessed \\`this${access}\\` from a function passed to the ${source}, but the function itself was not bound to a valid \\`this\\` context. Consider updating to use a bound function (for instance, use an arrow function, \\`() => {}\\`).`);\n      };\n      context = new Proxy({}, {\n        get(_target, property) {\n          assertOnProperty(property);\n        },\n        set(_target, property) {\n          assertOnProperty(property);\n          return false;\n        },\n        has(_target, property) {\n          assertOnProperty(property);\n          return false;\n        }\n      });\n    }\n    return context;\n  }\n\n  /**\n   * This constant exists to make it easier to differentiate normal logs from\n   * errant console.logs. LOCAL_LOGGER should only be used inside a\n   * LOCAL_SHOULD_LOG check.\n   *\n   * It does not alleviate the need to check LOCAL_SHOULD_LOG, which is used\n   * for stripping.\n   */\n  const LOCAL_LOGGER = _exports.LOCAL_LOGGER = console;\n\n  /**\n   * This constant exists to make it easier to differentiate normal logs from\n   * errant console.logs. LOGGER can be used outside of LOCAL_SHOULD_LOG checks,\n   * and is meant to be used in the rare situation where a console.* call is\n   * actually appropriate.\n   */\n  const LOGGER = _exports.LOGGER = console;\n  function assertNever(value, desc = 'unexpected unreachable branch') {\n    LOGGER.log('unreachable', value);\n    LOGGER.log(`${desc} :: ${JSON.stringify(value)} (${value})`);\n    throw new Error(`code reached unreachable`);\n  }\n});","define(\"@glimmer/validator\", [\"exports\", \"@glimmer/global-context\", \"@glimmer/util\"], function (_exports, _globalContext, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.VolatileTag = _exports.VOLATILE_TAG = _exports.VOLATILE = _exports.INITIAL = _exports.CurrentTag = _exports.CURRENT_TAG = _exports.CONSTANT_TAG = _exports.CONSTANT = _exports.COMPUTE = _exports.ALLOW_CYCLES = void 0;\n  _exports.beginTrackFrame = beginTrackFrame;\n  _exports.beginUntrackFrame = beginUntrackFrame;\n  _exports.bump = bump;\n  _exports.combine = void 0;\n  _exports.consumeTag = consumeTag;\n  _exports.createCache = createCache;\n  _exports.createTag = createTag;\n  _exports.createUpdatableTag = createUpdatableTag;\n  _exports.dirtyTag = _exports.debug = void 0;\n  _exports.dirtyTagFor = dirtyTagFor;\n  _exports.endTrackFrame = endTrackFrame;\n  _exports.endUntrackFrame = endUntrackFrame;\n  _exports.getValue = getValue;\n  _exports.isConst = isConst;\n  _exports.isConstTag = isConstTag;\n  _exports.isTracking = isTracking;\n  _exports.resetTracking = resetTracking;\n  _exports.tagFor = tagFor;\n  _exports.tagMetaFor = tagMetaFor;\n  _exports.track = track;\n  _exports.trackedData = trackedData;\n  _exports.untrack = untrack;\n  _exports.updateTag = void 0;\n  _exports.validateTag = validateTag;\n  _exports.valueForTag = valueForTag;\n  function indexable(input) {\n    return input;\n  }\n  function getGlobal() {\n    if (typeof globalThis !== 'undefined') return indexable(globalThis);\n    if (typeof self !== 'undefined') return indexable(self);\n    if (typeof window !== 'undefined') return indexable(window);\n    if (typeof global !== 'undefined') return indexable(global);\n    throw new Error('unable to locate global object');\n  }\n  function unwrap(val) {\n    if (val === null || val === undefined) throw new Error(`Expected value to be present`);\n    return val;\n  }\n  const debug = _exports.debug = {};\n  if (true /* DEBUG */) {\n    let CONSUMED_TAGS = null;\n    const TRANSACTION_STACK = [];\n\n    /////////\n\n    const TRANSACTION_ENV = {\n      debugMessage(obj, keyName) {\n        let objName;\n        if (typeof obj === 'function') {\n          objName = obj.name;\n        } else if (typeof obj === 'object' && obj !== null) {\n          let className = obj.constructor && obj.constructor.name || '(unknown class)';\n          objName = `(an instance of ${className})`;\n        } else if (obj === undefined) {\n          objName = '(an unknown tag)';\n        } else {\n          objName = String(obj);\n        }\n        let dirtyString = keyName ? `\\`${keyName}\\` on \\`${objName}\\`` : `\\`${objName}\\``;\n        return `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    };\n    debug.setTrackingTransactionEnv = env => Object.assign(TRANSACTION_ENV, env);\n    debug.beginTrackingTransaction = _debugLabel => {\n      CONSUMED_TAGS = CONSUMED_TAGS || new WeakMap();\n      let debugLabel = _debugLabel || undefined;\n      let parent = TRANSACTION_STACK[TRANSACTION_STACK.length - 1] ?? null;\n      TRANSACTION_STACK.push({\n        parent,\n        debugLabel\n      });\n    };\n    debug.endTrackingTransaction = () => {\n      if (TRANSACTION_STACK.length === 0) {\n        throw new Error('attempted to close a tracking transaction, but one was not open');\n      }\n      TRANSACTION_STACK.pop();\n      if (TRANSACTION_STACK.length === 0) {\n        CONSUMED_TAGS = null;\n      }\n    };\n    debug.resetTrackingTransaction = () => {\n      let stack = '';\n      if (TRANSACTION_STACK.length > 0) {\n        stack = debug.logTrackingStack(TRANSACTION_STACK[TRANSACTION_STACK.length - 1]);\n      }\n      TRANSACTION_STACK.splice(0, TRANSACTION_STACK.length);\n      CONSUMED_TAGS = null;\n      return stack;\n    };\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    debug.runInTrackingTransaction = (fn, debugLabel) => {\n      debug.beginTrackingTransaction(debugLabel);\n      let didError = true;\n      try {\n        let value = fn();\n        didError = false;\n        return value;\n      } finally {\n        if (didError !== true) {\n          debug.endTrackingTransaction();\n        }\n\n        // if (id !== TRANSACTION_STACK.length) {\n        //   throw new Error(\n        //     `attempted to close a tracking transaction (${id}), but it was not the last transaction (${TRANSACTION_STACK.length})`\n        //   );\n        // }\n      }\n    };\n\n    let nthIndex = (str, pattern, n, startingPos = -1) => {\n      let i = startingPos;\n      while (n-- > 0 && i++ < str.length) {\n        i = str.indexOf(pattern, i);\n        if (i < 0) break;\n      }\n      return i;\n    };\n    let makeTrackingErrorMessage = (transaction, obj, keyName) => {\n      let message = [TRANSACTION_ENV.debugMessage(obj, keyName && String(keyName))];\n      message.push(`\\`${String(keyName)}\\` was first used:`);\n      message.push(debug.logTrackingStack(transaction));\n      message.push(`Stack trace for the update:`);\n      return message.join('\\n\\n');\n    };\n    debug.logTrackingStack = transaction => {\n      let trackingStack = [];\n      let current = transaction || TRANSACTION_STACK[TRANSACTION_STACK.length - 1];\n      if (current === undefined) return '';\n      while (current) {\n        if (current.debugLabel) {\n          trackingStack.unshift(current.debugLabel);\n        }\n        current = current.parent;\n      }\n      return trackingStack.map((label, index) => ' '.repeat(2 * index) + label).join('\\n');\n    };\n    debug.markTagAsConsumed = _tag => {\n      if (!CONSUMED_TAGS || CONSUMED_TAGS.has(_tag)) return;\n      CONSUMED_TAGS.set(_tag, (0, _util.getLast)((0, _util.asPresentArray)(TRANSACTION_STACK)));\n\n      // We need to mark the tag and all of its subtags as consumed, so we need to\n      // cast it and access its internals. In the future this shouldn't be necessary,\n      // this is only for computed properties.\n      let subtag = _tag.subtag;\n      if (!subtag || !debug.markTagAsConsumed) return;\n      if (Array.isArray(subtag)) {\n        subtag.forEach(debug.markTagAsConsumed);\n      } else {\n        debug.markTagAsConsumed(subtag);\n      }\n    };\n    debug.assertTagNotConsumed = (tag, obj, keyName) => {\n      if (CONSUMED_TAGS === null) return;\n      let transaction = CONSUMED_TAGS.get(tag);\n      if (!transaction) return;\n\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 && (0, _globalContext.assert)(false, makeTrackingErrorMessage(transaction, obj, keyName)));\n      } catch (e) {\n        if (hasStack(e)) {\n          let updateStackBegin = e.stack.indexOf('Stack trace for the update:');\n          if (updateStackBegin !== -1) {\n            let start = nthIndex(e.stack, '\\n', 1, updateStackBegin);\n            let end = nthIndex(e.stack, '\\n', 4, updateStackBegin);\n            e.stack = e.stack.substr(0, start) + e.stack.substr(end);\n          }\n        }\n        throw e;\n      }\n    };\n  }\n  function hasStack(error) {\n    return typeof error === 'object' && error !== null && 'stack' in error && typeof error.stack === 'string';\n  }\n\n  //////////\n\n  const CONSTANT = _exports.CONSTANT = 0;\n  const INITIAL = _exports.INITIAL = 1;\n  const VOLATILE = _exports.VOLATILE = NaN;\n  let $REVISION = INITIAL;\n  function bump() {\n    $REVISION++;\n  }\n\n  //////////\n\n  const DIRYTABLE_TAG_ID = 0;\n  const UPDATABLE_TAG_ID = 1;\n  const COMBINATOR_TAG_ID = 2;\n  const CONSTANT_TAG_ID = 3;\n\n  //////////\n\n  const COMPUTE = _exports.COMPUTE = Symbol('TAG_COMPUTE');\n\n  //////////\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   * @param tag\n   */\n  function valueForTag(tag) {\n    return tag[COMPUTE]();\n  }\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  function validateTag(tag, snapshot) {\n    return snapshot >= tag[COMPUTE]();\n  }\n\n  //////////\n\n  const TYPE = Symbol('TAG_TYPE');\n\n  // this is basically a const\n  let ALLOW_CYCLES = _exports.ALLOW_CYCLES = void 0;\n  if (true /* DEBUG */) {\n    _exports.ALLOW_CYCLES = ALLOW_CYCLES = new WeakMap();\n  }\n  function allowsCycles(tag) {\n    if (ALLOW_CYCLES === undefined) {\n      return true;\n    } else {\n      return ALLOW_CYCLES.has(tag);\n    }\n  }\n  class MonomorphicTagImpl {\n    static combine(tags) {\n      switch (tags.length) {\n        case 0:\n          return CONSTANT_TAG;\n        case 1:\n          return tags[0];\n        default:\n          {\n            let tag = new MonomorphicTagImpl(COMBINATOR_TAG_ID);\n            tag.subtag = tags;\n            return tag;\n          }\n      }\n    }\n    constructor(type) {\n      this.revision = INITIAL;\n      this.lastChecked = INITIAL;\n      this.lastValue = INITIAL;\n      this.isUpdating = false;\n      this.subtag = null;\n      this.subtagBufferCache = null;\n      this[TYPE] = void 0;\n      this[TYPE] = type;\n    }\n    [COMPUTE]() {\n      let {\n        lastChecked\n      } = this;\n      if (this.isUpdating === true) {\n        if (true /* DEBUG */ && !allowsCycles(this)) {\n          throw new Error('Cycles in tags are not allowed');\n        }\n        this.lastChecked = ++$REVISION;\n      } else if (lastChecked !== $REVISION) {\n        this.isUpdating = true;\n        this.lastChecked = $REVISION;\n        try {\n          let {\n            subtag,\n            revision\n          } = this;\n          if (subtag !== null) {\n            if (Array.isArray(subtag)) {\n              revision = subtag.reduce((prev, currentTag) => {\n                let current = currentTag[COMPUTE]();\n                return current > prev ? current : prev;\n              }, revision);\n            } else {\n              let subtagValue = subtag[COMPUTE]();\n              if (subtagValue === this.subtagBufferCache) {\n                revision = revision > this.lastValue ? revision : this.lastValue;\n              } else {\n                // Clear the temporary buffer cache\n                this.subtagBufferCache = null;\n                revision = revision > subtagValue ? revision : subtagValue;\n              }\n            }\n          }\n          this.lastValue = revision;\n        } finally {\n          this.isUpdating = false;\n        }\n      }\n      return this.lastValue;\n    }\n    static updateTag(_tag, _subtag) {\n      if (true /* DEBUG */ && _tag[TYPE] !== UPDATABLE_TAG_ID) {\n        throw new Error('Attempted to update a tag that was not updatable');\n      }\n\n      // TODO: TS 3.7 should allow us to do this via assertion\n      let tag = _tag;\n      let subtag = _subtag;\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    static dirtyTag(tag, disableConsumptionAssertion) {\n      if (true /* DEBUG */ && !(tag[TYPE] === UPDATABLE_TAG_ID || tag[TYPE] === DIRYTABLE_TAG_ID)) {\n        throw new Error('Attempted to dirty a tag that was not dirtyable');\n      }\n      if (true /* DEBUG */ && disableConsumptionAssertion !== true) {\n        // Usually by this point, we've already asserted with better error information,\n        // but this is our last line of defense.\n        unwrap(debug.assertTagNotConsumed)(tag);\n      }\n      tag.revision = ++$REVISION;\n      (0, _globalContext.scheduleRevalidate)();\n    }\n  }\n  const DIRTY_TAG = _exports.dirtyTag = MonomorphicTagImpl.dirtyTag;\n  const UPDATE_TAG = _exports.updateTag = MonomorphicTagImpl.updateTag;\n\n  //////////\n\n  function createTag() {\n    return new MonomorphicTagImpl(DIRYTABLE_TAG_ID);\n  }\n  function createUpdatableTag() {\n    return new MonomorphicTagImpl(UPDATABLE_TAG_ID);\n  }\n\n  //////////\n\n  const CONSTANT_TAG = _exports.CONSTANT_TAG = new MonomorphicTagImpl(CONSTANT_TAG_ID);\n  function isConstTag(tag) {\n    return tag === CONSTANT_TAG;\n  }\n\n  //////////\n\n  const VOLATILE_TAG_ID = 100;\n  class VolatileTag {\n    constructor() {\n      this[TYPE] = VOLATILE_TAG_ID;\n    }\n    [COMPUTE]() {\n      return VOLATILE;\n    }\n  }\n  _exports.VolatileTag = VolatileTag;\n  const VOLATILE_TAG = _exports.VOLATILE_TAG = new VolatileTag();\n\n  //////////\n\n  const CURRENT_TAG_ID = 101;\n  class CurrentTag {\n    constructor() {\n      this[TYPE] = CURRENT_TAG_ID;\n    }\n    [COMPUTE]() {\n      return $REVISION;\n    }\n  }\n  _exports.CurrentTag = CurrentTag;\n  const CURRENT_TAG = _exports.CURRENT_TAG = new CurrentTag();\n\n  //////////\n\n  const combine = _exports.combine = MonomorphicTagImpl.combine;\n\n  // Warm\n\n  let tag1 = createUpdatableTag();\n  let tag2 = createUpdatableTag();\n  let tag3 = createUpdatableTag();\n  valueForTag(tag1);\n  DIRTY_TAG(tag1);\n  valueForTag(tag1);\n  UPDATE_TAG(tag1, combine([tag2, tag3]));\n  valueForTag(tag1);\n  DIRTY_TAG(tag2);\n  valueForTag(tag1);\n  DIRTY_TAG(tag3);\n  valueForTag(tag1);\n  UPDATE_TAG(tag1, tag3);\n  valueForTag(tag1);\n  DIRTY_TAG(tag3);\n  valueForTag(tag1);\n  function isObjectLike(u) {\n    return typeof u === 'object' && u !== null || typeof u === 'function';\n  }\n\n  ///////////\n\n  const TRACKED_TAGS = new WeakMap();\n  function dirtyTagFor(obj, key, meta) {\n    if (true /* DEBUG */ && !isObjectLike(obj)) {\n      throw new Error(`BUG: Can't update a tag for a primitive`);\n    }\n    let tags = meta === undefined ? TRACKED_TAGS.get(obj) : meta;\n\n    // No tags have been setup for this object yet, return\n    if (tags === undefined) return;\n\n    // Dirty the tag for the specific property if it exists\n    let propertyTag = tags.get(key);\n    if (propertyTag !== undefined) {\n      if (true /* DEBUG */) {\n        unwrap(debug.assertTagNotConsumed)(propertyTag, obj, key);\n      }\n      DIRTY_TAG(propertyTag, true);\n    }\n  }\n  function tagMetaFor(obj) {\n    let tags = TRACKED_TAGS.get(obj);\n    if (tags === undefined) {\n      tags = new Map();\n      TRACKED_TAGS.set(obj, tags);\n    }\n    return tags;\n  }\n  function tagFor(obj, key, meta) {\n    let tags = meta === undefined ? tagMetaFor(obj) : meta;\n    let tag = tags.get(key);\n    if (tag === undefined) {\n      tag = createUpdatableTag();\n      tags.set(key, tag);\n    }\n    return tag;\n  }\n\n  /**\n   * An object that that tracks @tracked properties that were consumed.\n   */\n  class Tracker {\n    constructor() {\n      this.tags = new Set();\n      this.last = null;\n    }\n    add(tag) {\n      if (tag === CONSTANT_TAG) return;\n      this.tags.add(tag);\n      if (true /* DEBUG */) {\n        unwrap(debug.markTagAsConsumed)(tag);\n      }\n      this.last = tag;\n    }\n    combine() {\n      let {\n        tags\n      } = this;\n      if (tags.size === 0) {\n        return CONSTANT_TAG;\n      } else if (tags.size === 1) {\n        return this.last;\n      } else {\n        return combine(Array.from(this.tags));\n      }\n    }\n  }\n\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  let CURRENT_TRACKER = null;\n  const OPEN_TRACK_FRAMES = [];\n  function beginTrackFrame(debuggingContext) {\n    OPEN_TRACK_FRAMES.push(CURRENT_TRACKER);\n    CURRENT_TRACKER = new Tracker();\n    if (true /* DEBUG */) {\n      unwrap(debug.beginTrackingTransaction)(debuggingContext);\n    }\n  }\n  function endTrackFrame() {\n    let current = CURRENT_TRACKER;\n    if (true /* DEBUG */) {\n      if (OPEN_TRACK_FRAMES.length === 0) {\n        throw new Error('attempted to close a tracking frame, but one was not open');\n      }\n      unwrap(debug.endTrackingTransaction)();\n    }\n    CURRENT_TRACKER = OPEN_TRACK_FRAMES.pop() || null;\n    return unwrap(current).combine();\n  }\n  function beginUntrackFrame() {\n    OPEN_TRACK_FRAMES.push(CURRENT_TRACKER);\n    CURRENT_TRACKER = null;\n  }\n  function endUntrackFrame() {\n    if (true /* DEBUG */ && OPEN_TRACK_FRAMES.length === 0) {\n      throw new Error('attempted to close a tracking frame, but one was not open');\n    }\n    CURRENT_TRACKER = OPEN_TRACK_FRAMES.pop() || null;\n  }\n\n  // This function is only for handling errors and resetting to a valid state\n  function resetTracking() {\n    while (OPEN_TRACK_FRAMES.length > 0) {\n      OPEN_TRACK_FRAMES.pop();\n    }\n    CURRENT_TRACKER = null;\n    if (true /* DEBUG */) {\n      return unwrap(debug.resetTrackingTransaction)();\n    }\n  }\n  function isTracking() {\n    return CURRENT_TRACKER !== null;\n  }\n  function consumeTag(tag) {\n    if (CURRENT_TRACKER !== null) {\n      CURRENT_TRACKER.add(tag);\n    }\n  }\n\n  // public interface\n\n  const FN = Symbol('FN');\n  const LAST_VALUE = Symbol('LAST_VALUE');\n  const TAG = Symbol('TAG');\n  const SNAPSHOT = Symbol('SNAPSHOT');\n  const DEBUG_LABEL = Symbol('DEBUG_LABEL');\n  function createCache(fn, debuggingLabel) {\n    if (true /* DEBUG */ && !(typeof fn === 'function')) {\n      throw new Error(`createCache() must be passed a function as its first parameter. Called with: ${String(fn)}`);\n    }\n    let cache = {\n      [FN]: fn,\n      [LAST_VALUE]: undefined,\n      [TAG]: undefined,\n      [SNAPSHOT]: -1\n    };\n    if (true /* DEBUG */) {\n      cache[DEBUG_LABEL] = debuggingLabel;\n    }\n    return cache;\n  }\n  function getValue(cache) {\n    assertCache(cache, 'getValue');\n    let fn = cache[FN];\n    let tag = cache[TAG];\n    let snapshot = cache[SNAPSHOT];\n    if (tag === undefined || !validateTag(tag, snapshot)) {\n      beginTrackFrame();\n      try {\n        cache[LAST_VALUE] = fn();\n      } finally {\n        tag = endTrackFrame();\n        cache[TAG] = tag;\n        cache[SNAPSHOT] = valueForTag(tag);\n        consumeTag(tag);\n      }\n    } else {\n      consumeTag(tag);\n    }\n    return cache[LAST_VALUE];\n  }\n  function isConst(cache) {\n    assertCache(cache, 'isConst');\n    let tag = cache[TAG];\n    assertTag(tag, cache);\n    return isConstTag(tag);\n  }\n  function assertCache(value, fnName) {\n    if (true /* DEBUG */ && !(typeof value === 'object' && value !== null && FN in value)) {\n      throw new Error(`${fnName}() can only be used on an instance of a cache created with createCache(). Called with: ${String(value)}`);\n    }\n  }\n\n  // replace this with `expect` when we can\n  function assertTag(tag, cache) {\n    if (true /* DEBUG */ && tag === undefined) {\n      throw new Error(`isConst() can only be used on a cache once getValue() has been called at least once. Called with cache function:\\n\\n${String(cache[FN])}`);\n    }\n  }\n\n  //////////\n\n  // Legacy tracking APIs\n\n  // track() shouldn't be necessary at all in the VM once the autotracking\n  // refactors are merged, and we should generally be moving away from it. It may\n  // be necessary in Ember for a while longer, but I think we'll be able to drop\n  // it in favor of cache sooner rather than later.\n  function track(block, debugLabel) {\n    beginTrackFrame(debugLabel);\n    let tag;\n    try {\n      block();\n    } finally {\n      tag = endTrackFrame();\n    }\n    return tag;\n  }\n\n  // untrack() is currently mainly used to handle places that were previously not\n  // tracked, and that tracking now would cause backtracking rerender assertions.\n  // I think once we move everyone forward onto modern APIs, we'll probably be\n  // able to remove it, but I'm not sure yet.\n  function untrack(callback) {\n    beginUntrackFrame();\n    try {\n      return callback();\n    } finally {\n      endUntrackFrame();\n    }\n  }\n  function trackedData(key, initializer) {\n    let values = new WeakMap();\n    let hasInitializer = typeof initializer === 'function';\n    function getter(self) {\n      consumeTag(tagFor(self, key));\n      let value;\n\n      // If the field has never been initialized, we should initialize it\n      if (hasInitializer && !values.has(self)) {\n        value = initializer.call(self);\n        values.set(self, value);\n      } else {\n        value = values.get(self);\n      }\n      return value;\n    }\n    function setter(self, value) {\n      dirtyTagFor(self, key);\n      values.set(self, value);\n    }\n    return {\n      getter,\n      setter\n    };\n  }\n  const GLIMMER_VALIDATOR_REGISTRATION = Symbol('GLIMMER_VALIDATOR_REGISTRATION');\n  const globalObj = getGlobal();\n  if (globalObj[GLIMMER_VALIDATOR_REGISTRATION] === true) {\n    throw new Error('The `@glimmer/validator` library has been included twice in this application. It could be different versions of the package, or the same version included twice by mistake. `@glimmer/validator` depends on having a single copy of the package in use at any time in an application, even if they are the same version. You must dedupe your build to remove the duplicate packages in order to prevent this error.');\n  }\n  globalObj[GLIMMER_VALIDATOR_REGISTRATION] = true;\n});","define(\"@glimmer/vm\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TemporaryRegister = _exports.TYPE_SIZE = _exports.TYPE_MASK = _exports.SavedRegister = _exports.Op = _exports.OPERAND_LEN_MASK = _exports.MachineRegister = _exports.MachineOp = _exports.MAX_SIZE = _exports.MACHINE_MASK = _exports.InternalComponentCapability = _exports.InternalComponentCapabilities = _exports.CurriedTypes = _exports.CurriedType = _exports.ContentType = _exports.ARG_SHIFT = _exports.$v0 = _exports.$t1 = _exports.$t0 = _exports.$sp = _exports.$s1 = _exports.$s0 = _exports.$ra = _exports.$pc = _exports.$fp = void 0;\n  _exports.isLowLevelRegister = isLowLevelRegister;\n  _exports.isMachineOp = isMachineOp;\n  _exports.isOp = isOp;\n  const ContentType = _exports.ContentType = {\n    Component: 0,\n    Helper: 1,\n    String: 2,\n    Empty: 3,\n    SafeString: 4,\n    Fragment: 5,\n    Node: 6,\n    Other: 8\n  };\n  const CurriedTypes = _exports.CurriedTypes = _exports.CurriedType = {\n    Component: 0,\n    Helper: 1,\n    Modifier: 2\n  };\n  const InternalComponentCapabilities = _exports.InternalComponentCapability = _exports.InternalComponentCapabilities = {\n    Empty: 0,\n    dynamicLayout: 0b0000000000001,\n    dynamicTag: 0b0000000000010,\n    prepareArgs: 0b0000000000100,\n    createArgs: 0b0000000001000,\n    attributeHook: 0b0000000010000,\n    elementHook: 0b0000000100000,\n    dynamicScope: 0b0000001000000,\n    createCaller: 0b0000010000000,\n    updateHook: 0b0000100000000,\n    createInstance: 0b0001000000000,\n    wrapped: 0b0010000000000,\n    willDestroy: 0b0100000000000,\n    hasSubOwner: 0b1000000000000\n  };\n  const ARG_SHIFT = _exports.ARG_SHIFT = 8;\n  const MAX_SIZE = _exports.MAX_SIZE = 0x7fffffff;\n  const TYPE_SIZE = _exports.TYPE_SIZE = 0b11111111;\n  const TYPE_MASK = _exports.TYPE_MASK = 0b00000000000000000000000011111111;\n  const OPERAND_LEN_MASK = _exports.OPERAND_LEN_MASK = 0b00000000000000000000001100000000;\n  const MACHINE_MASK = _exports.MACHINE_MASK = 0b00000000000000000000010000000000;\n  const MachineOp = _exports.MachineOp = {\n    PushFrame: 0,\n    PopFrame: 1,\n    InvokeVirtual: 2,\n    InvokeStatic: 3,\n    Jump: 4,\n    Return: 5,\n    ReturnTo: 6,\n    Size: 7\n  };\n  const Op = _exports.Op = {\n    Helper: 16,\n    SetNamedVariables: 17,\n    SetBlocks: 18,\n    SetVariable: 19,\n    SetBlock: 20,\n    GetVariable: 21,\n    GetProperty: 22,\n    GetBlock: 23,\n    SpreadBlock: 24,\n    HasBlock: 25,\n    HasBlockParams: 26,\n    Concat: 27,\n    Constant: 28,\n    ConstantReference: 29,\n    Primitive: 30,\n    PrimitiveReference: 31,\n    ReifyU32: 32,\n    Dup: 33,\n    Pop: 34,\n    Load: 35,\n    Fetch: 36,\n    RootScope: 37,\n    VirtualRootScope: 38,\n    ChildScope: 39,\n    PopScope: 40,\n    Text: 41,\n    Comment: 42,\n    AppendHTML: 43,\n    AppendSafeHTML: 44,\n    AppendDocumentFragment: 45,\n    AppendNode: 46,\n    AppendText: 47,\n    OpenElement: 48,\n    OpenDynamicElement: 49,\n    PushRemoteElement: 50,\n    StaticAttr: 51,\n    DynamicAttr: 52,\n    ComponentAttr: 53,\n    FlushElement: 54,\n    CloseElement: 55,\n    PopRemoteElement: 56,\n    Modifier: 57,\n    BindDynamicScope: 58,\n    PushDynamicScope: 59,\n    PopDynamicScope: 60,\n    CompileBlock: 61,\n    PushBlockScope: 62,\n    PushSymbolTable: 63,\n    InvokeYield: 64,\n    JumpIf: 65,\n    JumpUnless: 66,\n    JumpEq: 67,\n    AssertSame: 68,\n    Enter: 69,\n    Exit: 70,\n    ToBoolean: 71,\n    EnterList: 72,\n    ExitList: 73,\n    Iterate: 74,\n    Main: 75,\n    ContentType: 76,\n    Curry: 77,\n    PushComponentDefinition: 78,\n    PushDynamicComponentInstance: 79,\n    ResolveDynamicComponent: 80,\n    ResolveCurriedComponent: 81,\n    PushArgs: 82,\n    PushEmptyArgs: 83,\n    PopArgs: 84,\n    PrepareArgs: 85,\n    CaptureArgs: 86,\n    CreateComponent: 87,\n    RegisterComponentDestructor: 88,\n    PutComponentOperations: 89,\n    GetComponentSelf: 90,\n    GetComponentTagName: 91,\n    GetComponentLayout: 92,\n    BindEvalScope: 93,\n    SetupForEval: 94,\n    PopulateLayout: 95,\n    InvokeComponentLayout: 96,\n    BeginComponentTransaction: 97,\n    CommitComponentTransaction: 98,\n    DidCreateElement: 99,\n    DidRenderLayout: 100,\n    ResolveMaybeLocal: 102,\n    Debugger: 103,\n    Size: 104,\n    StaticComponentAttr: 105,\n    DynamicContentType: 106,\n    DynamicHelper: 107,\n    DynamicModifier: 108,\n    IfInline: 109,\n    Not: 110,\n    GetDynamicVar: 111,\n    Log: 112\n  };\n  function isMachineOp(value) {\n    return value >= 0 && value <= 15;\n  }\n  function isOp(value) {\n    return value >= 16;\n  }\n\n  /**\n   * Registers\n   *\n   * For the most part, these follows MIPS naming conventions, however the\n   * register numbers are different.\n   */\n\n  // $0 or $pc (program counter): pointer into `program` for the next insturction; -1 means exit\n  const $pc = _exports.$pc = 0;\n  // $1 or $ra (return address): pointer into `program` for the return\n  const $ra = _exports.$ra = 1;\n  // $2 or $fp (frame pointer): pointer into the `evalStack` for the base of the stack\n  const $fp = _exports.$fp = 2;\n  // $3 or $sp (stack pointer): pointer into the `evalStack` for the top of the stack\n  const $sp = _exports.$sp = 3;\n  // $4-$5 or $s0-$s1 (saved): callee saved general-purpose registers\n  const $s0 = _exports.$s0 = 4;\n  const $s1 = _exports.$s1 = 5;\n  // $6-$7 or $t0-$t1 (temporaries): caller saved general-purpose registers\n  const $t0 = _exports.$t0 = 6;\n  const $t1 = _exports.$t1 = 7;\n  // $8 or $v0 (return value)\n  const $v0 = _exports.$v0 = 8;\n  let MachineRegister = _exports.MachineRegister = /*#__PURE__*/function (MachineRegister) {\n    MachineRegister[MachineRegister[\"pc\"] = 0] = \"pc\";\n    MachineRegister[MachineRegister[\"ra\"] = 1] = \"ra\";\n    MachineRegister[MachineRegister[\"fp\"] = 2] = \"fp\";\n    MachineRegister[MachineRegister[\"sp\"] = 3] = \"sp\";\n    return MachineRegister;\n  }({});\n  function isLowLevelRegister(register) {\n    return register <= $sp;\n  }\n  let SavedRegister = _exports.SavedRegister = /*#__PURE__*/function (SavedRegister) {\n    SavedRegister[SavedRegister[\"s0\"] = 4] = \"s0\";\n    SavedRegister[SavedRegister[\"s1\"] = 5] = \"s1\";\n    return SavedRegister;\n  }({});\n  let TemporaryRegister = _exports.TemporaryRegister = /*#__PURE__*/function (TemporaryRegister) {\n    TemporaryRegister[TemporaryRegister[\"t0\"] = 6] = \"t0\";\n    TemporaryRegister[TemporaryRegister[\"t1\"] = 7] = \"t1\";\n    return TemporaryRegister;\n  }({});\n});","define(\"@glimmer/wire-format\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.WellKnownTagNames = _exports.WellKnownAttrNames = _exports.VariableResolutionContext = _exports.SexpOpcodes = void 0;\n  _exports.getStringFromValue = getStringFromValue;\n  _exports.is = is;\n  _exports.isArgument = isArgument;\n  _exports.isAttribute = isAttribute;\n  _exports.isGet = _exports.isFlushElement = void 0;\n  _exports.isHelper = isHelper;\n  _exports.isStringLiteral = isStringLiteral;\n  const opcodes = _exports.SexpOpcodes = {\n    Append: 1,\n    TrustingAppend: 2,\n    Comment: 3,\n    Modifier: 4,\n    StrictModifier: 5,\n    Block: 6,\n    StrictBlock: 7,\n    Component: 8,\n    OpenElement: 10,\n    OpenElementWithSplat: 11,\n    FlushElement: 12,\n    CloseElement: 13,\n    StaticAttr: 14,\n    DynamicAttr: 15,\n    ComponentAttr: 16,\n    AttrSplat: 17,\n    Yield: 18,\n    DynamicArg: 20,\n    StaticArg: 21,\n    TrustingDynamicAttr: 22,\n    TrustingComponentAttr: 23,\n    StaticComponentAttr: 24,\n    Debugger: 26,\n    Undefined: 27,\n    Call: 28,\n    Concat: 29,\n    GetSymbol: 30,\n    GetLexicalSymbol: 32,\n    GetStrictKeyword: 31,\n    GetFreeAsComponentOrHelperHeadOrThisFallback: 34,\n    GetFreeAsComponentOrHelperHead: 35,\n    GetFreeAsHelperHeadOrThisFallback: 36,\n    GetFreeAsDeprecatedHelperHeadOrThisFallback: 99,\n    GetFreeAsHelperHead: 37,\n    GetFreeAsModifierHead: 38,\n    GetFreeAsComponentHead: 39,\n    InElement: 40,\n    If: 41,\n    Each: 42,\n    With: 43,\n    Let: 44,\n    WithDynamicVars: 45,\n    InvokeComponent: 46,\n    HasBlock: 48,\n    HasBlockParams: 49,\n    Curry: 50,\n    Not: 51,\n    IfInline: 52,\n    GetDynamicVar: 53,\n    Log: 54\n  };\n\n  // eslint-disable-next-line @typescript-eslint/naming-convention\n\n  const resolution = _exports.VariableResolutionContext = {\n    Strict: 0,\n    AmbiguousAppend: 1,\n    AmbiguousAppendInvoke: 2,\n    AmbiguousInvoke: 3,\n    ResolveAsCallHead: 5,\n    ResolveAsModifierHead: 6,\n    ResolveAsComponentHead: 7\n  };\n  const WellKnownAttrNames = _exports.WellKnownAttrNames = {\n    class: 0,\n    id: 1,\n    value: 2,\n    name: 3,\n    type: 4,\n    style: 5,\n    href: 6\n  };\n  const WellKnownTagNames = _exports.WellKnownTagNames = {\n    div: 0,\n    span: 1,\n    p: 2,\n    a: 3\n  };\n  function is(variant) {\n    return function (value) {\n      return Array.isArray(value) && value[0] === variant;\n    };\n  }\n\n  // Statements\n  const isFlushElement = _exports.isFlushElement = is(opcodes.FlushElement);\n  function isAttribute(val) {\n    return val[0] === opcodes.StaticAttr || val[0] === opcodes.DynamicAttr || val[0] === opcodes.TrustingDynamicAttr || val[0] === opcodes.ComponentAttr || val[0] === opcodes.StaticComponentAttr || val[0] === opcodes.TrustingComponentAttr || val[0] === opcodes.AttrSplat || val[0] === opcodes.Modifier;\n  }\n  function isStringLiteral(expr) {\n    return typeof expr === 'string';\n  }\n  function getStringFromValue(expr) {\n    return expr;\n  }\n  function isArgument(val) {\n    return val[0] === opcodes.StaticArg || val[0] === opcodes.DynamicArg;\n  }\n  function isHelper(expr) {\n    return Array.isArray(expr) && expr[0] === opcodes.Call;\n  }\n\n  // Expressions\n  const isGet = _exports.isGet = is(opcodes.GetSymbol);\n});","define(\"@simple-dom/document\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = createHTMLDocument;\n  const EMPTY_ATTRS = [];\n  function indexOfAttribute(attributes, namespaceURI, localName) {\n    for (let i = 0; i < attributes.length; i++) {\n      const attr = attributes[i];\n      if (attr.namespaceURI === namespaceURI && attr.localName === localName) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function adjustAttrName(namespaceURI, localName) {\n    return namespaceURI === \"http://www.w3.org/1999/xhtml\" /* HTML */ ? localName.toLowerCase() : localName;\n  }\n  function getAttribute(attributes, namespaceURI, localName) {\n    const index = indexOfAttribute(attributes, namespaceURI, localName);\n    return index === -1 ? null : attributes[index].value;\n  }\n  function removeAttribute(attributes, namespaceURI, localName) {\n    const index = indexOfAttribute(attributes, namespaceURI, localName);\n    if (index !== -1) {\n      attributes.splice(index, 1);\n    }\n  }\n  // https://dom.spec.whatwg.org/#dom-element-setattributens\n  function setAttribute(element, namespaceURI, prefix, localName, value) {\n    if (typeof value !== 'string') {\n      value = '' + value;\n    }\n    let {\n      attributes\n    } = element;\n    if (attributes === EMPTY_ATTRS) {\n      attributes = element.attributes = [];\n    } else {\n      const index = indexOfAttribute(attributes, namespaceURI, localName);\n      if (index !== -1) {\n        attributes[index].value = value;\n        return;\n      }\n    }\n    attributes.push({\n      localName,\n      name: prefix === null ? localName : prefix + ':' + localName,\n      namespaceURI,\n      prefix,\n      specified: true,\n      value\n    });\n  }\n  class ChildNodes {\n    constructor(node) {\n      this.node = node;\n      this.stale = true;\n      this._length = 0;\n    }\n    get length() {\n      if (this.stale) {\n        this.stale = false;\n        let len = 0;\n        let child = this.node.firstChild;\n        for (; child !== null; len++) {\n          this[len] = child;\n          child = child.nextSibling;\n        }\n        const oldLen = this._length;\n        this._length = len;\n        for (; len < oldLen; len++) {\n          delete this[len];\n        }\n      }\n      return this._length;\n    }\n    item(index) {\n      return index < this.length ? this[index] : null;\n    }\n  }\n  function cloneNode(node, deep) {\n    const clone = nodeFrom(node);\n    if (deep) {\n      let child = node.firstChild;\n      let nextChild = child;\n      while (child !== null) {\n        nextChild = child.nextSibling;\n        clone.appendChild(child.cloneNode(true));\n        child = nextChild;\n      }\n    }\n    return clone;\n  }\n  function nodeFrom(node) {\n    let namespaceURI;\n    if (node.nodeType === 1 /* ELEMENT_NODE */) {\n      namespaceURI = node.namespaceURI;\n    }\n    const clone = new SimpleNodeImpl(node.ownerDocument, node.nodeType, node.nodeName, node.nodeValue, namespaceURI);\n    if (node.nodeType === 1 /* ELEMENT_NODE */) {\n      clone.attributes = copyAttrs(node.attributes);\n    }\n    return clone;\n  }\n  function copyAttrs(attrs) {\n    if (attrs === EMPTY_ATTRS) {\n      return EMPTY_ATTRS;\n    }\n    const copy = [];\n    for (let i = 0; i < attrs.length; i++) {\n      const attr = attrs[i];\n      copy.push({\n        localName: attr.localName,\n        name: attr.name,\n        namespaceURI: attr.namespaceURI,\n        prefix: attr.prefix,\n        specified: true,\n        value: attr.value\n      });\n    }\n    return copy;\n  }\n  function insertBefore(parentNode, newChild, refChild) {\n    invalidate(parentNode);\n    insertBetween(parentNode, newChild, refChild === null ? parentNode.lastChild : refChild.previousSibling, refChild);\n  }\n  function removeChild(parentNode, oldChild) {\n    invalidate(parentNode);\n    removeBetween(parentNode, oldChild, oldChild.previousSibling, oldChild.nextSibling);\n  }\n  function invalidate(parentNode) {\n    const childNodes = parentNode._childNodes;\n    if (childNodes !== undefined) {\n      childNodes.stale = true;\n    }\n  }\n  function insertBetween(parentNode, newChild, previousSibling, nextSibling) {\n    if (newChild.nodeType === 11 /* DOCUMENT_FRAGMENT_NODE */) {\n      insertFragment(newChild, parentNode, previousSibling, nextSibling);\n      return;\n    }\n    if (newChild.parentNode !== null) {\n      removeChild(newChild.parentNode, newChild);\n    }\n    newChild.parentNode = parentNode;\n    newChild.previousSibling = previousSibling;\n    newChild.nextSibling = nextSibling;\n    if (previousSibling === null) {\n      parentNode.firstChild = newChild;\n    } else {\n      previousSibling.nextSibling = newChild;\n    }\n    if (nextSibling === null) {\n      parentNode.lastChild = newChild;\n    } else {\n      nextSibling.previousSibling = newChild;\n    }\n  }\n  function removeBetween(parentNode, oldChild, previousSibling, nextSibling) {\n    oldChild.parentNode = null;\n    oldChild.previousSibling = null;\n    oldChild.nextSibling = null;\n    if (previousSibling === null) {\n      parentNode.firstChild = nextSibling;\n    } else {\n      previousSibling.nextSibling = nextSibling;\n    }\n    if (nextSibling === null) {\n      parentNode.lastChild = previousSibling;\n    } else {\n      nextSibling.previousSibling = previousSibling;\n    }\n  }\n  function insertFragment(fragment, parentNode, previousSibling, nextSibling) {\n    const firstChild = fragment.firstChild;\n    if (firstChild === null) {\n      return;\n    }\n    fragment.firstChild = null;\n    fragment.lastChild = null;\n    let lastChild = firstChild;\n    let newChild = firstChild;\n    firstChild.previousSibling = previousSibling;\n    if (previousSibling === null) {\n      parentNode.firstChild = firstChild;\n    } else {\n      previousSibling.nextSibling = firstChild;\n    }\n    while (newChild !== null) {\n      newChild.parentNode = parentNode;\n      lastChild = newChild;\n      newChild = newChild.nextSibling;\n    }\n    lastChild.nextSibling = nextSibling;\n    if (nextSibling === null) {\n      parentNode.lastChild = lastChild;\n    } else {\n      nextSibling.previousSibling = lastChild;\n    }\n  }\n  function parseQualifiedName(qualifiedName) {\n    let localName = qualifiedName;\n    let prefix = null;\n    const i = qualifiedName.indexOf(':');\n    if (i !== -1) {\n      prefix = qualifiedName.slice(0, i);\n      localName = qualifiedName.slice(i + 1);\n    }\n    return [prefix, localName];\n  }\n  class SimpleNodeImpl {\n    constructor(ownerDocument, nodeType, nodeName, nodeValue, namespaceURI) {\n      this.ownerDocument = ownerDocument;\n      this.nodeType = nodeType;\n      this.nodeName = nodeName;\n      this.nodeValue = nodeValue;\n      this.namespaceURI = namespaceURI;\n      this.parentNode = null;\n      this.previousSibling = null;\n      this.nextSibling = null;\n      this.firstChild = null;\n      this.lastChild = null;\n      this.attributes = EMPTY_ATTRS;\n      /**\n       * @internal\n       */\n      this._childNodes = undefined;\n    }\n    get tagName() {\n      return this.nodeName;\n    }\n    get childNodes() {\n      let children = this._childNodes;\n      if (children === undefined) {\n        children = this._childNodes = new ChildNodes(this);\n      }\n      return children;\n    }\n    cloneNode(deep) {\n      return cloneNode(this, deep === true);\n    }\n    appendChild(newChild) {\n      insertBefore(this, newChild, null);\n      return newChild;\n    }\n    insertBefore(newChild, refChild) {\n      insertBefore(this, newChild, refChild);\n      return newChild;\n    }\n    removeChild(oldChild) {\n      removeChild(this, oldChild);\n      return oldChild;\n    }\n    insertAdjacentHTML(position, html) {\n      const raw = new SimpleNodeImpl(this.ownerDocument, -1 /* RAW_NODE */, '#raw', html, void 0);\n      let parentNode;\n      let nextSibling;\n      switch (position) {\n        case 'beforebegin':\n          parentNode = this.parentNode;\n          nextSibling = this;\n          break;\n        case 'afterbegin':\n          parentNode = this;\n          nextSibling = this.firstChild;\n          break;\n        case 'beforeend':\n          parentNode = this;\n          nextSibling = null;\n          break;\n        case 'afterend':\n          parentNode = this.parentNode;\n          nextSibling = this.nextSibling;\n          break;\n        default:\n          throw new Error('invalid position');\n      }\n      if (parentNode === null) {\n        throw new Error(`${position} requires a parentNode`);\n      }\n      insertBefore(parentNode, raw, nextSibling);\n    }\n    getAttribute(name) {\n      const localName = adjustAttrName(this.namespaceURI, name);\n      return getAttribute(this.attributes, null, localName);\n    }\n    getAttributeNS(namespaceURI, localName) {\n      return getAttribute(this.attributes, namespaceURI, localName);\n    }\n    setAttribute(name, value) {\n      const localName = adjustAttrName(this.namespaceURI, name);\n      setAttribute(this, null, null, localName, value);\n    }\n    setAttributeNS(namespaceURI, qualifiedName, value) {\n      const [prefix, localName] = parseQualifiedName(qualifiedName);\n      setAttribute(this, namespaceURI, prefix, localName, value);\n    }\n    removeAttribute(name) {\n      const localName = adjustAttrName(this.namespaceURI, name);\n      removeAttribute(this.attributes, null, localName);\n    }\n    removeAttributeNS(namespaceURI, localName) {\n      removeAttribute(this.attributes, namespaceURI, localName);\n    }\n    get doctype() {\n      return this.firstChild;\n    }\n    get documentElement() {\n      return this.lastChild;\n    }\n    get head() {\n      return this.documentElement.firstChild;\n    }\n    get body() {\n      return this.documentElement.lastChild;\n    }\n    createElement(name) {\n      return new SimpleNodeImpl(this, 1 /* ELEMENT_NODE */, name.toUpperCase(), null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    }\n\n    createElementNS(namespace, qualifiedName) {\n      // Node name is case-preserving in XML contexts, but returns canonical uppercase form in HTML contexts\n      // https://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-104682815\n      const nodeName = namespace === \"http://www.w3.org/1999/xhtml\" /* HTML */ ? qualifiedName.toUpperCase() : qualifiedName;\n      // we don't care to parse the qualified name because we only support HTML documents\n      // which don't support prefixed elements\n      return new SimpleNodeImpl(this, 1 /* ELEMENT_NODE */, nodeName, null, namespace);\n    }\n    createTextNode(text) {\n      return new SimpleNodeImpl(this, 3 /* TEXT_NODE */, '#text', text, void 0);\n    }\n    createComment(text) {\n      return new SimpleNodeImpl(this, 8 /* COMMENT_NODE */, '#comment', text, void 0);\n    }\n    /**\n     * Backwards compat\n     * @deprecated\n     */\n    createRawHTMLSection(text) {\n      return new SimpleNodeImpl(this, -1 /* RAW_NODE */, '#raw', text, void 0);\n    }\n    createDocumentFragment() {\n      return new SimpleNodeImpl(this, 11 /* DOCUMENT_FRAGMENT_NODE */, '#document-fragment', null, void 0);\n    }\n  }\n  function createHTMLDocument() {\n    // dom.d.ts types ownerDocument as Document but for a document ownerDocument is null\n    const document = new SimpleNodeImpl(null, 9 /* DOCUMENT_NODE */, '#document', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    const doctype = new SimpleNodeImpl(document, 10 /* DOCUMENT_TYPE_NODE */, 'html', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    const html = new SimpleNodeImpl(document, 1 /* ELEMENT_NODE */, 'HTML', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    const head = new SimpleNodeImpl(document, 1 /* ELEMENT_NODE */, 'HEAD', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    const body = new SimpleNodeImpl(document, 1 /* ELEMENT_NODE */, 'BODY', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    html.appendChild(head);\n    html.appendChild(body);\n    document.appendChild(doctype);\n    document.appendChild(html);\n    return document;\n  }\n});","define(\"backburner.js\", [\"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  const SET_TIMEOUT = setTimeout;\n  const NOOP = () => {};\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      const autorunPromise = Promise.resolve();\n      return () => autorunPromise.then(flush);\n    } else if (typeof MutationObserver === 'function') {\n      let iterations = 0;\n      let observer = new MutationObserver(flush);\n      let 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  function buildPlatform(flush) {\n    let clearNext = NOOP;\n    return {\n      setTimeout(fn, ms) {\n        return setTimeout(fn, ms);\n      },\n      clearTimeout(timerId) {\n        return clearTimeout(timerId);\n      },\n      now() {\n        return Date.now();\n      },\n      next: buildNext(flush),\n      clearNext\n    };\n  }\n  const NUMBER = /\\d+/;\n  const TIMERS_OFFSET = 6;\n  function isCoercableNumber(suspect) {\n    let type = typeof suspect;\n    return type === 'number' && suspect === suspect || type === 'string' && NUMBER.test(suspect);\n  }\n  function getOnError(options) {\n    return options.onError || options.onErrorTarget && options.onErrorTarget[options.onErrorMethod];\n  }\n  function findItem(target, method, collection) {\n    let index = -1;\n    for (let 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    return index;\n  }\n  function findTimerItem(target, method, collection) {\n    let index = -1;\n    for (let 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    return index;\n  }\n  function getQueueItems(items, queueItemLength, queueItemPositionOffset = 0) {\n    let queueItems = [];\n    for (let i = 0; i < items.length; i += queueItemLength) {\n      let maybeError = items[i + 3 /* stack */ + queueItemPositionOffset];\n      let queueItem = {\n        target: items[i + 0 /* target */ + queueItemPositionOffset],\n        method: items[i + 1 /* method */ + queueItemPositionOffset],\n        args: items[i + 2 /* args */ + queueItemPositionOffset],\n        stack: maybeError !== undefined && 'stack' in maybeError ? maybeError.stack : ''\n      };\n      queueItems.push(queueItem);\n    }\n    return queueItems;\n  }\n  function binarySearch(time, timers) {\n    let start = 0;\n    let end = timers.length - TIMERS_OFFSET;\n    let middle;\n    let l;\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;\n      // compensate for the index in case even number\n      // of pairs inside timers\n      middle = start + l - l % TIMERS_OFFSET;\n      if (time >= timers[middle]) {\n        start = middle + TIMERS_OFFSET;\n      } else {\n        end = middle;\n      }\n    }\n    return time >= timers[start] ? start + TIMERS_OFFSET : start;\n  }\n  const QUEUE_ITEM_LENGTH = 4;\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    stackFor(index) {\n      if (index < this._queue.length) {\n        let entry = this._queue[index * 3 + QUEUE_ITEM_LENGTH];\n        if (entry) {\n          return entry.stack;\n        } else {\n          return null;\n        }\n      }\n    }\n    flush(sync) {\n      let {\n        before,\n        after\n      } = this.options;\n      let target;\n      let method;\n      let args;\n      let errorRecordedForStack;\n      this.targetQueues.clear();\n      if (this._queueBeingFlushed.length === 0) {\n        this._queueBeingFlushed = this._queue;\n        this._queue = [];\n      }\n      if (before !== undefined) {\n        before();\n      }\n      let invoke;\n      let queueItems = this._queueBeingFlushed;\n      if (queueItems.length > 0) {\n        let onError = getOnError(this.globalOptions);\n        invoke = onError ? this.invokeWithOnError : this.invoke;\n        for (let i = this.index; i < queueItems.length; i += QUEUE_ITEM_LENGTH) {\n          this.index += QUEUE_ITEM_LENGTH;\n          method = queueItems[i + 1];\n          // method could have been nullified / canceled during flush\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            invoke(target, method, args, onError, errorRecordedForStack);\n          }\n          if (this.index !== this._queueBeingFlushed.length && this.globalOptions.mustYield && this.globalOptions.mustYield()) {\n            return 1 /* Pause */;\n          }\n        }\n      }\n\n      if (after !== undefined) {\n        after();\n      }\n      this._queueBeingFlushed.length = 0;\n      this.index = 0;\n      if (sync !== false && this._queue.length > 0) {\n        // check if new items have been added\n        this.flush(true);\n      }\n    }\n    hasWork() {\n      return this._queueBeingFlushed.length > 0 || this._queue.length > 0;\n    }\n    cancel({\n      target,\n      method\n    }) {\n      let queue = this._queue;\n      let targetQueueMap = this.targetQueues.get(target);\n      if (targetQueueMap !== undefined) {\n        targetQueueMap.delete(method);\n      }\n      let index = findItem(target, method, queue);\n      if (index > -1) {\n        queue[index + 1] = null;\n        return true;\n      }\n      // if not found in current queue\n      // could be in the queue that is being flushed\n      queue = this._queueBeingFlushed;\n      index = findItem(target, method, queue);\n      if (index > -1) {\n        queue[index + 1] = null;\n        return true;\n      }\n      return false;\n    }\n    push(target, method, args, stack) {\n      this._queue.push(target, method, args, stack);\n      return {\n        queue: this,\n        target,\n        method\n      };\n    }\n    pushUnique(target, method, args, stack) {\n      let localQueueMap = this.targetQueues.get(target);\n      if (localQueueMap === undefined) {\n        localQueueMap = new Map();\n        this.targetQueues.set(target, localQueueMap);\n      }\n      let index = localQueueMap.get(method);\n      if (index === undefined) {\n        let queueIndex = this._queue.push(target, method, args, stack) - QUEUE_ITEM_LENGTH;\n        localQueueMap.set(method, queueIndex);\n      } else {\n        let queue = this._queue;\n        queue[index + 2] = args; // replace args\n        queue[index + 3] = stack; // replace stack\n      }\n\n      return {\n        queue: this,\n        target,\n        method\n      };\n    }\n    _getDebugInfo(debugEnabled) {\n      if (debugEnabled) {\n        let debugInfo = getQueueItems(this._queue, QUEUE_ITEM_LENGTH);\n        return debugInfo;\n      }\n      return undefined;\n    }\n    invoke(target, method, args /*, onError, errorRecordedForStack */) {\n      if (args === undefined) {\n        method.call(target);\n      } else {\n        method.apply(target, args);\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  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    schedule(queueName, target, method, args, onceFlag, stack) {\n      let queues = this.queues;\n      let queue = queues[queueName];\n      if (queue === undefined) {\n        throw new Error(`You attempted to schedule an action in a queue (${queueName}) that doesn\\'t exist`);\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      this.queueNameIndex = 0;\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    flush(fromAutorun = false) {\n      let queue;\n      let queueName;\n      let numberOfQueues = this.queueNames.length;\n      while (this.queueNameIndex < numberOfQueues) {\n        queueName = this.queueNames[this.queueNameIndex];\n        queue = this.queues[queueName];\n        if (queue.hasWork() === false) {\n          this.queueNameIndex++;\n          if (fromAutorun && this.queueNameIndex < numberOfQueues) {\n            return 1 /* Pause */;\n          }\n        } else {\n          if (queue.flush(false /* async */) === 1 /* Pause */) {\n            return 1 /* Pause */;\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    _getDebugInfo(debugEnabled) {\n      if (debugEnabled) {\n        let debugInfo = {};\n        let queue;\n        let queueName;\n        let numberOfQueues = this.queueNames.length;\n        let i = 0;\n        while (i < numberOfQueues) {\n          queueName = this.queueNames[i];\n          queue = this.queues[queueName];\n          debugInfo[queueName] = queue._getDebugInfo(debugEnabled);\n          i++;\n        }\n        return debugInfo;\n      }\n      return;\n    }\n  }\n  function iteratorDrain(fn) {\n    let iterator = fn();\n    let result = iterator.next();\n    while (result.done === false) {\n      result.value();\n      result = iterator.next();\n    }\n  }\n  const noop = function () {};\n  const DISABLE_SCHEDULE = Object.freeze([]);\n  function parseArgs() {\n    let length = arguments.length;\n    let args;\n    let method;\n    let target;\n    if (length === 0) ;else if (length === 1) {\n      target = null;\n      method = arguments[0];\n    } else {\n      let argsIndex = 2;\n      let methodOrTarget = arguments[0];\n      let methodOrArgs = arguments[1];\n      let type = typeof methodOrArgs;\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      if (length > argsIndex) {\n        let len = length - argsIndex;\n        args = new Array(len);\n        for (let i = 0; i < len; i++) {\n          args[i] = arguments[i + argsIndex];\n        }\n      }\n    }\n    return [target, method, args];\n  }\n  function parseTimerArgs() {\n    let [target, method, args] = parseArgs(...arguments);\n    let wait = 0;\n    let length = args !== undefined ? args.length : 0;\n    if (length > 0) {\n      let last = args[length - 1];\n      if (isCoercableNumber(last)) {\n        wait = parseInt(args.pop(), 10);\n      }\n    }\n    return [target, method, args, wait];\n  }\n  function parseDebounceArgs() {\n    let target;\n    let method;\n    let isImmediate;\n    let args;\n    let wait;\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      if (args === undefined) {\n        wait = 0;\n      } else {\n        wait = args.pop();\n        if (!isCoercableNumber(wait)) {\n          isImmediate = wait === true;\n          wait = args.pop();\n        }\n      }\n    }\n    wait = parseInt(wait, 10);\n    return [target, method, args, wait, isImmediate];\n  }\n  let UUID = 0;\n  let beginCount = 0;\n  let endCount = 0;\n  let beginEventCount = 0;\n  let endEventCount = 0;\n  let runCount = 0;\n  let joinCount = 0;\n  let deferCount = 0;\n  let scheduleCount = 0;\n  let scheduleIterableCount = 0;\n  let deferOnceCount = 0;\n  let scheduleOnceCount = 0;\n  let setTimeoutCount = 0;\n  let laterCount = 0;\n  let throttleCount = 0;\n  let debounceCount = 0;\n  let cancelTimersCount = 0;\n  let cancelCount = 0;\n  let autorunsCreatedCount = 0;\n  let autorunsCompletedCount = 0;\n  let deferredActionQueuesCreatedCount = 0;\n  let nestedDeferredActionQueuesCreated = 0;\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      if (typeof this.options.defaultQueue === 'string') {\n        this._defaultQueue = this.options.defaultQueue;\n      } else {\n        this._defaultQueue = this.queueNames[0];\n      }\n      this._onBegin = this.options.onBegin || noop;\n      this._onEnd = this.options.onEnd || noop;\n      this._boundRunExpiredTimers = this._runExpiredTimers.bind(this);\n      this._boundAutorunEnd = () => {\n        autorunsCompletedCount++;\n        // if the autorun was already flushed, do nothing\n        if (this._autorun === false) {\n          return;\n        }\n        this._autorun = false;\n        this._autorunStack = null;\n        this._end(true /* fromAutorun */);\n      };\n\n      let builder = this.options._buildPlatform || buildPlatform;\n      this._platform = builder(this._boundAutorunEnd);\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    get defaultQueue() {\n      return this._defaultQueue;\n    }\n    /*\n      @method begin\n      @return instantiated class DeferredActionQueues\n    */\n    begin() {\n      beginCount++;\n      let options = this.options;\n      let previousInstance = this.currentInstance;\n      let current;\n      if (this._autorun !== false) {\n        current = previousInstance;\n        this._cancelAutorun();\n      } else {\n        if (previousInstance !== null) {\n          nestedDeferredActionQueuesCreated++;\n          this.instanceStack.push(previousInstance);\n        }\n        deferredActionQueuesCreatedCount++;\n        current = this.currentInstance = new DeferredActionQueues(this.queueNames, options);\n        beginEventCount++;\n        this._trigger('begin', current, previousInstance);\n      }\n      this._onBegin(current, previousInstance);\n      return current;\n    }\n    end() {\n      endCount++;\n      this._end(false);\n    }\n    on(eventName, callback) {\n      if (typeof callback !== 'function') {\n        throw new TypeError(`Callback must be a function`);\n      }\n      let callbacks = this._eventCallbacks[eventName];\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    off(eventName, callback) {\n      let callbacks = this._eventCallbacks[eventName];\n      if (!eventName || callbacks === undefined) {\n        throw new TypeError(`Cannot off() event ${eventName} because it does not exist`);\n      }\n      let callbackFound = false;\n      if (callback) {\n        for (let 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      if (!callbackFound) {\n        throw new TypeError(`Cannot off() callback that does not exist`);\n      }\n    }\n    run() {\n      runCount++;\n      let [target, method, args] = parseArgs(...arguments);\n      return this._run(target, method, args);\n    }\n    join() {\n      joinCount++;\n      let [target, method, args] = parseArgs(...arguments);\n      return this._join(target, method, args);\n    }\n    /**\n     * @deprecated please use schedule instead.\n     */\n    defer(queueName, target, method, ...args) {\n      deferCount++;\n      return this.schedule(queueName, target, method, ...args);\n    }\n    schedule(queueName, ..._args) {\n      scheduleCount++;\n      let [target, method, args] = parseArgs(..._args);\n      let 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    scheduleIterable(queueName, iterable) {\n      scheduleIterableCount++;\n      let 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    deferOnce(queueName, target, method, ...args) {\n      deferOnceCount++;\n      return this.scheduleOnce(queueName, target, method, ...args);\n    }\n    scheduleOnce(queueName, ..._args) {\n      scheduleOnceCount++;\n      let [target, method, args] = parseArgs(..._args);\n      let stack = this.DEBUG ? new Error() : undefined;\n      return this._ensureInstance().schedule(queueName, target, method, args, true, stack);\n    }\n    setTimeout() {\n      setTimeoutCount++;\n      return this.later(...arguments);\n    }\n    later() {\n      laterCount++;\n      let [target, method, args, wait] = parseTimerArgs(...arguments);\n      return this._later(target, method, args, wait);\n    }\n    throttle() {\n      throttleCount++;\n      let [target, method, args, wait, isImmediate = true] = parseDebounceArgs(...arguments);\n      let index = findTimerItem(target, method, this._timers);\n      let timerId;\n      if (index === -1) {\n        timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n        if (isImmediate) {\n          this._join(target, method, args);\n        }\n      } else {\n        timerId = this._timers[index + 1];\n        let argIndex = index + 4;\n        if (this._timers[argIndex] !== DISABLE_SCHEDULE) {\n          this._timers[argIndex] = args;\n        }\n      }\n      return timerId;\n    }\n    debounce() {\n      debounceCount++;\n      let [target, method, args, wait, isImmediate = false] = parseDebounceArgs(...arguments);\n      let _timers = this._timers;\n      let index = findTimerItem(target, method, _timers);\n      let timerId;\n      if (index === -1) {\n        timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n        if (isImmediate) {\n          this._join(target, method, args);\n        }\n      } else {\n        let executeAt = this._platform.now() + wait;\n        let argIndex = index + 4;\n        if (_timers[argIndex] === DISABLE_SCHEDULE) {\n          args = DISABLE_SCHEDULE;\n        }\n        timerId = _timers[index + 1];\n        let i = binarySearch(executeAt, _timers);\n        if (index + TIMERS_OFFSET === i) {\n          _timers[index] = executeAt;\n          _timers[argIndex] = args;\n        } else {\n          let stack = this._timers[index + 5];\n          this._timers.splice(i, 0, executeAt, timerId, target, method, args, stack);\n          this._timers.splice(index, TIMERS_OFFSET);\n        }\n        if (index === 0) {\n          this._reinstallTimerTimeout();\n        }\n      }\n      return timerId;\n    }\n    cancelTimers() {\n      cancelTimersCount++;\n      this._clearTimerTimeout();\n      this._timers = [];\n      this._cancelAutorun();\n    }\n    hasTimers() {\n      return this._timers.length > 0 || this._autorun;\n    }\n    cancel(timer) {\n      cancelCount++;\n      if (timer === null || timer === undefined) {\n        return false;\n      }\n      let timerType = typeof timer;\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      return false;\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    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      return undefined;\n    }\n    _end(fromAutorun) {\n      let currentInstance = this.currentInstance;\n      let nextInstance = null;\n      if (currentInstance === null) {\n        throw new Error(`end called without begin`);\n      }\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      let finallyAlreadyCalled = false;\n      let result;\n      try {\n        result = currentInstance.flush(fromAutorun);\n      } finally {\n        if (!finallyAlreadyCalled) {\n          finallyAlreadyCalled = true;\n          if (result === 1 /* Pause */) {\n            const plannedNextQueue = this.queueNames[currentInstance.queueNameIndex];\n            this._scheduleAutorun(plannedNextQueue);\n          } else {\n            this.currentInstance = null;\n            if (this.instanceStack.length > 0) {\n              nextInstance = this.instanceStack.pop();\n              this.currentInstance = nextInstance;\n            }\n            this._trigger('end', currentInstance, nextInstance);\n            this._onEnd(currentInstance, nextInstance);\n          }\n        }\n      }\n    }\n    _join(target, method, args) {\n      if (this.currentInstance === null) {\n        return this._run(target, method, args);\n      }\n      if (target === undefined && args === undefined) {\n        return method();\n      } else {\n        return method.apply(target, args);\n      }\n    }\n    _run(target, method, args) {\n      let onError = getOnError(this.options);\n      this.begin();\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    _cancelAutorun() {\n      if (this._autorun) {\n        this._platform.clearNext();\n        this._autorun = false;\n        this._autorunStack = null;\n      }\n    }\n    _later(target, method, args, wait) {\n      let stack = this.DEBUG ? new Error() : undefined;\n      let executeAt = this._platform.now() + wait;\n      let id = UUID++;\n      if (this._timers.length === 0) {\n        this._timers.push(executeAt, id, target, method, args, stack);\n        this._installTimerTimeout();\n      } else {\n        // find position to insert\n        let i = binarySearch(executeAt, this._timers);\n        this._timers.splice(i, 0, executeAt, id, target, method, args, stack);\n        // always reinstall since it could be out of sync\n        this._reinstallTimerTimeout();\n      }\n      return id;\n    }\n    _cancelLaterTimer(timer) {\n      for (let i = 1; i < this._timers.length; i += TIMERS_OFFSET) {\n        if (this._timers[i] === timer) {\n          this._timers.splice(i - 1, TIMERS_OFFSET);\n          if (i === 1) {\n            this._reinstallTimerTimeout();\n          }\n          return true;\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    _trigger(eventName, arg1, arg2) {\n      let callbacks = this._eventCallbacks[eventName];\n      if (callbacks !== undefined) {\n        for (let i = 0; i < callbacks.length; i++) {\n          callbacks[i](arg1, arg2);\n        }\n      }\n    }\n    _runExpiredTimers() {\n      this._timerTimeoutId = null;\n      if (this._timers.length > 0) {\n        this.begin();\n        this._scheduleExpiredTimers();\n        this.end();\n      }\n    }\n    _scheduleExpiredTimers() {\n      let timers = this._timers;\n      let i = 0;\n      let l = timers.length;\n      let defaultQueue = this._defaultQueue;\n      let n = this._platform.now();\n      for (; i < l; i += TIMERS_OFFSET) {\n        let executeAt = timers[i];\n        if (executeAt > n) {\n          break;\n        }\n        let args = timers[i + 4];\n        if (args !== DISABLE_SCHEDULE) {\n          let target = timers[i + 2];\n          let method = timers[i + 3];\n          let stack = timers[i + 5];\n          this.currentInstance.schedule(defaultQueue, target, method, args, false, stack);\n        }\n      }\n      timers.splice(0, i);\n      this._installTimerTimeout();\n    }\n    _reinstallTimerTimeout() {\n      this._clearTimerTimeout();\n      this._installTimerTimeout();\n    }\n    _clearTimerTimeout() {\n      if (this._timerTimeoutId === null) {\n        return;\n      }\n      this._platform.clearTimeout(this._timerTimeoutId);\n      this._timerTimeoutId = null;\n    }\n    _installTimerTimeout() {\n      if (this._timers.length === 0) {\n        return;\n      }\n      let minExpiresAt = this._timers[0];\n      let n = this._platform.now();\n      let wait = Math.max(0, minExpiresAt - n);\n      this._timerTimeoutId = this._platform.setTimeout(this._boundRunExpiredTimers, wait);\n    }\n    _ensureInstance() {\n      let currentInstance = this.currentInstance;\n      if (currentInstance === null) {\n        this._autorunStack = this.DEBUG ? new Error() : undefined;\n        currentInstance = this.begin();\n        this._scheduleAutorun(this.queueNames[0]);\n      }\n      return currentInstance;\n    }\n    _scheduleAutorun(plannedNextQueue) {\n      autorunsCreatedCount++;\n      const next = this._platform.next;\n      const flush = this.options.flush;\n      if (flush) {\n        flush(plannedNextQueue, next);\n      } else {\n        next();\n      }\n      this._autorun = true;\n    }\n  }\n  Backburner.Queue = Queue;\n  Backburner.buildPlatform = buildPlatform;\n  Backburner.buildNext = buildNext;\n  var _default = _exports.default = Backburner;\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   * 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    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      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      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    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    DAG.prototype.each = function (callback) {\n      this._vertices.walk(callback);\n    };\n    /**\n     * @deprecated please use each.\n     */\n    DAG.prototype.topsort = function (callback) {\n      this.each(callback);\n    };\n    return DAG;\n  }();\n  var _default = _exports.default = DAG;\n  /** @private */\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    Vertices.prototype.add = function (key) {\n      if (!key) throw new Error(\"missing key\");\n      var l = this.length | 0;\n      var vertex;\n      for (var i = 0; i < l; i++) {\n        vertex = this[i];\n        if (vertex.key === key) return vertex;\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    Vertices.prototype.addEdge = function (v, w) {\n      this.check(v, w.key);\n      var l = w.length | 0;\n      for (var i = 0; i < l; i++) {\n        if (w[i] === v.idx) return;\n      }\n      w.length = l + 1;\n      w[l] = v.idx;\n      v.out = true;\n    };\n    Vertices.prototype.walk = function (cb) {\n      this.reset();\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      this.each(this.result, cb);\n    };\n    Vertices.prototype.check = function (v, w) {\n      if (v.key === w) {\n        throw new Error(\"cycle detected: \" + w + \" <- \" + w);\n      }\n      // quick check\n      if (v.length === 0) return;\n      // shallow check\n      for (var i = 0; i < v.length; i++) {\n        var key = this[v[i]].key;\n        if (key === w) {\n          throw new Error(\"cycle detected: \" + w + \" <- \" + v.key + \" <- \" + w);\n        }\n      }\n      // deep check\n      this.reset();\n      this.visit(v, w);\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    Vertices.prototype.reset = function () {\n      this.stack.length = 0;\n      this.path.length = 0;\n      this.result.length = 0;\n      for (var i = 0, l = this.length; i < l; i++) {\n        this[i].flag = false;\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      stack.push(start.idx);\n      while (stack.length) {\n        var index = stack.pop() | 0;\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;\n          // push exit\n          stack.push(~index);\n          this.pushIncoming(vertex);\n        } else {\n          // exit\n          path.pop();\n          result.push(~index);\n        }\n      }\n    };\n    Vertices.prototype.pushIncoming = function (incomming) {\n      var stack = this.stack;\n      for (var i = incomming.length - 1; i >= 0; i--) {\n        var index = incomming[i];\n        if (!this[index].flag) {\n          stack.push(index);\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    return Vertices;\n  }();\n  /** @private */\n  var IntStack = function () {\n    function IntStack() {\n      this.length = 0;\n    }\n    IntStack.prototype.push = function (n) {\n      this[this.length++] = n | 0;\n    };\n    IntStack.prototype.pop = function () {\n      return this[--this.length] | 0;\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.assertThisInitialized = assertThisInitialized;\n  _exports.classCallCheck = classCallCheck;\n  _exports.classPrivateFieldLooseBase = classPrivateFieldLooseBase;\n  _exports.classPrivateFieldLooseKey = classPrivateFieldLooseKey;\n  _exports.createClass = createClass;\n  _exports.createForOfIteratorHelperLoose = createForOfIteratorHelperLoose;\n  _exports.createSuper = createSuper;\n  _exports.inheritsLoose = inheritsLoose;\n  _exports.objectDestructuringEmpty = objectDestructuringEmpty;\n  _exports.possibleConstructorReturn = possibleConstructorReturn;\n  _exports.taggedTemplateLiteralLoose = taggedTemplateLiteralLoose;\n  _exports.wrapNativeSuper = wrapNativeSuper;\n  /* globals Reflect */\n\n  const setPrototypeOf = Object.setPrototypeOf;\n  const getPrototypeOf = Object.getPrototypeOf;\n  const hasReflectConstruct = typeof Reflect === 'object' && typeof Reflect.construct === 'function';\n  const nativeWrapperCache = new Map();\n\n  // Implementations:\n  // https://github.com/babel/babel/blob/436d78920883603668666210a4aacf524257bc3b/packages/babel-helpers/src/helpers.ts#L958\n  let privateFieldId = 0;\n  function classPrivateFieldLooseKey(name) {\n    return '__private_' + privateFieldId++ + '_' + name;\n  }\n  function classPrivateFieldLooseBase(receiver, privateKey) {\n    if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {\n      throw new TypeError('attempted to use private field on non-instance');\n    }\n    return receiver;\n  }\n\n  // 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  function wrapNativeSuper(Class) {\n    if (nativeWrapperCache.has(Class)) {\n      return nativeWrapperCache.get(Class);\n    }\n    function Wrapper() {}\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  function classCallCheck(instance, Constructor) {\n    if (true /* DEBUG */) {\n      if (!(instance instanceof Constructor)) {\n        throw new TypeError('Cannot call a class as a function');\n      }\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 wherever possible) but also keep our constructor based prototypal\n    inheritance working properly\n  */\n  function inheritsLoose(subClass, superClass) {\n    if (true /* DEBUG */) {\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 === null ? null : superClass.prototype, {\n      constructor: {\n        value: subClass,\n        writable: true,\n        configurable: true\n      }\n    });\n    if (superClass !== null) {\n      setPrototypeOf(subClass, superClass);\n    }\n  }\n  function taggedTemplateLiteralLoose(strings, raw) {\n    if (!raw) {\n      raw = strings.slice(0);\n    }\n    strings.raw = raw;\n    return strings;\n  }\n  function _defineProperties(target, props) {\n    for (let i = 0; i < props.length; i++) {\n      let 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  /*\n    Differs from default implementation by avoiding boolean coercion of\n    `protoProps` and `staticProps`.\n  */\n  function createClass(Constructor, protoProps, staticProps) {\n    if (protoProps !== null && protoProps !== undefined) {\n      _defineProperties(Constructor.prototype, protoProps);\n    }\n    if (staticProps !== null && staticProps !== undefined) {\n      _defineProperties(Constructor, staticProps);\n    }\n    return Constructor;\n  }\n  function assertThisInitialized(self) {\n    if (true /* DEBUG */ && self === void 0) {\n      throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n    }\n    return self;\n  }\n\n  /*\n    Adds `DEBUG` guard to error being thrown, and avoids boolean coercion of `call`.\n  */\n  function possibleConstructorReturn(self, call) {\n    if (typeof call === 'object' && call !== null || typeof call === 'function') {\n      return call;\n    }\n    return assertThisInitialized(self);\n  }\n  function objectDestructuringEmpty(obj) {\n    if (true /* DEBUG */ && (obj === null || obj === undefined)) {\n      throw new TypeError('Cannot destructure undefined');\n    }\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  function createSuper(Derived) {\n    return function () {\n      let Super = getPrototypeOf(Derived);\n      let result;\n      if (hasReflectConstruct) {\n        // NOTE: This doesn't work if this.__proto__.constructor has been modified.\n        let NewTarget = getPrototypeOf(this).constructor;\n        result = Reflect.construct(Super, arguments, NewTarget);\n      } else {\n        result = Super.apply(this, arguments);\n      }\n      return possibleConstructorReturn(this, result);\n    };\n  }\n\n  /*\n    Does not differ from default implementation.\n  */\n  function arrayLikeToArray(arr, len) {\n    if (len == null || len > arr.length) len = arr.length;\n    let arr2 = new Array(len);\n    for (let i = 0; i < len; i++) {\n      arr2[i] = arr[i];\n    }\n    return arr2;\n  }\n\n  /*\n    Does not differ from default implementation.\n  */\n  function unsupportedIterableToArray(o, minLen) {\n    if (!o) return;\n    if (typeof o === 'string') return arrayLikeToArray(o, minLen);\n    let 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  /*\n    Does not differ from default implementation.\n  */\n  function createForOfIteratorHelperLoose(o) {\n    let i = 0;\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    i = o[Symbol.iterator]();\n    return i.next.bind(i);\n  }\n});","define(\"ember-testing/index\", [\"exports\", \"ember-testing/lib/public-api\", \"@ember/test\"], function (_exports, EmberTesting, _test) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.keys(EmberTesting).forEach(function (key) {\n    if (key === \"default\" || key === \"__esModule\") return;\n    if (key in _exports && _exports[key] === EmberTesting[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return EmberTesting[key];\n      }\n    });\n  });\n  (0, _test.registerTestImplementation)(EmberTesting);\n});","define(\"ember-testing/lib/adapters/adapter\", [\"exports\", \"@ember/object\"], function (_exports, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const Adapter = _object.default.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() {},\n    /**\n      This callback will be called whenever an async operation has completed.\n         @public\n      @method asyncEnd\n    */\n    asyncEnd() {},\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  var _default = _exports.default = Adapter;\n});","define(\"ember-testing/lib/adapters/qunit\", [\"exports\", \"@ember/debug\", \"ember-testing/lib/adapters/adapter\"], function (_exports, _debug, _adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* globals QUnit */\n\n  function isVeryOldQunit(obj) {\n    return obj != null && typeof obj.stop === 'function';\n  }\n  const QUnitAdapter = _adapter.default.extend({\n    init() {\n      this.doneCallbacks = [];\n    },\n    asyncStart() {\n      if (isVeryOldQunit(QUnit)) {\n        // very old QUnit version\n        // eslint-disable-next-line qunit/no-qunit-stop\n        QUnit.stop();\n      } else {\n        this.doneCallbacks.push(QUnit.config.current ? QUnit.config.current.assert.async() : null);\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 (isVeryOldQunit(QUnit)) {\n        QUnit.start();\n      } else {\n        let done = this.doneCallbacks.pop();\n        // This can be null if asyncStart() was called outside of a test\n        if (done) {\n          done();\n        }\n      }\n    },\n    exception(error) {\n      QUnit.config.current.assert.ok(false, (0, _debug.inspect)(error));\n    }\n  });\n  var _default = _exports.default = QUnitAdapter;\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\", \"@ember/debug\"], function (_application, _setup_for_testing, _helpers, _promise, _run, _on_inject_helpers, _adapter, _debug) {\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     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    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      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      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      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      this.reopen({\n        willDestroy() {\n          this._super(...arguments);\n          this.removeTestHelpers();\n        }\n      });\n      this.testHelpers = {};\n      for (let name in _helpers.helpers) {\n        // SAFETY: It is safe to access a property on an object\n        this.originalMethods[name] = this.helperContainer[name];\n        // SAFETY: It is not quite as safe to do this, but it _seems_ to be ok.\n        this.testHelpers[name] = this.helperContainer[name] = helper(this, name);\n        // SAFETY: We checked that it exists\n        protoWrap(_promise.default.prototype, name, helper(this, name), _helpers.helpers[name].meta.wait);\n      }\n      (0, _on_inject_helpers.invokeInjectHelpersCallbacks)(this);\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      for (let name in _helpers.helpers) {\n        this.helperContainer[name] = this.originalMethods[name];\n        // SAFETY: This is a weird thing, but it's not technically unsafe here.\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  function protoWrap(proto, name, callback, isAsync) {\n    // SAFETY: This isn't entirely safe, but it _seems_ to be ok.\n    proto[name] = function (...args) {\n      if (isAsync) {\n        return callback.apply(this, args);\n      } else {\n        // SAFETY: This is not actually safe.\n        return this.then(function () {\n          return callback.apply(this, args);\n        });\n      }\n    };\n  }\n  function helper(app, name) {\n    let helper = _helpers.helpers[name];\n    (true && !(helper) && (0, _debug.assert)(`[BUG] Missing helper: ${name}`, helper));\n    let fn = helper.method;\n    let meta = helper.meta;\n    if (!meta.wait) {\n      return (...args) => fn.apply(app, [app, ...args]);\n    }\n    return (...args) => {\n      let lastPromise = (0, _run.default)(() => (0, _promise.resolve)((0, _promise.getLastPromise)()));\n      // 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      (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\"], function (_exports, _runtime, _runloop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _runtime.RSVP.configure('async', function (callback, promise) {\n    // if schedule will cause autorun, we need to inform adapter\n    _runloop._backburner.schedule('actions', () => callback(promise));\n  });\n  var _default = _exports.default = _runtime.RSVP;\n});","define(\"ember-testing/lib/helpers\", [\"ember-testing/lib/test/helpers\", \"ember-testing/lib/helpers/and_then\", \"ember-testing/lib/helpers/current_path\", \"ember-testing/lib/helpers/current_route_name\", \"ember-testing/lib/helpers/current_url\", \"ember-testing/lib/helpers/pause_test\", \"ember-testing/lib/helpers/visit\", \"ember-testing/lib/helpers/wait\"], function (_helpers, _and_then, _current_path, _current_route_name, _current_url, _pause_test, _visit, _wait) {\n  \"use strict\";\n\n  (0, _helpers.registerAsyncHelper)('visit', _visit.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.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/and_then\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = andThen;\n  function andThen(app, callback) {\n    let wait = app.testHelpers['wait'];\n    (true && !(wait) && (0, _debug.assert)('[BUG] Missing wait helper', wait));\n    return wait(callback(app));\n  }\n});","define(\"ember-testing/lib/helpers/current_path\", [\"exports\", \"@ember/object\", \"@ember/routing/-internals\", \"@ember/debug\"], function (_exports, _object, _internals, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = currentPath;\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    (true && !(app.__container__) && (0, _debug.assert)('[BUG] app.__container__ is not set', app.__container__));\n    let routingService = app.__container__.lookup('service:-routing');\n    (true && !(routingService instanceof _internals.RoutingService) && (0, _debug.assert)('[BUG] service:-routing is not a RoutingService', routingService instanceof _internals.RoutingService));\n    return (0, _object.get)(routingService, 'currentPath');\n  }\n});","define(\"ember-testing/lib/helpers/current_route_name\", [\"exports\", \"@ember/object\", \"@ember/routing/-internals\", \"@ember/debug\"], function (_exports, _object, _internals, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = currentRouteName;\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    (true && !(app.__container__) && (0, _debug.assert)('[BUG] app.__container__ is not set', app.__container__));\n    let routingService = app.__container__.lookup('service:-routing');\n    (true && !(routingService instanceof _internals.RoutingService) && (0, _debug.assert)('[BUG] service:-routing is not a RoutingService', routingService instanceof _internals.RoutingService));\n    return (0, _object.get)(routingService, 'currentRouteName');\n  }\n});","define(\"ember-testing/lib/helpers/current_url\", [\"exports\", \"@ember/object\", \"@ember/debug\", \"@ember/routing/router\"], function (_exports, _object, _debug, _router) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = currentURL;\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    (true && !(app.__container__) && (0, _debug.assert)('[BUG] app.__container__ is not set', app.__container__));\n    let router = app.__container__.lookup('router:main');\n    (true && !(router instanceof _router.default) && (0, _debug.assert)('[BUG] router:main is not a Router', router instanceof _router.default));\n    let location = (0, _object.get)(router, 'location');\n    (true && !(typeof location !== 'string') && (0, _debug.assert)('[BUG] location is still a string', typeof location !== 'string'));\n    return location.getURL();\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.pauseTest = pauseTest;\n  _exports.resumeTest = resumeTest;\n  /**\n  @module ember\n  */\n\n  let resume;\n  /**\n   Resumes a test paused by `pauseTest`.\n  \n   @method resumeTest\n   @return {void}\n   @public\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  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/visit\", [\"exports\", \"@ember/debug\", \"@ember/routing/router\", \"@ember/runloop\"], function (_exports, _debug, _router, _runloop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = visit;\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    (true && !(app.__container__) && (0, _debug.assert)('[BUG] Missing container', app.__container__));\n    const router = app.__container__.lookup('router:main');\n    (true && !(router instanceof _router.default) && (0, _debug.assert)('[BUG] router:main is not a Router', router instanceof _router.default));\n    let shouldHandleURL = false;\n    app.boot().then(() => {\n      (true && !(typeof router.location !== 'string') && (0, _debug.assert)('[BUG] router.location is still a string', typeof router.location !== 'string'));\n      router.location.setURL(url);\n      if (shouldHandleURL) {\n        (true && !(app.__deprecatedInstance__) && (0, _debug.assert)(\"[BUG] __deprecatedInstance__ isn't set\", app.__deprecatedInstance__));\n        (0, _runloop.run)(app.__deprecatedInstance__, 'handleURL', url);\n      }\n    });\n    if (app._readinessDeferrals > 0) {\n      // SAFETY: This should be safe, though it is odd.\n      router.initialURL = url;\n      (0, _runloop.run)(app, 'advanceReadiness');\n      delete router.initialURL;\n    } else {\n      shouldHandleURL = true;\n    }\n    let wait = app.testHelpers['wait'];\n    (true && !(wait) && (0, _debug.assert)('[BUG] missing wait helper', wait));\n    return 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\", \"@ember/debug\", \"@ember/routing/router\"], function (_exports, _waiters, _runtime, _runloop, _pending_requests, _debug, _router) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = wait;\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      (true && !(app.__container__) && (0, _debug.assert)('[BUG] Missing container', app.__container__));\n      const router = app.__container__.lookup('router:main');\n      (true && !(router instanceof _router.default) && (0, _debug.assert)('[BUG] Expected router:main to be a subclass of Ember Router', router instanceof _router.default)); // Every 10ms, poll for the async thing to have finished\n      let watcher = setInterval(() => {\n        // 1. If the router is loading, keep polling\n        let routerIsLoading = router._routerMicrolib && Boolean(router._routerMicrolib.activeTransition);\n        if (routerIsLoading) {\n          return;\n        }\n        // 2. If there are pending Ajax requests, keep polling\n        if ((0, _pending_requests.pendingRequests)()) {\n          return;\n        }\n        // 3. If there are scheduled timers or we are inside of a run loop, keep polling\n        if ((0, _runloop._hasScheduledTimers)() || (0, _runloop._getCurrentRunLoop)()) {\n          return;\n        }\n        if ((0, _waiters.checkWaiters)()) {\n          return;\n        }\n        // Stop polling\n        clearInterval(watcher);\n        // Synchronously resolve the promise\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  let name = 'deferReadiness in `testing` mode';\n  (0, _application.onLoad)('Ember.Application', function (ApplicationClass) {\n    if (!ApplicationClass.initializers[name]) {\n      ApplicationClass.initializer({\n        name: name,\n        initialize(application) {\n          if (application.testing) {\n            application.deferReadiness();\n          }\n        }\n      });\n    }\n  });\n});","define(\"ember-testing/lib/public-api\", [\"exports\", \"ember-testing/lib/test\", \"ember-testing/lib/adapters/adapter\", \"ember-testing/lib/setup_for_testing\", \"ember-testing/lib/adapters/qunit\", \"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, _application, _rsvp, _helpers, _initializers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Adapter\", {\n    enumerable: true,\n    get: function () {\n      return _adapter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"QUnitAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _qunit.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Test\", {\n    enumerable: true,\n    get: function () {\n      return _test.default;\n    }\n  });\n  Object.defineProperty(_exports, \"setupForTesting\", {\n    enumerable: true,\n    get: function () {\n      return _setup_for_testing.default;\n    }\n  });\n});","define(\"ember-testing/lib/setup_for_testing\", [\"exports\", \"@ember/debug\", \"ember-testing/lib/test/adapter\", \"ember-testing/lib/adapters/adapter\", \"ember-testing/lib/adapters/qunit\"], function (_exports, _debug, _adapter, _adapter2, _qunit) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = setupForTesting;\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    let adapter = (0, _adapter.getAdapter)();\n    // if adapter is not manually set default to QUnit\n    if (!adapter) {\n      (0, _adapter.setAdapter)(typeof self.QUnit === 'undefined' ? _adapter2.default.create() : _qunit.default.create());\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    @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  const 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  Object.defineProperty(Test, 'adapter', {\n    get: _adapter.getAdapter,\n    set: _adapter.setAdapter\n  });\n  var _default = _exports.default = Test;\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.asyncEnd = asyncEnd;\n  _exports.asyncStart = asyncStart;\n  _exports.getAdapter = getAdapter;\n  _exports.setAdapter = setAdapter;\n  let adapter;\n  function getAdapter() {\n    return adapter;\n  }\n  function setAdapter(value) {\n    adapter = value;\n    if (value && typeof value.exception === 'function') {\n      (0, _errorHandling.setDispatchOverride)(adapterDispatch);\n    } else {\n      (0, _errorHandling.setDispatchOverride)(null);\n    }\n  }\n  function asyncStart() {\n    if (adapter) {\n      adapter.asyncStart();\n    }\n  }\n  function asyncEnd() {\n    if (adapter) {\n      adapter.asyncEnd();\n    }\n  }\n  function adapterDispatch(error) {\n    adapter.exception(error);\n    // @ts-expect-error Normally unreachable\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.helpers = void 0;\n  _exports.registerAsyncHelper = registerAsyncHelper;\n  _exports.registerHelper = registerHelper;\n  _exports.unregisterHelper = unregisterHelper;\n  const helpers = _exports.helpers = {};\n  /**\n   @module @ember/test\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  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  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  function unregisterHelper(name) {\n    delete helpers[name];\n    // SAFETY: This isn't necessarily a safe thing to do, but in terms of the immediate types here\n    // it won't error.\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.callbacks = void 0;\n  _exports.invokeInjectHelpersCallbacks = invokeInjectHelpersCallbacks;\n  _exports.onInjectHelpers = onInjectHelpers;\n  const callbacks = _exports.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  function onInjectHelpers(callback) {\n    callbacks.push(callback);\n  }\n  function invokeInjectHelpersCallbacks(app) {\n    for (let callback of callbacks) {\n      callback(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.clearPendingRequests = clearPendingRequests;\n  _exports.decrementPendingRequests = decrementPendingRequests;\n  _exports.incrementPendingRequests = incrementPendingRequests;\n  _exports.pendingRequests = pendingRequests;\n  let requests = [];\n  function pendingRequests() {\n    return requests.length;\n  }\n  function clearPendingRequests() {\n    requests.length = 0;\n  }\n  function incrementPendingRequests(_, xhr) {\n    requests.push(xhr);\n  }\n  function decrementPendingRequests(_, xhr) {\n    setTimeout(function () {\n      for (let 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.default = void 0;\n  _exports.getLastPromise = getLastPromise;\n  _exports.promise = promise;\n  _exports.resolve = resolve;\n  let lastPromise = null;\n  class TestPromise extends _runtime.RSVP.Promise {\n    constructor(executor, label) {\n      super(executor, label);\n      lastPromise = this;\n    }\n    then(onFulfilled, onRejected, label) {\n      let normalizedOnFulfilled = typeof onFulfilled === 'function' ? result => isolate(onFulfilled, result) : undefined;\n      return super.then(normalizedOnFulfilled, onRejected, label);\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  _exports.default = TestPromise;\n  function promise(resolver, label) {\n    let 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  function resolve(result, label) {\n    return TestPromise.resolve(result, label);\n  }\n  function getLastPromise() {\n    return lastPromise;\n  }\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  function isolate(onFulfilled, result) {\n    // Reset lastPromise for nested helpers\n    lastPromise = null;\n    let value = onFulfilled(result);\n    let promise = lastPromise;\n    lastPromise = null;\n    // If the method returned a promise\n    // return that promise. If not,\n    // return the last async helper's promise\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  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.checkWaiters = checkWaiters;\n  _exports.registerWaiter = registerWaiter;\n  _exports.unregisterWaiter = unregisterWaiter;\n  /**\n   @module @ember/test\n  */\n  const contexts = [];\n  const callbacks = [];\n  function registerWaiter(\n  // Formatting makes a pretty big difference in how readable this is.\n  // prettier-ignore\n  ...args) {\n    let checkedCallback;\n    let checkedContext;\n    if (args.length === 1) {\n      checkedContext = null;\n      checkedCallback = args[0];\n    } else {\n      checkedContext = args[0];\n      checkedCallback = args[1];\n    }\n    if (indexOf(checkedContext, checkedCallback) > -1) {\n      return;\n    }\n    contexts.push(checkedContext);\n    callbacks.push(checkedCallback);\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  function unregisterWaiter(context, callback) {\n    if (!callbacks.length) {\n      return;\n    }\n    if (arguments.length === 1) {\n      callback = context;\n      context = null;\n    }\n    let i = indexOf(context, callback);\n    if (i === -1) {\n      return;\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  function checkWaiters() {\n    if (!callbacks.length) {\n      return false;\n    }\n    for (let i = 0; i < callbacks.length; i++) {\n      let context = contexts[i];\n      let callback = callbacks[i];\n      // SAFETY: The loop ensures that this exists\n      if (!callback.call(context)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function indexOf(context, callback) {\n    for (let i = 0; i < callbacks.length; i++) {\n      if (callbacks[i] === callback && contexts[i] === context) {\n        return i;\n      }\n    }\n    return -1;\n  }\n});","define(\"ember/index\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/utils\", \"@ember/-internals/container\", \"@ember/instrumentation\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/canary-features\", \"@ember/debug\", \"backburner.js\", \"@ember/controller\", \"@ember/service\", \"@ember/object\", \"@ember/object/-internals\", \"@ember/object/compat\", \"@ember/object/computed\", \"@ember/object/events\", \"@ember/-internals/runtime\", \"@ember/-internals/glimmer\", \"ember/version\", \"@ember/-internals/views\", \"@ember/debug/container-debug-adapter\", \"@ember/debug/data-adapter\", \"@ember/runloop\", \"@ember/-internals/error-handling\", \"@ember/array\", \"@ember/array/mutable\", \"@ember/array/proxy\", \"@ember/application\", \"@ember/application/instance\", \"@ember/application/namespace\", \"@ember/component\", \"@ember/component/helper\", \"@ember/engine\", \"@ember/engine/instance\", \"@ember/enumerable\", \"@ember/enumerable/mutable\", \"@ember/object/core\", \"@ember/object/evented\", \"@ember/object/mixin\", \"@ember/object/observable\", \"@ember/object/observers\", \"@ember/object/proxy\", \"@ember/object/promise-proxy-mixin\", \"@ember/routing/hash-location\", \"@ember/routing/history-location\", \"@ember/routing/none-location\", \"@ember/routing/route\", \"@ember/routing/router\", \"@ember/routing/-internals\", \"@ember/utils\", \"@glimmer/runtime\", \"@glimmer/manager\", \"@ember/destroyable\", \"@ember/test\", \"@ember/template-compilation\"], function (_exports, _environment, utils, _container, instrumentation, _meta, metal, _canaryFeatures, _debug, _backburner, _controller, _service, _object, _internals, _compat, _computed, _events, _runtime, _glimmer, _version, views, _containerDebugAdapter, _dataAdapter, _runloop, _errorHandling, _array, _mutable, _proxy, _application, _instance, _namespace, _component, _helper, _engine, _instance2, _enumerable, _mutable2, _core, _evented, _mixin, _observable, _observers, _proxy2, _promiseProxyMixin, _hashLocation, _historyLocation, _noneLocation, _route, _router, _internals2, _utils2, glimmerRuntime, _manager, _destroyable, _test, templateCompilation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var EmberDebug = _debug;\n  /**\n  @module ember\n  */\n\n  // eslint-disable-next-line @typescript-eslint/no-namespace\n  var Ember;\n  (function (Ember) {\n    Ember.isNamespace = true;\n    function toString() {\n      return 'Ember';\n    }\n    Ember.toString = toString;\n    // ****@ember/-internals/container****\n    Ember.Container = _container.Container;\n    Ember.Registry = _container.Registry;\n    // ****@ember/-internals/glimmer****\n    // Partially re-exported from @glimmer/manager\n    Ember._setComponentManager = _glimmer.setComponentManager;\n    Ember._componentManagerCapabilities = _glimmer.componentCapabilities;\n    Ember._modifierManagerCapabilities = _glimmer.modifierCapabilities;\n    // ****@ember/-internals/meta****\n    Ember.meta = _meta.meta;\n    // ****@ember/-internals/metal****\n    Ember._createCache = metal.createCache; // Also @glimmer/validator\n    Ember._cacheGetValue = metal.getValue; // Also @glimmer/validator\n    Ember._cacheIsConst = metal.isConst; // Also @glimmer/validator\n    Ember._descriptor = metal.nativeDescDecorator;\n    Ember._getPath = metal._getPath;\n    Ember._setClassicDecorator = metal.setClassicDecorator;\n    Ember._tracked = metal.tracked; // Also exported from @glimmer/tracking\n    Ember.beginPropertyChanges = metal.beginPropertyChanges;\n    Ember.changeProperties = metal.changeProperties;\n    Ember.endPropertyChanges = metal.endPropertyChanges;\n    Ember.hasListeners = metal.hasListeners;\n    Ember.libraries = metal.libraries;\n    // ****@ember/-internals/runtime****\n    Ember._ContainerProxyMixin = _runtime.ContainerProxyMixin;\n    Ember._ProxyMixin = _runtime._ProxyMixin;\n    Ember._RegistryProxyMixin = _runtime.RegistryProxyMixin;\n    Ember.ActionHandler = _runtime.ActionHandler;\n    Ember.Comparable = _runtime.Comparable;\n    // This syntax is namespace-specific: `import` in a namespace is aliasing one\n    // namespace to another, while `export` marks the item public on the namespace\n    // (as with the rest of the exported items).\n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    Ember.RSVP = _runtime.RSVP;\n    // ****@ember/-internals/view****\n    Ember.ComponentLookup = views.ComponentLookup;\n    Ember.EventDispatcher = views.EventDispatcher;\n    // ****@ember/-internals/utils****\n    Ember._Cache = utils.Cache;\n    Ember.GUID_KEY = utils.GUID_KEY;\n    Ember.canInvoke = utils.canInvoke;\n    Ember.generateGuid = utils.generateGuid;\n    Ember.guidFor = utils.guidFor;\n    Ember.uuid = utils.uuid;\n    Ember.wrap = utils.wrap;\n    // ****@ember/application****\n    Ember.getOwner = _application.getOwner;\n    Ember.onLoad = _application.onLoad;\n    Ember.runLoadHooks = _application.runLoadHooks;\n    Ember.setOwner = _application.setOwner;\n    Ember.Application = _application.default;\n    // ****@ember/application/instance****\n    Ember.ApplicationInstance = _instance.default;\n    // // ****@ember/application/namespace****\n    Ember.Namespace = _namespace.default;\n    // ****@ember/array****\n    Ember.A = _array.A;\n    Ember.Array = _array.default;\n    Ember.NativeArray = _array.NativeArray;\n    Ember.isArray = _array.isArray;\n    Ember.makeArray = _array.makeArray;\n    // ****@ember/array/mutable****\n    Ember.MutableArray = _mutable.default;\n    // ****@ember/array/proxy****\n    Ember.ArrayProxy = _proxy.default;\n    // ****@ember/canary-features****\n    Ember.FEATURES = {\n      isEnabled: _canaryFeatures.isEnabled,\n      ..._canaryFeatures.FEATURES\n    };\n    // ****@ember/component****\n    Ember._Input = _component.Input;\n    Ember.Component = _component.default;\n    // // ****@ember/component/helper****\n    Ember.Helper = _helper.default;\n    // ****@ember/controller****\n    Ember.Controller = _controller.default;\n    Ember.ControllerMixin = _controller.ControllerMixin;\n    // ****@ember/debug****\n    Ember._captureRenderTree = _debug.captureRenderTree;\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;\n    Ember.inspect = EmberDebug.inspect;\n    Ember.Debug = {\n      registerDeprecationHandler: EmberDebug.registerDeprecationHandler,\n      registerWarnHandler: EmberDebug.registerWarnHandler,\n      // ****@ember/-internals/metal****\n      isComputed: metal.isComputed\n    };\n    // ****@ember/debug/container-debug-adapter****\n    Ember.ContainerDebugAdapter = _containerDebugAdapter.default;\n    // ****@ember/debug/data-adapter****\n    Ember.DataAdapter = _dataAdapter.default;\n    // ****@ember/destroyable****\n    Ember._assertDestroyablesDestroyed = _destroyable.assertDestroyablesDestroyed;\n    Ember._associateDestroyableChild = _destroyable.associateDestroyableChild;\n    Ember._enableDestroyableTracking = _destroyable.enableDestroyableTracking;\n    Ember._isDestroying = _destroyable.isDestroying;\n    Ember._isDestroyed = _destroyable.isDestroyed;\n    Ember._registerDestructor = _destroyable.registerDestructor;\n    Ember._unregisterDestructor = _destroyable.unregisterDestructor;\n    Ember.destroy = _destroyable.destroy;\n    // ****@ember/engine****\n    Ember.Engine = _engine.default;\n    // ****@ember/engine/instance****\n    Ember.EngineInstance = _instance2.default;\n    // ****@ember/enumerable****\n    Ember.Enumerable = _enumerable.default;\n    // ****@ember/enumerable/mutable****\n    Ember.MutableEnumerable = _mutable2.default;\n    // ****@ember/instrumentation****\n    /** @private */\n    Ember.instrument = instrumentation.instrument;\n    /** @private */\n    Ember.subscribe = instrumentation.subscribe;\n    /** @private */\n    Ember.Instrumentation = {\n      instrument: instrumentation.instrument,\n      subscribe: instrumentation.subscribe,\n      unsubscribe: instrumentation.unsubscribe,\n      reset: instrumentation.reset\n    };\n    // ****@ember/object****\n    Ember.Object = _object.default;\n    Ember._action = _object.action;\n    Ember.computed = _object.computed;\n    Ember.defineProperty = _object.defineProperty;\n    Ember.get = _object.get;\n    Ember.getProperties = _object.getProperties;\n    Ember.notifyPropertyChange = _object.notifyPropertyChange;\n    Ember.observer = _object.observer;\n    Ember.set = _object.set;\n    Ember.trySet = _object.trySet;\n    Ember.setProperties = _object.setProperties;\n    // ****@ember/object/-internals****\n    Ember.cacheFor = _internals.cacheFor;\n    // ****@ember/object/compat****\n    Ember._dependentKeyCompat = _compat.dependentKeyCompat;\n    // ****@ember/object/computed****\n    Ember.ComputedProperty = _computed.default;\n    Ember.expandProperties = _computed.expandProperties;\n    // ****@ember/object/core****\n    Ember.CoreObject = _core.default;\n    // ****@ember/object/evented****\n    Ember.Evented = _evented.default;\n    Ember.on = _evented.on;\n    // ****@ember/object/events****\n    Ember.addListener = _events.addListener;\n    Ember.removeListener = _events.removeListener;\n    Ember.sendEvent = _events.sendEvent;\n    // ****@ember/object/mixin****\n    Ember.Mixin = _mixin.default;\n    Ember.mixin = _mixin.mixin;\n    // ****@ember/object/observable****\n    Ember.Observable = _observable.default;\n    // ****@ember/object/observers****\n    Ember.addObserver = _observers.addObserver;\n    Ember.removeObserver = _observers.removeObserver;\n    // ****@ember/object/promise-proxy-mixin****\n    Ember.PromiseProxyMixin = _promiseProxyMixin.default;\n    // ****@ember/object/proxy****\n    Ember.ObjectProxy = _proxy2.default;\n    // ****@ember/routing/-internals****\n    Ember.RouterDSL = _internals2.DSL;\n    Ember.controllerFor = _internals2.controllerFor;\n    Ember.generateController = _internals2.generateController;\n    Ember.generateControllerFactory = _internals2.generateControllerFactory;\n    // ****@ember/routing/hash-location****\n    Ember.HashLocation = _hashLocation.default;\n    // ****@ember/routing/history-location****\n    Ember.HistoryLocation = _historyLocation.default;\n    // ****@ember/routing/none-location****\n    Ember.NoneLocation = _noneLocation.default;\n    // ****@ember/routing/route****\n    Ember.Route = _route.default;\n    // ****@ember/routing/router****\n    Ember.Router = _router.default;\n    // // ****@ember/runloop****\n    Ember.run = _runloop.run;\n    // // ****@ember/service****\n    Ember.Service = _service.default;\n    // ****@ember/utils****\n    Ember.compare = _utils2.compare;\n    Ember.isBlank = _utils2.isBlank;\n    Ember.isEmpty = _utils2.isEmpty;\n    Ember.isEqual = _utils2.isEqual;\n    Ember.isNone = _utils2.isNone;\n    Ember.isPresent = _utils2.isPresent;\n    Ember.typeOf = _utils2.typeOf;\n    // ****@ember/version****\n    /**\n      The semantic version\n         @property VERSION\n      @type String\n      @public\n    */\n    Ember.VERSION = _version.default;\n    Ember.ViewUtils = {\n      // ****@ember/-internals/views****\n      getChildViews: views.getChildViews,\n      getElementView: views.getElementView,\n      getRootViews: views.getRootViews,\n      getViewBounds: views.getViewBounds,\n      getViewBoundingClientRect: views.getViewBoundingClientRect,\n      getViewClientRects: views.getViewClientRects,\n      getViewElement: views.getViewElement,\n      isSimpleClick: views.isSimpleClick,\n      // ****@ember/-internals/glimmer****\n      isSerializationFirstNode: _glimmer.isSerializationFirstNode\n    };\n    // ****@glimmer/manager****\n    Ember._getComponentTemplate = _manager.getComponentTemplate;\n    Ember._helperManagerCapabilities = _manager.helperCapabilities;\n    Ember._setComponentTemplate = _manager.setComponentTemplate;\n    Ember._setHelperManager = _manager.setHelperManager;\n    Ember._setModifierManager = _manager.setModifierManager;\n    // ****@glimmer/runtime****\n    Ember._templateOnlyComponent = glimmerRuntime.templateOnlyComponent;\n    Ember._invokeHelper = glimmerRuntime.invokeHelper;\n    Ember._hash = glimmerRuntime.hash;\n    Ember._array = glimmerRuntime.array;\n    Ember._concat = glimmerRuntime.concat;\n    Ember._get = glimmerRuntime.get;\n    Ember._on = glimmerRuntime.on;\n    Ember._fn = glimmerRuntime.fn;\n    // Backburner\n    Ember._Backburner = _backburner.default;\n    // // ****@ember/controller, @ember/service****\n    /**\n      Namespace for injection helper methods.\n         @class inject\n      @namespace Ember\n      @static\n      @public\n    */\n    function inject() {\n      // uses `globalThis` to avoid clobbering with `Ember.Object` in TS namespace\n      (true && !(false) && (0, _debug.assert)(`Injected properties must be created through helpers, see '${globalThis.Object.keys(inject).map(k => `'inject.${k}'`).join(' or ')}'`));\n    }\n    Ember.inject = inject;\n    // ****@ember/controller****\n    inject.controller = _controller.inject;\n    // ****@ember/service****\n    inject.service = _service.service;\n    Ember.__loader = {\n      get require() {\n        return globalThis.require;\n      },\n      get define() {\n        return globalThis.define;\n      },\n      get registry() {\n        let g = globalThis;\n        return g.requirejs?.entries ?? g.require.entries;\n      }\n    };\n  })(Ember || (Ember = {}));\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  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  Object.defineProperty(Ember, 'BOOTED', {\n    configurable: false,\n    enumerable: false,\n    get: metal.isNamespaceSearchDisabled,\n    set: metal.setNamespaceSearchDisabled\n  });\n  Object.defineProperty(Ember, 'TEMPLATES', {\n    get: _glimmer.getTemplates,\n    set: _glimmer.setTemplates,\n    configurable: false,\n    enumerable: false\n  });\n  Object.defineProperty(Ember, 'TEMPLATES', {\n    get: _glimmer.getTemplates,\n    set: _glimmer.setTemplates,\n    configurable: false,\n    enumerable: false\n  });\n  // ****@ember/debug****\n  Object.defineProperty(Ember, 'testing', {\n    get: EmberDebug.isTesting,\n    set: EmberDebug.setTesting,\n    enumerable: false\n  });\n  (0, _application.runLoadHooks)('Ember.Application', _application.default);\n  let EmberHandlebars = {\n    template: _glimmer.template,\n    Utils: {\n      escapeExpression: _glimmer.escapeExpression\n    }\n  };\n  let EmberHTMLBars = {\n    template: _glimmer.template\n  };\n  function defineEmberTemplateCompilerLazyLoad(key) {\n    Object.defineProperty(Ember, key, {\n      configurable: true,\n      enumerable: true,\n      get() {\n        if (templateCompilation.__emberTemplateCompiler) {\n          EmberHTMLBars.precompile = EmberHandlebars.precompile = templateCompilation.__emberTemplateCompiler.precompile;\n          EmberHTMLBars.compile = EmberHandlebars.compile = templateCompilation.compileTemplate;\n          Object.defineProperty(Ember, 'HTMLBars', {\n            configurable: true,\n            writable: true,\n            enumerable: true,\n            value: EmberHTMLBars\n          });\n          Object.defineProperty(Ember, 'Handlebars', {\n            configurable: true,\n            writable: true,\n            enumerable: true,\n            value: EmberHandlebars\n          });\n        }\n        return key === 'Handlebars' ? EmberHandlebars : EmberHTMLBars;\n      }\n    });\n  }\n  defineEmberTemplateCompilerLazyLoad('HTMLBars');\n  defineEmberTemplateCompilerLazyLoad('Handlebars');\n  // do this to ensure that Ember.Test is defined properly on the global\n  // if it is present.\n  function defineEmberTestingLazyLoad(key) {\n    Object.defineProperty(Ember, key, {\n      configurable: true,\n      enumerable: true,\n      get() {\n        if (_test._impl) {\n          let {\n            Test,\n            Adapter,\n            QUnitAdapter,\n            setupForTesting\n          } = _test._impl;\n          // @ts-expect-error We should not do this\n          Test.Adapter = Adapter;\n          // @ts-expect-error We should not do this\n          Test.QUnitAdapter = QUnitAdapter;\n          Object.defineProperty(Ember, 'Test', {\n            configurable: true,\n            writable: true,\n            enumerable: true,\n            value: Test\n          });\n          Object.defineProperty(Ember, 'setupForTesting', {\n            configurable: true,\n            writable: true,\n            enumerable: true,\n            value: setupForTesting\n          });\n          return key === 'Test' ? Test : setupForTesting;\n        }\n        return undefined;\n      }\n    });\n  }\n  defineEmberTestingLazyLoad('Test');\n  defineEmberTestingLazyLoad('setupForTesting');\n  // @ts-expect-error Per types, runLoadHooks requires a second parameter. Should we loosen types?\n  (0, _application.runLoadHooks)('Ember');\n  var _default = _exports.default = Ember;\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 = _exports.default = \"5.8.0\";\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  function createMap() {\n    var map = createObject(null);\n    map[\"__\"] = undefined;\n    delete map[\"__\"];\n    return map;\n  }\n  var Target = function Target(path, matcher, delegate) {\n    this.path = path;\n    this.matcher = matcher;\n    this.delegate = delegate;\n  };\n  Target.prototype.to = function to(target, callback) {\n    var delegate = this.delegate;\n    if (delegate && delegate.willAddRoute) {\n      target = delegate.willAddRoute(this.matcher.target, target);\n    }\n    this.matcher.add(this.path, target);\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      this.matcher.addChild(this.path, target, callback, this.delegate);\n    }\n  };\n  var Matcher = function Matcher(target) {\n    this.routes = createMap();\n    this.children = createMap();\n    this.target = target;\n  };\n  Matcher.prototype.add = function add(path, target) {\n    this.routes[path] = target;\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    if (delegate && delegate.contextEntered) {\n      delegate.contextEntered(target, match);\n    }\n    callback(match);\n  };\n  function generateMatch(startingPath, matcher, delegate) {\n    function match(path, callback) {\n      var fullPath = startingPath + path;\n      if (callback) {\n        callback(generateMatch(fullPath, matcher, delegate));\n      } else {\n        return new Target(fullPath, matcher, delegate);\n      }\n    }\n    return match;\n  }\n  function addRoute(routeArray, path, handler) {\n    var len = 0;\n    for (var i = 0; i < routeArray.length; i++) {\n      len += routeArray[i].path.length;\n    }\n    path = path.substr(len);\n    var route = {\n      path: path,\n      handler: handler\n    };\n    routeArray.push(route);\n  }\n  function eachRoute(baseRoute, matcher, callback, binding) {\n    var routes = matcher.routes;\n    var paths = Object.keys(routes);\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      if (nested) {\n        eachRoute(routeArray, nested, callback, binding);\n      } else {\n        callback.call(binding, routeArray);\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  };\n\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  function normalizePath(path) {\n    return path.split(\"/\").map(normalizeSegment).join(\"/\");\n  }\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  var SEGMENT_RESERVED_CHARS = /%|\\//g;\n  function normalizeSegment(segment) {\n    if (segment.length < 3 || segment.indexOf(\"%\") === -1) {\n      return segment;\n    }\n    return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS, encodeURIComponent);\n  }\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  var PATH_SEGMENT_ENCODINGS = /%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;\n  function encodePathSegment(str) {\n    return encodeURIComponent(str).replace(PATH_SEGMENT_ENCODINGS, decodeURIComponent);\n  }\n  var escapeRegex = /(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\)/g;\n  var isArray = Array.isArray;\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\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    if (!hasOwnProperty.call(params, key)) {\n      throw new Error(\"You must provide param `\" + key + \"` to `generate`.\");\n    }\n    var value = params[key];\n    var str = typeof value === \"string\" ? value : \"\" + value;\n    if (str.length === 0) {\n      throw new Error(\"You must provide a param `\" + key + \"`.\");\n    }\n    return str;\n  }\n  var eachChar = [];\n  eachChar[0 /* Static */] = function (segment, currentState) {\n    var state = currentState;\n    var value = segment.value;\n    for (var i = 0; i < value.length; i++) {\n      var ch = value.charCodeAt(i);\n      state = state.put(ch, false, false);\n    }\n    return state;\n  };\n  eachChar[1 /* Dynamic */] = function (_, currentState) {\n    return currentState.put(47 /* SLASH */, true, true);\n  };\n  eachChar[2 /* Star */] = function (_, currentState) {\n    return currentState.put(-1 /* ANY */, false, true);\n  };\n  eachChar[4 /* Epsilon */] = function (_, currentState) {\n    return currentState;\n  };\n  var regex = [];\n  regex[0 /* Static */] = function (segment) {\n    return segment.value.replace(escapeRegex, \"\\\\$1\");\n  };\n  regex[1 /* Dynamic */] = function () {\n    return \"([^/]+)\";\n  };\n  regex[2 /* Star */] = function () {\n    return \"(.+)\";\n  };\n  regex[4 /* Epsilon */] = function () {\n    return \"\";\n  };\n  var generate = [];\n  generate[0 /* Static */] = function (segment) {\n    return segment.value;\n  };\n  generate[1 /* Dynamic */] = function (segment, params) {\n    var value = getParam(params, segment.value);\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n      return encodePathSegment(value);\n    } else {\n      return value;\n    }\n  };\n  generate[2 /* Star */] = function (segment, params) {\n    return getParam(params, segment.value);\n  };\n  generate[4 /* Epsilon */] = function () {\n    return \"\";\n  };\n  var EmptyObject = Object.freeze({});\n  var EmptyArray = Object.freeze([]);\n  // 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  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 /* SLASH */) {\n      route = route.substr(1);\n    }\n    var parts = route.split(\"/\");\n    var names = undefined;\n    var shouldDecodes = undefined;\n    for (var i = 0; i < parts.length; i++) {\n      var part = parts[i];\n      var flags = 0;\n      var type = 0;\n      if (part === \"\") {\n        type = 4 /* Epsilon */;\n      } else if (part.charCodeAt(0) === 58 /* COLON */) {\n        type = 1 /* Dynamic */;\n      } else if (part.charCodeAt(0) === 42 /* STAR */) {\n        type = 2 /* Star */;\n      } else {\n        type = 0 /* Static */;\n      }\n\n      flags = 2 << type;\n      if (flags & 12 /* Named */) {\n        part = part.slice(1);\n        names = names || [];\n        names.push(part);\n        shouldDecodes = shouldDecodes || [];\n        shouldDecodes.push((flags & 4 /* Decoded */) !== 0);\n      }\n      if (flags & 14 /* Counted */) {\n        types[type]++;\n      }\n      segments.push({\n        type: type,\n        value: normalizeSegment(part)\n      });\n    }\n    return {\n      names: names || EmptyArray,\n      shouldDecodes: shouldDecodes || EmptyArray\n    };\n  }\n  function isEqualCharSpec(spec, char, negate) {\n    return spec.char === char && spec.negate === negate;\n  }\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  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  State.prototype.regex = function regex$1() {\n    if (!this._regex) {\n      this._regex = new RegExp(this.pattern);\n    }\n    return this._regex;\n  };\n  State.prototype.get = function get(char, negate) {\n    var this$1 = this;\n    var nextStates = this.nextStates;\n    if (nextStates === null) {\n      return;\n    }\n    if (isArray(nextStates)) {\n      for (var i = 0; i < nextStates.length; i++) {\n        var child = this$1.states[nextStates[i]];\n        if (isEqualCharSpec(child, char, negate)) {\n          return child;\n        }\n      }\n    } else {\n      var child$1 = this.states[nextStates];\n      if (isEqualCharSpec(child$1, char, negate)) {\n        return child$1;\n      }\n    }\n  };\n  State.prototype.put = function put(char, negate, repeat) {\n    var state;\n    // If the character specification already exists in a child of the current\n    // state, just return that state.\n    if (state = this.get(char, negate)) {\n      return state;\n    }\n    // Make a new state for the character spec\n    var states = this.states;\n    state = new State(states, states.length, char, negate, repeat);\n    states[states.length] = state;\n    // Insert the new state as a child of the current state\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    }\n    // Return the new state\n    return state;\n  };\n  // Find a list of child states matching the next character\n  State.prototype.match = function match(ch) {\n    var this$1 = this;\n    var nextStates = this.nextStates;\n    if (!nextStates) {\n      return [];\n    }\n    var returned = [];\n    if (isArray(nextStates)) {\n      for (var i = 0; i < nextStates.length; i++) {\n        var child = this$1.states[nextStates[i]];\n        if (isMatch(child, ch)) {\n          returned.push(child);\n        }\n      }\n    } else {\n      var child$1 = this.states[nextStates];\n      if (isMatch(child$1, ch)) {\n        returned.push(child$1);\n      }\n    }\n    return returned;\n  };\n  function isMatch(spec, char) {\n    return spec.negate ? spec.char !== char && spec.char !== -1 /* ANY */ : spec.char === char || spec.char === -1 /* 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  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      if (astars !== bstars) {\n        return astars - bstars;\n      }\n      if (astars) {\n        if (astatics !== bstatics) {\n          return bstatics - astatics;\n        }\n        if (adynamics !== bdynamics) {\n          return bdynamics - adynamics;\n        }\n      }\n      if (adynamics !== bdynamics) {\n        return adynamics - bdynamics;\n      }\n      if (astatics !== bstatics) {\n        return bstatics - astatics;\n      }\n      return 0;\n    });\n  }\n  function recognizeChar(states, ch) {\n    var nextStates = [];\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    return nextStates;\n  }\n  var RecognizeResults = function RecognizeResults(queryParams) {\n    this.length = 0;\n    this.queryParams = queryParams || {};\n  };\n  RecognizeResults.prototype.splice = Array.prototype.splice;\n  RecognizeResults.prototype.slice = Array.prototype.slice;\n  RecognizeResults.prototype.push = Array.prototype.push;\n  function findHandler(state, originalPath, queryParams) {\n    var handlers = state.handlers;\n    var regex = state.regex();\n    if (!regex || !handlers) {\n      throw new Error(\"state not initialized\");\n    }\n    var captures = originalPath.match(regex);\n    var currentCapture = 1;\n    var result = new RecognizeResults(queryParams);\n    result.length = handlers.length;\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      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          if (params === EmptyObject) {\n            params = {};\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      result[i] = {\n        handler: handler.handler,\n        params: params,\n        isDynamic: isDynamic\n      };\n    }\n    return result;\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    try {\n      result = decodeURIComponent(part);\n    } catch (error) {\n      result = \"\";\n    }\n    return result;\n  }\n  var RouteRecognizer = function RouteRecognizer() {\n    this.names = createMap();\n    var states = [];\n    var state = new State(states, 0, -1 /* ANY */, true, false);\n    states[0] = state;\n    this.states = states;\n    this.rootState = state;\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    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;\n      // preserve j so it points to the start of newly added segments\n      for (; j < allSegments.length; j++) {\n        var segment = allSegments[j];\n        if (segment.type === 4 /* Epsilon */) {\n          continue;\n        }\n        isEmpty = false;\n        // Add a \"/\" for the new segment\n        currentState = currentState.put(47 /* SLASH */, false, false);\n        pattern += \"/\";\n        // Add a representation of the segment to the NFA and regex\n        currentState = eachChar[segment.type](segment, currentState);\n        pattern += regex[segment.type](segment);\n      }\n      handlers[i] = {\n        handler: route.handler,\n        names: names,\n        shouldDecodes: shouldDecodes\n      };\n    }\n    if (isEmpty) {\n      currentState = currentState.put(47 /* SLASH */, false, false);\n      pattern += \"/\";\n    }\n    currentState.handlers = handlers;\n    currentState.pattern = pattern + \"$\";\n    currentState.types = types;\n    var name;\n    if (typeof options === \"object\" && options !== null && options.as) {\n      name = options.as;\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  RouteRecognizer.prototype.handlersFor = function handlersFor(name) {\n    var route = this.names[name];\n    if (!route) {\n      throw new Error(\"There is no route named \" + name);\n    }\n    var result = new Array(route.handlers.length);\n    for (var i = 0; i < route.handlers.length; i++) {\n      var handler = route.handlers[i];\n      result[i] = handler;\n    }\n    return result;\n  };\n  RouteRecognizer.prototype.hasRoute = function hasRoute(name) {\n    return !!this.names[name];\n  };\n  RouteRecognizer.prototype.generate = function generate$1(name, params) {\n    var route = this.names[name];\n    var output = \"\";\n    if (!route) {\n      throw new Error(\"There is no route named \" + name);\n    }\n    var segments = route.segments;\n    for (var i = 0; i < segments.length; i++) {\n      var segment = segments[i];\n      if (segment.type === 4 /* Epsilon */) {\n        continue;\n      }\n      output += \"/\";\n      output += generate[segment.type](segment, params);\n    }\n    if (output.charAt(0) !== \"/\") {\n      output = \"/\" + output;\n    }\n    if (params && params.queryParams) {\n      output += this.generateQueryString(params.queryParams);\n    }\n    return output;\n  };\n  RouteRecognizer.prototype.generateQueryString = function generateQueryString(params) {\n    var pairs = [];\n    var keys = Object.keys(params);\n    keys.sort();\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = params[key];\n      if (value == null) {\n        continue;\n      }\n      var pair = encodeURIComponent(key);\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    if (pairs.length === 0) {\n      return \"\";\n    }\n    return \"?\" + pairs.join(\"&\");\n  };\n  RouteRecognizer.prototype.parseQueryString = function parseQueryString(queryString) {\n    var pairs = queryString.split(\"&\");\n    var queryParams = {};\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      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          if (!queryParams[key]) {\n            queryParams[key] = [];\n          }\n        }\n        value = pair[1] ? decodeQueryParamPart(pair[1]) : \"\";\n      }\n      if (isArray) {\n        queryParams[key].push(value);\n      } else {\n        queryParams[key] = value;\n      }\n    }\n    return queryParams;\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    if (hashStart !== -1) {\n      path = path.substr(0, hashStart);\n    }\n    var queryStart = path.indexOf(\"?\");\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    if (path.charAt(0) !== \"/\") {\n      path = \"/\" + path;\n    }\n    var originalPath = path;\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n      path = normalizePath(path);\n    } else {\n      path = decodeURI(path);\n      originalPath = decodeURI(originalPath);\n    }\n    var pathLen = path.length;\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    for (var i = 0; i < path.length; i++) {\n      states = recognizeChar(states, path.charCodeAt(i));\n      if (!states.length) {\n        break;\n      }\n    }\n    var solutions = [];\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    states = sortSolutions(solutions);\n    var state = solutions[0];\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      results = findHandler(state, originalPath, queryParams);\n    }\n    return results;\n  };\n  RouteRecognizer.VERSION = \"0.3.4\";\n  // Set to false to opt-out of encoding and decoding path segments.\n  // See https://github.com/tildeio/route-recognizer/pull/55\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 = _exports.default = RouteRecognizer;\n});","define(\"router_js\", [\"exports\", \"route-recognizer\", \"rsvp\"], function (_exports, _routeRecognizer, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.TransitionState = _exports.TransitionError = _exports.STATE_SYMBOL = _exports.QUERY_PARAMS_SYMBOL = _exports.PARAMS_SYMBOL = _exports.InternalTransition = _exports.InternalRouteInfo = void 0;\n  _exports.logAbort = logAbort;\n  function buildTransitionAborted() {\n    let error = new Error('TransitionAborted');\n    error.name = 'TransitionAborted';\n    error.code = 'TRANSITION_ABORTED';\n    return error;\n  }\n  function isTransitionAborted(maybeError) {\n    return typeof maybeError === 'object' && maybeError !== null && maybeError.code === 'TRANSITION_ABORTED';\n  }\n  function isAbortable(maybeAbortable) {\n    return typeof maybeAbortable === 'object' && maybeAbortable !== null && typeof maybeAbortable.isAborted === 'boolean';\n  }\n  function throwIfAborted(maybe) {\n    if (isAbortable(maybe) && maybe.isAborted) {\n      throw buildTransitionAborted();\n    }\n  }\n  const slice = Array.prototype.slice;\n  const hasOwnProperty = Object.prototype.hasOwnProperty;\n  /**\n    Determines if an object is Promise by checking if it is \"thenable\".\n  **/\n  function isPromise(p) {\n    return p !== null && typeof p === 'object' && typeof p.then === 'function';\n  }\n  function merge(hash, other) {\n    for (let 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  function extractQueryParams(array) {\n    let len = array && array.length,\n      head,\n      queryParams;\n    if (len && len > 0) {\n      let obj = array[len - 1];\n      if (isQueryParamsContainer(obj)) {\n        queryParams = obj.queryParams;\n        head = slice.call(array, 0, len - 1);\n        return [head, queryParams];\n      }\n    }\n    // SAFETY: We confirmed that the last item isn't a QP container\n    return [array, null];\n  }\n  // TODO: Actually check that Dict is QueryParams\n  function isQueryParamsContainer(obj) {\n    if (obj && typeof obj === 'object') {\n      let cast = obj;\n      return 'queryParams' in cast && Object.keys(cast.queryParams).every(k => typeof k === 'string');\n    }\n    return false;\n  }\n  /**\n    @private\n  \n    Coerces query param properties and array elements into strings.\n  **/\n  function coerceQueryParamsToString(queryParams) {\n    for (let key in queryParams) {\n      let val = queryParams[key];\n      if (typeof val === 'number') {\n        queryParams[key] = '' + val;\n      } else if (Array.isArray(val)) {\n        for (let i = 0, l = val.length; i < l; i++) {\n          val[i] = '' + val[i];\n        }\n      }\n    }\n  }\n  /**\n    @private\n   */\n  function log(router, ...args) {\n    if (!router.log) {\n      return;\n    }\n    if (args.length === 2) {\n      let [sequence, msg] = args;\n      router.log('Transition #' + sequence + ': ' + msg);\n    } else {\n      let [msg] = args;\n      router.log(msg);\n    }\n  }\n  function isParam(object) {\n    return typeof object === 'string' || object instanceof String || typeof object === 'number' || object instanceof Number;\n  }\n  function forEach(array, callback) {\n    for (let i = 0, l = array.length; i < l && callback(array[i]) !== false; i++) {\n      // empty intentionally\n    }\n  }\n  function getChangelist(oldObject, newObject) {\n    let key;\n    let results = {\n      all: {},\n      changed: {},\n      removed: {}\n    };\n    merge(results.all, newObject);\n    let didChange = false;\n    coerceQueryParamsToString(oldObject);\n    coerceQueryParamsToString(newObject);\n    // Calculate removals\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    }\n    // Calculate changes\n    for (key in newObject) {\n      if (hasOwnProperty.call(newObject, key)) {\n        let oldElement = oldObject[key];\n        let newElement = newObject[key];\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 (let 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    return didChange ? results : undefined;\n  }\n  function isArray(obj) {\n    return Array.isArray(obj);\n  }\n  function promiseLabel(label) {\n    return 'Router: ' + label;\n  }\n  const STATE_SYMBOL = _exports.STATE_SYMBOL = `__STATE__-2619860001345920-3322w3`;\n  const PARAMS_SYMBOL = _exports.PARAMS_SYMBOL = `__PARAMS__-261986232992830203-23323`;\n  const QUERY_PARAMS_SYMBOL = _exports.QUERY_PARAMS_SYMBOL = `__QPS__-2619863929824844-32323`;\n  /**\n    A Transition is a thenable (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  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.isIntermediate = false;\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      if (true /* DEBUG */) {\n        let error = new Error(`Transition creation stack`);\n        this.debugCreationStack = () => error.stack;\n        // not aborted yet, will be replaced when `this.isAborted` is set\n        this.debugAbortStack = () => undefined;\n        this.debugPreviousTransition = previousTransition;\n      }\n      if (error) {\n        this.promise = _rsvp.Promise.reject(error);\n        this.error = error;\n        return;\n      }\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      this.isCausedByAbortingTransition = !!previousTransition;\n      this.isCausedByInitialTransition = !!previousTransition && (previousTransition.isCausedByInitialTransition || previousTransition.sequence === 0);\n      // Every transition in the chain is a replace\n      this.isCausedByAbortingReplaceTransition = !!previousTransition && previousTransition.urlMethod === 'replace' && (!previousTransition.isCausedByAbortingTransition || previousTransition.isCausedByAbortingReplaceTransition);\n      if (state) {\n        this[PARAMS_SYMBOL] = state.params;\n        this[QUERY_PARAMS_SYMBOL] = state.queryParams;\n        this.routeInfos = state.routeInfos;\n        let len = state.routeInfos.length;\n        if (len) {\n          this.targetName = state.routeInfos[len - 1].name;\n        }\n        for (let i = 0; i < len; ++i) {\n          let handlerInfo = state.routeInfos[i];\n          // TODO: this all seems hacky\n          if (!handlerInfo.isResolved) {\n            break;\n          }\n          this.pivotHandler = handlerInfo.route;\n        }\n        this.sequence = router.currentSequence++;\n        this.promise = state.resolve(this).catch(result => {\n          let error = this.router.transitionDidError(result, this);\n          throw error;\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      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      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 thenable,\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    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    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 thenable,\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    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    abort() {\n      this.rollback();\n      let 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    rollback() {\n      if (!this.isAborted) {\n        log(this.router, this.sequence, this.targetName + ': transition was aborted');\n        if (true /* DEBUG */) {\n          let error = new Error(`Transition aborted stack`);\n          this.debugAbortStack = () => error.stack;\n        }\n        if (this.intent !== undefined && this.intent !== null) {\n          this.intent.preTransitionState = this.router.state;\n        }\n        this.isAborted = true;\n        this.isActive = false;\n        this.router.activeTransition = undefined;\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    retry() {\n      // TODO: add tests for merged state retry()s\n      this.abort();\n      let newTransition = this.router.transitionByIntent(this.intent, false);\n      // 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      if (this.urlMethod !== null) {\n        newTransition.method(this.urlMethod);\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    method(method) {\n      this.urlMethod = method;\n      return this;\n    }\n    // Alias 'trigger' as 'send'\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    trigger(ignoreFailure = false, name, ...args) {\n      // TODO: Deprecate the current signature\n      if (typeof ignoreFailure === 'string') {\n        name = ignoreFailure;\n        ignoreFailure = false;\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    followRedirects() {\n      let router = this.router;\n      return this.promise.catch(function (reason) {\n        if (router.activeTransition) {\n          return router.activeTransition.followRedirects();\n        }\n        return _rsvp.Promise.reject(reason);\n      });\n    }\n    toString() {\n      return 'Transition (sequence ' + this.sequence + ')';\n    }\n    /**\n      @private\n     */\n    log(message) {\n      log(this.router, this.sequence, message);\n    }\n  }\n  /**\n    @private\n  \n    Logs and returns an instance of TransitionAborted.\n   */\n  _exports.InternalTransition = Transition;\n  function logAbort(transition) {\n    log(transition.router, transition.sequence, 'detected abort.');\n    return buildTransitionAborted();\n  }\n  function isTransition(obj) {\n    return typeof obj === 'object' && obj instanceof Transition && obj.isTransition;\n  }\n  function prepareResult(obj) {\n    if (isTransition(obj)) {\n      return null;\n    }\n    return obj;\n  }\n  let ROUTE_INFOS = new WeakMap();\n  function toReadOnlyRouteInfo(routeInfos, queryParams = {}, includeAttributes = false) {\n    return routeInfos.map((info, i) => {\n      let {\n        name,\n        params,\n        paramNames,\n        context,\n        route\n      } = info;\n      // SAFETY: This should be safe since it is just for use as a key\n      let key = info;\n      if (ROUTE_INFOS.has(key) && includeAttributes) {\n        let routeInfo = ROUTE_INFOS.get(key);\n        routeInfo = attachMetadata(route, routeInfo);\n        let routeInfoWithAttribute = createRouteInfoWithAttributes(routeInfo, context);\n        ROUTE_INFOS.set(key, routeInfoWithAttribute);\n        return routeInfoWithAttribute;\n      }\n      let routeInfo = {\n        find(predicate, thisArg) {\n          let publicInfo;\n          let arr = [];\n          if (predicate.length === 3) {\n            arr = routeInfos.map(\n            // SAFETY: This should be safe since it is just for use as a key\n            info => ROUTE_INFOS.get(info));\n          }\n          for (let i = 0; routeInfos.length > i; i++) {\n            // SAFETY: This should be safe since it is just for use as a key\n            publicInfo = ROUTE_INFOS.get(routeInfos[i]);\n            if (predicate.call(thisArg, publicInfo, i, arr)) {\n              return publicInfo;\n            }\n          }\n          return undefined;\n        },\n        get name() {\n          return name;\n        },\n        get paramNames() {\n          return paramNames;\n        },\n        get metadata() {\n          return buildRouteInfoMetadata(info.route);\n        },\n        get parent() {\n          let parent = routeInfos[i - 1];\n          if (parent === undefined) {\n            return null;\n          }\n          // SAFETY: This should be safe since it is just for use as a key\n          return ROUTE_INFOS.get(parent);\n        },\n        get child() {\n          let child = routeInfos[i + 1];\n          if (child === undefined) {\n            return null;\n          }\n          // SAFETY: This should be safe since it is just for use as a key\n          return ROUTE_INFOS.get(child);\n        },\n        get localName() {\n          let parts = this.name.split('.');\n          return parts[parts.length - 1];\n        },\n        get params() {\n          return params;\n        },\n        get queryParams() {\n          return queryParams;\n        }\n      };\n      if (includeAttributes) {\n        routeInfo = createRouteInfoWithAttributes(routeInfo, context);\n      }\n      // SAFETY: This should be safe since it is just for use as a key\n      ROUTE_INFOS.set(info, routeInfo);\n      return routeInfo;\n    });\n  }\n  function createRouteInfoWithAttributes(routeInfo, context) {\n    let attributes = {\n      get attributes() {\n        return context;\n      }\n    };\n    if (!Object.isExtensible(routeInfo) || routeInfo.hasOwnProperty('attributes')) {\n      return Object.freeze(Object.assign({}, routeInfo, attributes));\n    }\n    return Object.assign(routeInfo, attributes);\n  }\n  function buildRouteInfoMetadata(route) {\n    if (route !== undefined && route !== null && route.buildRouteInfoMetadata !== undefined) {\n      return route.buildRouteInfoMetadata();\n    }\n    return null;\n  }\n  function attachMetadata(route, routeInfo) {\n    let metadata = {\n      get metadata() {\n        return buildRouteInfoMetadata(route);\n      }\n    };\n    if (!Object.isExtensible(routeInfo) || routeInfo.hasOwnProperty('metadata')) {\n      return Object.freeze(Object.assign({}, routeInfo, metadata));\n    }\n    return Object.assign(routeInfo, metadata);\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      if (route) {\n        this._processRoute(route);\n      }\n    }\n    getModel(_transition) {\n      return _rsvp.Promise.resolve(this.context);\n    }\n    serialize(_context) {\n      return this.params || {};\n    }\n    resolve(transition) {\n      return _rsvp.Promise.resolve(this.routePromise).then(route => {\n        throwIfAborted(transition);\n        return route;\n      }).then(() => this.runBeforeModelHook(transition)).then(() => throwIfAborted(transition)).then(() => this.getModel(transition)).then(resolvedModel => {\n        throwIfAborted(transition);\n        return resolvedModel;\n      }).then(resolvedModel => this.runAfterModelHook(transition, resolvedModel)).then(resolvedModel => this.becomeResolved(transition, resolvedModel));\n    }\n    becomeResolved(transition, resolvedContext) {\n      let params = this.serialize(resolvedContext);\n      if (transition) {\n        this.stashResolvedModel(transition, resolvedContext);\n        transition[PARAMS_SYMBOL] = transition[PARAMS_SYMBOL] || {};\n        transition[PARAMS_SYMBOL][this.name] = params;\n      }\n      let context;\n      let contextsMatch = resolvedContext === this.context;\n      if ('context' in this || !contextsMatch) {\n        context = resolvedContext;\n      }\n      // SAFETY: Since this is just for lookup, it should be safe\n      let cached = ROUTE_INFOS.get(this);\n      let resolved = new ResolvedRouteInfo(this.router, this.name, this.paramNames, params, this.route, context);\n      if (cached !== undefined) {\n        // SAFETY: This is potentially a bit risker, but for what we're doing, it should be ok.\n        ROUTE_INFOS.set(resolved, cached);\n      }\n      return resolved;\n    }\n    shouldSupersede(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      let 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    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      return this.fetchRoute();\n    }\n    set route(route) {\n      this._route = route;\n    }\n    get routePromise() {\n      if (this._routePromise) {\n        return this._routePromise;\n      }\n      this.fetchRoute();\n      return this._routePromise;\n    }\n    set routePromise(routePromise) {\n      this._routePromise = routePromise;\n    }\n    log(transition, message) {\n      if (transition.log) {\n        transition.log(this.name + ': ' + message);\n      }\n    }\n    updateRoute(route) {\n      route._internalName = this.name;\n      return this.route = route;\n    }\n    runBeforeModelHook(transition) {\n      if (transition.trigger) {\n        transition.trigger(true, 'willResolveModel', transition, this.route);\n      }\n      let result;\n      if (this.route) {\n        if (this.route.beforeModel !== undefined) {\n          result = this.route.beforeModel(transition);\n        }\n      }\n      if (isTransition(result)) {\n        result = null;\n      }\n      return _rsvp.Promise.resolve(result);\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      let name = this.name;\n      this.stashResolvedModel(transition, resolvedModel);\n      let result;\n      if (this.route !== undefined) {\n        if (this.route.afterModel !== undefined) {\n          result = this.route.afterModel(resolvedModel, transition);\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        // SAFTEY: We expect this to be of type T, though typing it as such is challenging.\n        return transition.resolvedModels[name];\n      });\n    }\n    stashResolvedModel(transition, resolvedModel) {\n      transition.resolvedModels = transition.resolvedModels || {};\n      // SAFETY: It's unfortunate that we have to do this cast. It should be safe though.\n      transition.resolvedModels[this.name] = resolvedModel;\n    }\n    fetchRoute() {\n      let route = this.router.getRoute(this.name);\n      return this._processRoute(route);\n    }\n    _processRoute(route) {\n      // Setup a routePromise so that we can wait for asynchronously loaded routes\n      this.routePromise = _rsvp.Promise.resolve(route);\n      // Wait until the 'route' property has been updated when chaining to a route\n      // that is a promise\n      if (isPromise(route)) {\n        this.routePromise = this.routePromise.then(r => {\n          return this.updateRoute(r);\n        });\n        // set to undefined to avoid recursive loop in the route getter\n        return this.route = undefined;\n      } else if (route) {\n        return this.updateRoute(route);\n      }\n      return undefined;\n    }\n  }\n  _exports.InternalRouteInfo = InternalRouteInfo;\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    resolve(transition) {\n      // A ResolvedRouteInfo just resolved with itself.\n      if (transition && transition.resolvedModels) {\n        transition.resolvedModels[this.name] = this.context;\n      }\n      return _rsvp.Promise.resolve(this);\n    }\n  }\n  class UnresolvedRouteInfoByParam extends InternalRouteInfo {\n    constructor(router, name, paramNames, params, route) {\n      super(router, name, paramNames, route);\n      this.params = {};\n      if (params) {\n        this.params = params;\n      }\n    }\n    getModel(transition) {\n      let fullParams = this.params;\n      if (transition && transition[QUERY_PARAMS_SYMBOL]) {\n        fullParams = {};\n        merge(fullParams, this.params);\n        fullParams.queryParams = transition[QUERY_PARAMS_SYMBOL];\n      }\n      let route = this.route;\n      let result;\n      // FIXME: Review these casts\n      if (route.deserialize) {\n        result = route.deserialize(fullParams, transition);\n      } else if (route.model) {\n        result = route.model(fullParams, transition);\n      }\n      if (result && isTransition(result)) {\n        result = undefined;\n      }\n      return _rsvp.Promise.resolve(result);\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    getModel(transition) {\n      if (this.router.log !== undefined) {\n        this.router.log(this.name + ': resolving provided model');\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    serialize(model) {\n      let {\n        paramNames,\n        context\n      } = this;\n      if (!model) {\n        // SAFETY: By the time we serialize, we expect to be resolved.\n        // This may not be an entirely safe assumption though no tests fail.\n        model = context;\n      }\n      let object = {};\n      if (isParam(model)) {\n        object[paramNames[0]] = model;\n        return object;\n      }\n      // Use custom serialize if it exists.\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      if (paramNames.length !== 1) {\n        return;\n      }\n      let name = paramNames[0];\n      if (/_id$/.test(name)) {\n        // SAFETY: Model is supposed to extend IModel already\n        object[name] = model.id;\n      } else {\n        object[name] = model;\n      }\n      return object;\n    }\n  }\n  function paramsMatch(a, b) {\n    if (a === b) {\n      // Both are identical, may both be undefined\n      return true;\n    }\n    if (!a || !b) {\n      // Only one is undefined, already checked they aren't identical\n      return false;\n    }\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    for (let k in a) {\n      if (a.hasOwnProperty(k) && a[k] !== b[k]) {\n        return false;\n      }\n    }\n    return true;\n  }\n  class TransitionIntent {\n    constructor(router, data = {}) {\n      this.router = router;\n      this.data = data;\n    }\n  }\n  function handleError(currentState, transition, error) {\n    // This is the only possible\n    // reject value of TransitionState#resolve\n    let routeInfos = currentState.routeInfos;\n    let errorHandlerIndex = transition.resolveIndex >= routeInfos.length ? routeInfos.length - 1 : transition.resolveIndex;\n    let wasAborted = transition.isAborted;\n    throw new TransitionError(error, currentState.routeInfos[errorHandlerIndex].route, wasAborted, currentState);\n  }\n  function resolveOneRouteInfo(currentState, transition) {\n    if (transition.resolveIndex === currentState.routeInfos.length) {\n      // This is is the only possible\n      // fulfill value of TransitionState#resolve\n      return;\n    }\n    let routeInfo = currentState.routeInfos[transition.resolveIndex];\n    let callback = proceed.bind(null, currentState, transition);\n    return routeInfo.resolve(transition).then(callback, null, currentState.promiseLabel('Proceed'));\n  }\n  function proceed(currentState, transition, resolvedRouteInfo) {\n    let wasAlreadyResolved = currentState.routeInfos[transition.resolveIndex].isResolved;\n    // Swap the previously unresolved routeInfo with\n    // the resolved routeInfo\n    currentState.routeInfos[transition.resolveIndex++] = resolvedRouteInfo;\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      let {\n        route\n      } = resolvedRouteInfo;\n      if (route !== undefined) {\n        if (route.redirect) {\n          route.redirect(resolvedRouteInfo.context, transition);\n        }\n      }\n    }\n    // Proceed after ensuring that the redirect hook\n    // didn't abort this transition by transitioning elsewhere.\n    throwIfAborted(transition);\n    return resolveOneRouteInfo(currentState, transition);\n  }\n  class TransitionState {\n    constructor() {\n      this.routeInfos = [];\n      this.queryParams = {};\n      this.params = {};\n    }\n    promiseLabel(label) {\n      let targetName = '';\n      forEach(this.routeInfos, function (routeInfo) {\n        if (targetName !== '') {\n          targetName += '.';\n        }\n        targetName += routeInfo.name;\n        return true;\n      });\n      return promiseLabel(\"'\" + targetName + \"': \" + label);\n    }\n    resolve(transition) {\n      // First, calculate params for this state. This is useful\n      // information to provide to the various route hooks.\n      let params = this.params;\n      forEach(this.routeInfos, routeInfo => {\n        params[routeInfo.name] = routeInfo.params || {};\n        return true;\n      });\n      transition.resolveIndex = 0;\n      let callback = resolveOneRouteInfo.bind(null, this, transition);\n      let errorHandler = handleError.bind(null, this, transition);\n      // The prelude RSVP.resolve() async moves us into the promise land.\n      return _rsvp.Promise.resolve(null, this.promiseLabel('Start transition')).then(callback, null, this.promiseLabel('Resolve route')).catch(errorHandler, this.promiseLabel('Handle error')).then(() => this);\n    }\n  }\n  _exports.TransitionState = TransitionState;\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  _exports.TransitionError = TransitionError;\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    applyToState(oldState, isIntermediate) {\n      let handlers = this.router.recognizer.handlersFor(this.name);\n      let targetRouteName = handlers[handlers.length - 1].handler;\n      return this.applyToHandlers(oldState, handlers, targetRouteName, isIntermediate, false);\n    }\n    applyToHandlers(oldState, parsedHandlers, targetRouteName, isIntermediate, checkingIfActive) {\n      let i, len;\n      let newState = new TransitionState();\n      let objects = this.contexts.slice(0);\n      let invalidateIndex = parsedHandlers.length;\n      // Pivot handlers are provided for refresh transitions\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      for (i = parsedHandlers.length - 1; i >= 0; --i) {\n        let result = parsedHandlers[i];\n        let name = result.handler;\n        let oldHandlerInfo = oldState.routeInfos[i];\n        let newHandlerInfo = null;\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        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,\n          // SAFETY: This seems to imply that it would be resolved, but it's unclear if that's actually the case.\n          newHandlerInfo.context);\n          let oldContext = oldHandlerInfo && oldHandlerInfo.context;\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          newHandlerInfo.context = oldContext;\n        }\n        let handlerToUse = oldHandlerInfo;\n        if (i >= invalidateIndex || newHandlerInfo.shouldSupersede(oldHandlerInfo)) {\n          invalidateIndex = Math.min(i, invalidateIndex);\n          handlerToUse = newHandlerInfo;\n        }\n        if (isIntermediate && !checkingIfActive) {\n          handlerToUse = handlerToUse.becomeResolved(null,\n          // SAFETY: This seems to imply that it would be resolved, but it's unclear if that's actually the case.\n          handlerToUse.context);\n        }\n        newState.routeInfos.unshift(handlerToUse);\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      if (!isIntermediate) {\n        this.invalidateChildren(newState.routeInfos, invalidateIndex);\n      }\n      merge(newState.queryParams, this.queryParams || {});\n      if (isIntermediate && oldState.queryParams) {\n        merge(newState.queryParams, oldState.queryParams);\n      }\n      return newState;\n    }\n    invalidateChildren(handlerInfos, invalidateIndex) {\n      for (let i = invalidateIndex, l = handlerInfos.length; i < l; ++i) {\n        let handlerInfo = handlerInfos[i];\n        if (handlerInfo.isResolved) {\n          let {\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    getHandlerInfoForDynamicSegment(name, names, objects, oldHandlerInfo, _targetRouteName, i) {\n      let objectToUse;\n      if (objects.length > 0) {\n        // Use the objects provided for this transition.\n        objectToUse = objects[objects.length - 1];\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          let preTransitionHandlerInfo = this.preTransitionState.routeInfos[i];\n          objectToUse = preTransitionHandlerInfo === null || preTransitionHandlerInfo === void 0 ? void 0 : 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      return new UnresolvedRouteInfoByObject(this.router, name, names, objectToUse);\n    }\n    createParamHandlerInfo(name, names, objects, oldHandlerInfo) {\n      let params = {};\n      // Soak up all the provided string/numbers\n      let numNames = names.length;\n      let missingParams = [];\n      while (numNames--) {\n        // Only use old params if the names match with the new handler\n        let oldParams = oldHandlerInfo && name === oldHandlerInfo.name && oldHandlerInfo.params || {};\n        let peek = objects[objects.length - 1];\n        let paramName = names[numNames];\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      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      return new UnresolvedRouteInfoByParam(this.router, name, names, params);\n    }\n  }\n  const UnrecognizedURLError = function () {\n    UnrecognizedURLError.prototype = Object.create(Error.prototype);\n    UnrecognizedURLError.prototype.constructor = UnrecognizedURLError;\n    function UnrecognizedURLError(message) {\n      let error = Error.call(this, message);\n      this.name = 'UnrecognizedURLError';\n      this.message = message || 'UnrecognizedURL';\n      if (Error.captureStackTrace) {\n        Error.captureStackTrace(this, UnrecognizedURLError);\n      } else {\n        this.stack = error.stack;\n      }\n    }\n    return UnrecognizedURLError;\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    applyToState(oldState) {\n      let newState = new TransitionState();\n      let results = this.router.recognizer.recognize(this.url),\n        i,\n        len;\n      if (!results) {\n        throw new UnrecognizedURLError(this.url);\n      }\n      let statesDiffer = false;\n      let _url = this.url;\n      // 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      function checkHandlerAccessibility(handler) {\n        if (handler && handler.inaccessibleByURL) {\n          throw new UnrecognizedURLError(_url);\n        }\n        return handler;\n      }\n      for (i = 0, len = results.length; i < len; ++i) {\n        let result = results[i];\n        let name = result.handler;\n        let paramNames = [];\n        if (this.router.recognizer.hasRoute(name)) {\n          paramNames = this.router.recognizer.handlersFor(name)[i].names;\n        }\n        let newRouteInfo = new UnresolvedRouteInfoByParam(this.router, name, paramNames, result.params);\n        let route = newRouteInfo.route;\n        if (route) {\n          checkHandlerAccessibility(route);\n        } else {\n          // If the handler is being loaded asynchronously, check if we can\n          // access it after it has resolved\n          newRouteInfo.routePromise = newRouteInfo.routePromise.then(checkHandlerAccessibility);\n        }\n        let oldRouteInfo = oldState.routeInfos[i];\n        if (statesDiffer || newRouteInfo.shouldSupersede(oldRouteInfo)) {\n          statesDiffer = true;\n          newState.routeInfos[i] = newRouteInfo;\n        } else {\n          newState.routeInfos[i] = oldRouteInfo;\n        }\n      }\n      merge(newState.queryParams, results.queryParams);\n      return newState;\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    map(callback) {\n      this.recognizer.map(callback, function (recognizer, routes) {\n        for (let i = routes.length - 1, proceed = true; i >= 0 && proceed; --i) {\n          let route = routes[i];\n          let 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    hasRoute(route) {\n      return this.recognizer.hasRoute(route);\n    }\n    queryParamsTransition(changelist, wasTransitioning, oldState, newState) {\n      this.fireQueryParamDidChange(newState, changelist);\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        let 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            this.didTransition(this.currentRouteInfos);\n            this.toInfos(newTransition, newState.routeInfos, true);\n            this.routeDidChange(newTransition);\n          }\n          return result;\n        }, null, promiseLabel('Transition complete'));\n        return newTransition;\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    recognize(url) {\n      let intent = new URLTransitionIntent(this, url);\n      let newState = this.generateNewState(intent);\n      if (newState === null) {\n        return newState;\n      }\n      let readonlyInfos = toReadOnlyRouteInfo(newState.routeInfos, newState.queryParams);\n      return readonlyInfos[readonlyInfos.length - 1];\n    }\n    recognizeAndLoad(url) {\n      let intent = new URLTransitionIntent(this, url);\n      let newState = this.generateNewState(intent);\n      if (newState === null) {\n        return _rsvp.Promise.reject(`URL ${url} was not recognized`);\n      }\n      let newTransition = new Transition(this, intent, newState, undefined);\n      return newTransition.then(() => {\n        let routeInfosWithAttributes = toReadOnlyRouteInfo(newState.routeInfos, newTransition[QUERY_PARAMS_SYMBOL], true);\n        return routeInfosWithAttributes[routeInfosWithAttributes.length - 1];\n      });\n    }\n    generateNewState(intent) {\n      try {\n        return intent.applyToState(this.state, false);\n      } catch (e) {\n        return null;\n      }\n    }\n    getTransitionByIntent(intent, isIntermediate) {\n      let wasTransitioning = !!this.activeTransition;\n      let oldState = wasTransitioning ? this.activeTransition[STATE_SYMBOL] : this.state;\n      let newTransition;\n      let newState = intent.applyToState(oldState, isIntermediate);\n      let queryParamChangelist = getChangelist(oldState.queryParams, newState.queryParams);\n      if (routeInfosEqual(newState.routeInfos, oldState.routeInfos)) {\n        // This is a no-op transition. See if query params changed.\n        if (queryParamChangelist) {\n          let newTransition = this.queryParamsTransition(queryParamChangelist, wasTransitioning, oldState, newState);\n          newTransition.queryParamsOnly = true;\n          // SAFETY: The returned OpaqueTransition should actually be this.\n          return newTransition;\n        }\n        // No-op. No need to create a new transition.\n        return this.activeTransition || new Transition(this, undefined, undefined);\n      }\n      if (isIntermediate) {\n        let transition = new Transition(this, undefined, newState);\n        transition.isIntermediate = true;\n        this.toReadOnlyInfos(transition, newState);\n        this.setupContexts(newState, transition);\n        this.routeWillChange(transition);\n        return this.activeTransition;\n      }\n      // Create a new transition to the destination route.\n      newTransition = new Transition(this, intent, newState, undefined, this.activeTransition);\n      // transition is to same route with same params, only query params differ.\n      // not caught above probably because refresh() has been used\n      if (routeInfosSameExceptQueryParams(newState.routeInfos, oldState.routeInfos)) {\n        newTransition.queryParamsOnly = true;\n      }\n      this.toReadOnlyInfos(newTransition, newState);\n      // Abort and usurp any previously active transition.\n      if (this.activeTransition) {\n        this.activeTransition.redirect(newTransition);\n      }\n      this.activeTransition = newTransition;\n      // 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      newTransition.promise = newTransition.promise.then(result => {\n        return this.finalizeTransition(newTransition, result);\n      }, null, promiseLabel('Settle transition promise when transition is finalized'));\n      if (!wasTransitioning) {\n        this.notifyExistingHandlers(newState, newTransition);\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    doTransition(name, modelsArray = [], isIntermediate = false) {\n      let lastArg = modelsArray[modelsArray.length - 1];\n      let queryParams = {};\n      if (lastArg && Object.prototype.hasOwnProperty.call(lastArg, 'queryParams')) {\n        // We just checked this.\n        // TODO: Use an assertion?\n        queryParams = modelsArray.pop().queryParams;\n      }\n      let intent;\n      if (name === undefined) {\n        log(this, 'Updating query params');\n        // A query param update is really just a transition\n        // into the route you're already on.\n        let {\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,\n        // SAFETY: We know this to be the case since we removed the last item if it was QPs\n        modelsArray, queryParams);\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    finalizeTransition(transition, newState) {\n      try {\n        log(transition.router, transition.sequence, 'Resolved all models on destination route; finalizing transition.');\n        let routeInfos = newState.routeInfos;\n        // Run all the necessary enter/setup/exit hooks\n        this.setupContexts(newState, transition);\n        // Check if a redirect occurred in enter/setup\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        this._updateURL(transition, newState);\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.');\n        // Resolve with the final route.\n        return routeInfos[routeInfos.length - 1].route;\n      } catch (e) {\n        if (!isTransitionAborted(e)) {\n          let infos = transition[STATE_SYMBOL].routeInfos;\n          transition.trigger(true, 'error', e, transition, infos[infos.length - 1].route);\n          transition.abort();\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    setupContexts(newState, transition) {\n      let partition = this.partitionRoutes(this.state, newState);\n      let i, l, route;\n      for (i = 0, l = partition.exited.length; i < l; i++) {\n        route = partition.exited[i].route;\n        delete route.context;\n        if (route !== undefined) {\n          if (route._internalReset !== undefined) {\n            route._internalReset(true, transition);\n          }\n          if (route.exit !== undefined) {\n            route.exit(transition);\n          }\n        }\n      }\n      let oldState = this.oldState = this.state;\n      this.state = newState;\n      let currentRouteInfos = this.currentRouteInfos = partition.unchanged.slice();\n      try {\n        for (i = 0, l = partition.reset.length; i < l; i++) {\n          route = partition.reset[i].route;\n          if (route !== undefined) {\n            if (route._internalReset !== undefined) {\n              route._internalReset(false, transition);\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        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      this.state.queryParams = this.finalizeQueryParamChange(currentRouteInfos, newState.queryParams, transition);\n    }\n    /**\n    @private\n       Fires queryParamsDidChange event\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    routeEnteredOrUpdated(currentRouteInfos, routeInfo, enter, transition) {\n      let route = routeInfo.route,\n        context = routeInfo.context;\n      function _routeEnteredOrUpdated(route) {\n        if (enter) {\n          if (route.enter !== undefined) {\n            route.enter(transition);\n          }\n        }\n        throwIfAborted(transition);\n        route.context = context;\n        if (route.contextDidChange !== undefined) {\n          route.contextDidChange();\n        }\n        if (route.setup !== undefined) {\n          route.setup(context, transition);\n        }\n        throwIfAborted(transition);\n        currentRouteInfos.push(routeInfo);\n        return route;\n      }\n      // If the route doesn't exist, it means we haven't resolved the route promise yet\n      if (route === undefined) {\n        routeInfo.routePromise = routeInfo.routePromise.then(_routeEnteredOrUpdated);\n      } else {\n        _routeEnteredOrUpdated(route);\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    partitionRoutes(oldState, newState) {\n      let oldRouteInfos = oldState.routeInfos;\n      let newRouteInfos = newState.routeInfos;\n      let routes = {\n        updatedContext: [],\n        exited: [],\n        entered: [],\n        unchanged: [],\n        reset: []\n      };\n      let routeChanged,\n        contextChanged = false,\n        i,\n        l;\n      for (i = 0, l = newRouteInfos.length; i < l; i++) {\n        let oldRouteInfo = oldRouteInfos[i],\n          newRouteInfo = newRouteInfos[i];\n        if (!oldRouteInfo || oldRouteInfo.route !== newRouteInfo.route) {\n          routeChanged = true;\n        }\n        if (routeChanged) {\n          routes.entered.push(newRouteInfo);\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      for (i = newRouteInfos.length, l = oldRouteInfos.length; i < l; i++) {\n        routes.exited.unshift(oldRouteInfos[i]);\n      }\n      routes.reset = routes.updatedContext.slice();\n      routes.reset.reverse();\n      return routes;\n    }\n    _updateURL(transition, state) {\n      let urlMethod = transition.urlMethod;\n      if (!urlMethod) {\n        return;\n      }\n      let {\n        routeInfos\n      } = state;\n      let {\n        name: routeName\n      } = routeInfos[routeInfos.length - 1];\n      let params = {};\n      for (let i = routeInfos.length - 1; i >= 0; --i) {\n        let routeInfo = routeInfos[i];\n        merge(params, routeInfo.params);\n        if (routeInfo.route.inaccessibleByURL) {\n          urlMethod = null;\n        }\n      }\n      if (urlMethod) {\n        params.queryParams = transition._visibleQueryParams || state.queryParams;\n        let url = this.recognizer.generate(routeName, params);\n        // 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        let initial = transition.isCausedByInitialTransition;\n        // 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        let replaceAndNotAborting = urlMethod === 'replace' && !transition.isCausedByAbortingTransition;\n        // 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        let isQueryParamsRefreshTransition = transition.queryParamsOnly && urlMethod === 'replace';\n        // 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        let replacingReplace = urlMethod === 'replace' && transition.isCausedByAbortingReplaceTransition;\n        if (initial || replaceAndNotAborting || isQueryParamsRefreshTransition || replacingReplace) {\n          this.replaceURL(url);\n        } else {\n          this.updateURL(url);\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 (let k in newQueryParams) {\n        if (newQueryParams.hasOwnProperty(k) && newQueryParams[k] === null) {\n          delete newQueryParams[k];\n        }\n      }\n      let finalQueryParamsArray = [];\n      this.triggerEvent(resolvedHandlers, true, 'finalizeQueryParamChange', [newQueryParams, finalQueryParamsArray, transition]);\n      if (transition) {\n        transition._visibleQueryParams = {};\n      }\n      let finalQueryParams = {};\n      for (let i = 0, len = finalQueryParamsArray.length; i < len; ++i) {\n        let qp = finalQueryParamsArray[i];\n        finalQueryParams[qp.key] = qp.value;\n        if (transition && qp.visible !== false) {\n          transition._visibleQueryParams[qp.key] = qp.value;\n        }\n      }\n      return finalQueryParams;\n    }\n    toReadOnlyInfos(newTransition, newState) {\n      let oldRouteInfos = this.state.routeInfos;\n      this.fromInfos(newTransition, oldRouteInfos);\n      this.toInfos(newTransition, newState.routeInfos);\n      this._lastQueryParams = newState.queryParams;\n    }\n    fromInfos(newTransition, oldRouteInfos) {\n      if (newTransition !== undefined && oldRouteInfos.length > 0) {\n        let fromInfos = toReadOnlyRouteInfo(oldRouteInfos, Object.assign({}, this._lastQueryParams), true);\n        newTransition.from = fromInfos[fromInfos.length - 1] || null;\n      }\n    }\n    toInfos(newTransition, newRouteInfos, includeAttributes = false) {\n      if (newTransition !== undefined && newRouteInfos.length > 0) {\n        let toInfos = toReadOnlyRouteInfo(newRouteInfos, Object.assign({}, newTransition[QUERY_PARAMS_SYMBOL]), includeAttributes);\n        newTransition.to = toInfos[toInfos.length - 1] || null;\n      }\n    }\n    notifyExistingHandlers(newState, newTransition) {\n      let oldRouteInfos = this.state.routeInfos,\n        i,\n        oldRouteInfoLen,\n        oldHandler,\n        newRouteInfo;\n      oldRouteInfoLen = oldRouteInfos.length;\n      for (i = 0; i < oldRouteInfoLen; i++) {\n        oldHandler = oldRouteInfos[i];\n        newRouteInfo = newState.routeInfos[i];\n        if (!newRouteInfo || oldHandler.name !== newRouteInfo.name) {\n          break;\n        }\n        if (!newRouteInfo.isResolved) ;\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    reset() {\n      if (this.state) {\n        forEach(this.state.routeInfos.slice().reverse(), function (routeInfo) {\n          let route = routeInfo.route;\n          if (route !== undefined) {\n            if (route.exit !== undefined) {\n              route.exit();\n            }\n          }\n          return true;\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    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      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    transitionTo(name, ...contexts) {\n      if (typeof name === 'object') {\n        contexts.push(name);\n        return this.doTransition(undefined, contexts, false);\n      }\n      return this.doTransition(name, contexts);\n    }\n    intermediateTransitionTo(name, ...args) {\n      return this.doTransition(name, args, true);\n    }\n    refresh(pivotRoute) {\n      let previousTransition = this.activeTransition;\n      let state = previousTransition ? previousTransition[STATE_SYMBOL] : this.state;\n      let routeInfos = state.routeInfos;\n      if (pivotRoute === undefined) {\n        pivotRoute = routeInfos[0].route;\n      }\n      log(this, 'Starting a refresh transition');\n      let name = routeInfos[routeInfos.length - 1].name;\n      let intent = new NamedTransitionIntent(this, name, pivotRoute, [], this._changedQueryParams || state.queryParams);\n      let newTransition = this.transitionByIntent(intent, false);\n      // if the previous transition is a replace transition, that needs to be preserved\n      if (previousTransition && previousTransition.urlMethod === 'replace') {\n        newTransition.method(previousTransition.urlMethod);\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    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    generate(routeName, ...args) {\n      let partitionedArgs = extractQueryParams(args),\n        suppliedParams = partitionedArgs[0],\n        queryParams = partitionedArgs[1];\n      // Construct a TransitionIntent with the provided params\n      // and apply it to the present state of the router.\n      let intent = new NamedTransitionIntent(this, routeName, undefined, suppliedParams);\n      let state = intent.applyToState(this.state, false);\n      let params = {};\n      for (let i = 0, len = state.routeInfos.length; i < len; ++i) {\n        let routeInfo = state.routeInfos[i];\n        let routeParams = routeInfo.serialize();\n        merge(params, routeParams);\n      }\n      params.queryParams = queryParams;\n      return this.recognizer.generate(routeName, params);\n    }\n    applyIntent(routeName, contexts) {\n      let intent = new NamedTransitionIntent(this, routeName, undefined, contexts);\n      let state = this.activeTransition && this.activeTransition[STATE_SYMBOL] || this.state;\n      return intent.applyToState(state, false);\n    }\n    isActiveIntent(routeName, contexts, queryParams, _state) {\n      let state = _state || this.state,\n        targetRouteInfos = state.routeInfos,\n        routeInfo,\n        len;\n      if (!targetRouteInfos.length) {\n        return false;\n      }\n      let targetHandler = targetRouteInfos[targetRouteInfos.length - 1].name;\n      let recognizerHandlers = this.recognizer.handlersFor(targetHandler);\n      let index = 0;\n      for (len = recognizerHandlers.length; index < len; ++index) {\n        routeInfo = targetRouteInfos[index];\n        if (routeInfo.name === routeName) {\n          break;\n        }\n      }\n      if (index === recognizerHandlers.length) {\n        // The provided route name isn't even in the route hierarchy.\n        return false;\n      }\n      let testState = new TransitionState();\n      testState.routeInfos = targetRouteInfos.slice(0, index + 1);\n      recognizerHandlers = recognizerHandlers.slice(0, index + 1);\n      let intent = new NamedTransitionIntent(this, targetHandler, undefined, contexts);\n      let newState = intent.applyToHandlers(testState, recognizerHandlers, targetHandler, true, true);\n      let routesEqual = routeInfosEqual(newState.routeInfos, testState.routeInfos);\n      if (!queryParams || !routesEqual) {\n        return routesEqual;\n      }\n      // Get a hash of QPs that will still be active on new route\n      let activeQPsOnNewHandler = {};\n      merge(activeQPsOnNewHandler, queryParams);\n      let activeQueryParams = state.queryParams;\n      for (let key in activeQueryParams) {\n        if (activeQueryParams.hasOwnProperty(key) && activeQPsOnNewHandler.hasOwnProperty(key)) {\n          activeQPsOnNewHandler[key] = activeQueryParams[key];\n        }\n      }\n      return routesEqual && !getChangelist(activeQPsOnNewHandler, queryParams);\n    }\n    isActive(routeName, ...args) {\n      let [contexts, queryParams] = extractQueryParams(args);\n      return this.isActiveIntent(routeName, contexts, queryParams);\n    }\n    trigger(name, ...args) {\n      this.triggerEvent(this.currentRouteInfos, false, name, args);\n    }\n  }\n  _exports.default = Router;\n  function routeInfosEqual(routeInfos, otherRouteInfos) {\n    if (routeInfos.length !== otherRouteInfos.length) {\n      return false;\n    }\n    for (let i = 0, len = routeInfos.length; i < len; ++i) {\n      // SAFETY: Just casting for comparison\n      if (routeInfos[i] !== otherRouteInfos[i]) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function routeInfosSameExceptQueryParams(routeInfos, otherRouteInfos) {\n    if (routeInfos.length !== otherRouteInfos.length) {\n      return false;\n    }\n    for (let i = 0, len = routeInfos.length; i < len; ++i) {\n      if (routeInfos[i].name !== otherRouteInfos[i].name) {\n        return false;\n      }\n      if (!paramsEqual(routeInfos[i].params, otherRouteInfos[i].params)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function paramsEqual(params, otherParams) {\n    if (params === otherParams) {\n      // Both identical or both undefined\n      return true;\n    }\n    if (!params || !otherParams) {\n      // One is falsy but other is not\n      return false;\n    }\n    let keys = Object.keys(params);\n    let otherKeys = Object.keys(otherParams);\n    if (keys.length !== otherKeys.length) {\n      return false;\n    }\n    for (let i = 0, len = keys.length; i < len; ++i) {\n      let key = keys[i];\n      if (params[key] !== otherParams[key]) {\n        return false;\n      }\n    }\n    return true;\n  }\n});","define(\"rsvp\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Promise = _exports.EventTarget = void 0;\n  _exports.all = all;\n  _exports.allSettled = allSettled;\n  _exports.asap = asap;\n  _exports.cast = _exports.async = void 0;\n  _exports.configure = configure;\n  _exports.default = void 0;\n  _exports.defer = defer;\n  _exports.denodeify = denodeify;\n  _exports.filter = filter;\n  _exports.hash = hash;\n  _exports.hashSettled = hashSettled;\n  _exports.map = map;\n  _exports.off = off;\n  _exports.on = on;\n  _exports.race = race;\n  _exports.reject = reject;\n  _exports.resolve = resolve;\n  _exports.rethrow = rethrow;\n  function callbacksFor(object) {\n    let callbacks = object._promiseCallbacks;\n    if (!callbacks) {\n      callbacks = object._promiseCallbacks = {};\n    }\n    return callbacks;\n  }\n\n  /**\n    @class EventTarget\n    @for rsvp\n    @public\n  */\n  var EventTarget = _exports.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      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      let allCallbacks = callbacksFor(this);\n      let callbacks = allCallbacks[eventName];\n      if (!callbacks) {\n        callbacks = allCallbacks[eventName] = [];\n      }\n      if (callbacks.indexOf(callback) === -1) {\n        callbacks.push(callback);\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      let allCallbacks = callbacksFor(this);\n      if (!callback) {\n        allCallbacks[eventName] = [];\n        return;\n      }\n      let callbacks = allCallbacks[eventName];\n      let index = callbacks.indexOf(callback);\n      if (index !== -1) {\n        callbacks.splice(index, 1);\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      let allCallbacks = callbacksFor(this);\n      let callbacks = allCallbacks[eventName];\n      if (callbacks) {\n        // Don't cache the callbacks.length since it may grow\n        let callback;\n        for (let i = 0; i < callbacks.length; i++) {\n          callback = callbacks[i];\n          callback(options, label);\n        }\n      }\n    }\n  };\n  const config = {\n    instrument: false\n  };\n  EventTarget['mixin'](config);\n  function configure(name, value) {\n    if (arguments.length === 2) {\n      config[name] = value;\n    } else {\n      return config[name];\n    }\n  }\n  const queue$1 = [];\n  function scheduleFlush$1() {\n    setTimeout(() => {\n      for (let i = 0; i < queue$1.length; i++) {\n        let entry = queue$1[i];\n        let payload = entry.payload;\n        payload.guid = payload.key + payload.id;\n        payload.childGuid = payload.key + payload.childId;\n        if (payload.error) {\n          payload.stack = payload.error.stack;\n        }\n        config['trigger'](entry.name, entry.payload);\n      }\n      queue$1.length = 0;\n    }, 50);\n  }\n  function instrument(eventName, promise, child) {\n    if (1 === queue$1.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$1();\n    }\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  function resolve$2(object, label) {\n    /*jshint validthis:true */\n    let Constructor = this;\n    if (object && typeof object === 'object' && object.constructor === Constructor) {\n      return object;\n    }\n    let promise = new Constructor(noop, label);\n    resolve$1(promise, object);\n    return promise;\n  }\n  function withOwnPromise() {\n    return new TypeError('A promises callback cannot return that same promise.');\n  }\n  function objectOrFunction(x) {\n    let type = typeof x;\n    return x !== null && (type === 'object' || type === 'function');\n  }\n  function noop() {}\n  const PENDING = void 0;\n  const FULFILLED = 1;\n  const REJECTED = 2;\n  function tryThen(then, value, fulfillmentHandler, rejectionHandler) {\n    try {\n      then.call(value, fulfillmentHandler, rejectionHandler);\n    } catch (e) {\n      return e;\n    }\n  }\n  function handleForeignThenable(promise, thenable, then) {\n    config.async(promise => {\n      let sealed = false;\n      let error = tryThen(then, thenable, value => {\n        if (sealed) {\n          return;\n        }\n        sealed = true;\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        sealed = true;\n        reject$2(promise, reason);\n      }, 'Settle: ' + (promise._label || ' unknown promise'));\n      if (!sealed && error) {\n        sealed = true;\n        reject$2(promise, error);\n      }\n    }, promise);\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$2(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$2(promise, reason));\n    }\n  }\n  function handleMaybeThenable(promise, maybeThenable, then$1) {\n    let isOwnThenable = maybeThenable.constructor === promise.constructor && then$1 === then && promise.constructor.resolve === resolve$2;\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  function resolve$1(promise, value) {\n    if (promise === value) {\n      fulfill(promise, value);\n    } else if (objectOrFunction(value)) {\n      let then;\n      try {\n        then = value.then;\n      } catch (error) {\n        reject$2(promise, error);\n        return;\n      }\n      handleMaybeThenable(promise, value, then);\n    } else {\n      fulfill(promise, value);\n    }\n  }\n  function publishRejection(promise) {\n    if (promise._onError) {\n      promise._onError(promise._result);\n    }\n    publish(promise);\n  }\n  function fulfill(promise, value) {\n    if (promise._state !== PENDING) {\n      return;\n    }\n    promise._result = value;\n    promise._state = FULFILLED;\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  function reject$2(promise, reason) {\n    if (promise._state !== PENDING) {\n      return;\n    }\n    promise._state = REJECTED;\n    promise._result = reason;\n    config.async(publishRejection, promise);\n  }\n  function subscribe(parent, child, onFulfillment, onRejection) {\n    let subscribers = parent._subscribers;\n    let length = subscribers.length;\n    parent._onError = null;\n    subscribers[length] = child;\n    subscribers[length + FULFILLED] = onFulfillment;\n    subscribers[length + REJECTED] = onRejection;\n    if (length === 0 && parent._state) {\n      config.async(publish, parent);\n    }\n  }\n  function publish(promise) {\n    let subscribers = promise._subscribers;\n    let settled = promise._state;\n    if (config.instrument) {\n      instrument(settled === FULFILLED ? 'fulfilled' : 'rejected', promise);\n    }\n    if (subscribers.length === 0) {\n      return;\n    }\n    let child,\n      callback,\n      result = promise._result;\n    for (let i = 0; i < subscribers.length; i += 3) {\n      child = subscribers[i];\n      callback = subscribers[i + settled];\n      if (child) {\n        invokeCallback(settled, child, callback, result);\n      } else {\n        callback(result);\n      }\n    }\n    promise._subscribers.length = 0;\n  }\n  function invokeCallback(state, promise, callback, result) {\n    let hasCallback = typeof callback === 'function';\n    let value,\n      succeeded = true,\n      error;\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    if (promise._state !== PENDING) ;else if (value === promise) {\n      reject$2(promise, withOwnPromise());\n    } else if (succeeded === false) {\n      reject$2(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$2(promise, value);\n    }\n  }\n  function initializePromise(promise, resolver) {\n    let resolved = false;\n    try {\n      resolver(value => {\n        if (resolved) {\n          return;\n        }\n        resolved = true;\n        resolve$1(promise, value);\n      }, reason => {\n        if (resolved) {\n          return;\n        }\n        resolved = true;\n        reject$2(promise, reason);\n      });\n    } catch (e) {\n      reject$2(promise, e);\n    }\n  }\n  function then(onFulfillment, onRejection, label) {\n    let parent = this;\n    let state = parent._state;\n    if (state === FULFILLED && !onFulfillment || state === REJECTED && !onRejection) {\n      config.instrument && instrument('chained', parent, parent);\n      return parent;\n    }\n    parent._onError = null;\n    let child = new parent.constructor(noop, label);\n    let result = parent._result;\n    config.instrument && instrument('chained', parent, child);\n    if (state === PENDING) {\n      subscribe(parent, child, onFulfillment, onRejection);\n    } else {\n      let callback = state === FULFILLED ? onFulfillment : onRejection;\n      config.async(() => invokeCallback(state, child, callback, result));\n    }\n    return child;\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$2;\n      this._isUsingOwnResolve = Constructor.resolve === resolve$2;\n      this._init(...arguments);\n    }\n    _init(Constructor, input) {\n      let len = input.length || 0;\n      this.length = len;\n      this._remaining = len;\n      this._result = new Array(len);\n      this._enumerate(input);\n    }\n    _enumerate(input) {\n      let length = this.length;\n      let promise = this.promise;\n      for (let i = 0; promise._state === PENDING && i < length; i++) {\n        this._eachEntry(input[i], i, true);\n      }\n      this._checkFullfillment();\n    }\n    _checkFullfillment() {\n      if (this._remaining === 0) {\n        let result = this._result;\n        fulfill(this.promise, result);\n        this._result = null;\n      }\n    }\n    _settleMaybeThenable(entry, i, firstPass) {\n      let c = this._instanceConstructor;\n      if (this._isUsingOwnResolve) {\n        let then$1,\n          error,\n          succeeded = true;\n        try {\n          then$1 = entry.then;\n        } catch (e) {\n          succeeded = false;\n          error = e;\n        }\n        if (then$1 === then && entry._state !== PENDING) {\n          entry._onError = null;\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          let promise = new c(noop);\n          if (succeeded === false) {\n            reject$2(promise, error);\n          } else {\n            handleMaybeThenable(promise, entry, then$1);\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    _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    _settledAt(state, i, value, firstPass) {\n      let promise = this.promise;\n      if (promise._state === PENDING) {\n        if (this._abortOnReject && state === REJECTED) {\n          reject$2(promise, value);\n        } else {\n          this._setResultAt(state, i, value, firstPass);\n          this._checkFullfillment();\n        }\n      }\n    }\n    _setResultAt(state, i, value, firstPass) {\n      this._remaining--;\n      this._result[i] = value;\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  function setSettledResult(state, i, value) {\n    this._remaining--;\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  /**\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  function all$1(entries, label) {\n    if (!Array.isArray(entries)) {\n      return this.reject(new TypeError(\"Promise.all must be called with an array\"), label);\n    }\n    return new Enumerator(this, entries, true /* abort on reject */, label).promise;\n  }\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  function race$1(entries, label) {\n    /*jshint validthis:true */\n    let Constructor = this;\n    let promise = new Constructor(noop, label);\n    if (!Array.isArray(entries)) {\n      reject$2(promise, new TypeError('Promise.race must be called with an array'));\n      return promise;\n    }\n    for (let i = 0; promise._state === PENDING && i < entries.length; i++) {\n      subscribe(Constructor.resolve(entries[i]), undefined, value => resolve$1(promise, value), reason => reject$2(promise, reason));\n    }\n    return promise;\n  }\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  function reject$1(reason, label) {\n    /*jshint validthis:true */\n    let Constructor = this;\n    let promise = new Constructor(noop, label);\n    reject$2(promise, reason);\n    return promise;\n  }\n  const guidKey = 'rsvp_' + Date.now() + '-';\n  let counter = 0;\n  function needsResolver() {\n    throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\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  /**\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  let Promise$1 = 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      if (noop !== resolver) {\n        typeof resolver !== 'function' && needsResolver();\n        this instanceof Promise ? initializePromise(this, resolver) : needsNew();\n      }\n    }\n    _onError(reason) {\n      config.after(() => {\n        if (this._onError) {\n          config.trigger('error', reason, this._label);\n        }\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    catch(onRejection, label) {\n      return this.then(undefined, onRejection, label);\n    }\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    finally(callback, label) {\n      let promise = this;\n      let constructor = promise.constructor;\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      return promise.then(callback, callback);\n    }\n  };\n  Promise$1.cast = resolve$2; // deprecated\n  Promise$1.all = all$1;\n  Promise$1.race = race$1;\n  Promise$1.resolve = resolve$2;\n  Promise$1.reject = reject$1;\n  Promise$1.prototype._guidKey = guidKey;\n\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  Promise$1.prototype.then = then;\n  var Promise$2 = _exports.Promise = Promise$1;\n  function makeObject(_, argumentNames) {\n    let obj = {};\n    let length = _.length;\n    let args = new Array(length);\n    for (let x = 0; x < length; x++) {\n      args[x] = _[x];\n    }\n    for (let i = 0; i < argumentNames.length; i++) {\n      let name = argumentNames[i];\n      obj[name] = args[i + 1];\n    }\n    return obj;\n  }\n  function arrayResult(_) {\n    let length = _.length;\n    let args = new Array(length - 1);\n    for (let i = 1; i < length; i++) {\n      args[i - 1] = _[i];\n    }\n    return args;\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  function denodeify(nodeFunc, options) {\n    let fn = function () {\n      let l = arguments.length;\n      let args = new Array(l + 1);\n      let promiseInput = false;\n      for (let i = 0; i < l; ++i) {\n        let arg = arguments[i];\n\n        // TODO: this code really needs to be cleaned up\n        if (!promiseInput) {\n          if (arg !== null && typeof arg === 'object') {\n            if (arg.constructor === Promise$2) {\n              promiseInput = true;\n            } else {\n              try {\n                promiseInput = arg.then;\n              } catch (error) {\n                let p = new Promise$2(noop);\n                reject$2(p, error);\n                return p;\n              }\n            }\n          } else {\n            promiseInput = false;\n          }\n          if (promiseInput && promiseInput !== true) {\n            arg = wrapThenable(promiseInput, arg);\n          }\n        }\n        args[i] = arg;\n      }\n      let promise = new Promise$2(noop);\n      args[l] = function (err, val) {\n        if (err) {\n          reject$2(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      if (promiseInput) {\n        return handlePromiseInput(promise, args, nodeFunc, this);\n      } else {\n        return handleValueInput(promise, args, nodeFunc, this);\n      }\n    };\n    fn.__proto__ = nodeFunc;\n    return fn;\n  }\n  function handleValueInput(promise, args, nodeFunc, self) {\n    try {\n      nodeFunc.apply(self, args);\n    } catch (error) {\n      reject$2(promise, error);\n    }\n    return promise;\n  }\n  function handlePromiseInput(promise, args, nodeFunc, self) {\n    return Promise$2.all(args).then(args => handleValueInput(promise, args, nodeFunc, self));\n  }\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  function all(array, label) {\n    return Promise$2.all(array, label);\n  }\n\n  /**\n  @module rsvp\n  @public\n  **/\n\n  class AllSettled extends Enumerator {\n    constructor(Constructor, entries, label) {\n      super(Constructor, entries, false /* don't abort on reject */, label);\n    }\n  }\n  AllSettled.prototype._setResultAt = setSettledResult;\n\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$2.reject(new TypeError(\"Promise.allSettled must be called with an array\"), label);\n    }\n    return new AllSettled(Promise$2, entries, label).promise;\n  }\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  function race(array, label) {\n    return Promise$2.race(array, label);\n  }\n  class PromiseHash extends Enumerator {\n    constructor(Constructor, object, abortOnReject = true, label) {\n      super(Constructor, object, abortOnReject, label);\n    }\n    _init(Constructor, object) {\n      this._result = {};\n      this._enumerate(object);\n    }\n    _enumerate(input) {\n      let keys = Object.keys(input);\n      let length = keys.length;\n      let promise = this.promise;\n      this._remaining = length;\n      let key, val;\n      for (let i = 0; promise._state === PENDING && i < length; i++) {\n        key = keys[i];\n        val = input[key];\n        this._eachEntry(val, key, true);\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  function hash(object, label) {\n    return Promise$2.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      return new PromiseHash(Promise$2, object, label).promise;\n    });\n  }\n  class HashSettled extends PromiseHash {\n    constructor(Constructor, object, label) {\n      super(Constructor, object, false, label);\n    }\n  }\n  HashSettled.prototype._setResultAt = setSettledResult;\n\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$2.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      return new HashSettled(Promise$2, object, false, label).promise;\n    });\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  function rethrow(reason) {\n    setTimeout(() => {\n      throw reason;\n    });\n    throw reason;\n  }\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  function defer(label) {\n    let deferred = {\n      resolve: undefined,\n      reject: undefined\n    };\n    deferred.promise = new Promise$2((resolve, reject) => {\n      deferred.resolve = resolve;\n      deferred.reject = reject;\n    }, label);\n    return deferred;\n  }\n  class MapEnumerator extends Enumerator {\n    constructor(Constructor, entries, mapFn, label) {\n      super(Constructor, entries, true, label, mapFn);\n    }\n    _init(Constructor, input, bool, label, mapFn) {\n      let len = input.length || 0;\n      this.length = len;\n      this._remaining = len;\n      this._result = new Array(len);\n      this._mapFn = mapFn;\n      this._enumerate(input);\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  function map(promises, mapFn, label) {\n    if (typeof mapFn !== 'function') {\n      return Promise$2.reject(new TypeError(\"map expects a function as a second argument\"), label);\n    }\n    return Promise$2.resolve(promises, label).then(function (promises) {\n      if (!Array.isArray(promises)) {\n        throw new TypeError(\"map must be called with an array\");\n      }\n      return new MapEnumerator(Promise$2, promises, mapFn, label).promise;\n    });\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  function resolve(value, label) {\n    return Promise$2.resolve(value, label);\n  }\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  function reject(reason, label) {\n    return Promise$2.reject(reason, label);\n  }\n  const EMPTY_OBJECT = {};\n  class FilterEnumerator extends MapEnumerator {\n    _checkFullfillment() {\n      if (this._remaining === 0 && this._result !== null) {\n        let result = this._result.filter(val => val !== EMPTY_OBJECT);\n        fulfill(this.promise, result);\n        this._result = null;\n      }\n    }\n    _setResultAt(state, i, value, firstPass) {\n      if (firstPass) {\n        this._result[i] = value;\n        let val,\n          succeeded = true;\n        try {\n          val = this._mapFn(value, i);\n        } catch (error) {\n          succeeded = false;\n          this._settledAt(REJECTED, i, error, false);\n        }\n        if (succeeded) {\n          this._eachEntry(val, i, false);\n        }\n      } else {\n        this._remaining--;\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  function filter(promises, filterFn, label) {\n    if (typeof filterFn !== 'function') {\n      return Promise$2.reject(new TypeError(\"filter expects function as a second argument\"), label);\n    }\n    return Promise$2.resolve(promises, label).then(function (promises) {\n      if (!Array.isArray(promises)) {\n        throw new TypeError(\"filter must be called with an array\");\n      }\n      return new FilterEnumerator(Promise$2, promises, filterFn, label).promise;\n    });\n  }\n  let len = 0;\n  let vertxNext;\n  function asap(callback, arg) {\n    queue[len] = callback;\n    queue[len + 1] = arg;\n    len += 2;\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();\n    }\n  }\n  const browserWindow = typeof window !== 'undefined' ? window : undefined;\n  const browserGlobal = browserWindow || {};\n  const BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;\n  const isNode = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n\n  // test for web worker but not in IE10\n  const isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';\n\n  // node\n  function useNextTick() {\n    let nextTick = process.nextTick;\n    // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n    // setImmediate should be used instead instead\n    let version = process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);\n    if (Array.isArray(version) && version[1] === '0' && version[2] === '10') {\n      nextTick = setImmediate;\n    }\n    return () => nextTick(flush);\n  }\n\n  // vertx\n  function useVertxTimer() {\n    if (typeof vertxNext !== 'undefined') {\n      return function () {\n        vertxNext(flush);\n      };\n    }\n    return useSetTimeout();\n  }\n  function useMutationObserver() {\n    let iterations = 0;\n    let observer = new BrowserMutationObserver(flush);\n    let node = document.createTextNode('');\n    observer.observe(node, {\n      characterData: true\n    });\n    return () => node.data = iterations = ++iterations % 2;\n  }\n\n  // web worker\n  function useMessageChannel() {\n    let channel = new MessageChannel();\n    channel.port1.onmessage = flush;\n    return () => channel.port2.postMessage(0);\n  }\n  function useSetTimeout() {\n    return () => setTimeout(flush, 1);\n  }\n  const queue = new Array(1000);\n  function flush() {\n    for (let i = 0; i < len; i += 2) {\n      let callback = queue[i];\n      let arg = queue[i + 1];\n      callback(arg);\n      queue[i] = undefined;\n      queue[i + 1] = undefined;\n    }\n    len = 0;\n  }\n  function attemptVertex() {\n    try {\n      const vertx = Function('return this')().require('vertx');\n      vertxNext = vertx.runOnLoop || vertx.runOnContext;\n      return useVertxTimer();\n    } catch (e) {\n      return useSetTimeout();\n    }\n  }\n  let scheduleFlush;\n  // Decide what async method to use to triggering processing of queued callbacks:\n  if (isNode) {\n    scheduleFlush = useNextTick();\n  } else if (BrowserMutationObserver) {\n    scheduleFlush = useMutationObserver();\n  } else if (isWorker) {\n    scheduleFlush = useMessageChannel();\n  } else if (browserWindow === undefined && typeof require === 'function') {\n    scheduleFlush = attemptVertex();\n  } else {\n    scheduleFlush = useSetTimeout();\n  }\n\n  // defaults\n  config.async = asap;\n  config.after = cb => setTimeout(cb, 0);\n  const cast = _exports.cast = resolve;\n  const async = (callback, arg) => config.async(callback, arg);\n  _exports.async = async;\n  function on() {\n    config.on(...arguments);\n  }\n  function off() {\n    config.off(...arguments);\n  }\n\n  // Set up instrumentation through `window.__PROMISE_INTRUMENTATION__`\n  if (typeof window !== 'undefined' && typeof window['__PROMISE_INSTRUMENTATION__'] === 'object') {\n    let callbacks = window['__PROMISE_INSTRUMENTATION__'];\n    configure('instrument', true);\n    for (let eventName in callbacks) {\n      if (callbacks.hasOwnProperty(eventName)) {\n        on(eventName, callbacks[eventName]);\n      }\n    }\n  }\n\n  // the default export here is for backwards compat:\n  //   https://github.com/tildeio/rsvp.js/issues/434\n  var rsvp = _exports.default = {\n    asap,\n    cast,\n    Promise: Promise$2,\n    EventTarget,\n    all,\n    allSettled,\n    race,\n    hash,\n    hashSettled,\n    rethrow,\n    defer,\n    denodeify,\n    configure,\n    on,\n    off,\n    resolve,\n    reject,\n    map,\n    async,\n    filter\n  };\n});","if (typeof FastBoot === 'undefined') {\n      var preferNative = false;\n      (function (originalGlobal) {\n  define('fetch', ['exports', 'ember', 'rsvp'], function (exports, Ember__module, RSVP__module) {\n    'use strict';\n\n    var Ember = 'default' in Ember__module ? Ember__module['default'] : Ember__module;\n    var RSVP = 'default' in RSVP__module ? RSVP__module['default'] : RSVP__module;\n    var Promise = RSVP.Promise;\n    var supportProps = ['FormData', 'FileReader', 'Blob', 'URLSearchParams', 'Symbol', 'ArrayBuffer'];\n    var polyfillProps = ['fetch', 'Headers', 'Request', 'Response', 'AbortController'];\n    var combinedProps = supportProps;\n    if (preferNative) {\n      combinedProps = supportProps.concat(polyfillProps);\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    });\n\n    // shadow github/fetch global object\n    // https://github.com/github/fetch/blob/v3.4.0/fetch.js\n    var globalThis = exports;\n    // shadow mo/abortcontroller-polyfill global object\n    // https://github.com/mo/abortcontroller-polyfill/blob/v1.4.0/src/abortcontroller-polyfill.js\n    var self = exports;\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        addEventListener(type, callback, options) {\n          if (!(type in this.listeners)) {\n            this.listeners[type] = [];\n          }\n          this.listeners[type].push({\n            callback,\n            options\n          });\n        }\n        removeEventListener(type, callback) {\n          if (!(type in this.listeners)) {\n            return;\n          }\n          const stack = this.listeners[type];\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        dispatchEvent(event) {\n          if (!(event.type in this.listeners)) {\n            return;\n          }\n          const stack = this.listeners[event.type];\n          const stackToCall = stack.slice();\n          for (let i = 0, l = stackToCall.length; i < l; i++) {\n            const listener = stackToCall[i];\n            try {\n              listener.callback.call(this, event);\n            } catch (e) {\n              Promise.resolve().then(() => {\n                throw e;\n              });\n            }\n            if (listener.options && listener.options.once) {\n              this.removeEventListener(event.type, listener.callback);\n            }\n          }\n          return !event.defaultPrevented;\n        }\n      }\n      class AbortSignal extends Emitter {\n        constructor() {\n          super();\n          // 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          if (!this.listeners) {\n            Emitter.call(this);\n          }\n\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          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          Object.defineProperty(this, 'reason', {\n            value: undefined,\n            writable: true,\n            configurable: true\n          });\n        }\n        toString() {\n          return '[object AbortSignal]';\n        }\n        dispatchEvent(event) {\n          if (event.type === 'abort') {\n            this.aborted = true;\n            if (typeof this.onabort === 'function') {\n              this.onabort.call(this, event);\n            }\n          }\n          super.dispatchEvent(event);\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        abort(reason) {\n          let event;\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          let signalReason = reason;\n          if (signalReason === undefined) {\n            if (typeof document === 'undefined') {\n              signalReason = new Error('This operation was aborted');\n              signalReason.name = 'AbortError';\n            } else {\n              try {\n                signalReason = new DOMException('signal is aborted without reason');\n              } catch (err) {\n                // IE 11 does not support calling the DOMException constructor, use a\n                // regular error object on it instead.\n                signalReason = new Error('This operation was aborted');\n                signalReason.name = 'AbortError';\n              }\n            }\n          }\n          this.signal.reason = signalReason;\n          this.signal.dispatchEvent(event);\n        }\n        toString() {\n          return '[object AbortController]';\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      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        }\n\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        return typeof self.Request === 'function' && !self.Request.prototype.hasOwnProperty('signal') || !self.AbortController;\n      }\n      (function (self) {\n        if (!polyfillNeeded(self)) {\n          return;\n        }\n        self.AbortController = AbortController;\n        self.AbortSignal = AbortSignal;\n      })(typeof self !== 'undefined' ? self : global);\n    })();\n    var WHATWGFetch = function (exports) {\n      'use strict';\n\n      /* eslint-disable no-prototype-builtins */\n      var g = typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self ||\n      // eslint-disable-next-line no-undef\n      typeof global !== 'undefined' && global || {};\n      var support = {\n        searchParams: 'URLSearchParams' in g,\n        iterable: 'Symbol' in g && 'iterator' in Symbol,\n        blob: 'FileReader' in g && 'Blob' in g && function () {\n          try {\n            new Blob();\n            return true;\n          } catch (e) {\n            return false;\n          }\n        }(),\n        formData: 'FormData' in g,\n        arrayBuffer: 'ArrayBuffer' in g\n      };\n      function isDataView(obj) {\n        return obj && DataView.prototype.isPrototypeOf(obj);\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        var isArrayBufferView = ArrayBuffer.isView || function (obj) {\n          return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1;\n        };\n      }\n      function normalizeName(name) {\n        if (typeof name !== 'string') {\n          name = String(name);\n        }\n        if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n          throw new TypeError('Invalid character in header field name: \"' + name + '\"');\n        }\n        return name.toLowerCase();\n      }\n      function normalizeValue(value) {\n        if (typeof value !== 'string') {\n          value = String(value);\n        }\n        return value;\n      }\n\n      // Build a destructive iterator for the value list\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        if (support.iterable) {\n          iterator[Symbol.iterator] = function () {\n            return iterator;\n          };\n        }\n        return iterator;\n      }\n      function Headers(headers) {\n        this.map = {};\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            if (header.length != 2) {\n              throw new TypeError('Headers constructor: expected name/value pair to be length 2, found' + header.length);\n            }\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      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      Headers.prototype['delete'] = function (name) {\n        delete this.map[normalizeName(name)];\n      };\n      Headers.prototype.get = function (name) {\n        name = normalizeName(name);\n        return this.has(name) ? this.map[name] : null;\n      };\n      Headers.prototype.has = function (name) {\n        return this.map.hasOwnProperty(normalizeName(name));\n      };\n      Headers.prototype.set = function (name, value) {\n        this.map[normalizeName(name)] = normalizeValue(value);\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      Headers.prototype.keys = function () {\n        var items = [];\n        this.forEach(function (value, name) {\n          items.push(name);\n        });\n        return iteratorFor(items);\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      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      if (support.iterable) {\n        Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n      }\n      function consumed(body) {\n        if (body._noBody) return;\n        if (body.bodyUsed) {\n          return Promise.reject(new TypeError('Already read'));\n        }\n        body.bodyUsed = true;\n      }\n      function fileReaderReady(reader) {\n        return new Promise(function (resolve, reject) {\n          reader.onload = function () {\n            resolve(reader.result);\n          };\n          reader.onerror = function () {\n            reject(reader.error);\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      function readBlobAsText(blob) {\n        var reader = new FileReader();\n        var promise = fileReaderReady(reader);\n        var match = /charset=([A-Za-z0-9_-]+)/.exec(blob.type);\n        var encoding = match ? match[1] : 'utf-8';\n        reader.readAsText(blob, encoding);\n        return promise;\n      }\n      function readArrayBufferAsText(buf) {\n        var view = new Uint8Array(buf);\n        var chars = new Array(view.length);\n        for (var i = 0; i < view.length; i++) {\n          chars[i] = String.fromCharCode(view[i]);\n        }\n        return chars.join('');\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      function Body() {\n        this.bodyUsed = false;\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          // eslint-disable-next-line no-self-assign\n          this.bodyUsed = this.bodyUsed;\n          this._bodyInit = body;\n          if (!body) {\n            this._noBody = true;\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);\n            // IE 10-11 can't handle a DataView body.\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          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        if (support.blob) {\n          this.blob = function () {\n            var rejected = consumed(this);\n            if (rejected) {\n              return rejected;\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            if (isConsumed) {\n              return isConsumed;\n            } else 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 if (support.blob) {\n            return this.blob().then(readBlobAsArrayBuffer);\n          } else {\n            throw new Error('could not read as ArrayBuffer');\n          }\n        };\n        this.text = function () {\n          var rejected = consumed(this);\n          if (rejected) {\n            return rejected;\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        if (support.formData) {\n          this.formData = function () {\n            return this.text().then(decode);\n          };\n        }\n        this.json = function () {\n          return this.text().then(JSON.parse);\n        };\n        return this;\n      }\n\n      // HTTP methods whose capitalization should be normalized\n      var methods = ['CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', 'TRACE'];\n      function normalizeMethod(method) {\n        var upcased = method.toUpperCase();\n        return methods.indexOf(upcased) > -1 ? upcased : method;\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        options = options || {};\n        var body = options.body;\n        if (input instanceof Request) {\n          if (input.bodyUsed) {\n            throw new TypeError('Already read');\n          }\n          this.url = input.url;\n          this.credentials = input.credentials;\n          if (!options.headers) {\n            this.headers = new Headers(input.headers);\n          }\n          this.method = input.method;\n          this.mode = input.mode;\n          this.signal = input.signal;\n          if (!body && input._bodyInit != null) {\n            body = input._bodyInit;\n            input.bodyUsed = true;\n          }\n        } else {\n          this.url = String(input);\n        }\n        this.credentials = options.credentials || this.credentials || 'same-origin';\n        if (options.headers || !this.headers) {\n          this.headers = new Headers(options.headers);\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 || function () {\n          if ('AbortController' in g) {\n            var ctrl = new AbortController();\n            return ctrl.signal;\n          }\n        }();\n        this.referrer = null;\n        if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n          throw new TypeError('Body not allowed for GET or HEAD requests');\n        }\n        this._initBody(body);\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            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      Request.prototype.clone = function () {\n        return new Request(this, {\n          body: this._bodyInit\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      function parseHeaders(rawHeaders) {\n        var headers = new Headers();\n        // 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        var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n        // 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        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          if (key) {\n            var value = parts.join(':').trim();\n            try {\n              headers.append(key, value);\n            } catch (error) {\n              console.warn('Response ' + error.message);\n            }\n          }\n        });\n        return headers;\n      }\n      Body.call(Request.prototype);\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        if (!options) {\n          options = {};\n        }\n        this.type = 'default';\n        this.status = options.status === undefined ? 200 : options.status;\n        if (this.status < 200 || this.status > 599) {\n          throw new RangeError(\"Failed to construct 'Response': The status provided (0) is outside the range [200, 599].\");\n        }\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        this._initBody(bodyInit);\n      }\n      Body.call(Response.prototype);\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      Response.error = function () {\n        var response = new Response(null, {\n          status: 200,\n          statusText: ''\n        });\n        response.ok = false;\n        response.status = 0;\n        response.type = 'error';\n        return response;\n      };\n      var redirectStatuses = [301, 302, 303, 307, 308];\n      Response.redirect = function (url, status) {\n        if (redirectStatuses.indexOf(status) === -1) {\n          throw new RangeError('Invalid status code');\n        }\n        return new Response(null, {\n          status: status,\n          headers: {\n            location: url\n          }\n        });\n      };\n      exports.DOMException = g.DOMException;\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        exports.DOMException.prototype = Object.create(Error.prototype);\n        exports.DOMException.prototype.constructor = exports.DOMException;\n      }\n      function fetch(input, init) {\n        return new Promise(function (resolve, reject) {\n          var request = new Request(input, init);\n          if (request.signal && request.signal.aborted) {\n            return reject(new exports.DOMException('Aborted', 'AbortError'));\n          }\n          var xhr = new XMLHttpRequest();\n          function abortXhr() {\n            xhr.abort();\n          }\n          xhr.onload = function () {\n            var options = {\n              statusText: xhr.statusText,\n              headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n            };\n            // This check if specifically for when a user fetches a file locally from the file system\n            // Only if the status is out of a normal range\n            if (request.url.indexOf('file://') === 0 && (xhr.status < 200 || xhr.status > 599)) {\n              options.status = 200;\n            } else {\n              options.status = xhr.status;\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          xhr.onerror = function () {\n            setTimeout(function () {\n              reject(new TypeError('Network request failed'));\n            }, 0);\n          };\n          xhr.ontimeout = function () {\n            setTimeout(function () {\n              reject(new TypeError('Network request timed out'));\n            }, 0);\n          };\n          xhr.onabort = function () {\n            setTimeout(function () {\n              reject(new exports.DOMException('Aborted', 'AbortError'));\n            }, 0);\n          };\n          function fixUrl(url) {\n            try {\n              return url === '' && g.location.href ? g.location.href : url;\n            } catch (e) {\n              return url;\n            }\n          }\n          xhr.open(request.method, fixUrl(request.url), true);\n          if (request.credentials === 'include') {\n            xhr.withCredentials = true;\n          } else if (request.credentials === 'omit') {\n            xhr.withCredentials = false;\n          }\n          if ('responseType' in xhr) {\n            if (support.blob) {\n              xhr.responseType = 'blob';\n            } else if (support.arrayBuffer) {\n              xhr.responseType = 'arraybuffer';\n            }\n          }\n          if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers || g.Headers && init.headers instanceof g.Headers)) {\n            var names = [];\n            Object.getOwnPropertyNames(init.headers).forEach(function (name) {\n              names.push(normalizeName(name));\n              xhr.setRequestHeader(name, normalizeValue(init.headers[name]));\n            });\n            request.headers.forEach(function (value, name) {\n              if (names.indexOf(name) === -1) {\n                xhr.setRequestHeader(name, value);\n              }\n            });\n          } else {\n            request.headers.forEach(function (value, name) {\n              xhr.setRequestHeader(name, value);\n            });\n          }\n          if (request.signal) {\n            request.signal.addEventListener('abort', abortXhr);\n            xhr.onreadystatechange = function () {\n              // DONE (success or failure)\n              if (xhr.readyState === 4) {\n                request.signal.removeEventListener('abort', abortXhr);\n              }\n            };\n          }\n          xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n        });\n      }\n      fetch.polyfill = true;\n      if (!g.fetch) {\n        g.fetch = fetch;\n        g.Headers = Headers;\n        g.Request = Request;\n        g.Response = Response;\n      }\n      exports.Headers = Headers;\n      exports.Request = Request;\n      exports.Response = Response;\n      exports.fetch = fetch;\n      return exports;\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    var pending = 0;\n    function decrement(result) {\n      pending--;\n      return result;\n    }\n    if (Ember.Test) {\n      Ember.Test.registerWaiter(function () {\n        return pending === 0;\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    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    }","/**\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 */\nexport default function isFunction(functionToCheck) {\n  const getType = {};\n  return (\n    functionToCheck &&\n    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 */\nexport default function getStyleComputedProperty(element, property) {\n  if (element.nodeType !== 1) {\n    return [];\n  }\n  // NOTE: 1 DOM access here\n  const window = element.ownerDocument.defaultView;\n  const css = window.getComputedStyle(element, null);\n  return property ? css[property] : css;\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 */\nexport default function getParentNode(element) {\n  if (element.nodeName === 'HTML') {\n    return element;\n  }\n  return element.parentNode || element.host;\n}\n","import getStyleComputedProperty from './getStyleComputedProperty';\nimport getParentNode from './getParentNode';\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 */\nexport default function 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  const { overflow, overflowX, overflowY } = getStyleComputedProperty(element);\n  if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {\n    return element;\n  }\n\n  return getScrollParent(getParentNode(element));\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 */\nexport default function getReferenceNode(reference) {\n  return reference && reference.referenceNode ? reference.referenceNode : reference;\n}\n","import isBrowser from './isBrowser';\n\nconst isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);\nconst 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 */\nexport default function isIE(version) {\n  if (version === 11) {\n    return isIE11;\n  }\n  if (version === 10) {\n    return isIE10;\n  }\n  return isIE11 || isIE10;\n}\n","import getStyleComputedProperty from './getStyleComputedProperty';\nimport isIE from './isIE';\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 */\nexport default function getOffsetParent(element) {\n  if (!element) {\n    return document.documentElement;\n  }\n\n  const noOffsetParent = isIE(10) ? document.body : null;\n\n  // NOTE: 1 DOM access here\n  let 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  const 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 (\n    ['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 &&\n    getStyleComputedProperty(offsetParent, 'position') === 'static'\n  ) {\n    return getOffsetParent(offsetParent);\n  }\n\n  return offsetParent;\n}\n","import getOffsetParent from './getOffsetParent';\n\nexport default function isOffsetContainer(element) {\n  const { nodeName } = element;\n  if (nodeName === 'BODY') {\n    return false;\n  }\n  return (\n    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 */\nexport default function getRoot(node) {\n  if (node.parentNode !== null) {\n    return getRoot(node.parentNode);\n  }\n\n  return node;\n}\n","import isOffsetContainer from './isOffsetContainer';\nimport getRoot from './getRoot';\nimport getOffsetParent from './getOffsetParent';\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 */\nexport default function 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  const order =\n    element1.compareDocumentPosition(element2) &\n    Node.DOCUMENT_POSITION_FOLLOWING;\n  const start = order ? element1 : element2;\n  const end = order ? element2 : element1;\n\n  // Get common ancestor container\n  const range = document.createRange();\n  range.setStart(start, 0);\n  range.setEnd(end, 0);\n  const { commonAncestorContainer } = range;\n\n  // Both nodes are inside #document\n  if (\n    (element1 !== commonAncestorContainer &&\n      element2 !== commonAncestorContainer) ||\n    start.contains(end)\n  ) {\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  const 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 * 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 */\nexport default function getScroll(element, side = 'top') {\n  const upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';\n  const nodeName = element.nodeName;\n\n  if (nodeName === 'BODY' || nodeName === 'HTML') {\n    const html = element.ownerDocument.documentElement;\n    const scrollingElement = element.ownerDocument.scrollingElement || html;\n    return scrollingElement[upperSide];\n  }\n\n  return element[upperSide];\n}\n","import getScroll from './getScroll';\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 */\nexport default function includeScroll(rect, element, subtract = false) {\n  const scrollTop = getScroll(element, 'top');\n  const scrollLeft = getScroll(element, 'left');\n  const 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 * 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\nexport default function getBordersSize(styles, axis) {\n  const sideA = axis === 'x' ? 'Left' : 'Top';\n  const sideB = sideA === 'Left' ? 'Right' : 'Bottom';\n\n  return (\n    parseFloat(styles[`border${sideA}Width`]) +\n    parseFloat(styles[`border${sideB}Width`])\n  );\n}\n","import isIE from './isIE';\n\nfunction getSize(axis, body, html, computedStyle) {\n  return Math.max(\n    body[`offset${axis}`],\n    body[`scroll${axis}`],\n    html[`client${axis}`],\n    html[`offset${axis}`],\n    html[`scroll${axis}`],\n    isIE(10)\n      ? (parseInt(html[`offset${axis}`]) + \n      parseInt(computedStyle[`margin${axis === 'Height' ? 'Top' : 'Left'}`]) + \n      parseInt(computedStyle[`margin${axis === 'Height' ? 'Bottom' : 'Right'}`]))\n    : 0 \n  );\n}\n\nexport default function getWindowSizes(document) {\n  const body = document.body;\n  const html = document.documentElement;\n  const 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","/**\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 */\nexport default function getClientRect(offsets) {\n  return {\n    ...offsets,\n    right: offsets.left + offsets.width,\n    bottom: offsets.top + offsets.height,\n  };\n}\n","import getStyleComputedProperty from './getStyleComputedProperty';\nimport getBordersSize from './getBordersSize';\nimport getWindowSizes from './getWindowSizes';\nimport getScroll from './getScroll';\nimport getClientRect from './getClientRect';\nimport isIE from './isIE';\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 */\nexport default function getBoundingClientRect(element) {\n  let 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      const scrollTop = getScroll(element, 'top');\n      const scrollLeft = getScroll(element, 'left');\n      rect.top += scrollTop;\n      rect.left += scrollLeft;\n      rect.bottom += scrollTop;\n      rect.right += scrollLeft;\n    }\n    else {\n      rect = element.getBoundingClientRect();\n    }\n  }\n  catch(e){}\n\n  const 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  const sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n  const width =\n    sizes.width || element.clientWidth || result.width;\n  const height =\n    sizes.height || element.clientHeight || result.height;\n\n  let horizScrollbar = element.offsetWidth - width;\n  let 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    const 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","import getStyleComputedProperty from './getStyleComputedProperty';\nimport includeScroll from './includeScroll';\nimport getScrollParent from './getScrollParent';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport runIsIE from './isIE';\nimport getClientRect from './getClientRect';\n\nexport default function getOffsetRectRelativeToArbitraryNode(children, parent, fixedPosition = false) {\n  const isIE10 = runIsIE(10);\n  const isHTML = parent.nodeName === 'HTML';\n  const childrenRect = getBoundingClientRect(children);\n  const parentRect = getBoundingClientRect(parent);\n  const scrollParent = getScrollParent(children);\n\n  const styles = getStyleComputedProperty(parent);\n  const borderTopWidth = parseFloat(styles.borderTopWidth);\n  const 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  let 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    const marginTop = parseFloat(styles.marginTop);\n    const 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 (\n    isIE10 && !fixedPosition\n      ? parent.contains(scrollParent)\n      : parent === scrollParent && scrollParent.nodeName !== 'BODY'\n  ) {\n    offsets = includeScroll(offsets, parent);\n  }\n\n  return offsets;\n}\n","import getOffsetRectRelativeToArbitraryNode from './getOffsetRectRelativeToArbitraryNode';\nimport getScroll from './getScroll';\nimport getClientRect from './getClientRect';\n\nexport default function getViewportOffsetRectRelativeToArtbitraryNode(element, excludeScroll = false) {\n  const html = element.ownerDocument.documentElement;\n  const relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);\n  const width = Math.max(html.clientWidth, window.innerWidth || 0);\n  const height = Math.max(html.clientHeight, window.innerHeight || 0);\n\n  const scrollTop = !excludeScroll ? getScroll(html) : 0;\n  const scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;\n\n  const offset = {\n    top: scrollTop - relativeOffset.top + relativeOffset.marginTop,\n    left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,\n    width,\n    height,\n  };\n\n  return getClientRect(offset);\n}\n","import getStyleComputedProperty from './getStyleComputedProperty';\nimport getParentNode from './getParentNode';\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 */\nexport default function isFixed(element) {\n  const nodeName = element.nodeName;\n  if (nodeName === 'BODY' || nodeName === 'HTML') {\n    return false;\n  }\n  if (getStyleComputedProperty(element, 'position') === 'fixed') {\n    return true;\n  }\n  const parentNode = getParentNode(element);\n  if (!parentNode) {\n    return false;\n  }\n  return isFixed(parentNode);\n}\n","import getStyleComputedProperty from './getStyleComputedProperty';\nimport isIE from './isIE';\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\nexport default function 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  let el = element.parentElement;\n  while (el && getStyleComputedProperty(el, 'transform') === 'none') {\n    el = el.parentElement;\n  }\n  return el || document.documentElement;\n\n}\n","import getScrollParent from './getScrollParent';\nimport getParentNode from './getParentNode';\nimport getReferenceNode from './getReferenceNode';\nimport findCommonOffsetParent from './findCommonOffsetParent';\nimport getOffsetRectRelativeToArbitraryNode from './getOffsetRectRelativeToArbitraryNode';\nimport getViewportOffsetRectRelativeToArtbitraryNode from './getViewportOffsetRectRelativeToArtbitraryNode';\nimport getWindowSizes from './getWindowSizes';\nimport isFixed from './isFixed';\nimport getFixedPositionOffsetParent from './getFixedPositionOffsetParent';\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 */\nexport default function getBoundaries(\n  popper,\n  reference,\n  padding,\n  boundariesElement,\n  fixedPosition = false\n) {\n  // NOTE: 1 DOM access here\n\n  let boundaries = { top: 0, left: 0 };\n  const offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference));\n\n  // Handle viewport case\n  if (boundariesElement === 'viewport' ) {\n    boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);\n  }\n\n  else {\n    // Handle other cases based on DOM element used as boundaries\n    let boundariesNode;\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    const offsets = getOffsetRectRelativeToArbitraryNode(\n      boundariesNode,\n      offsetParent,\n      fixedPosition\n    );\n\n    // In case of HTML, we need a different computation\n    if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {\n      const { height, width } = getWindowSizes(popper.ownerDocument);\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  const 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","import getBoundaries from '../utils/getBoundaries';\n\nfunction getArea({ width, height }) {\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 */\nexport default function computeAutoPlacement(\n  placement,\n  refRect,\n  popper,\n  reference,\n  boundariesElement,\n  padding = 0\n) {\n  if (placement.indexOf('auto') === -1) {\n    return placement;\n  }\n\n  const boundaries = getBoundaries(\n    popper,\n    reference,\n    padding,\n    boundariesElement\n  );\n\n  const 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  const sortedAreas = Object.keys(rects)\n    .map(key => ({\n      key,\n      ...rects[key],\n      area: getArea(rects[key]),\n    }))\n    .sort((a, b) => b.area - a.area);\n\n  const filteredAreas = sortedAreas.filter(\n    ({ width, height }) =>\n      width >= popper.clientWidth && height >= popper.clientHeight\n  );\n\n  const computedPlacement = filteredAreas.length > 0\n    ? filteredAreas[0].key\n    : sortedAreas[0].key;\n\n  const variation = placement.split('-')[1];\n\n  return computedPlacement + (variation ? `-${variation}` : '');\n}\n","import findCommonOffsetParent from './findCommonOffsetParent';\nimport getOffsetRectRelativeToArbitraryNode from './getOffsetRectRelativeToArbitraryNode';\nimport getFixedPositionOffsetParent from './getFixedPositionOffsetParent';\nimport getReferenceNode from './getReferenceNode';\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 */\nexport default function getReferenceOffsets(state, popper, reference, fixedPosition = null) {\n  const commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference));\n  return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);\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 */\nexport default function getOuterSizes(element) {\n  const window = element.ownerDocument.defaultView;\n  const styles = window.getComputedStyle(element);\n  const x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);\n  const y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);\n  const result = {\n    width: element.offsetWidth + y,\n    height: element.offsetHeight + x,\n  };\n  return result;\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 */\nexport default function getOppositePlacement(placement) {\n  const hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\n  return placement.replace(/left|right|bottom|top/g, matched => hash[matched]);\n}\n","import getOuterSizes from './getOuterSizes';\nimport getOppositePlacement from './getOppositePlacement';\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 */\nexport default function getPopperOffsets(popper, referenceOffsets, placement) {\n  placement = placement.split('-')[0];\n\n  // Get popper node sizes\n  const popperRect = getOuterSizes(popper);\n\n  // Add position, width and height to our offsets object\n  const 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  const isHoriz = ['right', 'left'].indexOf(placement) !== -1;\n  const mainSide = isHoriz ? 'top' : 'left';\n  const secondarySide = isHoriz ? 'left' : 'top';\n  const measurement = isHoriz ? 'height' : 'width';\n  const secondaryMeasurement = !isHoriz ? 'height' : 'width';\n\n  popperOffsets[mainSide] =\n    referenceOffsets[mainSide] +\n    referenceOffsets[measurement] / 2 -\n    popperRect[measurement] / 2;\n  if (placement === secondarySide) {\n    popperOffsets[secondarySide] =\n      referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];\n  } else {\n    popperOffsets[secondarySide] =\n      referenceOffsets[getOppositePlacement(secondarySide)];\n  }\n\n  return popperOffsets;\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 */\nexport default function 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","import find from './find';\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 */\nexport default function findIndex(arr, prop, value) {\n  // use native findIndex if supported\n  if (Array.prototype.findIndex) {\n    return arr.findIndex(cur => cur[prop] === value);\n  }\n\n  // use `find` + `indexOf` if `findIndex` isn't supported\n  const match = find(arr, obj => obj[prop] === value);\n  return arr.indexOf(match);\n}\n","import isFunction from './isFunction';\nimport findIndex from './findIndex';\nimport getClientRect from '../utils/getClientRect';\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 */\nexport default function runModifiers(modifiers, data, ends) {\n  const modifiersToRun = ends === undefined\n    ? modifiers\n    : modifiers.slice(0, findIndex(modifiers, 'name', ends));\n\n  modifiersToRun.forEach(modifier => {\n    if (modifier['function']) { // eslint-disable-line dot-notation\n      console.warn('`modifier.function` is deprecated, use `modifier.fn`!');\n    }\n    const 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","import computeAutoPlacement from '../utils/computeAutoPlacement';\nimport getReferenceOffsets from '../utils/getReferenceOffsets';\nimport getPopperOffsets from '../utils/getPopperOffsets';\nimport runModifiers from '../utils/runModifiers';\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 */\nexport default function update() {\n  // if popper is destroyed, don't perform any further update\n  if (this.state.isDestroyed) {\n    return;\n  }\n\n  let 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(\n    this.state,\n    this.popper,\n    this.reference,\n    this.options.positionFixed\n  );\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(\n    this.options.placement,\n    data.offsets.reference,\n    this.popper,\n    this.reference,\n    this.options.modifiers.flip.boundariesElement,\n    this.options.modifiers.flip.padding\n  );\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(\n    this.popper,\n    data.offsets.reference,\n    data.placement\n  );\n\n  data.offsets.popper.position = this.options.positionFixed\n    ? 'fixed'\n    : '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 * Helper used to know if the given modifier is enabled.\n * @method\n * @memberof Popper.Utils\n * @returns {Boolean}\n */\nexport default function isModifierEnabled(modifiers, modifierName) {\n  return modifiers.some(\n    ({ name, enabled }) => enabled && name === modifierName\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 */\nexport default function getSupportedPropertyName(property) {\n  const prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];\n  const upperProp = property.charAt(0).toUpperCase() + property.slice(1);\n\n  for (let i = 0; i < prefixes.length; i++) {\n    const prefix = prefixes[i];\n    const toCheck = prefix ? `${prefix}${upperProp}` : property;\n    if (typeof document.body.style[toCheck] !== 'undefined') {\n      return toCheck;\n    }\n  }\n  return null;\n}\n","import isModifierEnabled from '../utils/isModifierEnabled';\nimport getSupportedPropertyName from '../utils/getSupportedPropertyName';\n\n/**\n * Destroys the popper.\n * @method\n * @memberof Popper\n */\nexport default function 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 * Get the window associated with the element\n * @argument {Element} element\n * @returns {Window}\n */\nexport default function getWindow(element) {\n  const ownerDocument = element.ownerDocument;\n  return ownerDocument ? ownerDocument.defaultView : window;\n}\n","import getScrollParent from './getScrollParent';\nimport getWindow from './getWindow';\n\nfunction attachToScrollParents(scrollParent, event, callback, scrollParents) {\n  const isBody = scrollParent.nodeName === 'BODY';\n  const target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;\n  target.addEventListener(event, callback, { passive: true });\n\n  if (!isBody) {\n    attachToScrollParents(\n      getScrollParent(target.parentNode),\n      event,\n      callback,\n      scrollParents\n    );\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 */\nexport default function setupEventListeners(\n  reference,\n  options,\n  state,\n  updateBound\n) {\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  const scrollElement = getScrollParent(reference);\n  attachToScrollParents(\n    scrollElement,\n    'scroll',\n    state.updateBound,\n    state.scrollParents\n  );\n  state.scrollElement = scrollElement;\n  state.eventsEnabled = true;\n\n  return state;\n}\n","import setupEventListeners from '../utils/setupEventListeners';\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 */\nexport default function enableEventListeners() {\n  if (!this.state.eventsEnabled) {\n    this.state = setupEventListeners(\n      this.reference,\n      this.options,\n      this.state,\n      this.scheduleUpdate\n    );\n  }\n}\n","import getWindow from './getWindow';\n\n/**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nexport default function 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(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","import removeEventListeners from '../utils/removeEventListeners';\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 */\nexport default function disableEventListeners() {\n  if (this.state.eventsEnabled) {\n    cancelAnimationFrame(this.scheduleUpdate);\n    this.state = removeEventListeners(this.reference, this.state);\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 */\nexport default function isNumeric(n) {\n  return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n}\n","import isNumeric from './isNumeric';\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 */\nexport default function setStyles(element, styles) {\n  Object.keys(styles).forEach(prop => {\n    let unit = '';\n    // add unit if the value is numeric and is one of the following\n    if (\n      ['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !==\n        -1 &&\n      isNumeric(styles[prop])\n    ) {\n      unit = 'px';\n    }\n    element.style[prop] = styles[prop] + unit;\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 */\nexport default function setAttributes(element, attributes) {\n  Object.keys(attributes).forEach(function(prop) {\n    const value = attributes[prop];\n    if (value !== false) {\n      element.setAttribute(prop, attributes[prop]);\n    } else {\n      element.removeAttribute(prop);\n    }\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 */\nexport default function getRoundedOffsets(data, shouldRound) {\n  const { popper, reference } = data.offsets;\n  const { round, floor } = Math;\n  const noRound = v => v;\n  \n  const referenceWidth = round(reference.width);\n  const popperWidth = round(popper.width);\n  \n  const isVertical = ['left', 'right'].indexOf(data.placement) !== -1;\n  const isVariation = data.placement.indexOf('-') !== -1;\n  const sameWidthParity = referenceWidth % 2 === popperWidth % 2;\n  const bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1;\n\n  const horizontalToInteger = !shouldRound\n    ? noRound\n    : isVertical || isVariation || sameWidthParity\n    ? round\n    : floor;\n  const verticalToInteger = !shouldRound ? noRound : round;\n\n  return {\n    left: horizontalToInteger(\n      bothOddWidth && !isVariation && shouldRound\n        ? popper.left - 1\n        : popper.left\n    ),\n    top: verticalToInteger(popper.top),\n    bottom: verticalToInteger(popper.bottom),\n    right: horizontalToInteger(popper.right),\n  };\n}\n","import find from './find';\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 */\nexport default function isModifierRequired(\n  modifiers,\n  requestingName,\n  requestedName\n) {\n  const requesting = find(modifiers, ({ name }) => name === requestingName);\n\n  const isRequired =\n    !!requesting &&\n    modifiers.some(modifier => {\n      return (\n        modifier.name === requestedName &&\n        modifier.enabled &&\n        modifier.order < requesting.order\n      );\n    });\n\n  if (!isRequired) {\n    const requesting = `\\`${requestingName}\\``;\n    const requested = `\\`${requestedName}\\``;\n    console.warn(\n      `${requested} modifier is required by ${requesting} modifier in order to work, be sure to include it before ${requesting}!`\n    );\n  }\n  return isRequired;\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 */\nexport default function getOppositeVariation(variation) {\n  if (variation === 'end') {\n    return 'start';\n  } else if (variation === 'start') {\n    return 'end';\n  }\n  return variation;\n}\n","import placements from '../methods/placements';\n\n// Get rid of `auto` `auto-start` and `auto-end`\nconst 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 */\nexport default function clockwise(placement, counter = false) {\n  const index = validPlacements.indexOf(placement);\n  const arr = validPlacements\n    .slice(index + 1)\n    .concat(validPlacements.slice(0, index));\n  return counter ? arr.reverse() : arr;\n}\n","import isNumeric from '../utils/isNumeric';\nimport getClientRect from '../utils/getClientRect';\nimport find from '../utils/find';\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 */\nexport function toValue(str, measurement, popperOffsets, referenceOffsets) {\n  // separate value from unit\n  const split = str.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/);\n  const value = +split[1];\n  const 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    let element;\n    switch (unit) {\n      case '%p':\n        element = popperOffsets;\n        break;\n      case '%':\n      case '%r':\n      default:\n        element = referenceOffsets;\n    }\n\n    const 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    let size;\n    if (unit === 'vh') {\n      size = Math.max(\n        document.documentElement.clientHeight,\n        window.innerHeight || 0\n      );\n    } else {\n      size = Math.max(\n        document.documentElement.clientWidth,\n        window.innerWidth || 0\n      );\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 */\nexport function parseOffset(\n  offset,\n  popperOffsets,\n  referenceOffsets,\n  basePlacement\n) {\n  const 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  const 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  const fragments = offset.split(/(\\+|\\-)/).map(frag => frag.trim());\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  const divider = fragments.indexOf(\n    find(fragments, frag => frag.search(/,|\\s/) !== -1)\n  );\n\n  if (fragments[divider] && fragments[divider].indexOf(',') === -1) {\n    console.warn(\n      'Offsets separated by white space(s) are deprecated, use a comma (,) instead.'\n    );\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  const splitRegex = /\\s*,\\s*|\\s+/;\n  let ops = divider !== -1\n    ? [\n        fragments\n          .slice(0, divider)\n          .concat([fragments[divider].split(splitRegex)[0]]),\n        [fragments[divider].split(splitRegex)[1]].concat(\n          fragments.slice(divider + 1)\n        ),\n      ]\n    : [fragments];\n\n  // Convert the values with units to absolute pixels to allow our computations\n  ops = ops.map((op, index) => {\n    // Most of the units rely on the orientation of the popper\n    const measurement = (index === 1 ? !useHeight : useHeight)\n      ? 'height'\n      : 'width';\n    let mergeWithPrevious = false;\n    return (\n      op\n        // This aggregates any `+` or `-` sign that aren't considered operators\n        // e.g.: 10 + +5 => [10, +, +5]\n        .reduce((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(str => toValue(str, measurement, popperOffsets, referenceOffsets))\n    );\n  });\n\n  // Loop trough the offsets arrays and execute the operations\n  ops.forEach((op, index) => {\n    op.forEach((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 */\nexport default function offset(data, { offset }) {\n  const { placement, offsets: { popper, reference } } = data;\n  const basePlacement = placement.split('-')[0];\n\n  let offsets;\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","import getClientRect from '../utils/getClientRect';\nimport getOuterSizes from '../utils/getOuterSizes';\nimport isModifierRequired from '../utils/isModifierRequired';\nimport getStyleComputedProperty from '../utils/getStyleComputedProperty';\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 */\nexport default function arrow(data, options) {\n  // arrow depends on keepTogether in order to work\n  if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {\n    return data;\n  }\n\n  let 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(\n        'WARNING: `arrow.element` must be child of its popper element!'\n      );\n      return data;\n    }\n  }\n\n  const placement = data.placement.split('-')[0];\n  const { popper, reference } = data.offsets;\n  const isVertical = ['left', 'right'].indexOf(placement) !== -1;\n\n  const len = isVertical ? 'height' : 'width';\n  const sideCapitalized = isVertical ? 'Top' : 'Left';\n  const side = sideCapitalized.toLowerCase();\n  const altSide = isVertical ? 'left' : 'top';\n  const opSide = isVertical ? 'bottom' : 'right';\n  const 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] -=\n      popper[side] - (reference[opSide] - arrowElementSize);\n  }\n  // bottom/right side\n  if (reference[side] + arrowElementSize > popper[opSide]) {\n    data.offsets.popper[side] +=\n      reference[side] + arrowElementSize - popper[opSide];\n  }\n  data.offsets.popper = getClientRect(data.offsets.popper);\n\n  // compute center of the popper\n  const 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  const css = getStyleComputedProperty(data.instance.popper);\n  const popperMarginSide = parseFloat(css[`margin${sideCapitalized}`]);\n  const popperBorderSide = parseFloat(css[`border${sideCapitalized}Width`]);\n  let sideValue =\n    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 = {\n    [side]: Math.round(sideValue),\n    [altSide]: '', // make sure to unset any eventual altSide value from the DOM node\n  };\n\n  return data;\n}\n","export default typeof window !== 'undefined' && typeof document !== 'undefined' && typeof navigator !== 'undefined';\n","import isBrowser from './isBrowser';\n\nconst timeoutDuration = (function(){\n  const longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];\n  for (let 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\nexport function microtaskDebounce(fn) {\n  let called = false\n  return () => {\n    if (called) {\n      return\n    }\n    called = true\n    window.Promise.resolve().then(() => {\n      called = false\n      fn()\n    })\n  }\n}\n\nexport function taskDebounce(fn) {\n  let scheduled = false;\n  return () => {\n    if (!scheduled) {\n      scheduled = true;\n      setTimeout(() => {\n        scheduled = false;\n        fn();\n      }, timeoutDuration);\n    }\n  };\n}\n\nconst supportsMicroTasks = isBrowser && window.Promise\n\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*/\nexport default (supportsMicroTasks\n  ? microtaskDebounce\n  : taskDebounce);\n","import getSupportedPropertyName from '../utils/getSupportedPropertyName';\nimport find from '../utils/find';\nimport getOffsetParent from '../utils/getOffsetParent';\nimport getBoundingClientRect from '../utils/getBoundingClientRect';\nimport getRoundedOffsets from '../utils/getRoundedOffsets';\nimport isBrowser from '../utils/isBrowser';\n\nconst 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 */\nexport default function computeStyle(data, options) {\n  const { x, y } = options;\n  const { popper } = data.offsets;\n\n  // Remove this legacy support in Popper.js v2\n  const legacyGpuAccelerationOption = find(\n    data.instance.modifiers,\n    modifier => modifier.name === 'applyStyle'\n  ).gpuAcceleration;\n  if (legacyGpuAccelerationOption !== undefined) {\n    console.warn(\n      'WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!'\n    );\n  }\n  const gpuAcceleration =\n    legacyGpuAccelerationOption !== undefined\n      ? legacyGpuAccelerationOption\n      : options.gpuAcceleration;\n\n  const offsetParent = getOffsetParent(data.instance.popper);\n  const offsetParentRect = getBoundingClientRect(offsetParent);\n\n  // Styles\n  const styles = {\n    position: popper.position,\n  };\n\n  const offsets = getRoundedOffsets(\n    data,\n    window.devicePixelRatio < 2 || !isFirefox\n  );\n\n  const sideA = x === 'bottom' ? 'top' : 'bottom';\n  const 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  const 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  let left, top;\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    const invertTop = sideA === 'bottom' ? -1 : 1;\n    const 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  const attributes = {\n    'x-placement': data.placement,\n  };\n\n  // Update `data` attributes, styles and arrowStyles\n  data.attributes = { ...attributes, ...data.attributes };\n  data.styles = { ...styles, ...data.styles };\n  data.arrowStyles = { ...data.offsets.arrow, ...data.arrowStyles };\n\n  return data;\n}\n","import getOppositePlacement from '../utils/getOppositePlacement';\nimport getOppositeVariation from '../utils/getOppositeVariation';\nimport getPopperOffsets from '../utils/getPopperOffsets';\nimport runModifiers from '../utils/runModifiers';\nimport getBoundaries from '../utils/getBoundaries';\nimport isModifierEnabled from '../utils/isModifierEnabled';\nimport clockwise from '../utils/clockwise';\n\nconst 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 */\nexport default function 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  const boundaries = getBoundaries(\n    data.instance.popper,\n    data.instance.reference,\n    options.padding,\n    options.boundariesElement,\n    data.positionFixed\n  );\n\n  let placement = data.placement.split('-')[0];\n  let placementOpposite = getOppositePlacement(placement);\n  let variation = data.placement.split('-')[1] || '';\n\n  let 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((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    const popperOffsets = data.offsets.popper;\n    const refOffsets = data.offsets.reference;\n\n    // using floor because the reference offsets may contain decimals we are not going to consider here\n    const floor = Math.floor;\n    const overlapsRef =\n      (placement === 'left' &&\n        floor(popperOffsets.right) > floor(refOffsets.left)) ||\n      (placement === 'right' &&\n        floor(popperOffsets.left) < floor(refOffsets.right)) ||\n      (placement === 'top' &&\n        floor(popperOffsets.bottom) > floor(refOffsets.top)) ||\n      (placement === 'bottom' &&\n        floor(popperOffsets.top) < floor(refOffsets.bottom));\n\n    const overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);\n    const overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);\n    const overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);\n    const overflowsBottom =\n      floor(popperOffsets.bottom) > floor(boundaries.bottom);\n\n    const overflowsBoundaries =\n      (placement === 'left' && overflowsLeft) ||\n      (placement === 'right' && overflowsRight) ||\n      (placement === 'top' && overflowsTop) ||\n      (placement === 'bottom' && overflowsBottom);\n\n    // flip the variation if required\n    const isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n\n    // flips variation if reference element overflows boundaries\n    const flippedVariationByRef =\n      !!options.flipVariations &&\n      ((isVertical && variation === 'start' && overflowsLeft) ||\n        (isVertical && variation === 'end' && overflowsRight) ||\n        (!isVertical && variation === 'start' && overflowsTop) ||\n        (!isVertical && variation === 'end' && overflowsBottom));\n\n    // flips variation if popper content overflows boundaries\n    const flippedVariationByContent =\n      !!options.flipVariationsByContent &&\n      ((isVertical && variation === 'start' && overflowsRight) ||\n        (isVertical && variation === 'end' && overflowsLeft) ||\n        (!isVertical && variation === 'start' && overflowsBottom) ||\n        (!isVertical && variation === 'end' && overflowsTop));\n\n    const 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 = {\n        ...data.offsets.popper,\n        ...getPopperOffsets(\n          data.instance.popper,\n          data.offsets.reference,\n          data.placement\n        ),\n      };\n\n      data = runModifiers(data.instance.modifiers, data, 'flip');\n    }\n  });\n  return data;\n}\n","// Utils\nimport debounce from './utils/debounce';\nimport isFunction from './utils/isFunction';\n\n// Methods\nimport update from './methods/update';\nimport destroy from './methods/destroy';\nimport enableEventListeners from './methods/enableEventListeners';\nimport disableEventListeners from './methods/disableEventListeners';\nimport Defaults from './methods/defaults';\nimport placements from './methods/placements';\n\nexport default class Popper {\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  constructor(reference, popper, options = {}) {\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 = { ...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({\n      ...Popper.Defaults.modifiers,\n      ...options.modifiers,\n    }).forEach(name => {\n      this.options.modifiers[name] = {\n        // If it's a built-in modifier, use it as base\n        ...(Popper.Defaults.modifiers[name] || {}),\n        // If there are custom options, override and merge with default ones\n        ...(options.modifiers ? options.modifiers[name] : {}),\n      };\n    });\n\n    // Refactoring modifiers' list (Object => Array)\n    this.modifiers = Object.keys(this.options.modifiers)\n      .map(name => ({\n        name,\n        ...this.options.modifiers[name],\n      }))\n      // sort the modifiers by order\n      .sort((a, b) => a.order - b.order);\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(modifierOptions => {\n      if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {\n        modifierOptions.onLoad(\n          this.reference,\n          this.popper,\n          this.options,\n          modifierOptions,\n          this.state\n        );\n      }\n    });\n\n    // fire the first update to position the popper in the right place\n    this.update();\n\n    const 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  update() {\n    return update.call(this);\n  }\n  destroy() {\n    return destroy.call(this);\n  }\n  enableEventListeners() {\n    return enableEventListeners.call(this);\n  }\n  disableEventListeners() {\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  scheduleUpdate = () => requestAnimationFrame(this.update);\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  static Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;\n\n  static placements = placements;\n\n  static Defaults = Defaults;\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","import modifiers from '../modifiers/index';\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 */\nexport default {\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: () => {},\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: () => {},\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,\n};\n\n/**\n * @callback onCreate\n * @param {dataObject} data\n */\n\n/**\n * @callback onUpdate\n * @param {dataObject} data\n */\n","import applyStyle, { applyStyleOnLoad } from './applyStyle';\nimport computeStyle from './computeStyle';\nimport arrow from './arrow';\nimport flip from './flip';\nimport keepTogether from './keepTogether';\nimport offset from './offset';\nimport preventOverflow from './preventOverflow';\nimport shift from './shift';\nimport hide from './hide';\nimport inner from './inner';\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 */\nexport default {\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 * @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 */\nexport default function shift(data) {\n  const placement = data.placement;\n  const basePlacement = placement.split('-')[0];\n  const shiftvariation = placement.split('-')[1];\n\n  // if shift shiftvariation is specified, run the modifier\n  if (shiftvariation) {\n    const { reference, popper } = data.offsets;\n    const isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;\n    const side = isVertical ? 'left' : 'top';\n    const measurement = isVertical ? 'width' : 'height';\n\n    const shiftOffsets = {\n      start: { [side]: reference[side] },\n      end: {\n        [side]: reference[side] + reference[measurement] - popper[measurement],\n      },\n    };\n\n    data.offsets.popper = { ...popper, ...shiftOffsets[shiftvariation] };\n  }\n\n  return data;\n}\n","import getOffsetParent from '../utils/getOffsetParent';\nimport getBoundaries from '../utils/getBoundaries';\nimport getSupportedPropertyName from '../utils/getSupportedPropertyName';\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 */\nexport default function preventOverflow(data, options) {\n  let boundariesElement =\n    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  const transformProp = getSupportedPropertyName('transform');\n  const popperStyles = data.instance.popper.style; // assignment to help minification\n  const { top, left, [transformProp]: transform } = popperStyles;\n  popperStyles.top = '';\n  popperStyles.left = '';\n  popperStyles[transformProp] = '';\n\n  const boundaries = getBoundaries(\n    data.instance.popper,\n    data.instance.reference,\n    options.padding,\n    boundariesElement,\n    data.positionFixed\n  );\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  const order = options.priority;\n  let popper = data.offsets.popper;\n\n  const check = {\n    primary(placement) {\n      let value = popper[placement];\n      if (\n        popper[placement] < boundaries[placement] &&\n        !options.escapeWithReference\n      ) {\n        value = Math.max(popper[placement], boundaries[placement]);\n      }\n      return { [placement]: value };\n    },\n    secondary(placement) {\n      const mainSide = placement === 'right' ? 'left' : 'top';\n      let value = popper[mainSide];\n      if (\n        popper[placement] > boundaries[placement] &&\n        !options.escapeWithReference\n      ) {\n        value = Math.min(\n          popper[mainSide],\n          boundaries[placement] -\n            (placement === 'right' ? popper.width : popper.height)\n        );\n      }\n      return { [mainSide]: value };\n    },\n  };\n\n  order.forEach(placement => {\n    const side =\n      ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';\n    popper = { ...popper, ...check[side](placement) };\n  });\n\n  data.offsets.popper = popper;\n\n  return data;\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 */\nexport default function keepTogether(data) {\n  const { popper, reference } = data.offsets;\n  const placement = data.placement.split('-')[0];\n  const floor = Math.floor;\n  const isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n  const side = isVertical ? 'right' : 'bottom';\n  const opSide = isVertical ? 'left' : 'top';\n  const measurement = isVertical ? 'width' : 'height';\n\n  if (popper[side] < floor(reference[opSide])) {\n    data.offsets.popper[opSide] =\n      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","import getClientRect from '../utils/getClientRect';\nimport getOppositePlacement from '../utils/getOppositePlacement';\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 */\nexport default function inner(data) {\n  const placement = data.placement;\n  const basePlacement = placement.split('-')[0];\n  const { popper, reference } = data.offsets;\n  const isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;\n\n  const subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;\n\n  popper[isHoriz ? 'left' : 'top'] =\n    reference[basePlacement] -\n    (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);\n\n  data.placement = getOppositePlacement(placement);\n  data.offsets.popper = getClientRect(popper);\n\n  return data;\n}\n","import isModifierRequired from '../utils/isModifierRequired';\nimport find from '../utils/find';\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 */\nexport default function hide(data) {\n  if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {\n    return data;\n  }\n\n  const refRect = data.offsets.reference;\n  const bound = find(\n    data.instance.modifiers,\n    modifier => modifier.name === 'preventOverflow'\n  ).boundaries;\n\n  if (\n    refRect.bottom < bound.top ||\n    refRect.left > bound.right ||\n    refRect.top > bound.bottom ||\n    refRect.right < bound.left\n  ) {\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","import setStyles from '../utils/setStyles';\nimport setAttributes from '../utils/setAttributes';\nimport getReferenceOffsets from '../utils/getReferenceOffsets';\nimport computeAutoPlacement from '../utils/computeAutoPlacement';\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 */\nexport default function 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 */\nexport function applyStyleOnLoad(\n  reference,\n  popper,\n  options,\n  modifierOptions,\n  state\n) {\n  // compute reference element offsets\n  const 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  const placement = computeAutoPlacement(\n    options.placement,\n    referenceOffsets,\n    popper,\n    reference,\n    options.modifiers.flip.boundariesElement,\n    options.modifiers.flip.padding\n  );\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 * Bootstrap dom/data.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n/**\n * Constants\n */\n\nconst elementMap = new Map()\n\nexport default {\n  set(element, key, instance) {\n    if (!elementMap.has(element)) {\n      elementMap.set(element, new Map())\n    }\n\n    const instanceMap = elementMap.get(element)\n\n    // make it clear we only want one instance per element\n    // can be removed later when multiple key/instances are fine to be used\n    if (!instanceMap.has(key) && instanceMap.size !== 0) {\n      // eslint-disable-next-line no-console\n      console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(instanceMap.keys())[0]}.`)\n      return\n    }\n\n    instanceMap.set(key, instance)\n  },\n\n  get(element, key) {\n    if (elementMap.has(element)) {\n      return elementMap.get(element).get(key) || null\n    }\n\n    return null\n  },\n\n  remove(element, key) {\n    if (!elementMap.has(element)) {\n      return\n    }\n\n    const instanceMap = elementMap.get(element)\n\n    instanceMap.delete(key)\n\n    // free up element references if there are no instances left for an element\n    if (instanceMap.size === 0) {\n      elementMap.delete(element)\n    }\n  }\n}\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/index.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nconst MAX_UID = 1_000_000\nconst MILLISECONDS_MULTIPLIER = 1000\nconst TRANSITION_END = 'transitionend'\n\n/**\n * Properly escape IDs selectors to handle weird IDs\n * @param {string} selector\n * @returns {string}\n */\nconst parseSelector = selector => {\n  if (selector && window.CSS && window.CSS.escape) {\n    // document.querySelector needs escaping to handle IDs (html5+) containing for instance /\n    selector = selector.replace(/#([^\\s\"#']+)/g, (match, id) => `#${CSS.escape(id)}`)\n  }\n\n  return selector\n}\n\n// Shout-out Angus Croll (https://goo.gl/pxwQGp)\nconst toType = object => {\n  if (object === null || object === undefined) {\n    return `${object}`\n  }\n\n  return Object.prototype.toString.call(object).match(/\\s([a-z]+)/i)[1].toLowerCase()\n}\n\n/**\n * Public Util API\n */\n\nconst getUID = prefix => {\n  do {\n    prefix += Math.floor(Math.random() * MAX_UID)\n  } while (document.getElementById(prefix))\n\n  return prefix\n}\n\nconst getTransitionDurationFromElement = element => {\n  if (!element) {\n    return 0\n  }\n\n  // Get transition-duration of the element\n  let { transitionDuration, transitionDelay } = window.getComputedStyle(element)\n\n  const floatTransitionDuration = Number.parseFloat(transitionDuration)\n  const floatTransitionDelay = Number.parseFloat(transitionDelay)\n\n  // Return 0 if element or transition duration is not found\n  if (!floatTransitionDuration && !floatTransitionDelay) {\n    return 0\n  }\n\n  // If multiple durations are defined, take the first\n  transitionDuration = transitionDuration.split(',')[0]\n  transitionDelay = transitionDelay.split(',')[0]\n\n  return (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER\n}\n\nconst triggerTransitionEnd = element => {\n  element.dispatchEvent(new Event(TRANSITION_END))\n}\n\nconst isElement = object => {\n  if (!object || typeof object !== 'object') {\n    return false\n  }\n\n  if (typeof object.jquery !== 'undefined') {\n    object = object[0]\n  }\n\n  return typeof object.nodeType !== 'undefined'\n}\n\nconst getElement = object => {\n  // it's a jQuery object or a node element\n  if (isElement(object)) {\n    return object.jquery ? object[0] : object\n  }\n\n  if (typeof object === 'string' && object.length > 0) {\n    return document.querySelector(parseSelector(object))\n  }\n\n  return null\n}\n\nconst isVisible = element => {\n  if (!isElement(element) || element.getClientRects().length === 0) {\n    return false\n  }\n\n  const elementIsVisible = getComputedStyle(element).getPropertyValue('visibility') === 'visible'\n  // Handle `details` element as its content may falsie appear visible when it is closed\n  const closedDetails = element.closest('details:not([open])')\n\n  if (!closedDetails) {\n    return elementIsVisible\n  }\n\n  if (closedDetails !== element) {\n    const summary = element.closest('summary')\n    if (summary && summary.parentNode !== closedDetails) {\n      return false\n    }\n\n    if (summary === null) {\n      return false\n    }\n  }\n\n  return elementIsVisible\n}\n\nconst isDisabled = element => {\n  if (!element || element.nodeType !== Node.ELEMENT_NODE) {\n    return true\n  }\n\n  if (element.classList.contains('disabled')) {\n    return true\n  }\n\n  if (typeof element.disabled !== 'undefined') {\n    return element.disabled\n  }\n\n  return element.hasAttribute('disabled') && element.getAttribute('disabled') !== 'false'\n}\n\nconst findShadowRoot = element => {\n  if (!document.documentElement.attachShadow) {\n    return null\n  }\n\n  // Can find the shadow root otherwise it'll return the document\n  if (typeof element.getRootNode === 'function') {\n    const root = element.getRootNode()\n    return root instanceof ShadowRoot ? root : null\n  }\n\n  if (element instanceof ShadowRoot) {\n    return element\n  }\n\n  // when we don't find a shadow root\n  if (!element.parentNode) {\n    return null\n  }\n\n  return findShadowRoot(element.parentNode)\n}\n\nconst noop = () => {}\n\n/**\n * Trick to restart an element's animation\n *\n * @param {HTMLElement} element\n * @return void\n *\n * @see https://www.charistheo.io/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation\n */\nconst reflow = element => {\n  element.offsetHeight // eslint-disable-line no-unused-expressions\n}\n\nconst getjQuery = () => {\n  if (window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {\n    return window.jQuery\n  }\n\n  return null\n}\n\nconst DOMContentLoadedCallbacks = []\n\nconst onDOMContentLoaded = callback => {\n  if (document.readyState === 'loading') {\n    // add listener on the first call when the document is in loading state\n    if (!DOMContentLoadedCallbacks.length) {\n      document.addEventListener('DOMContentLoaded', () => {\n        for (const callback of DOMContentLoadedCallbacks) {\n          callback()\n        }\n      })\n    }\n\n    DOMContentLoadedCallbacks.push(callback)\n  } else {\n    callback()\n  }\n}\n\nconst isRTL = () => document.documentElement.dir === 'rtl'\n\nconst defineJQueryPlugin = plugin => {\n  onDOMContentLoaded(() => {\n    const $ = getjQuery()\n    /* istanbul ignore if */\n    if ($) {\n      const name = plugin.NAME\n      const JQUERY_NO_CONFLICT = $.fn[name]\n      $.fn[name] = plugin.jQueryInterface\n      $.fn[name].Constructor = plugin\n      $.fn[name].noConflict = () => {\n        $.fn[name] = JQUERY_NO_CONFLICT\n        return plugin.jQueryInterface\n      }\n    }\n  })\n}\n\nconst execute = (possibleCallback, args = [], defaultValue = possibleCallback) => {\n  return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue\n}\n\nconst executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {\n  if (!waitForTransition) {\n    execute(callback)\n    return\n  }\n\n  const durationPadding = 5\n  const emulatedDuration = getTransitionDurationFromElement(transitionElement) + durationPadding\n\n  let called = false\n\n  const handler = ({ target }) => {\n    if (target !== transitionElement) {\n      return\n    }\n\n    called = true\n    transitionElement.removeEventListener(TRANSITION_END, handler)\n    execute(callback)\n  }\n\n  transitionElement.addEventListener(TRANSITION_END, handler)\n  setTimeout(() => {\n    if (!called) {\n      triggerTransitionEnd(transitionElement)\n    }\n  }, emulatedDuration)\n}\n\n/**\n * Return the previous/next element of a list.\n *\n * @param {array} list    The list of elements\n * @param activeElement   The active element\n * @param shouldGetNext   Choose to get next or previous element\n * @param isCycleAllowed\n * @return {Element|elem} The proper element\n */\nconst getNextActiveElement = (list, activeElement, shouldGetNext, isCycleAllowed) => {\n  const listLength = list.length\n  let index = list.indexOf(activeElement)\n\n  // if the element does not exist in the list return an element\n  // depending on the direction and if cycle is allowed\n  if (index === -1) {\n    return !shouldGetNext && isCycleAllowed ? list[listLength - 1] : list[0]\n  }\n\n  index += shouldGetNext ? 1 : -1\n\n  if (isCycleAllowed) {\n    index = (index + listLength) % listLength\n  }\n\n  return list[Math.max(0, Math.min(index, listLength - 1))]\n}\n\nexport {\n  defineJQueryPlugin,\n  execute,\n  executeAfterTransition,\n  findShadowRoot,\n  getElement,\n  getjQuery,\n  getNextActiveElement,\n  getTransitionDurationFromElement,\n  getUID,\n  isDisabled,\n  isElement,\n  isRTL,\n  isVisible,\n  noop,\n  onDOMContentLoaded,\n  parseSelector,\n  reflow,\n  triggerTransitionEnd,\n  toType\n}\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap dom/event-handler.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport { getjQuery } from '../util/index.js'\n\n/**\n * Constants\n */\n\nconst namespaceRegex = /[^.]*(?=\\..*)\\.|.*/\nconst stripNameRegex = /\\..*/\nconst stripUidRegex = /::\\d+$/\nconst eventRegistry = {} // Events storage\nlet uidEvent = 1\nconst customEvents = {\n  mouseenter: 'mouseover',\n  mouseleave: 'mouseout'\n}\n\nconst nativeEvents = new Set([\n  'click',\n  'dblclick',\n  'mouseup',\n  'mousedown',\n  'contextmenu',\n  'mousewheel',\n  'DOMMouseScroll',\n  'mouseover',\n  'mouseout',\n  'mousemove',\n  'selectstart',\n  'selectend',\n  'keydown',\n  'keypress',\n  'keyup',\n  'orientationchange',\n  'touchstart',\n  'touchmove',\n  'touchend',\n  'touchcancel',\n  'pointerdown',\n  'pointermove',\n  'pointerup',\n  'pointerleave',\n  'pointercancel',\n  'gesturestart',\n  'gesturechange',\n  'gestureend',\n  'focus',\n  'blur',\n  'change',\n  'reset',\n  'select',\n  'submit',\n  'focusin',\n  'focusout',\n  'load',\n  'unload',\n  'beforeunload',\n  'resize',\n  'move',\n  'DOMContentLoaded',\n  'readystatechange',\n  'error',\n  'abort',\n  'scroll'\n])\n\n/**\n * Private methods\n */\n\nfunction makeEventUid(element, uid) {\n  return (uid && `${uid}::${uidEvent++}`) || element.uidEvent || uidEvent++\n}\n\nfunction getElementEvents(element) {\n  const uid = makeEventUid(element)\n\n  element.uidEvent = uid\n  eventRegistry[uid] = eventRegistry[uid] || {}\n\n  return eventRegistry[uid]\n}\n\nfunction bootstrapHandler(element, fn) {\n  return function handler(event) {\n    hydrateObj(event, { delegateTarget: element })\n\n    if (handler.oneOff) {\n      EventHandler.off(element, event.type, fn)\n    }\n\n    return fn.apply(element, [event])\n  }\n}\n\nfunction bootstrapDelegationHandler(element, selector, fn) {\n  return function handler(event) {\n    const domElements = element.querySelectorAll(selector)\n\n    for (let { target } = event; target && target !== this; target = target.parentNode) {\n      for (const domElement of domElements) {\n        if (domElement !== target) {\n          continue\n        }\n\n        hydrateObj(event, { delegateTarget: target })\n\n        if (handler.oneOff) {\n          EventHandler.off(element, event.type, selector, fn)\n        }\n\n        return fn.apply(target, [event])\n      }\n    }\n  }\n}\n\nfunction findHandler(events, callable, delegationSelector = null) {\n  return Object.values(events)\n    .find(event => event.callable === callable && event.delegationSelector === delegationSelector)\n}\n\nfunction normalizeParameters(originalTypeEvent, handler, delegationFunction) {\n  const isDelegated = typeof handler === 'string'\n  // TODO: tooltip passes `false` instead of selector, so we need to check\n  const callable = isDelegated ? delegationFunction : (handler || delegationFunction)\n  let typeEvent = getTypeEvent(originalTypeEvent)\n\n  if (!nativeEvents.has(typeEvent)) {\n    typeEvent = originalTypeEvent\n  }\n\n  return [isDelegated, callable, typeEvent]\n}\n\nfunction addHandler(element, originalTypeEvent, handler, delegationFunction, oneOff) {\n  if (typeof originalTypeEvent !== 'string' || !element) {\n    return\n  }\n\n  let [isDelegated, callable, typeEvent] = normalizeParameters(originalTypeEvent, handler, delegationFunction)\n\n  // in case of mouseenter or mouseleave wrap the handler within a function that checks for its DOM position\n  // this prevents the handler from being dispatched the same way as mouseover or mouseout does\n  if (originalTypeEvent in customEvents) {\n    const wrapFunction = fn => {\n      return function (event) {\n        if (!event.relatedTarget || (event.relatedTarget !== event.delegateTarget && !event.delegateTarget.contains(event.relatedTarget))) {\n          return fn.call(this, event)\n        }\n      }\n    }\n\n    callable = wrapFunction(callable)\n  }\n\n  const events = getElementEvents(element)\n  const handlers = events[typeEvent] || (events[typeEvent] = {})\n  const previousFunction = findHandler(handlers, callable, isDelegated ? handler : null)\n\n  if (previousFunction) {\n    previousFunction.oneOff = previousFunction.oneOff && oneOff\n\n    return\n  }\n\n  const uid = makeEventUid(callable, originalTypeEvent.replace(namespaceRegex, ''))\n  const fn = isDelegated ?\n    bootstrapDelegationHandler(element, handler, callable) :\n    bootstrapHandler(element, callable)\n\n  fn.delegationSelector = isDelegated ? handler : null\n  fn.callable = callable\n  fn.oneOff = oneOff\n  fn.uidEvent = uid\n  handlers[uid] = fn\n\n  element.addEventListener(typeEvent, fn, isDelegated)\n}\n\nfunction removeHandler(element, events, typeEvent, handler, delegationSelector) {\n  const fn = findHandler(events[typeEvent], handler, delegationSelector)\n\n  if (!fn) {\n    return\n  }\n\n  element.removeEventListener(typeEvent, fn, Boolean(delegationSelector))\n  delete events[typeEvent][fn.uidEvent]\n}\n\nfunction removeNamespacedHandlers(element, events, typeEvent, namespace) {\n  const storeElementEvent = events[typeEvent] || {}\n\n  for (const [handlerKey, event] of Object.entries(storeElementEvent)) {\n    if (handlerKey.includes(namespace)) {\n      removeHandler(element, events, typeEvent, event.callable, event.delegationSelector)\n    }\n  }\n}\n\nfunction getTypeEvent(event) {\n  // allow to get the native events from namespaced events ('click.bs.button' --> 'click')\n  event = event.replace(stripNameRegex, '')\n  return customEvents[event] || event\n}\n\nconst EventHandler = {\n  on(element, event, handler, delegationFunction) {\n    addHandler(element, event, handler, delegationFunction, false)\n  },\n\n  one(element, event, handler, delegationFunction) {\n    addHandler(element, event, handler, delegationFunction, true)\n  },\n\n  off(element, originalTypeEvent, handler, delegationFunction) {\n    if (typeof originalTypeEvent !== 'string' || !element) {\n      return\n    }\n\n    const [isDelegated, callable, typeEvent] = normalizeParameters(originalTypeEvent, handler, delegationFunction)\n    const inNamespace = typeEvent !== originalTypeEvent\n    const events = getElementEvents(element)\n    const storeElementEvent = events[typeEvent] || {}\n    const isNamespace = originalTypeEvent.startsWith('.')\n\n    if (typeof callable !== 'undefined') {\n      // Simplest case: handler is passed, remove that listener ONLY.\n      if (!Object.keys(storeElementEvent).length) {\n        return\n      }\n\n      removeHandler(element, events, typeEvent, callable, isDelegated ? handler : null)\n      return\n    }\n\n    if (isNamespace) {\n      for (const elementEvent of Object.keys(events)) {\n        removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1))\n      }\n    }\n\n    for (const [keyHandlers, event] of Object.entries(storeElementEvent)) {\n      const handlerKey = keyHandlers.replace(stripUidRegex, '')\n\n      if (!inNamespace || originalTypeEvent.includes(handlerKey)) {\n        removeHandler(element, events, typeEvent, event.callable, event.delegationSelector)\n      }\n    }\n  },\n\n  trigger(element, event, args) {\n    if (typeof event !== 'string' || !element) {\n      return null\n    }\n\n    const $ = getjQuery()\n    const typeEvent = getTypeEvent(event)\n    const inNamespace = event !== typeEvent\n\n    let jQueryEvent = null\n    let bubbles = true\n    let nativeDispatch = true\n    let defaultPrevented = false\n\n    if (inNamespace && $) {\n      jQueryEvent = $.Event(event, args)\n\n      $(element).trigger(jQueryEvent)\n      bubbles = !jQueryEvent.isPropagationStopped()\n      nativeDispatch = !jQueryEvent.isImmediatePropagationStopped()\n      defaultPrevented = jQueryEvent.isDefaultPrevented()\n    }\n\n    const evt = hydrateObj(new Event(event, { bubbles, cancelable: true }), args)\n\n    if (defaultPrevented) {\n      evt.preventDefault()\n    }\n\n    if (nativeDispatch) {\n      element.dispatchEvent(evt)\n    }\n\n    if (evt.defaultPrevented && jQueryEvent) {\n      jQueryEvent.preventDefault()\n    }\n\n    return evt\n  }\n}\n\nfunction hydrateObj(obj, meta = {}) {\n  for (const [key, value] of Object.entries(meta)) {\n    try {\n      obj[key] = value\n    } catch {\n      Object.defineProperty(obj, key, {\n        configurable: true,\n        get() {\n          return value\n        }\n      })\n    }\n  }\n\n  return obj\n}\n\nexport default EventHandler\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap dom/manipulator.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nfunction normalizeData(value) {\n  if (value === 'true') {\n    return true\n  }\n\n  if (value === 'false') {\n    return false\n  }\n\n  if (value === Number(value).toString()) {\n    return Number(value)\n  }\n\n  if (value === '' || value === 'null') {\n    return null\n  }\n\n  if (typeof value !== 'string') {\n    return value\n  }\n\n  try {\n    return JSON.parse(decodeURIComponent(value))\n  } catch {\n    return value\n  }\n}\n\nfunction normalizeDataKey(key) {\n  return key.replace(/[A-Z]/g, chr => `-${chr.toLowerCase()}`)\n}\n\nconst Manipulator = {\n  setDataAttribute(element, key, value) {\n    element.setAttribute(`data-bs-${normalizeDataKey(key)}`, value)\n  },\n\n  removeDataAttribute(element, key) {\n    element.removeAttribute(`data-bs-${normalizeDataKey(key)}`)\n  },\n\n  getDataAttributes(element) {\n    if (!element) {\n      return {}\n    }\n\n    const attributes = {}\n    const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig'))\n\n    for (const key of bsKeys) {\n      let pureKey = key.replace(/^bs/, '')\n      pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length)\n      attributes[pureKey] = normalizeData(element.dataset[key])\n    }\n\n    return attributes\n  },\n\n  getDataAttribute(element, key) {\n    return normalizeData(element.getAttribute(`data-bs-${normalizeDataKey(key)}`))\n  }\n}\n\nexport default Manipulator\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/config.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport Manipulator from '../dom/manipulator.js'\nimport { isElement, toType } from './index.js'\n\n/**\n * Class definition\n */\n\nclass Config {\n  // Getters\n  static get Default() {\n    return {}\n  }\n\n  static get DefaultType() {\n    return {}\n  }\n\n  static get NAME() {\n    throw new Error('You have to implement the static method \"NAME\", for each component!')\n  }\n\n  _getConfig(config) {\n    config = this._mergeConfigObj(config)\n    config = this._configAfterMerge(config)\n    this._typeCheckConfig(config)\n    return config\n  }\n\n  _configAfterMerge(config) {\n    return config\n  }\n\n  _mergeConfigObj(config, element) {\n    const jsonConfig = isElement(element) ? Manipulator.getDataAttribute(element, 'config') : {} // try to parse\n\n    return {\n      ...this.constructor.Default,\n      ...(typeof jsonConfig === 'object' ? jsonConfig : {}),\n      ...(isElement(element) ? Manipulator.getDataAttributes(element) : {}),\n      ...(typeof config === 'object' ? config : {})\n    }\n  }\n\n  _typeCheckConfig(config, configTypes = this.constructor.DefaultType) {\n    for (const [property, expectedTypes] of Object.entries(configTypes)) {\n      const value = config[property]\n      const valueType = isElement(value) ? 'element' : toType(value)\n\n      if (!new RegExp(expectedTypes).test(valueType)) {\n        throw new TypeError(\n          `${this.constructor.NAME.toUpperCase()}: Option \"${property}\" provided type \"${valueType}\" but expected type \"${expectedTypes}\".`\n        )\n      }\n    }\n  }\n}\n\nexport default Config\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap base-component.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport Data from './dom/data.js'\nimport EventHandler from './dom/event-handler.js'\nimport Config from './util/config.js'\nimport { executeAfterTransition, getElement } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst VERSION = '5.3.3'\n\n/**\n * Class definition\n */\n\nclass BaseComponent extends Config {\n  constructor(element, config) {\n    super()\n\n    element = getElement(element)\n    if (!element) {\n      return\n    }\n\n    this._element = element\n    this._config = this._getConfig(config)\n\n    Data.set(this._element, this.constructor.DATA_KEY, this)\n  }\n\n  // Public\n  dispose() {\n    Data.remove(this._element, this.constructor.DATA_KEY)\n    EventHandler.off(this._element, this.constructor.EVENT_KEY)\n\n    for (const propertyName of Object.getOwnPropertyNames(this)) {\n      this[propertyName] = null\n    }\n  }\n\n  _queueCallback(callback, element, isAnimated = true) {\n    executeAfterTransition(callback, element, isAnimated)\n  }\n\n  _getConfig(config) {\n    config = this._mergeConfigObj(config, this._element)\n    config = this._configAfterMerge(config)\n    this._typeCheckConfig(config)\n    return config\n  }\n\n  // Static\n  static getInstance(element) {\n    return Data.get(getElement(element), this.DATA_KEY)\n  }\n\n  static getOrCreateInstance(element, config = {}) {\n    return this.getInstance(element) || new this(element, typeof config === 'object' ? config : null)\n  }\n\n  static get VERSION() {\n    return VERSION\n  }\n\n  static get DATA_KEY() {\n    return `bs.${this.NAME}`\n  }\n\n  static get EVENT_KEY() {\n    return `.${this.DATA_KEY}`\n  }\n\n  static eventName(name) {\n    return `${name}${this.EVENT_KEY}`\n  }\n}\n\nexport default BaseComponent\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap dom/selector-engine.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport { isDisabled, isVisible, parseSelector } from '../util/index.js'\n\nconst getSelector = element => {\n  let selector = element.getAttribute('data-bs-target')\n\n  if (!selector || selector === '#') {\n    let hrefAttribute = element.getAttribute('href')\n\n    // The only valid content that could double as a selector are IDs or classes,\n    // so everything starting with `#` or `.`. If a \"real\" URL is used as the selector,\n    // `document.querySelector` will rightfully complain it is invalid.\n    // See https://github.com/twbs/bootstrap/issues/32273\n    if (!hrefAttribute || (!hrefAttribute.includes('#') && !hrefAttribute.startsWith('.'))) {\n      return null\n    }\n\n    // Just in case some CMS puts out a full URL with the anchor appended\n    if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {\n      hrefAttribute = `#${hrefAttribute.split('#')[1]}`\n    }\n\n    selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null\n  }\n\n  return selector ? selector.split(',').map(sel => parseSelector(sel)).join(',') : null\n}\n\nconst SelectorEngine = {\n  find(selector, element = document.documentElement) {\n    return [].concat(...Element.prototype.querySelectorAll.call(element, selector))\n  },\n\n  findOne(selector, element = document.documentElement) {\n    return Element.prototype.querySelector.call(element, selector)\n  },\n\n  children(element, selector) {\n    return [].concat(...element.children).filter(child => child.matches(selector))\n  },\n\n  parents(element, selector) {\n    const parents = []\n    let ancestor = element.parentNode.closest(selector)\n\n    while (ancestor) {\n      parents.push(ancestor)\n      ancestor = ancestor.parentNode.closest(selector)\n    }\n\n    return parents\n  },\n\n  prev(element, selector) {\n    let previous = element.previousElementSibling\n\n    while (previous) {\n      if (previous.matches(selector)) {\n        return [previous]\n      }\n\n      previous = previous.previousElementSibling\n    }\n\n    return []\n  },\n  // TODO: this is now unused; remove later along with prev()\n  next(element, selector) {\n    let next = element.nextElementSibling\n\n    while (next) {\n      if (next.matches(selector)) {\n        return [next]\n      }\n\n      next = next.nextElementSibling\n    }\n\n    return []\n  },\n\n  focusableChildren(element) {\n    const focusables = [\n      'a',\n      'button',\n      'input',\n      'textarea',\n      'select',\n      'details',\n      '[tabindex]',\n      '[contenteditable=\"true\"]'\n    ].map(selector => `${selector}:not([tabindex^=\"-\"])`).join(',')\n\n    return this.find(focusables, element).filter(el => !isDisabled(el) && isVisible(el))\n  },\n\n  getSelectorFromElement(element) {\n    const selector = getSelector(element)\n\n    if (selector) {\n      return SelectorEngine.findOne(selector) ? selector : null\n    }\n\n    return null\n  },\n\n  getElementFromSelector(element) {\n    const selector = getSelector(element)\n\n    return selector ? SelectorEngine.findOne(selector) : null\n  },\n\n  getMultipleElementsFromSelector(element) {\n    const selector = getSelector(element)\n\n    return selector ? SelectorEngine.find(selector) : []\n  }\n}\n\nexport default SelectorEngine\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/component-functions.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport EventHandler from '../dom/event-handler.js'\nimport SelectorEngine from '../dom/selector-engine.js'\nimport { isDisabled } from './index.js'\n\nconst enableDismissTrigger = (component, method = 'hide') => {\n  const clickEvent = `click.dismiss${component.EVENT_KEY}`\n  const name = component.NAME\n\n  EventHandler.on(document, clickEvent, `[data-bs-dismiss=\"${name}\"]`, function (event) {\n    if (['A', 'AREA'].includes(this.tagName)) {\n      event.preventDefault()\n    }\n\n    if (isDisabled(this)) {\n      return\n    }\n\n    const target = SelectorEngine.getElementFromSelector(this) || this.closest(`.${name}`)\n    const instance = component.getOrCreateInstance(target)\n\n    // Method argument is left, for Alert and only, as it doesn't implement the 'hide' method\n    instance[method]()\n  })\n}\n\nexport {\n  enableDismissTrigger\n}\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap alert.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport { enableDismissTrigger } from './util/component-functions.js'\nimport { defineJQueryPlugin } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'alert'\nconst DATA_KEY = 'bs.alert'\nconst EVENT_KEY = `.${DATA_KEY}`\n\nconst EVENT_CLOSE = `close${EVENT_KEY}`\nconst EVENT_CLOSED = `closed${EVENT_KEY}`\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_SHOW = 'show'\n\n/**\n * Class definition\n */\n\nclass Alert extends BaseComponent {\n  // Getters\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  close() {\n    const closeEvent = EventHandler.trigger(this._element, EVENT_CLOSE)\n\n    if (closeEvent.defaultPrevented) {\n      return\n    }\n\n    this._element.classList.remove(CLASS_NAME_SHOW)\n\n    const isAnimated = this._element.classList.contains(CLASS_NAME_FADE)\n    this._queueCallback(() => this._destroyElement(), this._element, isAnimated)\n  }\n\n  // Private\n  _destroyElement() {\n    this._element.remove()\n    EventHandler.trigger(this._element, EVENT_CLOSED)\n    this.dispose()\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Alert.getOrCreateInstance(this)\n\n      if (typeof config !== 'string') {\n        return\n      }\n\n      if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n        throw new TypeError(`No method named \"${config}\"`)\n      }\n\n      data[config](this)\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\nenableDismissTrigger(Alert, 'close')\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Alert)\n\nexport default Alert\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap button.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport { defineJQueryPlugin } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'button'\nconst DATA_KEY = 'bs.button'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\n\nconst CLASS_NAME_ACTIVE = 'active'\nconst SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"button\"]'\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\n/**\n * Class definition\n */\n\nclass Button extends BaseComponent {\n  // Getters\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  toggle() {\n    // Toggle class and sync the `aria-pressed` attribute with the return value of the `.toggle()` method\n    this._element.setAttribute('aria-pressed', this._element.classList.toggle(CLASS_NAME_ACTIVE))\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Button.getOrCreateInstance(this)\n\n      if (config === 'toggle') {\n        data[config]()\n      }\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, event => {\n  event.preventDefault()\n\n  const button = event.target.closest(SELECTOR_DATA_TOGGLE)\n  const data = Button.getOrCreateInstance(button)\n\n  data.toggle()\n})\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Button)\n\nexport default Button\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/swipe.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport EventHandler from '../dom/event-handler.js'\nimport Config from './config.js'\nimport { execute } from './index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'swipe'\nconst EVENT_KEY = '.bs.swipe'\nconst EVENT_TOUCHSTART = `touchstart${EVENT_KEY}`\nconst EVENT_TOUCHMOVE = `touchmove${EVENT_KEY}`\nconst EVENT_TOUCHEND = `touchend${EVENT_KEY}`\nconst EVENT_POINTERDOWN = `pointerdown${EVENT_KEY}`\nconst EVENT_POINTERUP = `pointerup${EVENT_KEY}`\nconst POINTER_TYPE_TOUCH = 'touch'\nconst POINTER_TYPE_PEN = 'pen'\nconst CLASS_NAME_POINTER_EVENT = 'pointer-event'\nconst SWIPE_THRESHOLD = 40\n\nconst Default = {\n  endCallback: null,\n  leftCallback: null,\n  rightCallback: null\n}\n\nconst DefaultType = {\n  endCallback: '(function|null)',\n  leftCallback: '(function|null)',\n  rightCallback: '(function|null)'\n}\n\n/**\n * Class definition\n */\n\nclass Swipe extends Config {\n  constructor(element, config) {\n    super()\n    this._element = element\n\n    if (!element || !Swipe.isSupported()) {\n      return\n    }\n\n    this._config = this._getConfig(config)\n    this._deltaX = 0\n    this._supportPointerEvents = Boolean(window.PointerEvent)\n    this._initEvents()\n  }\n\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  dispose() {\n    EventHandler.off(this._element, EVENT_KEY)\n  }\n\n  // Private\n  _start(event) {\n    if (!this._supportPointerEvents) {\n      this._deltaX = event.touches[0].clientX\n\n      return\n    }\n\n    if (this._eventIsPointerPenTouch(event)) {\n      this._deltaX = event.clientX\n    }\n  }\n\n  _end(event) {\n    if (this._eventIsPointerPenTouch(event)) {\n      this._deltaX = event.clientX - this._deltaX\n    }\n\n    this._handleSwipe()\n    execute(this._config.endCallback)\n  }\n\n  _move(event) {\n    this._deltaX = event.touches && event.touches.length > 1 ?\n      0 :\n      event.touches[0].clientX - this._deltaX\n  }\n\n  _handleSwipe() {\n    const absDeltaX = Math.abs(this._deltaX)\n\n    if (absDeltaX <= SWIPE_THRESHOLD) {\n      return\n    }\n\n    const direction = absDeltaX / this._deltaX\n\n    this._deltaX = 0\n\n    if (!direction) {\n      return\n    }\n\n    execute(direction > 0 ? this._config.rightCallback : this._config.leftCallback)\n  }\n\n  _initEvents() {\n    if (this._supportPointerEvents) {\n      EventHandler.on(this._element, EVENT_POINTERDOWN, event => this._start(event))\n      EventHandler.on(this._element, EVENT_POINTERUP, event => this._end(event))\n\n      this._element.classList.add(CLASS_NAME_POINTER_EVENT)\n    } else {\n      EventHandler.on(this._element, EVENT_TOUCHSTART, event => this._start(event))\n      EventHandler.on(this._element, EVENT_TOUCHMOVE, event => this._move(event))\n      EventHandler.on(this._element, EVENT_TOUCHEND, event => this._end(event))\n    }\n  }\n\n  _eventIsPointerPenTouch(event) {\n    return this._supportPointerEvents && (event.pointerType === POINTER_TYPE_PEN || event.pointerType === POINTER_TYPE_TOUCH)\n  }\n\n  // Static\n  static isSupported() {\n    return 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0\n  }\n}\n\nexport default Swipe\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap carousel.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport Manipulator from './dom/manipulator.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport {\n  defineJQueryPlugin,\n  getNextActiveElement,\n  isRTL,\n  isVisible,\n  reflow,\n  triggerTransitionEnd\n} from './util/index.js'\nimport Swipe from './util/swipe.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'carousel'\nconst DATA_KEY = 'bs.carousel'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\n\nconst ARROW_LEFT_KEY = 'ArrowLeft'\nconst ARROW_RIGHT_KEY = 'ArrowRight'\nconst TOUCHEVENT_COMPAT_WAIT = 500 // Time for mouse compat events to fire after touch\n\nconst ORDER_NEXT = 'next'\nconst ORDER_PREV = 'prev'\nconst DIRECTION_LEFT = 'left'\nconst DIRECTION_RIGHT = 'right'\n\nconst EVENT_SLIDE = `slide${EVENT_KEY}`\nconst EVENT_SLID = `slid${EVENT_KEY}`\nconst EVENT_KEYDOWN = `keydown${EVENT_KEY}`\nconst EVENT_MOUSEENTER = `mouseenter${EVENT_KEY}`\nconst EVENT_MOUSELEAVE = `mouseleave${EVENT_KEY}`\nconst EVENT_DRAG_START = `dragstart${EVENT_KEY}`\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\nconst CLASS_NAME_CAROUSEL = 'carousel'\nconst CLASS_NAME_ACTIVE = 'active'\nconst CLASS_NAME_SLIDE = 'slide'\nconst CLASS_NAME_END = 'carousel-item-end'\nconst CLASS_NAME_START = 'carousel-item-start'\nconst CLASS_NAME_NEXT = 'carousel-item-next'\nconst CLASS_NAME_PREV = 'carousel-item-prev'\n\nconst SELECTOR_ACTIVE = '.active'\nconst SELECTOR_ITEM = '.carousel-item'\nconst SELECTOR_ACTIVE_ITEM = SELECTOR_ACTIVE + SELECTOR_ITEM\nconst SELECTOR_ITEM_IMG = '.carousel-item img'\nconst SELECTOR_INDICATORS = '.carousel-indicators'\nconst SELECTOR_DATA_SLIDE = '[data-bs-slide], [data-bs-slide-to]'\nconst SELECTOR_DATA_RIDE = '[data-bs-ride=\"carousel\"]'\n\nconst KEY_TO_DIRECTION = {\n  [ARROW_LEFT_KEY]: DIRECTION_RIGHT,\n  [ARROW_RIGHT_KEY]: DIRECTION_LEFT\n}\n\nconst Default = {\n  interval: 5000,\n  keyboard: true,\n  pause: 'hover',\n  ride: false,\n  touch: true,\n  wrap: true\n}\n\nconst DefaultType = {\n  interval: '(number|boolean)', // TODO:v6 remove boolean support\n  keyboard: 'boolean',\n  pause: '(string|boolean)',\n  ride: '(boolean|string)',\n  touch: 'boolean',\n  wrap: 'boolean'\n}\n\n/**\n * Class definition\n */\n\nclass Carousel extends BaseComponent {\n  constructor(element, config) {\n    super(element, config)\n\n    this._interval = null\n    this._activeElement = null\n    this._isSliding = false\n    this.touchTimeout = null\n    this._swipeHelper = null\n\n    this._indicatorsElement = SelectorEngine.findOne(SELECTOR_INDICATORS, this._element)\n    this._addEventListeners()\n\n    if (this._config.ride === CLASS_NAME_CAROUSEL) {\n      this.cycle()\n    }\n  }\n\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  next() {\n    this._slide(ORDER_NEXT)\n  }\n\n  nextWhenVisible() {\n    // FIXME TODO use `document.visibilityState`\n    // Don't call next when the page isn't visible\n    // or the carousel or its parent isn't visible\n    if (!document.hidden && isVisible(this._element)) {\n      this.next()\n    }\n  }\n\n  prev() {\n    this._slide(ORDER_PREV)\n  }\n\n  pause() {\n    if (this._isSliding) {\n      triggerTransitionEnd(this._element)\n    }\n\n    this._clearInterval()\n  }\n\n  cycle() {\n    this._clearInterval()\n    this._updateInterval()\n\n    this._interval = setInterval(() => this.nextWhenVisible(), this._config.interval)\n  }\n\n  _maybeEnableCycle() {\n    if (!this._config.ride) {\n      return\n    }\n\n    if (this._isSliding) {\n      EventHandler.one(this._element, EVENT_SLID, () => this.cycle())\n      return\n    }\n\n    this.cycle()\n  }\n\n  to(index) {\n    const items = this._getItems()\n    if (index > items.length - 1 || index < 0) {\n      return\n    }\n\n    if (this._isSliding) {\n      EventHandler.one(this._element, EVENT_SLID, () => this.to(index))\n      return\n    }\n\n    const activeIndex = this._getItemIndex(this._getActive())\n    if (activeIndex === index) {\n      return\n    }\n\n    const order = index > activeIndex ? ORDER_NEXT : ORDER_PREV\n\n    this._slide(order, items[index])\n  }\n\n  dispose() {\n    if (this._swipeHelper) {\n      this._swipeHelper.dispose()\n    }\n\n    super.dispose()\n  }\n\n  // Private\n  _configAfterMerge(config) {\n    config.defaultInterval = config.interval\n    return config\n  }\n\n  _addEventListeners() {\n    if (this._config.keyboard) {\n      EventHandler.on(this._element, EVENT_KEYDOWN, event => this._keydown(event))\n    }\n\n    if (this._config.pause === 'hover') {\n      EventHandler.on(this._element, EVENT_MOUSEENTER, () => this.pause())\n      EventHandler.on(this._element, EVENT_MOUSELEAVE, () => this._maybeEnableCycle())\n    }\n\n    if (this._config.touch && Swipe.isSupported()) {\n      this._addTouchEventListeners()\n    }\n  }\n\n  _addTouchEventListeners() {\n    for (const img of SelectorEngine.find(SELECTOR_ITEM_IMG, this._element)) {\n      EventHandler.on(img, EVENT_DRAG_START, event => event.preventDefault())\n    }\n\n    const endCallBack = () => {\n      if (this._config.pause !== 'hover') {\n        return\n      }\n\n      // If it's a touch-enabled device, mouseenter/leave are fired as\n      // part of the mouse compatibility events on first tap - the carousel\n      // would stop cycling until user tapped out of it;\n      // here, we listen for touchend, explicitly pause the carousel\n      // (as if it's the second time we tap on it, mouseenter compat event\n      // is NOT fired) and after a timeout (to allow for mouse compatibility\n      // events to fire) we explicitly restart cycling\n\n      this.pause()\n      if (this.touchTimeout) {\n        clearTimeout(this.touchTimeout)\n      }\n\n      this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), TOUCHEVENT_COMPAT_WAIT + this._config.interval)\n    }\n\n    const swipeConfig = {\n      leftCallback: () => this._slide(this._directionToOrder(DIRECTION_LEFT)),\n      rightCallback: () => this._slide(this._directionToOrder(DIRECTION_RIGHT)),\n      endCallback: endCallBack\n    }\n\n    this._swipeHelper = new Swipe(this._element, swipeConfig)\n  }\n\n  _keydown(event) {\n    if (/input|textarea/i.test(event.target.tagName)) {\n      return\n    }\n\n    const direction = KEY_TO_DIRECTION[event.key]\n    if (direction) {\n      event.preventDefault()\n      this._slide(this._directionToOrder(direction))\n    }\n  }\n\n  _getItemIndex(element) {\n    return this._getItems().indexOf(element)\n  }\n\n  _setActiveIndicatorElement(index) {\n    if (!this._indicatorsElement) {\n      return\n    }\n\n    const activeIndicator = SelectorEngine.findOne(SELECTOR_ACTIVE, this._indicatorsElement)\n\n    activeIndicator.classList.remove(CLASS_NAME_ACTIVE)\n    activeIndicator.removeAttribute('aria-current')\n\n    const newActiveIndicator = SelectorEngine.findOne(`[data-bs-slide-to=\"${index}\"]`, this._indicatorsElement)\n\n    if (newActiveIndicator) {\n      newActiveIndicator.classList.add(CLASS_NAME_ACTIVE)\n      newActiveIndicator.setAttribute('aria-current', 'true')\n    }\n  }\n\n  _updateInterval() {\n    const element = this._activeElement || this._getActive()\n\n    if (!element) {\n      return\n    }\n\n    const elementInterval = Number.parseInt(element.getAttribute('data-bs-interval'), 10)\n\n    this._config.interval = elementInterval || this._config.defaultInterval\n  }\n\n  _slide(order, element = null) {\n    if (this._isSliding) {\n      return\n    }\n\n    const activeElement = this._getActive()\n    const isNext = order === ORDER_NEXT\n    const nextElement = element || getNextActiveElement(this._getItems(), activeElement, isNext, this._config.wrap)\n\n    if (nextElement === activeElement) {\n      return\n    }\n\n    const nextElementIndex = this._getItemIndex(nextElement)\n\n    const triggerEvent = eventName => {\n      return EventHandler.trigger(this._element, eventName, {\n        relatedTarget: nextElement,\n        direction: this._orderToDirection(order),\n        from: this._getItemIndex(activeElement),\n        to: nextElementIndex\n      })\n    }\n\n    const slideEvent = triggerEvent(EVENT_SLIDE)\n\n    if (slideEvent.defaultPrevented) {\n      return\n    }\n\n    if (!activeElement || !nextElement) {\n      // Some weirdness is happening, so we bail\n      // TODO: change tests that use empty divs to avoid this check\n      return\n    }\n\n    const isCycling = Boolean(this._interval)\n    this.pause()\n\n    this._isSliding = true\n\n    this._setActiveIndicatorElement(nextElementIndex)\n    this._activeElement = nextElement\n\n    const directionalClassName = isNext ? CLASS_NAME_START : CLASS_NAME_END\n    const orderClassName = isNext ? CLASS_NAME_NEXT : CLASS_NAME_PREV\n\n    nextElement.classList.add(orderClassName)\n\n    reflow(nextElement)\n\n    activeElement.classList.add(directionalClassName)\n    nextElement.classList.add(directionalClassName)\n\n    const completeCallBack = () => {\n      nextElement.classList.remove(directionalClassName, orderClassName)\n      nextElement.classList.add(CLASS_NAME_ACTIVE)\n\n      activeElement.classList.remove(CLASS_NAME_ACTIVE, orderClassName, directionalClassName)\n\n      this._isSliding = false\n\n      triggerEvent(EVENT_SLID)\n    }\n\n    this._queueCallback(completeCallBack, activeElement, this._isAnimated())\n\n    if (isCycling) {\n      this.cycle()\n    }\n  }\n\n  _isAnimated() {\n    return this._element.classList.contains(CLASS_NAME_SLIDE)\n  }\n\n  _getActive() {\n    return SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element)\n  }\n\n  _getItems() {\n    return SelectorEngine.find(SELECTOR_ITEM, this._element)\n  }\n\n  _clearInterval() {\n    if (this._interval) {\n      clearInterval(this._interval)\n      this._interval = null\n    }\n  }\n\n  _directionToOrder(direction) {\n    if (isRTL()) {\n      return direction === DIRECTION_LEFT ? ORDER_PREV : ORDER_NEXT\n    }\n\n    return direction === DIRECTION_LEFT ? ORDER_NEXT : ORDER_PREV\n  }\n\n  _orderToDirection(order) {\n    if (isRTL()) {\n      return order === ORDER_PREV ? DIRECTION_LEFT : DIRECTION_RIGHT\n    }\n\n    return order === ORDER_PREV ? DIRECTION_RIGHT : DIRECTION_LEFT\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Carousel.getOrCreateInstance(this, config)\n\n      if (typeof config === 'number') {\n        data.to(config)\n        return\n      }\n\n      if (typeof config === 'string') {\n        if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n          throw new TypeError(`No method named \"${config}\"`)\n        }\n\n        data[config]()\n      }\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_SLIDE, function (event) {\n  const target = SelectorEngine.getElementFromSelector(this)\n\n  if (!target || !target.classList.contains(CLASS_NAME_CAROUSEL)) {\n    return\n  }\n\n  event.preventDefault()\n\n  const carousel = Carousel.getOrCreateInstance(target)\n  const slideIndex = this.getAttribute('data-bs-slide-to')\n\n  if (slideIndex) {\n    carousel.to(slideIndex)\n    carousel._maybeEnableCycle()\n    return\n  }\n\n  if (Manipulator.getDataAttribute(this, 'slide') === 'next') {\n    carousel.next()\n    carousel._maybeEnableCycle()\n    return\n  }\n\n  carousel.prev()\n  carousel._maybeEnableCycle()\n})\n\nEventHandler.on(window, EVENT_LOAD_DATA_API, () => {\n  const carousels = SelectorEngine.find(SELECTOR_DATA_RIDE)\n\n  for (const carousel of carousels) {\n    Carousel.getOrCreateInstance(carousel)\n  }\n})\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Carousel)\n\nexport default Carousel\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap collapse.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport {\n  defineJQueryPlugin,\n  getElement,\n  reflow\n} from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'collapse'\nconst DATA_KEY = 'bs.collapse'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\n\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_COLLAPSE = 'collapse'\nconst CLASS_NAME_COLLAPSING = 'collapsing'\nconst CLASS_NAME_COLLAPSED = 'collapsed'\nconst CLASS_NAME_DEEPER_CHILDREN = `:scope .${CLASS_NAME_COLLAPSE} .${CLASS_NAME_COLLAPSE}`\nconst CLASS_NAME_HORIZONTAL = 'collapse-horizontal'\n\nconst WIDTH = 'width'\nconst HEIGHT = 'height'\n\nconst SELECTOR_ACTIVES = '.collapse.show, .collapse.collapsing'\nconst SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"collapse\"]'\n\nconst Default = {\n  parent: null,\n  toggle: true\n}\n\nconst DefaultType = {\n  parent: '(null|element)',\n  toggle: 'boolean'\n}\n\n/**\n * Class definition\n */\n\nclass Collapse extends BaseComponent {\n  constructor(element, config) {\n    super(element, config)\n\n    this._isTransitioning = false\n    this._triggerArray = []\n\n    const toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE)\n\n    for (const elem of toggleList) {\n      const selector = SelectorEngine.getSelectorFromElement(elem)\n      const filterElement = SelectorEngine.find(selector)\n        .filter(foundElement => foundElement === this._element)\n\n      if (selector !== null && filterElement.length) {\n        this._triggerArray.push(elem)\n      }\n    }\n\n    this._initializeChildren()\n\n    if (!this._config.parent) {\n      this._addAriaAndCollapsedClass(this._triggerArray, this._isShown())\n    }\n\n    if (this._config.toggle) {\n      this.toggle()\n    }\n  }\n\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  toggle() {\n    if (this._isShown()) {\n      this.hide()\n    } else {\n      this.show()\n    }\n  }\n\n  show() {\n    if (this._isTransitioning || this._isShown()) {\n      return\n    }\n\n    let activeChildren = []\n\n    // find active children\n    if (this._config.parent) {\n      activeChildren = this._getFirstLevelChildren(SELECTOR_ACTIVES)\n        .filter(element => element !== this._element)\n        .map(element => Collapse.getOrCreateInstance(element, { toggle: false }))\n    }\n\n    if (activeChildren.length && activeChildren[0]._isTransitioning) {\n      return\n    }\n\n    const startEvent = EventHandler.trigger(this._element, EVENT_SHOW)\n    if (startEvent.defaultPrevented) {\n      return\n    }\n\n    for (const activeInstance of activeChildren) {\n      activeInstance.hide()\n    }\n\n    const dimension = this._getDimension()\n\n    this._element.classList.remove(CLASS_NAME_COLLAPSE)\n    this._element.classList.add(CLASS_NAME_COLLAPSING)\n\n    this._element.style[dimension] = 0\n\n    this._addAriaAndCollapsedClass(this._triggerArray, true)\n    this._isTransitioning = true\n\n    const complete = () => {\n      this._isTransitioning = false\n\n      this._element.classList.remove(CLASS_NAME_COLLAPSING)\n      this._element.classList.add(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW)\n\n      this._element.style[dimension] = ''\n\n      EventHandler.trigger(this._element, EVENT_SHOWN)\n    }\n\n    const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1)\n    const scrollSize = `scroll${capitalizedDimension}`\n\n    this._queueCallback(complete, this._element, true)\n    this._element.style[dimension] = `${this._element[scrollSize]}px`\n  }\n\n  hide() {\n    if (this._isTransitioning || !this._isShown()) {\n      return\n    }\n\n    const startEvent = EventHandler.trigger(this._element, EVENT_HIDE)\n    if (startEvent.defaultPrevented) {\n      return\n    }\n\n    const dimension = this._getDimension()\n\n    this._element.style[dimension] = `${this._element.getBoundingClientRect()[dimension]}px`\n\n    reflow(this._element)\n\n    this._element.classList.add(CLASS_NAME_COLLAPSING)\n    this._element.classList.remove(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW)\n\n    for (const trigger of this._triggerArray) {\n      const element = SelectorEngine.getElementFromSelector(trigger)\n\n      if (element && !this._isShown(element)) {\n        this._addAriaAndCollapsedClass([trigger], false)\n      }\n    }\n\n    this._isTransitioning = true\n\n    const complete = () => {\n      this._isTransitioning = false\n      this._element.classList.remove(CLASS_NAME_COLLAPSING)\n      this._element.classList.add(CLASS_NAME_COLLAPSE)\n      EventHandler.trigger(this._element, EVENT_HIDDEN)\n    }\n\n    this._element.style[dimension] = ''\n\n    this._queueCallback(complete, this._element, true)\n  }\n\n  _isShown(element = this._element) {\n    return element.classList.contains(CLASS_NAME_SHOW)\n  }\n\n  // Private\n  _configAfterMerge(config) {\n    config.toggle = Boolean(config.toggle) // Coerce string values\n    config.parent = getElement(config.parent)\n    return config\n  }\n\n  _getDimension() {\n    return this._element.classList.contains(CLASS_NAME_HORIZONTAL) ? WIDTH : HEIGHT\n  }\n\n  _initializeChildren() {\n    if (!this._config.parent) {\n      return\n    }\n\n    const children = this._getFirstLevelChildren(SELECTOR_DATA_TOGGLE)\n\n    for (const element of children) {\n      const selected = SelectorEngine.getElementFromSelector(element)\n\n      if (selected) {\n        this._addAriaAndCollapsedClass([element], this._isShown(selected))\n      }\n    }\n  }\n\n  _getFirstLevelChildren(selector) {\n    const children = SelectorEngine.find(CLASS_NAME_DEEPER_CHILDREN, this._config.parent)\n    // remove children if greater depth\n    return SelectorEngine.find(selector, this._config.parent).filter(element => !children.includes(element))\n  }\n\n  _addAriaAndCollapsedClass(triggerArray, isOpen) {\n    if (!triggerArray.length) {\n      return\n    }\n\n    for (const element of triggerArray) {\n      element.classList.toggle(CLASS_NAME_COLLAPSED, !isOpen)\n      element.setAttribute('aria-expanded', isOpen)\n    }\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    const _config = {}\n    if (typeof config === 'string' && /show|hide/.test(config)) {\n      _config.toggle = false\n    }\n\n    return this.each(function () {\n      const data = Collapse.getOrCreateInstance(this, _config)\n\n      if (typeof config === 'string') {\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`)\n        }\n\n        data[config]()\n      }\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n  // preventDefault only for <a> elements (which change the URL) not inside the collapsible element\n  if (event.target.tagName === 'A' || (event.delegateTarget && event.delegateTarget.tagName === 'A')) {\n    event.preventDefault()\n  }\n\n  for (const element of SelectorEngine.getMultipleElementsFromSelector(this)) {\n    Collapse.getOrCreateInstance(element, { toggle: false }).toggle()\n  }\n})\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Collapse)\n\nexport default Collapse\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap dropdown.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport * as Popper from '@popperjs/core'\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport Manipulator from './dom/manipulator.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport {\n  defineJQueryPlugin,\n  execute,\n  getElement,\n  getNextActiveElement,\n  isDisabled,\n  isElement,\n  isRTL,\n  isVisible,\n  noop\n} from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'dropdown'\nconst DATA_KEY = 'bs.dropdown'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\n\nconst ESCAPE_KEY = 'Escape'\nconst TAB_KEY = 'Tab'\nconst ARROW_UP_KEY = 'ArrowUp'\nconst ARROW_DOWN_KEY = 'ArrowDown'\nconst RIGHT_MOUSE_BUTTON = 2 // MouseEvent.button value for the secondary button, usually the right button\n\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_KEYDOWN_DATA_API = `keydown${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_KEYUP_DATA_API = `keyup${EVENT_KEY}${DATA_API_KEY}`\n\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_DROPUP = 'dropup'\nconst CLASS_NAME_DROPEND = 'dropend'\nconst CLASS_NAME_DROPSTART = 'dropstart'\nconst CLASS_NAME_DROPUP_CENTER = 'dropup-center'\nconst CLASS_NAME_DROPDOWN_CENTER = 'dropdown-center'\n\nconst SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"dropdown\"]:not(.disabled):not(:disabled)'\nconst SELECTOR_DATA_TOGGLE_SHOWN = `${SELECTOR_DATA_TOGGLE}.${CLASS_NAME_SHOW}`\nconst SELECTOR_MENU = '.dropdown-menu'\nconst SELECTOR_NAVBAR = '.navbar'\nconst SELECTOR_NAVBAR_NAV = '.navbar-nav'\nconst SELECTOR_VISIBLE_ITEMS = '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)'\n\nconst PLACEMENT_TOP = isRTL() ? 'top-end' : 'top-start'\nconst PLACEMENT_TOPEND = isRTL() ? 'top-start' : 'top-end'\nconst PLACEMENT_BOTTOM = isRTL() ? 'bottom-end' : 'bottom-start'\nconst PLACEMENT_BOTTOMEND = isRTL() ? 'bottom-start' : 'bottom-end'\nconst PLACEMENT_RIGHT = isRTL() ? 'left-start' : 'right-start'\nconst PLACEMENT_LEFT = isRTL() ? 'right-start' : 'left-start'\nconst PLACEMENT_TOPCENTER = 'top'\nconst PLACEMENT_BOTTOMCENTER = 'bottom'\n\nconst Default = {\n  autoClose: true,\n  boundary: 'clippingParents',\n  display: 'dynamic',\n  offset: [0, 2],\n  popperConfig: null,\n  reference: 'toggle'\n}\n\nconst DefaultType = {\n  autoClose: '(boolean|string)',\n  boundary: '(string|element)',\n  display: 'string',\n  offset: '(array|string|function)',\n  popperConfig: '(null|object|function)',\n  reference: '(string|element|object)'\n}\n\n/**\n * Class definition\n */\n\nclass Dropdown extends BaseComponent {\n  constructor(element, config) {\n    super(element, config)\n\n    this._popper = null\n    this._parent = this._element.parentNode // dropdown wrapper\n    // TODO: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/\n    this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] ||\n      SelectorEngine.prev(this._element, SELECTOR_MENU)[0] ||\n      SelectorEngine.findOne(SELECTOR_MENU, this._parent)\n    this._inNavbar = this._detectNavbar()\n  }\n\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  toggle() {\n    return this._isShown() ? this.hide() : this.show()\n  }\n\n  show() {\n    if (isDisabled(this._element) || this._isShown()) {\n      return\n    }\n\n    const relatedTarget = {\n      relatedTarget: this._element\n    }\n\n    const showEvent = EventHandler.trigger(this._element, EVENT_SHOW, relatedTarget)\n\n    if (showEvent.defaultPrevented) {\n      return\n    }\n\n    this._createPopper()\n\n    // If this is a touch-enabled device we add extra\n    // empty mouseover listeners to the body's immediate children;\n    // only needed because of broken event delegation on iOS\n    // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n    if ('ontouchstart' in document.documentElement && !this._parent.closest(SELECTOR_NAVBAR_NAV)) {\n      for (const element of [].concat(...document.body.children)) {\n        EventHandler.on(element, 'mouseover', noop)\n      }\n    }\n\n    this._element.focus()\n    this._element.setAttribute('aria-expanded', true)\n\n    this._menu.classList.add(CLASS_NAME_SHOW)\n    this._element.classList.add(CLASS_NAME_SHOW)\n    EventHandler.trigger(this._element, EVENT_SHOWN, relatedTarget)\n  }\n\n  hide() {\n    if (isDisabled(this._element) || !this._isShown()) {\n      return\n    }\n\n    const relatedTarget = {\n      relatedTarget: this._element\n    }\n\n    this._completeHide(relatedTarget)\n  }\n\n  dispose() {\n    if (this._popper) {\n      this._popper.destroy()\n    }\n\n    super.dispose()\n  }\n\n  update() {\n    this._inNavbar = this._detectNavbar()\n    if (this._popper) {\n      this._popper.update()\n    }\n  }\n\n  // Private\n  _completeHide(relatedTarget) {\n    const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE, relatedTarget)\n    if (hideEvent.defaultPrevented) {\n      return\n    }\n\n    // If this is a touch-enabled device we remove the extra\n    // empty mouseover listeners we added for iOS support\n    if ('ontouchstart' in document.documentElement) {\n      for (const element of [].concat(...document.body.children)) {\n        EventHandler.off(element, 'mouseover', noop)\n      }\n    }\n\n    if (this._popper) {\n      this._popper.destroy()\n    }\n\n    this._menu.classList.remove(CLASS_NAME_SHOW)\n    this._element.classList.remove(CLASS_NAME_SHOW)\n    this._element.setAttribute('aria-expanded', 'false')\n    Manipulator.removeDataAttribute(this._menu, 'popper')\n    EventHandler.trigger(this._element, EVENT_HIDDEN, relatedTarget)\n  }\n\n  _getConfig(config) {\n    config = super._getConfig(config)\n\n    if (typeof config.reference === 'object' && !isElement(config.reference) &&\n      typeof config.reference.getBoundingClientRect !== 'function'\n    ) {\n      // Popper virtual elements require a getBoundingClientRect method\n      throw new TypeError(`${NAME.toUpperCase()}: Option \"reference\" provided type \"object\" without a required \"getBoundingClientRect\" method.`)\n    }\n\n    return config\n  }\n\n  _createPopper() {\n    if (typeof Popper === 'undefined') {\n      throw new TypeError('Bootstrap\\'s dropdowns require Popper (https://popper.js.org)')\n    }\n\n    let referenceElement = this._element\n\n    if (this._config.reference === 'parent') {\n      referenceElement = this._parent\n    } else if (isElement(this._config.reference)) {\n      referenceElement = getElement(this._config.reference)\n    } else if (typeof this._config.reference === 'object') {\n      referenceElement = this._config.reference\n    }\n\n    const popperConfig = this._getPopperConfig()\n    this._popper = Popper.createPopper(referenceElement, this._menu, popperConfig)\n  }\n\n  _isShown() {\n    return this._menu.classList.contains(CLASS_NAME_SHOW)\n  }\n\n  _getPlacement() {\n    const parentDropdown = this._parent\n\n    if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {\n      return PLACEMENT_RIGHT\n    }\n\n    if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {\n      return PLACEMENT_LEFT\n    }\n\n    if (parentDropdown.classList.contains(CLASS_NAME_DROPUP_CENTER)) {\n      return PLACEMENT_TOPCENTER\n    }\n\n    if (parentDropdown.classList.contains(CLASS_NAME_DROPDOWN_CENTER)) {\n      return PLACEMENT_BOTTOMCENTER\n    }\n\n    // We need to trim the value because custom properties can also include spaces\n    const isEnd = getComputedStyle(this._menu).getPropertyValue('--bs-position').trim() === 'end'\n\n    if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {\n      return isEnd ? PLACEMENT_TOPEND : PLACEMENT_TOP\n    }\n\n    return isEnd ? PLACEMENT_BOTTOMEND : PLACEMENT_BOTTOM\n  }\n\n  _detectNavbar() {\n    return this._element.closest(SELECTOR_NAVBAR) !== null\n  }\n\n  _getOffset() {\n    const { offset } = this._config\n\n    if (typeof offset === 'string') {\n      return offset.split(',').map(value => Number.parseInt(value, 10))\n    }\n\n    if (typeof offset === 'function') {\n      return popperData => offset(popperData, this._element)\n    }\n\n    return offset\n  }\n\n  _getPopperConfig() {\n    const defaultBsPopperConfig = {\n      placement: this._getPlacement(),\n      modifiers: [{\n        name: 'preventOverflow',\n        options: {\n          boundary: this._config.boundary\n        }\n      },\n      {\n        name: 'offset',\n        options: {\n          offset: this._getOffset()\n        }\n      }]\n    }\n\n    // Disable Popper if we have a static display or Dropdown is in Navbar\n    if (this._inNavbar || this._config.display === 'static') {\n      Manipulator.setDataAttribute(this._menu, 'popper', 'static') // TODO: v6 remove\n      defaultBsPopperConfig.modifiers = [{\n        name: 'applyStyles',\n        enabled: false\n      }]\n    }\n\n    return {\n      ...defaultBsPopperConfig,\n      ...execute(this._config.popperConfig, [defaultBsPopperConfig])\n    }\n  }\n\n  _selectMenuItem({ key, target }) {\n    const items = SelectorEngine.find(SELECTOR_VISIBLE_ITEMS, this._menu).filter(element => isVisible(element))\n\n    if (!items.length) {\n      return\n    }\n\n    // if target isn't included in items (e.g. when expanding the dropdown)\n    // allow cycling to get the last item in case key equals ARROW_UP_KEY\n    getNextActiveElement(items, target, key === ARROW_DOWN_KEY, !items.includes(target)).focus()\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Dropdown.getOrCreateInstance(this, config)\n\n      if (typeof config !== 'string') {\n        return\n      }\n\n      if (typeof data[config] === 'undefined') {\n        throw new TypeError(`No method named \"${config}\"`)\n      }\n\n      data[config]()\n    })\n  }\n\n  static clearMenus(event) {\n    if (event.button === RIGHT_MOUSE_BUTTON || (event.type === 'keyup' && event.key !== TAB_KEY)) {\n      return\n    }\n\n    const openToggles = SelectorEngine.find(SELECTOR_DATA_TOGGLE_SHOWN)\n\n    for (const toggle of openToggles) {\n      const context = Dropdown.getInstance(toggle)\n      if (!context || context._config.autoClose === false) {\n        continue\n      }\n\n      const composedPath = event.composedPath()\n      const isMenuTarget = composedPath.includes(context._menu)\n      if (\n        composedPath.includes(context._element) ||\n        (context._config.autoClose === 'inside' && !isMenuTarget) ||\n        (context._config.autoClose === 'outside' && isMenuTarget)\n      ) {\n        continue\n      }\n\n      // Tab navigation through the dropdown menu or events from contained inputs shouldn't close the menu\n      if (context._menu.contains(event.target) && ((event.type === 'keyup' && event.key === TAB_KEY) || /input|select|option|textarea|form/i.test(event.target.tagName))) {\n        continue\n      }\n\n      const relatedTarget = { relatedTarget: context._element }\n\n      if (event.type === 'click') {\n        relatedTarget.clickEvent = event\n      }\n\n      context._completeHide(relatedTarget)\n    }\n  }\n\n  static dataApiKeydownHandler(event) {\n    // If not an UP | DOWN | ESCAPE key => not a dropdown command\n    // If input/textarea && if key is other than ESCAPE => not a dropdown command\n\n    const isInput = /input|textarea/i.test(event.target.tagName)\n    const isEscapeEvent = event.key === ESCAPE_KEY\n    const isUpOrDownEvent = [ARROW_UP_KEY, ARROW_DOWN_KEY].includes(event.key)\n\n    if (!isUpOrDownEvent && !isEscapeEvent) {\n      return\n    }\n\n    if (isInput && !isEscapeEvent) {\n      return\n    }\n\n    event.preventDefault()\n\n    // TODO: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/\n    const getToggleButton = this.matches(SELECTOR_DATA_TOGGLE) ?\n      this :\n      (SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE)[0] ||\n        SelectorEngine.next(this, SELECTOR_DATA_TOGGLE)[0] ||\n        SelectorEngine.findOne(SELECTOR_DATA_TOGGLE, event.delegateTarget.parentNode))\n\n    const instance = Dropdown.getOrCreateInstance(getToggleButton)\n\n    if (isUpOrDownEvent) {\n      event.stopPropagation()\n      instance.show()\n      instance._selectMenuItem(event)\n      return\n    }\n\n    if (instance._isShown()) { // else is escape and we check if it is shown\n      event.stopPropagation()\n      instance.hide()\n      getToggleButton.focus()\n    }\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_DATA_TOGGLE, Dropdown.dataApiKeydownHandler)\nEventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown.dataApiKeydownHandler)\nEventHandler.on(document, EVENT_CLICK_DATA_API, Dropdown.clearMenus)\nEventHandler.on(document, EVENT_KEYUP_DATA_API, Dropdown.clearMenus)\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n  event.preventDefault()\n  Dropdown.getOrCreateInstance(this).toggle()\n})\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Dropdown)\n\nexport default Dropdown\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/backdrop.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport EventHandler from '../dom/event-handler.js'\nimport Config from './config.js'\nimport {\n  execute, executeAfterTransition, getElement, reflow\n} from './index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'backdrop'\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_SHOW = 'show'\nconst EVENT_MOUSEDOWN = `mousedown.bs.${NAME}`\n\nconst Default = {\n  className: 'modal-backdrop',\n  clickCallback: null,\n  isAnimated: false,\n  isVisible: true, // if false, we use the backdrop helper without adding any element to the dom\n  rootElement: 'body' // give the choice to place backdrop under different elements\n}\n\nconst DefaultType = {\n  className: 'string',\n  clickCallback: '(function|null)',\n  isAnimated: 'boolean',\n  isVisible: 'boolean',\n  rootElement: '(element|string)'\n}\n\n/**\n * Class definition\n */\n\nclass Backdrop extends Config {\n  constructor(config) {\n    super()\n    this._config = this._getConfig(config)\n    this._isAppended = false\n    this._element = null\n  }\n\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  show(callback) {\n    if (!this._config.isVisible) {\n      execute(callback)\n      return\n    }\n\n    this._append()\n\n    const element = this._getElement()\n    if (this._config.isAnimated) {\n      reflow(element)\n    }\n\n    element.classList.add(CLASS_NAME_SHOW)\n\n    this._emulateAnimation(() => {\n      execute(callback)\n    })\n  }\n\n  hide(callback) {\n    if (!this._config.isVisible) {\n      execute(callback)\n      return\n    }\n\n    this._getElement().classList.remove(CLASS_NAME_SHOW)\n\n    this._emulateAnimation(() => {\n      this.dispose()\n      execute(callback)\n    })\n  }\n\n  dispose() {\n    if (!this._isAppended) {\n      return\n    }\n\n    EventHandler.off(this._element, EVENT_MOUSEDOWN)\n\n    this._element.remove()\n    this._isAppended = false\n  }\n\n  // Private\n  _getElement() {\n    if (!this._element) {\n      const backdrop = document.createElement('div')\n      backdrop.className = this._config.className\n      if (this._config.isAnimated) {\n        backdrop.classList.add(CLASS_NAME_FADE)\n      }\n\n      this._element = backdrop\n    }\n\n    return this._element\n  }\n\n  _configAfterMerge(config) {\n    // use getElement() with the default \"body\" to get a fresh Element on each instantiation\n    config.rootElement = getElement(config.rootElement)\n    return config\n  }\n\n  _append() {\n    if (this._isAppended) {\n      return\n    }\n\n    const element = this._getElement()\n    this._config.rootElement.append(element)\n\n    EventHandler.on(element, EVENT_MOUSEDOWN, () => {\n      execute(this._config.clickCallback)\n    })\n\n    this._isAppended = true\n  }\n\n  _emulateAnimation(callback) {\n    executeAfterTransition(callback, this._getElement(), this._config.isAnimated)\n  }\n}\n\nexport default Backdrop\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/focustrap.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport EventHandler from '../dom/event-handler.js'\nimport SelectorEngine from '../dom/selector-engine.js'\nimport Config from './config.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'focustrap'\nconst DATA_KEY = 'bs.focustrap'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst EVENT_FOCUSIN = `focusin${EVENT_KEY}`\nconst EVENT_KEYDOWN_TAB = `keydown.tab${EVENT_KEY}`\n\nconst TAB_KEY = 'Tab'\nconst TAB_NAV_FORWARD = 'forward'\nconst TAB_NAV_BACKWARD = 'backward'\n\nconst Default = {\n  autofocus: true,\n  trapElement: null // The element to trap focus inside of\n}\n\nconst DefaultType = {\n  autofocus: 'boolean',\n  trapElement: 'element'\n}\n\n/**\n * Class definition\n */\n\nclass FocusTrap extends Config {\n  constructor(config) {\n    super()\n    this._config = this._getConfig(config)\n    this._isActive = false\n    this._lastTabNavDirection = null\n  }\n\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  activate() {\n    if (this._isActive) {\n      return\n    }\n\n    if (this._config.autofocus) {\n      this._config.trapElement.focus()\n    }\n\n    EventHandler.off(document, EVENT_KEY) // guard against infinite focus loop\n    EventHandler.on(document, EVENT_FOCUSIN, event => this._handleFocusin(event))\n    EventHandler.on(document, EVENT_KEYDOWN_TAB, event => this._handleKeydown(event))\n\n    this._isActive = true\n  }\n\n  deactivate() {\n    if (!this._isActive) {\n      return\n    }\n\n    this._isActive = false\n    EventHandler.off(document, EVENT_KEY)\n  }\n\n  // Private\n  _handleFocusin(event) {\n    const { trapElement } = this._config\n\n    if (event.target === document || event.target === trapElement || trapElement.contains(event.target)) {\n      return\n    }\n\n    const elements = SelectorEngine.focusableChildren(trapElement)\n\n    if (elements.length === 0) {\n      trapElement.focus()\n    } else if (this._lastTabNavDirection === TAB_NAV_BACKWARD) {\n      elements[elements.length - 1].focus()\n    } else {\n      elements[0].focus()\n    }\n  }\n\n  _handleKeydown(event) {\n    if (event.key !== TAB_KEY) {\n      return\n    }\n\n    this._lastTabNavDirection = event.shiftKey ? TAB_NAV_BACKWARD : TAB_NAV_FORWARD\n  }\n}\n\nexport default FocusTrap\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/scrollBar.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport Manipulator from '../dom/manipulator.js'\nimport SelectorEngine from '../dom/selector-engine.js'\nimport { isElement } from './index.js'\n\n/**\n * Constants\n */\n\nconst SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top'\nconst SELECTOR_STICKY_CONTENT = '.sticky-top'\nconst PROPERTY_PADDING = 'padding-right'\nconst PROPERTY_MARGIN = 'margin-right'\n\n/**\n * Class definition\n */\n\nclass ScrollBarHelper {\n  constructor() {\n    this._element = document.body\n  }\n\n  // Public\n  getWidth() {\n    // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes\n    const documentWidth = document.documentElement.clientWidth\n    return Math.abs(window.innerWidth - documentWidth)\n  }\n\n  hide() {\n    const width = this.getWidth()\n    this._disableOverFlow()\n    // give padding to element to balance the hidden scrollbar width\n    this._setElementAttributes(this._element, PROPERTY_PADDING, calculatedValue => calculatedValue + width)\n    // trick: We adjust positive paddingRight and negative marginRight to sticky-top elements to keep showing fullwidth\n    this._setElementAttributes(SELECTOR_FIXED_CONTENT, PROPERTY_PADDING, calculatedValue => calculatedValue + width)\n    this._setElementAttributes(SELECTOR_STICKY_CONTENT, PROPERTY_MARGIN, calculatedValue => calculatedValue - width)\n  }\n\n  reset() {\n    this._resetElementAttributes(this._element, 'overflow')\n    this._resetElementAttributes(this._element, PROPERTY_PADDING)\n    this._resetElementAttributes(SELECTOR_FIXED_CONTENT, PROPERTY_PADDING)\n    this._resetElementAttributes(SELECTOR_STICKY_CONTENT, PROPERTY_MARGIN)\n  }\n\n  isOverflowing() {\n    return this.getWidth() > 0\n  }\n\n  // Private\n  _disableOverFlow() {\n    this._saveInitialAttribute(this._element, 'overflow')\n    this._element.style.overflow = 'hidden'\n  }\n\n  _setElementAttributes(selector, styleProperty, callback) {\n    const scrollbarWidth = this.getWidth()\n    const manipulationCallBack = element => {\n      if (element !== this._element && window.innerWidth > element.clientWidth + scrollbarWidth) {\n        return\n      }\n\n      this._saveInitialAttribute(element, styleProperty)\n      const calculatedValue = window.getComputedStyle(element).getPropertyValue(styleProperty)\n      element.style.setProperty(styleProperty, `${callback(Number.parseFloat(calculatedValue))}px`)\n    }\n\n    this._applyManipulationCallback(selector, manipulationCallBack)\n  }\n\n  _saveInitialAttribute(element, styleProperty) {\n    const actualValue = element.style.getPropertyValue(styleProperty)\n    if (actualValue) {\n      Manipulator.setDataAttribute(element, styleProperty, actualValue)\n    }\n  }\n\n  _resetElementAttributes(selector, styleProperty) {\n    const manipulationCallBack = element => {\n      const value = Manipulator.getDataAttribute(element, styleProperty)\n      // We only want to remove the property if the value is `null`; the value can also be zero\n      if (value === null) {\n        element.style.removeProperty(styleProperty)\n        return\n      }\n\n      Manipulator.removeDataAttribute(element, styleProperty)\n      element.style.setProperty(styleProperty, value)\n    }\n\n    this._applyManipulationCallback(selector, manipulationCallBack)\n  }\n\n  _applyManipulationCallback(selector, callBack) {\n    if (isElement(selector)) {\n      callBack(selector)\n      return\n    }\n\n    for (const sel of SelectorEngine.find(selector, this._element)) {\n      callBack(sel)\n    }\n  }\n}\n\nexport default ScrollBarHelper\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap modal.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport Backdrop from './util/backdrop.js'\nimport { enableDismissTrigger } from './util/component-functions.js'\nimport FocusTrap from './util/focustrap.js'\nimport {\n  defineJQueryPlugin, isRTL, isVisible, reflow\n} from './util/index.js'\nimport ScrollBarHelper from './util/scrollbar.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'modal'\nconst DATA_KEY = 'bs.modal'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst ESCAPE_KEY = 'Escape'\n\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_RESIZE = `resize${EVENT_KEY}`\nconst EVENT_CLICK_DISMISS = `click.dismiss${EVENT_KEY}`\nconst EVENT_MOUSEDOWN_DISMISS = `mousedown.dismiss${EVENT_KEY}`\nconst EVENT_KEYDOWN_DISMISS = `keydown.dismiss${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\nconst CLASS_NAME_OPEN = 'modal-open'\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_STATIC = 'modal-static'\n\nconst OPEN_SELECTOR = '.modal.show'\nconst SELECTOR_DIALOG = '.modal-dialog'\nconst SELECTOR_MODAL_BODY = '.modal-body'\nconst SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"modal\"]'\n\nconst Default = {\n  backdrop: true,\n  focus: true,\n  keyboard: true\n}\n\nconst DefaultType = {\n  backdrop: '(boolean|string)',\n  focus: 'boolean',\n  keyboard: 'boolean'\n}\n\n/**\n * Class definition\n */\n\nclass Modal extends BaseComponent {\n  constructor(element, config) {\n    super(element, config)\n\n    this._dialog = SelectorEngine.findOne(SELECTOR_DIALOG, this._element)\n    this._backdrop = this._initializeBackDrop()\n    this._focustrap = this._initializeFocusTrap()\n    this._isShown = false\n    this._isTransitioning = false\n    this._scrollBar = new ScrollBarHelper()\n\n    this._addEventListeners()\n  }\n\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  toggle(relatedTarget) {\n    return this._isShown ? this.hide() : this.show(relatedTarget)\n  }\n\n  show(relatedTarget) {\n    if (this._isShown || this._isTransitioning) {\n      return\n    }\n\n    const showEvent = EventHandler.trigger(this._element, EVENT_SHOW, {\n      relatedTarget\n    })\n\n    if (showEvent.defaultPrevented) {\n      return\n    }\n\n    this._isShown = true\n    this._isTransitioning = true\n\n    this._scrollBar.hide()\n\n    document.body.classList.add(CLASS_NAME_OPEN)\n\n    this._adjustDialog()\n\n    this._backdrop.show(() => this._showElement(relatedTarget))\n  }\n\n  hide() {\n    if (!this._isShown || this._isTransitioning) {\n      return\n    }\n\n    const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE)\n\n    if (hideEvent.defaultPrevented) {\n      return\n    }\n\n    this._isShown = false\n    this._isTransitioning = true\n    this._focustrap.deactivate()\n\n    this._element.classList.remove(CLASS_NAME_SHOW)\n\n    this._queueCallback(() => this._hideModal(), this._element, this._isAnimated())\n  }\n\n  dispose() {\n    EventHandler.off(window, EVENT_KEY)\n    EventHandler.off(this._dialog, EVENT_KEY)\n\n    this._backdrop.dispose()\n    this._focustrap.deactivate()\n\n    super.dispose()\n  }\n\n  handleUpdate() {\n    this._adjustDialog()\n  }\n\n  // Private\n  _initializeBackDrop() {\n    return new Backdrop({\n      isVisible: Boolean(this._config.backdrop), // 'static' option will be translated to true, and booleans will keep their value,\n      isAnimated: this._isAnimated()\n    })\n  }\n\n  _initializeFocusTrap() {\n    return new FocusTrap({\n      trapElement: this._element\n    })\n  }\n\n  _showElement(relatedTarget) {\n    // try to append dynamic modal\n    if (!document.body.contains(this._element)) {\n      document.body.append(this._element)\n    }\n\n    this._element.style.display = 'block'\n    this._element.removeAttribute('aria-hidden')\n    this._element.setAttribute('aria-modal', true)\n    this._element.setAttribute('role', 'dialog')\n    this._element.scrollTop = 0\n\n    const modalBody = SelectorEngine.findOne(SELECTOR_MODAL_BODY, this._dialog)\n    if (modalBody) {\n      modalBody.scrollTop = 0\n    }\n\n    reflow(this._element)\n\n    this._element.classList.add(CLASS_NAME_SHOW)\n\n    const transitionComplete = () => {\n      if (this._config.focus) {\n        this._focustrap.activate()\n      }\n\n      this._isTransitioning = false\n      EventHandler.trigger(this._element, EVENT_SHOWN, {\n        relatedTarget\n      })\n    }\n\n    this._queueCallback(transitionComplete, this._dialog, this._isAnimated())\n  }\n\n  _addEventListeners() {\n    EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, event => {\n      if (event.key !== ESCAPE_KEY) {\n        return\n      }\n\n      if (this._config.keyboard) {\n        this.hide()\n        return\n      }\n\n      this._triggerBackdropTransition()\n    })\n\n    EventHandler.on(window, EVENT_RESIZE, () => {\n      if (this._isShown && !this._isTransitioning) {\n        this._adjustDialog()\n      }\n    })\n\n    EventHandler.on(this._element, EVENT_MOUSEDOWN_DISMISS, event => {\n      // a bad trick to segregate clicks that may start inside dialog but end outside, and avoid listen to scrollbar clicks\n      EventHandler.one(this._element, EVENT_CLICK_DISMISS, event2 => {\n        if (this._element !== event.target || this._element !== event2.target) {\n          return\n        }\n\n        if (this._config.backdrop === 'static') {\n          this._triggerBackdropTransition()\n          return\n        }\n\n        if (this._config.backdrop) {\n          this.hide()\n        }\n      })\n    })\n  }\n\n  _hideModal() {\n    this._element.style.display = 'none'\n    this._element.setAttribute('aria-hidden', true)\n    this._element.removeAttribute('aria-modal')\n    this._element.removeAttribute('role')\n    this._isTransitioning = false\n\n    this._backdrop.hide(() => {\n      document.body.classList.remove(CLASS_NAME_OPEN)\n      this._resetAdjustments()\n      this._scrollBar.reset()\n      EventHandler.trigger(this._element, EVENT_HIDDEN)\n    })\n  }\n\n  _isAnimated() {\n    return this._element.classList.contains(CLASS_NAME_FADE)\n  }\n\n  _triggerBackdropTransition() {\n    const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED)\n    if (hideEvent.defaultPrevented) {\n      return\n    }\n\n    const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight\n    const initialOverflowY = this._element.style.overflowY\n    // return if the following background transition hasn't yet completed\n    if (initialOverflowY === 'hidden' || this._element.classList.contains(CLASS_NAME_STATIC)) {\n      return\n    }\n\n    if (!isModalOverflowing) {\n      this._element.style.overflowY = 'hidden'\n    }\n\n    this._element.classList.add(CLASS_NAME_STATIC)\n    this._queueCallback(() => {\n      this._element.classList.remove(CLASS_NAME_STATIC)\n      this._queueCallback(() => {\n        this._element.style.overflowY = initialOverflowY\n      }, this._dialog)\n    }, this._dialog)\n\n    this._element.focus()\n  }\n\n  /**\n   * The following methods are used to handle overflowing modals\n   */\n\n  _adjustDialog() {\n    const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight\n    const scrollbarWidth = this._scrollBar.getWidth()\n    const isBodyOverflowing = scrollbarWidth > 0\n\n    if (isBodyOverflowing && !isModalOverflowing) {\n      const property = isRTL() ? 'paddingLeft' : 'paddingRight'\n      this._element.style[property] = `${scrollbarWidth}px`\n    }\n\n    if (!isBodyOverflowing && isModalOverflowing) {\n      const property = isRTL() ? 'paddingRight' : 'paddingLeft'\n      this._element.style[property] = `${scrollbarWidth}px`\n    }\n  }\n\n  _resetAdjustments() {\n    this._element.style.paddingLeft = ''\n    this._element.style.paddingRight = ''\n  }\n\n  // Static\n  static jQueryInterface(config, relatedTarget) {\n    return this.each(function () {\n      const data = Modal.getOrCreateInstance(this, config)\n\n      if (typeof config !== 'string') {\n        return\n      }\n\n      if (typeof data[config] === 'undefined') {\n        throw new TypeError(`No method named \"${config}\"`)\n      }\n\n      data[config](relatedTarget)\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n  const target = SelectorEngine.getElementFromSelector(this)\n\n  if (['A', 'AREA'].includes(this.tagName)) {\n    event.preventDefault()\n  }\n\n  EventHandler.one(target, EVENT_SHOW, showEvent => {\n    if (showEvent.defaultPrevented) {\n      // only register focus restorer if modal will actually get shown\n      return\n    }\n\n    EventHandler.one(target, EVENT_HIDDEN, () => {\n      if (isVisible(this)) {\n        this.focus()\n      }\n    })\n  })\n\n  // avoid conflict when clicking modal toggler while another one is open\n  const alreadyOpen = SelectorEngine.findOne(OPEN_SELECTOR)\n  if (alreadyOpen) {\n    Modal.getInstance(alreadyOpen).hide()\n  }\n\n  const data = Modal.getOrCreateInstance(target)\n\n  data.toggle(this)\n})\n\nenableDismissTrigger(Modal)\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Modal)\n\nexport default Modal\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap offcanvas.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport Backdrop from './util/backdrop.js'\nimport { enableDismissTrigger } from './util/component-functions.js'\nimport FocusTrap from './util/focustrap.js'\nimport {\n  defineJQueryPlugin,\n  isDisabled,\n  isVisible\n} from './util/index.js'\nimport ScrollBarHelper from './util/scrollbar.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'offcanvas'\nconst DATA_KEY = 'bs.offcanvas'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`\nconst ESCAPE_KEY = 'Escape'\n\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_SHOWING = 'showing'\nconst CLASS_NAME_HIDING = 'hiding'\nconst CLASS_NAME_BACKDROP = 'offcanvas-backdrop'\nconst OPEN_SELECTOR = '.offcanvas.show'\n\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_RESIZE = `resize${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_KEYDOWN_DISMISS = `keydown.dismiss${EVENT_KEY}`\n\nconst SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"offcanvas\"]'\n\nconst Default = {\n  backdrop: true,\n  keyboard: true,\n  scroll: false\n}\n\nconst DefaultType = {\n  backdrop: '(boolean|string)',\n  keyboard: 'boolean',\n  scroll: 'boolean'\n}\n\n/**\n * Class definition\n */\n\nclass Offcanvas extends BaseComponent {\n  constructor(element, config) {\n    super(element, config)\n\n    this._isShown = false\n    this._backdrop = this._initializeBackDrop()\n    this._focustrap = this._initializeFocusTrap()\n    this._addEventListeners()\n  }\n\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  toggle(relatedTarget) {\n    return this._isShown ? this.hide() : this.show(relatedTarget)\n  }\n\n  show(relatedTarget) {\n    if (this._isShown) {\n      return\n    }\n\n    const showEvent = EventHandler.trigger(this._element, EVENT_SHOW, { relatedTarget })\n\n    if (showEvent.defaultPrevented) {\n      return\n    }\n\n    this._isShown = true\n    this._backdrop.show()\n\n    if (!this._config.scroll) {\n      new ScrollBarHelper().hide()\n    }\n\n    this._element.setAttribute('aria-modal', true)\n    this._element.setAttribute('role', 'dialog')\n    this._element.classList.add(CLASS_NAME_SHOWING)\n\n    const completeCallBack = () => {\n      if (!this._config.scroll || this._config.backdrop) {\n        this._focustrap.activate()\n      }\n\n      this._element.classList.add(CLASS_NAME_SHOW)\n      this._element.classList.remove(CLASS_NAME_SHOWING)\n      EventHandler.trigger(this._element, EVENT_SHOWN, { relatedTarget })\n    }\n\n    this._queueCallback(completeCallBack, this._element, true)\n  }\n\n  hide() {\n    if (!this._isShown) {\n      return\n    }\n\n    const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE)\n\n    if (hideEvent.defaultPrevented) {\n      return\n    }\n\n    this._focustrap.deactivate()\n    this._element.blur()\n    this._isShown = false\n    this._element.classList.add(CLASS_NAME_HIDING)\n    this._backdrop.hide()\n\n    const completeCallback = () => {\n      this._element.classList.remove(CLASS_NAME_SHOW, CLASS_NAME_HIDING)\n      this._element.removeAttribute('aria-modal')\n      this._element.removeAttribute('role')\n\n      if (!this._config.scroll) {\n        new ScrollBarHelper().reset()\n      }\n\n      EventHandler.trigger(this._element, EVENT_HIDDEN)\n    }\n\n    this._queueCallback(completeCallback, this._element, true)\n  }\n\n  dispose() {\n    this._backdrop.dispose()\n    this._focustrap.deactivate()\n    super.dispose()\n  }\n\n  // Private\n  _initializeBackDrop() {\n    const clickCallback = () => {\n      if (this._config.backdrop === 'static') {\n        EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED)\n        return\n      }\n\n      this.hide()\n    }\n\n    // 'static' option will be translated to true, and booleans will keep their value\n    const isVisible = Boolean(this._config.backdrop)\n\n    return new Backdrop({\n      className: CLASS_NAME_BACKDROP,\n      isVisible,\n      isAnimated: true,\n      rootElement: this._element.parentNode,\n      clickCallback: isVisible ? clickCallback : null\n    })\n  }\n\n  _initializeFocusTrap() {\n    return new FocusTrap({\n      trapElement: this._element\n    })\n  }\n\n  _addEventListeners() {\n    EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, event => {\n      if (event.key !== ESCAPE_KEY) {\n        return\n      }\n\n      if (this._config.keyboard) {\n        this.hide()\n        return\n      }\n\n      EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED)\n    })\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Offcanvas.getOrCreateInstance(this, config)\n\n      if (typeof config !== 'string') {\n        return\n      }\n\n      if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n        throw new TypeError(`No method named \"${config}\"`)\n      }\n\n      data[config](this)\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n  const target = SelectorEngine.getElementFromSelector(this)\n\n  if (['A', 'AREA'].includes(this.tagName)) {\n    event.preventDefault()\n  }\n\n  if (isDisabled(this)) {\n    return\n  }\n\n  EventHandler.one(target, EVENT_HIDDEN, () => {\n    // focus on trigger when it is closed\n    if (isVisible(this)) {\n      this.focus()\n    }\n  })\n\n  // avoid conflict when clicking a toggler of an offcanvas, while another is open\n  const alreadyOpen = SelectorEngine.findOne(OPEN_SELECTOR)\n  if (alreadyOpen && alreadyOpen !== target) {\n    Offcanvas.getInstance(alreadyOpen).hide()\n  }\n\n  const data = Offcanvas.getOrCreateInstance(target)\n  data.toggle(this)\n})\n\nEventHandler.on(window, EVENT_LOAD_DATA_API, () => {\n  for (const selector of SelectorEngine.find(OPEN_SELECTOR)) {\n    Offcanvas.getOrCreateInstance(selector).show()\n  }\n})\n\nEventHandler.on(window, EVENT_RESIZE, () => {\n  for (const element of SelectorEngine.find('[aria-modal][class*=show][class*=offcanvas-]')) {\n    if (getComputedStyle(element).position !== 'fixed') {\n      Offcanvas.getOrCreateInstance(element).hide()\n    }\n  }\n})\n\nenableDismissTrigger(Offcanvas)\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Offcanvas)\n\nexport default Offcanvas\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/sanitizer.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n// js-docs-start allow-list\nconst ARIA_ATTRIBUTE_PATTERN = /^aria-[\\w-]*$/i\n\nexport const DefaultAllowlist = {\n  // Global attributes allowed on any supplied element below.\n  '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN],\n  a: ['target', 'href', 'title', 'rel'],\n  area: [],\n  b: [],\n  br: [],\n  col: [],\n  code: [],\n  dd: [],\n  div: [],\n  dl: [],\n  dt: [],\n  em: [],\n  hr: [],\n  h1: [],\n  h2: [],\n  h3: [],\n  h4: [],\n  h5: [],\n  h6: [],\n  i: [],\n  img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],\n  li: [],\n  ol: [],\n  p: [],\n  pre: [],\n  s: [],\n  small: [],\n  span: [],\n  sub: [],\n  sup: [],\n  strong: [],\n  u: [],\n  ul: []\n}\n// js-docs-end allow-list\n\nconst uriAttributes = new Set([\n  'background',\n  'cite',\n  'href',\n  'itemtype',\n  'longdesc',\n  'poster',\n  'src',\n  'xlink:href'\n])\n\n/**\n * A pattern that recognizes URLs that are safe wrt. XSS in URL navigation\n * contexts.\n *\n * Shout-out to Angular https://github.com/angular/angular/blob/15.2.8/packages/core/src/sanitization/url_sanitizer.ts#L38\n */\n// eslint-disable-next-line unicorn/better-regex\nconst SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i\n\nconst allowedAttribute = (attribute, allowedAttributeList) => {\n  const attributeName = attribute.nodeName.toLowerCase()\n\n  if (allowedAttributeList.includes(attributeName)) {\n    if (uriAttributes.has(attributeName)) {\n      return Boolean(SAFE_URL_PATTERN.test(attribute.nodeValue))\n    }\n\n    return true\n  }\n\n  // Check if a regular expression validates the attribute.\n  return allowedAttributeList.filter(attributeRegex => attributeRegex instanceof RegExp)\n    .some(regex => regex.test(attributeName))\n}\n\nexport function sanitizeHtml(unsafeHtml, allowList, sanitizeFunction) {\n  if (!unsafeHtml.length) {\n    return unsafeHtml\n  }\n\n  if (sanitizeFunction && typeof sanitizeFunction === 'function') {\n    return sanitizeFunction(unsafeHtml)\n  }\n\n  const domParser = new window.DOMParser()\n  const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html')\n  const elements = [].concat(...createdDocument.body.querySelectorAll('*'))\n\n  for (const element of elements) {\n    const elementName = element.nodeName.toLowerCase()\n\n    if (!Object.keys(allowList).includes(elementName)) {\n      element.remove()\n      continue\n    }\n\n    const attributeList = [].concat(...element.attributes)\n    const allowedAttributes = [].concat(allowList['*'] || [], allowList[elementName] || [])\n\n    for (const attribute of attributeList) {\n      if (!allowedAttribute(attribute, allowedAttributes)) {\n        element.removeAttribute(attribute.nodeName)\n      }\n    }\n  }\n\n  return createdDocument.body.innerHTML\n}\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap util/template-factory.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport SelectorEngine from '../dom/selector-engine.js'\nimport Config from './config.js'\nimport { DefaultAllowlist, sanitizeHtml } from './sanitizer.js'\nimport { execute, getElement, isElement } from './index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'TemplateFactory'\n\nconst Default = {\n  allowList: DefaultAllowlist,\n  content: {}, // { selector : text ,  selector2 : text2 , }\n  extraClass: '',\n  html: false,\n  sanitize: true,\n  sanitizeFn: null,\n  template: '<div></div>'\n}\n\nconst DefaultType = {\n  allowList: 'object',\n  content: 'object',\n  extraClass: '(string|function)',\n  html: 'boolean',\n  sanitize: 'boolean',\n  sanitizeFn: '(null|function)',\n  template: 'string'\n}\n\nconst DefaultContentType = {\n  entry: '(string|element|function|null)',\n  selector: '(string|element)'\n}\n\n/**\n * Class definition\n */\n\nclass TemplateFactory extends Config {\n  constructor(config) {\n    super()\n    this._config = this._getConfig(config)\n  }\n\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  getContent() {\n    return Object.values(this._config.content)\n      .map(config => this._resolvePossibleFunction(config))\n      .filter(Boolean)\n  }\n\n  hasContent() {\n    return this.getContent().length > 0\n  }\n\n  changeContent(content) {\n    this._checkContent(content)\n    this._config.content = { ...this._config.content, ...content }\n    return this\n  }\n\n  toHtml() {\n    const templateWrapper = document.createElement('div')\n    templateWrapper.innerHTML = this._maybeSanitize(this._config.template)\n\n    for (const [selector, text] of Object.entries(this._config.content)) {\n      this._setContent(templateWrapper, text, selector)\n    }\n\n    const template = templateWrapper.children[0]\n    const extraClass = this._resolvePossibleFunction(this._config.extraClass)\n\n    if (extraClass) {\n      template.classList.add(...extraClass.split(' '))\n    }\n\n    return template\n  }\n\n  // Private\n  _typeCheckConfig(config) {\n    super._typeCheckConfig(config)\n    this._checkContent(config.content)\n  }\n\n  _checkContent(arg) {\n    for (const [selector, content] of Object.entries(arg)) {\n      super._typeCheckConfig({ selector, entry: content }, DefaultContentType)\n    }\n  }\n\n  _setContent(template, content, selector) {\n    const templateElement = SelectorEngine.findOne(selector, template)\n\n    if (!templateElement) {\n      return\n    }\n\n    content = this._resolvePossibleFunction(content)\n\n    if (!content) {\n      templateElement.remove()\n      return\n    }\n\n    if (isElement(content)) {\n      this._putElementInTemplate(getElement(content), templateElement)\n      return\n    }\n\n    if (this._config.html) {\n      templateElement.innerHTML = this._maybeSanitize(content)\n      return\n    }\n\n    templateElement.textContent = content\n  }\n\n  _maybeSanitize(arg) {\n    return this._config.sanitize ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn) : arg\n  }\n\n  _resolvePossibleFunction(arg) {\n    return execute(arg, [this])\n  }\n\n  _putElementInTemplate(element, templateElement) {\n    if (this._config.html) {\n      templateElement.innerHTML = ''\n      templateElement.append(element)\n      return\n    }\n\n    templateElement.textContent = element.textContent\n  }\n}\n\nexport default TemplateFactory\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap tooltip.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport * as Popper from '@popperjs/core'\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport Manipulator from './dom/manipulator.js'\nimport {\n  defineJQueryPlugin, execute, findShadowRoot, getElement, getUID, isRTL, noop\n} from './util/index.js'\nimport { DefaultAllowlist } from './util/sanitizer.js'\nimport TemplateFactory from './util/template-factory.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'tooltip'\nconst DISALLOWED_ATTRIBUTES = new Set(['sanitize', 'allowList', 'sanitizeFn'])\n\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_MODAL = 'modal'\nconst CLASS_NAME_SHOW = 'show'\n\nconst SELECTOR_TOOLTIP_INNER = '.tooltip-inner'\nconst SELECTOR_MODAL = `.${CLASS_NAME_MODAL}`\n\nconst EVENT_MODAL_HIDE = 'hide.bs.modal'\n\nconst TRIGGER_HOVER = 'hover'\nconst TRIGGER_FOCUS = 'focus'\nconst TRIGGER_CLICK = 'click'\nconst TRIGGER_MANUAL = 'manual'\n\nconst EVENT_HIDE = 'hide'\nconst EVENT_HIDDEN = 'hidden'\nconst EVENT_SHOW = 'show'\nconst EVENT_SHOWN = 'shown'\nconst EVENT_INSERTED = 'inserted'\nconst EVENT_CLICK = 'click'\nconst EVENT_FOCUSIN = 'focusin'\nconst EVENT_FOCUSOUT = 'focusout'\nconst EVENT_MOUSEENTER = 'mouseenter'\nconst EVENT_MOUSELEAVE = 'mouseleave'\n\nconst AttachmentMap = {\n  AUTO: 'auto',\n  TOP: 'top',\n  RIGHT: isRTL() ? 'left' : 'right',\n  BOTTOM: 'bottom',\n  LEFT: isRTL() ? 'right' : 'left'\n}\n\nconst Default = {\n  allowList: DefaultAllowlist,\n  animation: true,\n  boundary: 'clippingParents',\n  container: false,\n  customClass: '',\n  delay: 0,\n  fallbackPlacements: ['top', 'right', 'bottom', 'left'],\n  html: false,\n  offset: [0, 6],\n  placement: 'top',\n  popperConfig: null,\n  sanitize: true,\n  sanitizeFn: null,\n  selector: false,\n  template: '<div class=\"tooltip\" role=\"tooltip\">' +\n            '<div class=\"tooltip-arrow\"></div>' +\n            '<div class=\"tooltip-inner\"></div>' +\n            '</div>',\n  title: '',\n  trigger: 'hover focus'\n}\n\nconst DefaultType = {\n  allowList: 'object',\n  animation: 'boolean',\n  boundary: '(string|element)',\n  container: '(string|element|boolean)',\n  customClass: '(string|function)',\n  delay: '(number|object)',\n  fallbackPlacements: 'array',\n  html: 'boolean',\n  offset: '(array|string|function)',\n  placement: '(string|function)',\n  popperConfig: '(null|object|function)',\n  sanitize: 'boolean',\n  sanitizeFn: '(null|function)',\n  selector: '(string|boolean)',\n  template: 'string',\n  title: '(string|element|function)',\n  trigger: 'string'\n}\n\n/**\n * Class definition\n */\n\nclass Tooltip extends BaseComponent {\n  constructor(element, config) {\n    if (typeof Popper === 'undefined') {\n      throw new TypeError('Bootstrap\\'s tooltips require Popper (https://popper.js.org)')\n    }\n\n    super(element, config)\n\n    // Private\n    this._isEnabled = true\n    this._timeout = 0\n    this._isHovered = null\n    this._activeTrigger = {}\n    this._popper = null\n    this._templateFactory = null\n    this._newContent = null\n\n    // Protected\n    this.tip = null\n\n    this._setListeners()\n\n    if (!this._config.selector) {\n      this._fixTitle()\n    }\n  }\n\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  enable() {\n    this._isEnabled = true\n  }\n\n  disable() {\n    this._isEnabled = false\n  }\n\n  toggleEnabled() {\n    this._isEnabled = !this._isEnabled\n  }\n\n  toggle() {\n    if (!this._isEnabled) {\n      return\n    }\n\n    this._activeTrigger.click = !this._activeTrigger.click\n    if (this._isShown()) {\n      this._leave()\n      return\n    }\n\n    this._enter()\n  }\n\n  dispose() {\n    clearTimeout(this._timeout)\n\n    EventHandler.off(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler)\n\n    if (this._element.getAttribute('data-bs-original-title')) {\n      this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title'))\n    }\n\n    this._disposePopper()\n    super.dispose()\n  }\n\n  show() {\n    if (this._element.style.display === 'none') {\n      throw new Error('Please use show on visible elements')\n    }\n\n    if (!(this._isWithContent() && this._isEnabled)) {\n      return\n    }\n\n    const showEvent = EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOW))\n    const shadowRoot = findShadowRoot(this._element)\n    const isInTheDom = (shadowRoot || this._element.ownerDocument.documentElement).contains(this._element)\n\n    if (showEvent.defaultPrevented || !isInTheDom) {\n      return\n    }\n\n    // TODO: v6 remove this or make it optional\n    this._disposePopper()\n\n    const tip = this._getTipElement()\n\n    this._element.setAttribute('aria-describedby', tip.getAttribute('id'))\n\n    const { container } = this._config\n\n    if (!this._element.ownerDocument.documentElement.contains(this.tip)) {\n      container.append(tip)\n      EventHandler.trigger(this._element, this.constructor.eventName(EVENT_INSERTED))\n    }\n\n    this._popper = this._createPopper(tip)\n\n    tip.classList.add(CLASS_NAME_SHOW)\n\n    // If this is a touch-enabled device we add extra\n    // empty mouseover listeners to the body's immediate children;\n    // only needed because of broken event delegation on iOS\n    // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n    if ('ontouchstart' in document.documentElement) {\n      for (const element of [].concat(...document.body.children)) {\n        EventHandler.on(element, 'mouseover', noop)\n      }\n    }\n\n    const complete = () => {\n      EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOWN))\n\n      if (this._isHovered === false) {\n        this._leave()\n      }\n\n      this._isHovered = false\n    }\n\n    this._queueCallback(complete, this.tip, this._isAnimated())\n  }\n\n  hide() {\n    if (!this._isShown()) {\n      return\n    }\n\n    const hideEvent = EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDE))\n    if (hideEvent.defaultPrevented) {\n      return\n    }\n\n    const tip = this._getTipElement()\n    tip.classList.remove(CLASS_NAME_SHOW)\n\n    // If this is a touch-enabled device we remove the extra\n    // empty mouseover listeners we added for iOS support\n    if ('ontouchstart' in document.documentElement) {\n      for (const element of [].concat(...document.body.children)) {\n        EventHandler.off(element, 'mouseover', noop)\n      }\n    }\n\n    this._activeTrigger[TRIGGER_CLICK] = false\n    this._activeTrigger[TRIGGER_FOCUS] = false\n    this._activeTrigger[TRIGGER_HOVER] = false\n    this._isHovered = null // it is a trick to support manual triggering\n\n    const complete = () => {\n      if (this._isWithActiveTrigger()) {\n        return\n      }\n\n      if (!this._isHovered) {\n        this._disposePopper()\n      }\n\n      this._element.removeAttribute('aria-describedby')\n      EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDDEN))\n    }\n\n    this._queueCallback(complete, this.tip, this._isAnimated())\n  }\n\n  update() {\n    if (this._popper) {\n      this._popper.update()\n    }\n  }\n\n  // Protected\n  _isWithContent() {\n    return Boolean(this._getTitle())\n  }\n\n  _getTipElement() {\n    if (!this.tip) {\n      this.tip = this._createTipElement(this._newContent || this._getContentForTemplate())\n    }\n\n    return this.tip\n  }\n\n  _createTipElement(content) {\n    const tip = this._getTemplateFactory(content).toHtml()\n\n    // TODO: remove this check in v6\n    if (!tip) {\n      return null\n    }\n\n    tip.classList.remove(CLASS_NAME_FADE, CLASS_NAME_SHOW)\n    // TODO: v6 the following can be achieved with CSS only\n    tip.classList.add(`bs-${this.constructor.NAME}-auto`)\n\n    const tipId = getUID(this.constructor.NAME).toString()\n\n    tip.setAttribute('id', tipId)\n\n    if (this._isAnimated()) {\n      tip.classList.add(CLASS_NAME_FADE)\n    }\n\n    return tip\n  }\n\n  setContent(content) {\n    this._newContent = content\n    if (this._isShown()) {\n      this._disposePopper()\n      this.show()\n    }\n  }\n\n  _getTemplateFactory(content) {\n    if (this._templateFactory) {\n      this._templateFactory.changeContent(content)\n    } else {\n      this._templateFactory = new TemplateFactory({\n        ...this._config,\n        // the `content` var has to be after `this._config`\n        // to override config.content in case of popover\n        content,\n        extraClass: this._resolvePossibleFunction(this._config.customClass)\n      })\n    }\n\n    return this._templateFactory\n  }\n\n  _getContentForTemplate() {\n    return {\n      [SELECTOR_TOOLTIP_INNER]: this._getTitle()\n    }\n  }\n\n  _getTitle() {\n    return this._resolvePossibleFunction(this._config.title) || this._element.getAttribute('data-bs-original-title')\n  }\n\n  // Private\n  _initializeOnDelegatedTarget(event) {\n    return this.constructor.getOrCreateInstance(event.delegateTarget, this._getDelegateConfig())\n  }\n\n  _isAnimated() {\n    return this._config.animation || (this.tip && this.tip.classList.contains(CLASS_NAME_FADE))\n  }\n\n  _isShown() {\n    return this.tip && this.tip.classList.contains(CLASS_NAME_SHOW)\n  }\n\n  _createPopper(tip) {\n    const placement = execute(this._config.placement, [this, tip, this._element])\n    const attachment = AttachmentMap[placement.toUpperCase()]\n    return Popper.createPopper(this._element, tip, this._getPopperConfig(attachment))\n  }\n\n  _getOffset() {\n    const { offset } = this._config\n\n    if (typeof offset === 'string') {\n      return offset.split(',').map(value => Number.parseInt(value, 10))\n    }\n\n    if (typeof offset === 'function') {\n      return popperData => offset(popperData, this._element)\n    }\n\n    return offset\n  }\n\n  _resolvePossibleFunction(arg) {\n    return execute(arg, [this._element])\n  }\n\n  _getPopperConfig(attachment) {\n    const defaultBsPopperConfig = {\n      placement: attachment,\n      modifiers: [\n        {\n          name: 'flip',\n          options: {\n            fallbackPlacements: this._config.fallbackPlacements\n          }\n        },\n        {\n          name: 'offset',\n          options: {\n            offset: this._getOffset()\n          }\n        },\n        {\n          name: 'preventOverflow',\n          options: {\n            boundary: this._config.boundary\n          }\n        },\n        {\n          name: 'arrow',\n          options: {\n            element: `.${this.constructor.NAME}-arrow`\n          }\n        },\n        {\n          name: 'preSetPlacement',\n          enabled: true,\n          phase: 'beforeMain',\n          fn: data => {\n            // Pre-set Popper's placement attribute in order to read the arrow sizes properly.\n            // Otherwise, Popper mixes up the width and height dimensions since the initial arrow style is for top placement\n            this._getTipElement().setAttribute('data-popper-placement', data.state.placement)\n          }\n        }\n      ]\n    }\n\n    return {\n      ...defaultBsPopperConfig,\n      ...execute(this._config.popperConfig, [defaultBsPopperConfig])\n    }\n  }\n\n  _setListeners() {\n    const triggers = this._config.trigger.split(' ')\n\n    for (const trigger of triggers) {\n      if (trigger === 'click') {\n        EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK), this._config.selector, event => {\n          const context = this._initializeOnDelegatedTarget(event)\n          context.toggle()\n        })\n      } else if (trigger !== TRIGGER_MANUAL) {\n        const eventIn = trigger === TRIGGER_HOVER ?\n          this.constructor.eventName(EVENT_MOUSEENTER) :\n          this.constructor.eventName(EVENT_FOCUSIN)\n        const eventOut = trigger === TRIGGER_HOVER ?\n          this.constructor.eventName(EVENT_MOUSELEAVE) :\n          this.constructor.eventName(EVENT_FOCUSOUT)\n\n        EventHandler.on(this._element, eventIn, this._config.selector, event => {\n          const context = this._initializeOnDelegatedTarget(event)\n          context._activeTrigger[event.type === 'focusin' ? TRIGGER_FOCUS : TRIGGER_HOVER] = true\n          context._enter()\n        })\n        EventHandler.on(this._element, eventOut, this._config.selector, event => {\n          const context = this._initializeOnDelegatedTarget(event)\n          context._activeTrigger[event.type === 'focusout' ? TRIGGER_FOCUS : TRIGGER_HOVER] =\n            context._element.contains(event.relatedTarget)\n\n          context._leave()\n        })\n      }\n    }\n\n    this._hideModalHandler = () => {\n      if (this._element) {\n        this.hide()\n      }\n    }\n\n    EventHandler.on(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler)\n  }\n\n  _fixTitle() {\n    const title = this._element.getAttribute('title')\n\n    if (!title) {\n      return\n    }\n\n    if (!this._element.getAttribute('aria-label') && !this._element.textContent.trim()) {\n      this._element.setAttribute('aria-label', title)\n    }\n\n    this._element.setAttribute('data-bs-original-title', title) // DO NOT USE IT. Is only for backwards compatibility\n    this._element.removeAttribute('title')\n  }\n\n  _enter() {\n    if (this._isShown() || this._isHovered) {\n      this._isHovered = true\n      return\n    }\n\n    this._isHovered = true\n\n    this._setTimeout(() => {\n      if (this._isHovered) {\n        this.show()\n      }\n    }, this._config.delay.show)\n  }\n\n  _leave() {\n    if (this._isWithActiveTrigger()) {\n      return\n    }\n\n    this._isHovered = false\n\n    this._setTimeout(() => {\n      if (!this._isHovered) {\n        this.hide()\n      }\n    }, this._config.delay.hide)\n  }\n\n  _setTimeout(handler, timeout) {\n    clearTimeout(this._timeout)\n    this._timeout = setTimeout(handler, timeout)\n  }\n\n  _isWithActiveTrigger() {\n    return Object.values(this._activeTrigger).includes(true)\n  }\n\n  _getConfig(config) {\n    const dataAttributes = Manipulator.getDataAttributes(this._element)\n\n    for (const dataAttribute of Object.keys(dataAttributes)) {\n      if (DISALLOWED_ATTRIBUTES.has(dataAttribute)) {\n        delete dataAttributes[dataAttribute]\n      }\n    }\n\n    config = {\n      ...dataAttributes,\n      ...(typeof config === 'object' && config ? config : {})\n    }\n    config = this._mergeConfigObj(config)\n    config = this._configAfterMerge(config)\n    this._typeCheckConfig(config)\n    return config\n  }\n\n  _configAfterMerge(config) {\n    config.container = config.container === false ? document.body : getElement(config.container)\n\n    if (typeof config.delay === 'number') {\n      config.delay = {\n        show: config.delay,\n        hide: config.delay\n      }\n    }\n\n    if (typeof config.title === 'number') {\n      config.title = config.title.toString()\n    }\n\n    if (typeof config.content === 'number') {\n      config.content = config.content.toString()\n    }\n\n    return config\n  }\n\n  _getDelegateConfig() {\n    const config = {}\n\n    for (const [key, value] of Object.entries(this._config)) {\n      if (this.constructor.Default[key] !== value) {\n        config[key] = value\n      }\n    }\n\n    config.selector = false\n    config.trigger = 'manual'\n\n    // In the future can be replaced with:\n    // const keysWithDifferentValues = Object.entries(this._config).filter(entry => this.constructor.Default[entry[0]] !== this._config[entry[0]])\n    // `Object.fromEntries(keysWithDifferentValues)`\n    return config\n  }\n\n  _disposePopper() {\n    if (this._popper) {\n      this._popper.destroy()\n      this._popper = null\n    }\n\n    if (this.tip) {\n      this.tip.remove()\n      this.tip = null\n    }\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Tooltip.getOrCreateInstance(this, config)\n\n      if (typeof config !== 'string') {\n        return\n      }\n\n      if (typeof data[config] === 'undefined') {\n        throw new TypeError(`No method named \"${config}\"`)\n      }\n\n      data[config]()\n    })\n  }\n}\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Tooltip)\n\nexport default Tooltip\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap popover.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport Tooltip from './tooltip.js'\nimport { defineJQueryPlugin } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'popover'\n\nconst SELECTOR_TITLE = '.popover-header'\nconst SELECTOR_CONTENT = '.popover-body'\n\nconst Default = {\n  ...Tooltip.Default,\n  content: '',\n  offset: [0, 8],\n  placement: 'right',\n  template: '<div class=\"popover\" role=\"tooltip\">' +\n    '<div class=\"popover-arrow\"></div>' +\n    '<h3 class=\"popover-header\"></h3>' +\n    '<div class=\"popover-body\"></div>' +\n    '</div>',\n  trigger: 'click'\n}\n\nconst DefaultType = {\n  ...Tooltip.DefaultType,\n  content: '(null|string|element|function)'\n}\n\n/**\n * Class definition\n */\n\nclass Popover extends Tooltip {\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Overrides\n  _isWithContent() {\n    return this._getTitle() || this._getContent()\n  }\n\n  // Private\n  _getContentForTemplate() {\n    return {\n      [SELECTOR_TITLE]: this._getTitle(),\n      [SELECTOR_CONTENT]: this._getContent()\n    }\n  }\n\n  _getContent() {\n    return this._resolvePossibleFunction(this._config.content)\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Popover.getOrCreateInstance(this, config)\n\n      if (typeof config !== 'string') {\n        return\n      }\n\n      if (typeof data[config] === 'undefined') {\n        throw new TypeError(`No method named \"${config}\"`)\n      }\n\n      data[config]()\n    })\n  }\n}\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Popover)\n\nexport default Popover\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap scrollspy.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport {\n  defineJQueryPlugin, getElement, isDisabled, isVisible\n} from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'scrollspy'\nconst DATA_KEY = 'bs.scrollspy'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\n\nconst EVENT_ACTIVATE = `activate${EVENT_KEY}`\nconst EVENT_CLICK = `click${EVENT_KEY}`\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`\n\nconst CLASS_NAME_DROPDOWN_ITEM = 'dropdown-item'\nconst CLASS_NAME_ACTIVE = 'active'\n\nconst SELECTOR_DATA_SPY = '[data-bs-spy=\"scroll\"]'\nconst SELECTOR_TARGET_LINKS = '[href]'\nconst SELECTOR_NAV_LIST_GROUP = '.nav, .list-group'\nconst SELECTOR_NAV_LINKS = '.nav-link'\nconst SELECTOR_NAV_ITEMS = '.nav-item'\nconst SELECTOR_LIST_ITEMS = '.list-group-item'\nconst SELECTOR_LINK_ITEMS = `${SELECTOR_NAV_LINKS}, ${SELECTOR_NAV_ITEMS} > ${SELECTOR_NAV_LINKS}, ${SELECTOR_LIST_ITEMS}`\nconst SELECTOR_DROPDOWN = '.dropdown'\nconst SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle'\n\nconst Default = {\n  offset: null, // TODO: v6 @deprecated, keep it for backwards compatibility reasons\n  rootMargin: '0px 0px -25%',\n  smoothScroll: false,\n  target: null,\n  threshold: [0.1, 0.5, 1]\n}\n\nconst DefaultType = {\n  offset: '(number|null)', // TODO v6 @deprecated, keep it for backwards compatibility reasons\n  rootMargin: 'string',\n  smoothScroll: 'boolean',\n  target: 'element',\n  threshold: 'array'\n}\n\n/**\n * Class definition\n */\n\nclass ScrollSpy extends BaseComponent {\n  constructor(element, config) {\n    super(element, config)\n\n    // this._element is the observablesContainer and config.target the menu links wrapper\n    this._targetLinks = new Map()\n    this._observableSections = new Map()\n    this._rootElement = getComputedStyle(this._element).overflowY === 'visible' ? null : this._element\n    this._activeTarget = null\n    this._observer = null\n    this._previousScrollData = {\n      visibleEntryTop: 0,\n      parentScrollTop: 0\n    }\n    this.refresh() // initialize\n  }\n\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  refresh() {\n    this._initializeTargetsAndObservables()\n    this._maybeEnableSmoothScroll()\n\n    if (this._observer) {\n      this._observer.disconnect()\n    } else {\n      this._observer = this._getNewObserver()\n    }\n\n    for (const section of this._observableSections.values()) {\n      this._observer.observe(section)\n    }\n  }\n\n  dispose() {\n    this._observer.disconnect()\n    super.dispose()\n  }\n\n  // Private\n  _configAfterMerge(config) {\n    // TODO: on v6 target should be given explicitly & remove the {target: 'ss-target'} case\n    config.target = getElement(config.target) || document.body\n\n    // TODO: v6 Only for backwards compatibility reasons. Use rootMargin only\n    config.rootMargin = config.offset ? `${config.offset}px 0px -30%` : config.rootMargin\n\n    if (typeof config.threshold === 'string') {\n      config.threshold = config.threshold.split(',').map(value => Number.parseFloat(value))\n    }\n\n    return config\n  }\n\n  _maybeEnableSmoothScroll() {\n    if (!this._config.smoothScroll) {\n      return\n    }\n\n    // unregister any previous listeners\n    EventHandler.off(this._config.target, EVENT_CLICK)\n\n    EventHandler.on(this._config.target, EVENT_CLICK, SELECTOR_TARGET_LINKS, event => {\n      const observableSection = this._observableSections.get(event.target.hash)\n      if (observableSection) {\n        event.preventDefault()\n        const root = this._rootElement || window\n        const height = observableSection.offsetTop - this._element.offsetTop\n        if (root.scrollTo) {\n          root.scrollTo({ top: height, behavior: 'smooth' })\n          return\n        }\n\n        // Chrome 60 doesn't support `scrollTo`\n        root.scrollTop = height\n      }\n    })\n  }\n\n  _getNewObserver() {\n    const options = {\n      root: this._rootElement,\n      threshold: this._config.threshold,\n      rootMargin: this._config.rootMargin\n    }\n\n    return new IntersectionObserver(entries => this._observerCallback(entries), options)\n  }\n\n  // The logic of selection\n  _observerCallback(entries) {\n    const targetElement = entry => this._targetLinks.get(`#${entry.target.id}`)\n    const activate = entry => {\n      this._previousScrollData.visibleEntryTop = entry.target.offsetTop\n      this._process(targetElement(entry))\n    }\n\n    const parentScrollTop = (this._rootElement || document.documentElement).scrollTop\n    const userScrollsDown = parentScrollTop >= this._previousScrollData.parentScrollTop\n    this._previousScrollData.parentScrollTop = parentScrollTop\n\n    for (const entry of entries) {\n      if (!entry.isIntersecting) {\n        this._activeTarget = null\n        this._clearActiveClass(targetElement(entry))\n\n        continue\n      }\n\n      const entryIsLowerThanPrevious = entry.target.offsetTop >= this._previousScrollData.visibleEntryTop\n      // if we are scrolling down, pick the bigger offsetTop\n      if (userScrollsDown && entryIsLowerThanPrevious) {\n        activate(entry)\n        // if parent isn't scrolled, let's keep the first visible item, breaking the iteration\n        if (!parentScrollTop) {\n          return\n        }\n\n        continue\n      }\n\n      // if we are scrolling up, pick the smallest offsetTop\n      if (!userScrollsDown && !entryIsLowerThanPrevious) {\n        activate(entry)\n      }\n    }\n  }\n\n  _initializeTargetsAndObservables() {\n    this._targetLinks = new Map()\n    this._observableSections = new Map()\n\n    const targetLinks = SelectorEngine.find(SELECTOR_TARGET_LINKS, this._config.target)\n\n    for (const anchor of targetLinks) {\n      // ensure that the anchor has an id and is not disabled\n      if (!anchor.hash || isDisabled(anchor)) {\n        continue\n      }\n\n      const observableSection = SelectorEngine.findOne(decodeURI(anchor.hash), this._element)\n\n      // ensure that the observableSection exists & is visible\n      if (isVisible(observableSection)) {\n        this._targetLinks.set(decodeURI(anchor.hash), anchor)\n        this._observableSections.set(anchor.hash, observableSection)\n      }\n    }\n  }\n\n  _process(target) {\n    if (this._activeTarget === target) {\n      return\n    }\n\n    this._clearActiveClass(this._config.target)\n    this._activeTarget = target\n    target.classList.add(CLASS_NAME_ACTIVE)\n    this._activateParents(target)\n\n    EventHandler.trigger(this._element, EVENT_ACTIVATE, { relatedTarget: target })\n  }\n\n  _activateParents(target) {\n    // Activate dropdown parents\n    if (target.classList.contains(CLASS_NAME_DROPDOWN_ITEM)) {\n      SelectorEngine.findOne(SELECTOR_DROPDOWN_TOGGLE, target.closest(SELECTOR_DROPDOWN))\n        .classList.add(CLASS_NAME_ACTIVE)\n      return\n    }\n\n    for (const listGroup of SelectorEngine.parents(target, SELECTOR_NAV_LIST_GROUP)) {\n      // Set triggered links parents as active\n      // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor\n      for (const item of SelectorEngine.prev(listGroup, SELECTOR_LINK_ITEMS)) {\n        item.classList.add(CLASS_NAME_ACTIVE)\n      }\n    }\n  }\n\n  _clearActiveClass(parent) {\n    parent.classList.remove(CLASS_NAME_ACTIVE)\n\n    const activeNodes = SelectorEngine.find(`${SELECTOR_TARGET_LINKS}.${CLASS_NAME_ACTIVE}`, parent)\n    for (const node of activeNodes) {\n      node.classList.remove(CLASS_NAME_ACTIVE)\n    }\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = ScrollSpy.getOrCreateInstance(this, config)\n\n      if (typeof config !== 'string') {\n        return\n      }\n\n      if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n        throw new TypeError(`No method named \"${config}\"`)\n      }\n\n      data[config]()\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(window, EVENT_LOAD_DATA_API, () => {\n  for (const spy of SelectorEngine.find(SELECTOR_DATA_SPY)) {\n    ScrollSpy.getOrCreateInstance(spy)\n  }\n})\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(ScrollSpy)\n\nexport default ScrollSpy\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap tab.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport SelectorEngine from './dom/selector-engine.js'\nimport { defineJQueryPlugin, getNextActiveElement, isDisabled } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'tab'\nconst DATA_KEY = 'bs.tab'\nconst EVENT_KEY = `.${DATA_KEY}`\n\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}`\nconst EVENT_KEYDOWN = `keydown${EVENT_KEY}`\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}`\n\nconst ARROW_LEFT_KEY = 'ArrowLeft'\nconst ARROW_RIGHT_KEY = 'ArrowRight'\nconst ARROW_UP_KEY = 'ArrowUp'\nconst ARROW_DOWN_KEY = 'ArrowDown'\nconst HOME_KEY = 'Home'\nconst END_KEY = 'End'\n\nconst CLASS_NAME_ACTIVE = 'active'\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_DROPDOWN = 'dropdown'\n\nconst SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle'\nconst SELECTOR_DROPDOWN_MENU = '.dropdown-menu'\nconst NOT_SELECTOR_DROPDOWN_TOGGLE = `:not(${SELECTOR_DROPDOWN_TOGGLE})`\n\nconst SELECTOR_TAB_PANEL = '.list-group, .nav, [role=\"tablist\"]'\nconst SELECTOR_OUTER = '.nav-item, .list-group-item'\nconst SELECTOR_INNER = `.nav-link${NOT_SELECTOR_DROPDOWN_TOGGLE}, .list-group-item${NOT_SELECTOR_DROPDOWN_TOGGLE}, [role=\"tab\"]${NOT_SELECTOR_DROPDOWN_TOGGLE}`\nconst SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"tab\"], [data-bs-toggle=\"pill\"], [data-bs-toggle=\"list\"]' // TODO: could only be `tab` in v6\nconst SELECTOR_INNER_ELEM = `${SELECTOR_INNER}, ${SELECTOR_DATA_TOGGLE}`\n\nconst SELECTOR_DATA_TOGGLE_ACTIVE = `.${CLASS_NAME_ACTIVE}[data-bs-toggle=\"tab\"], .${CLASS_NAME_ACTIVE}[data-bs-toggle=\"pill\"], .${CLASS_NAME_ACTIVE}[data-bs-toggle=\"list\"]`\n\n/**\n * Class definition\n */\n\nclass Tab extends BaseComponent {\n  constructor(element) {\n    super(element)\n    this._parent = this._element.closest(SELECTOR_TAB_PANEL)\n\n    if (!this._parent) {\n      return\n      // TODO: should throw exception in v6\n      // throw new TypeError(`${element.outerHTML} has not a valid parent ${SELECTOR_INNER_ELEM}`)\n    }\n\n    // Set up initial aria attributes\n    this._setInitialAttributes(this._parent, this._getChildren())\n\n    EventHandler.on(this._element, EVENT_KEYDOWN, event => this._keydown(event))\n  }\n\n  // Getters\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  show() { // Shows this elem and deactivate the active sibling if exists\n    const innerElem = this._element\n    if (this._elemIsActive(innerElem)) {\n      return\n    }\n\n    // Search for active tab on same parent to deactivate it\n    const active = this._getActiveElem()\n\n    const hideEvent = active ?\n      EventHandler.trigger(active, EVENT_HIDE, { relatedTarget: innerElem }) :\n      null\n\n    const showEvent = EventHandler.trigger(innerElem, EVENT_SHOW, { relatedTarget: active })\n\n    if (showEvent.defaultPrevented || (hideEvent && hideEvent.defaultPrevented)) {\n      return\n    }\n\n    this._deactivate(active, innerElem)\n    this._activate(innerElem, active)\n  }\n\n  // Private\n  _activate(element, relatedElem) {\n    if (!element) {\n      return\n    }\n\n    element.classList.add(CLASS_NAME_ACTIVE)\n\n    this._activate(SelectorEngine.getElementFromSelector(element)) // Search and activate/show the proper section\n\n    const complete = () => {\n      if (element.getAttribute('role') !== 'tab') {\n        element.classList.add(CLASS_NAME_SHOW)\n        return\n      }\n\n      element.removeAttribute('tabindex')\n      element.setAttribute('aria-selected', true)\n      this._toggleDropDown(element, true)\n      EventHandler.trigger(element, EVENT_SHOWN, {\n        relatedTarget: relatedElem\n      })\n    }\n\n    this._queueCallback(complete, element, element.classList.contains(CLASS_NAME_FADE))\n  }\n\n  _deactivate(element, relatedElem) {\n    if (!element) {\n      return\n    }\n\n    element.classList.remove(CLASS_NAME_ACTIVE)\n    element.blur()\n\n    this._deactivate(SelectorEngine.getElementFromSelector(element)) // Search and deactivate the shown section too\n\n    const complete = () => {\n      if (element.getAttribute('role') !== 'tab') {\n        element.classList.remove(CLASS_NAME_SHOW)\n        return\n      }\n\n      element.setAttribute('aria-selected', false)\n      element.setAttribute('tabindex', '-1')\n      this._toggleDropDown(element, false)\n      EventHandler.trigger(element, EVENT_HIDDEN, { relatedTarget: relatedElem })\n    }\n\n    this._queueCallback(complete, element, element.classList.contains(CLASS_NAME_FADE))\n  }\n\n  _keydown(event) {\n    if (!([ARROW_LEFT_KEY, ARROW_RIGHT_KEY, ARROW_UP_KEY, ARROW_DOWN_KEY, HOME_KEY, END_KEY].includes(event.key))) {\n      return\n    }\n\n    event.stopPropagation()// stopPropagation/preventDefault both added to support up/down keys without scrolling the page\n    event.preventDefault()\n\n    const children = this._getChildren().filter(element => !isDisabled(element))\n    let nextActiveElement\n\n    if ([HOME_KEY, END_KEY].includes(event.key)) {\n      nextActiveElement = children[event.key === HOME_KEY ? 0 : children.length - 1]\n    } else {\n      const isNext = [ARROW_RIGHT_KEY, ARROW_DOWN_KEY].includes(event.key)\n      nextActiveElement = getNextActiveElement(children, event.target, isNext, true)\n    }\n\n    if (nextActiveElement) {\n      nextActiveElement.focus({ preventScroll: true })\n      Tab.getOrCreateInstance(nextActiveElement).show()\n    }\n  }\n\n  _getChildren() { // collection of inner elements\n    return SelectorEngine.find(SELECTOR_INNER_ELEM, this._parent)\n  }\n\n  _getActiveElem() {\n    return this._getChildren().find(child => this._elemIsActive(child)) || null\n  }\n\n  _setInitialAttributes(parent, children) {\n    this._setAttributeIfNotExists(parent, 'role', 'tablist')\n\n    for (const child of children) {\n      this._setInitialAttributesOnChild(child)\n    }\n  }\n\n  _setInitialAttributesOnChild(child) {\n    child = this._getInnerElement(child)\n    const isActive = this._elemIsActive(child)\n    const outerElem = this._getOuterElement(child)\n    child.setAttribute('aria-selected', isActive)\n\n    if (outerElem !== child) {\n      this._setAttributeIfNotExists(outerElem, 'role', 'presentation')\n    }\n\n    if (!isActive) {\n      child.setAttribute('tabindex', '-1')\n    }\n\n    this._setAttributeIfNotExists(child, 'role', 'tab')\n\n    // set attributes to the related panel too\n    this._setInitialAttributesOnTargetPanel(child)\n  }\n\n  _setInitialAttributesOnTargetPanel(child) {\n    const target = SelectorEngine.getElementFromSelector(child)\n\n    if (!target) {\n      return\n    }\n\n    this._setAttributeIfNotExists(target, 'role', 'tabpanel')\n\n    if (child.id) {\n      this._setAttributeIfNotExists(target, 'aria-labelledby', `${child.id}`)\n    }\n  }\n\n  _toggleDropDown(element, open) {\n    const outerElem = this._getOuterElement(element)\n    if (!outerElem.classList.contains(CLASS_DROPDOWN)) {\n      return\n    }\n\n    const toggle = (selector, className) => {\n      const element = SelectorEngine.findOne(selector, outerElem)\n      if (element) {\n        element.classList.toggle(className, open)\n      }\n    }\n\n    toggle(SELECTOR_DROPDOWN_TOGGLE, CLASS_NAME_ACTIVE)\n    toggle(SELECTOR_DROPDOWN_MENU, CLASS_NAME_SHOW)\n    outerElem.setAttribute('aria-expanded', open)\n  }\n\n  _setAttributeIfNotExists(element, attribute, value) {\n    if (!element.hasAttribute(attribute)) {\n      element.setAttribute(attribute, value)\n    }\n  }\n\n  _elemIsActive(elem) {\n    return elem.classList.contains(CLASS_NAME_ACTIVE)\n  }\n\n  // Try to get the inner element (usually the .nav-link)\n  _getInnerElement(elem) {\n    return elem.matches(SELECTOR_INNER_ELEM) ? elem : SelectorEngine.findOne(SELECTOR_INNER_ELEM, elem)\n  }\n\n  // Try to get the outer element (usually the .nav-item)\n  _getOuterElement(elem) {\n    return elem.closest(SELECTOR_OUTER) || elem\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Tab.getOrCreateInstance(this)\n\n      if (typeof config !== 'string') {\n        return\n      }\n\n      if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n        throw new TypeError(`No method named \"${config}\"`)\n      }\n\n      data[config]()\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n  if (['A', 'AREA'].includes(this.tagName)) {\n    event.preventDefault()\n  }\n\n  if (isDisabled(this)) {\n    return\n  }\n\n  Tab.getOrCreateInstance(this).show()\n})\n\n/**\n * Initialize on focus\n */\nEventHandler.on(window, EVENT_LOAD_DATA_API, () => {\n  for (const element of SelectorEngine.find(SELECTOR_DATA_TOGGLE_ACTIVE)) {\n    Tab.getOrCreateInstance(element)\n  }\n})\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Tab)\n\nexport default Tab\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap toast.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport BaseComponent from './base-component.js'\nimport EventHandler from './dom/event-handler.js'\nimport { enableDismissTrigger } from './util/component-functions.js'\nimport { defineJQueryPlugin, reflow } from './util/index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'toast'\nconst DATA_KEY = 'bs.toast'\nconst EVENT_KEY = `.${DATA_KEY}`\n\nconst EVENT_MOUSEOVER = `mouseover${EVENT_KEY}`\nconst EVENT_MOUSEOUT = `mouseout${EVENT_KEY}`\nconst EVENT_FOCUSIN = `focusin${EVENT_KEY}`\nconst EVENT_FOCUSOUT = `focusout${EVENT_KEY}`\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\n\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_HIDE = 'hide' // @deprecated - kept here only for backwards compatibility\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_SHOWING = 'showing'\n\nconst DefaultType = {\n  animation: 'boolean',\n  autohide: 'boolean',\n  delay: 'number'\n}\n\nconst Default = {\n  animation: true,\n  autohide: true,\n  delay: 5000\n}\n\n/**\n * Class definition\n */\n\nclass Toast extends BaseComponent {\n  constructor(element, config) {\n    super(element, config)\n\n    this._timeout = null\n    this._hasMouseInteraction = false\n    this._hasKeyboardInteraction = false\n    this._setListeners()\n  }\n\n  // Getters\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  // Public\n  show() {\n    const showEvent = EventHandler.trigger(this._element, EVENT_SHOW)\n\n    if (showEvent.defaultPrevented) {\n      return\n    }\n\n    this._clearTimeout()\n\n    if (this._config.animation) {\n      this._element.classList.add(CLASS_NAME_FADE)\n    }\n\n    const complete = () => {\n      this._element.classList.remove(CLASS_NAME_SHOWING)\n      EventHandler.trigger(this._element, EVENT_SHOWN)\n\n      this._maybeScheduleHide()\n    }\n\n    this._element.classList.remove(CLASS_NAME_HIDE) // @deprecated\n    reflow(this._element)\n    this._element.classList.add(CLASS_NAME_SHOW, CLASS_NAME_SHOWING)\n\n    this._queueCallback(complete, this._element, this._config.animation)\n  }\n\n  hide() {\n    if (!this.isShown()) {\n      return\n    }\n\n    const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE)\n\n    if (hideEvent.defaultPrevented) {\n      return\n    }\n\n    const complete = () => {\n      this._element.classList.add(CLASS_NAME_HIDE) // @deprecated\n      this._element.classList.remove(CLASS_NAME_SHOWING, CLASS_NAME_SHOW)\n      EventHandler.trigger(this._element, EVENT_HIDDEN)\n    }\n\n    this._element.classList.add(CLASS_NAME_SHOWING)\n    this._queueCallback(complete, this._element, this._config.animation)\n  }\n\n  dispose() {\n    this._clearTimeout()\n\n    if (this.isShown()) {\n      this._element.classList.remove(CLASS_NAME_SHOW)\n    }\n\n    super.dispose()\n  }\n\n  isShown() {\n    return this._element.classList.contains(CLASS_NAME_SHOW)\n  }\n\n  // Private\n\n  _maybeScheduleHide() {\n    if (!this._config.autohide) {\n      return\n    }\n\n    if (this._hasMouseInteraction || this._hasKeyboardInteraction) {\n      return\n    }\n\n    this._timeout = setTimeout(() => {\n      this.hide()\n    }, this._config.delay)\n  }\n\n  _onInteraction(event, isInteracting) {\n    switch (event.type) {\n      case 'mouseover':\n      case 'mouseout': {\n        this._hasMouseInteraction = isInteracting\n        break\n      }\n\n      case 'focusin':\n      case 'focusout': {\n        this._hasKeyboardInteraction = isInteracting\n        break\n      }\n\n      default: {\n        break\n      }\n    }\n\n    if (isInteracting) {\n      this._clearTimeout()\n      return\n    }\n\n    const nextElement = event.relatedTarget\n    if (this._element === nextElement || this._element.contains(nextElement)) {\n      return\n    }\n\n    this._maybeScheduleHide()\n  }\n\n  _setListeners() {\n    EventHandler.on(this._element, EVENT_MOUSEOVER, event => this._onInteraction(event, true))\n    EventHandler.on(this._element, EVENT_MOUSEOUT, event => this._onInteraction(event, false))\n    EventHandler.on(this._element, EVENT_FOCUSIN, event => this._onInteraction(event, true))\n    EventHandler.on(this._element, EVENT_FOCUSOUT, event => this._onInteraction(event, false))\n  }\n\n  _clearTimeout() {\n    clearTimeout(this._timeout)\n    this._timeout = null\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Toast.getOrCreateInstance(this, config)\n\n      if (typeof config === 'string') {\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`)\n        }\n\n        data[config](this)\n      }\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\nenableDismissTrigger(Toast)\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Toast)\n\nexport default Toast\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap index.umd.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport Alert from './src/alert.js'\nimport Button from './src/button.js'\nimport Carousel from './src/carousel.js'\nimport Collapse from './src/collapse.js'\nimport Dropdown from './src/dropdown.js'\nimport Modal from './src/modal.js'\nimport Offcanvas from './src/offcanvas.js'\nimport Popover from './src/popover.js'\nimport ScrollSpy from './src/scrollspy.js'\nimport Tab from './src/tab.js'\nimport Toast from './src/toast.js'\nimport Tooltip from './src/tooltip.js'\n\nexport default {\n  Alert,\n  Button,\n  Carousel,\n  Collapse,\n  Dropdown,\n  Modal,\n  Offcanvas,\n  Popover,\n  ScrollSpy,\n  Tab,\n  Toast,\n  Tooltip\n}\n","define(\"@ember-data/adapter/-private\", [\"exports\", \"@ember-data/adapter/serialize-into-hash-2lQbHRKN\", \"@ember-data/adapter/build-url-mixin-AgfAmsW-\"], function (_exports, _serializeIntoHash2lQbHRKN, _buildUrlMixinAgfAmsW) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"BuildURLMixin\", {\n    enumerable: true,\n    get: function () {\n      return _buildUrlMixinAgfAmsW.B;\n    }\n  });\n  Object.defineProperty(_exports, \"determineBodyPromise\", {\n    enumerable: true,\n    get: function () {\n      return _serializeIntoHash2lQbHRKN.d;\n    }\n  });\n  Object.defineProperty(_exports, \"fetch\", {\n    enumerable: true,\n    get: function () {\n      return _serializeIntoHash2lQbHRKN.g;\n    }\n  });\n  Object.defineProperty(_exports, \"parseResponseHeaders\", {\n    enumerable: true,\n    get: function () {\n      return _serializeIntoHash2lQbHRKN.p;\n    }\n  });\n  Object.defineProperty(_exports, \"serializeIntoHash\", {\n    enumerable: true,\n    get: function () {\n      return _serializeIntoHash2lQbHRKN.b;\n    }\n  });\n  Object.defineProperty(_exports, \"serializeQueryParams\", {\n    enumerable: true,\n    get: function () {\n      return _serializeIntoHash2lQbHRKN.s;\n    }\n  });\n  Object.defineProperty(_exports, \"setupFastboot\", {\n    enumerable: true,\n    get: function () {\n      return _serializeIntoHash2lQbHRKN.a;\n    }\n  });\n});","define(\"@ember-data/adapter/build-url-mixin-AgfAmsW-\", [\"exports\", \"@ember/object/mixin\", \"@ember/string\", \"ember-inflector\"], function (_exports, _mixin, _string, _emberInflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.B = void 0;\n  /**\n    @module @ember-data/adapter\n  */\n\n  /*\n   The structure of this file is such because typing Mixins is hard. Here we've structured it in\n   such a way as to maximize the type information that a consumer can utilize. There are simpler\n   ways to type a mixin but we would not be able to provide the nice overload signature for buildURL\n  */\n  // the interface must fully declare the function signatures that the individual functions\n  // will also declare. If instead we try to keep them in sync by doing something like\n  // `interface BuildURLMixin { buildURL: typeof buildURL }`\n  // then an extending class overwriting one of the methods will break because typescript\n  // thinks it is a switch from an instance prop (that is a method) to an instance method.\n\n  // prevents the final constructed object from needing to add\n  // host and namespace which are provided by the final consuming\n  // class to the prototype which can result in overwrite errors\n\n  /**\n    ## Using BuildURLMixin\n  \n    To use URL building, include the mixin when extending an adapter, and call `buildURL` where needed.\n    The default behaviour is designed for RESTAdapter.\n  \n    ### Example\n  \n    ```javascript\n    import Adapter, { BuildURLMixin } from '@ember-data/adapter';\n  \n    export default class ApplicationAdapter extends Adapter.extend(BuildURLMixin) {\n      findRecord(store, type, id, snapshot) {\n        var url = this.buildURL(type.modelName, id, snapshot, 'findRecord');\n        return this.ajax(url, 'GET');\n      }\n    }\n    ```\n  \n    ### Attributes\n  \n    The `host` and `namespace` attributes will be used if defined, and are optional.\n  \n    @class BuildURLMixin\n    @public\n  */\n  /**\n      Builds a URL for a given type and optional ID.\n  \n      By default, it pluralizes the type's name (for example, 'post'\n      becomes 'posts' and 'person' becomes 'people'). To override the\n      pluralization see [pathForType](./pathForType?anchor=pathForType).\n  \n      If an ID is specified, it adds the ID to the path generated\n      for the type, separated by a `/`.\n  \n      When called by `RESTAdapter.findMany()` the `id` and `snapshot` parameters\n      will be arrays of ids and snapshots.\n  \n      @method buildURL\n      @public\n      @param {String} modelName\n      @param {(String|Array|Object)} id single id or array of ids or query\n      @param {(Snapshot|SnapshotRecordArray)} snapshot single snapshot or array of snapshots\n      @param {String} requestType\n      @param {Object} query object of query parameters to send for query requests.\n      @return {String} url\n    */\n\n  function buildURL(modelName, id, snapshot, requestType, query) {\n    /*\n        Switch statements in typescript don't currently narrow even when the function is implemented\n        with overloads.\n         We still extract this to stand alone so that we can provide nice overloads for calling signatures,\n        but we will still require all of this casting (or a ridiculous number of assertsthat narrow it down\n        for us).\n    */\n    switch (requestType) {\n      case 'findRecord':\n        return this.urlForFindRecord(id, modelName, snapshot);\n      case 'findAll':\n        return this.urlForFindAll(modelName, snapshot);\n      case 'query':\n        return this.urlForQuery(query || {}, modelName);\n      case 'queryRecord':\n        return this.urlForQueryRecord(query || {}, modelName);\n      case 'findMany':\n        return this.urlForFindMany(id, modelName, snapshot);\n      case 'findHasMany':\n        return this.urlForFindHasMany(id, modelName, snapshot);\n      case 'findBelongsTo':\n        return this.urlForFindBelongsTo(id, modelName, snapshot);\n      case 'createRecord':\n        return this.urlForCreateRecord(modelName, snapshot);\n      case 'updateRecord':\n        return this.urlForUpdateRecord(id, modelName, snapshot);\n      case 'deleteRecord':\n        return this.urlForDeleteRecord(id, modelName, snapshot);\n      default:\n        // this is the 'never' case but someone may call `buildURL` manually so\n        // we try to do something for them.\n        return this._buildURL(modelName, id);\n    }\n  }\n\n  /**\n      @method _buildURL\n      @private\n      @param {String} modelName\n      @param {String} id\n      @return {String} url\n    */\n  function _buildURL(modelName, id) {\n    let path;\n    const url = [];\n    const {\n      host\n    } = this;\n    const prefix = this.urlPrefix();\n    if (modelName) {\n      path = this.pathForType(modelName);\n      if (path) {\n        url.push(path);\n      }\n    }\n    if (id) {\n      url.push(encodeURIComponent(id));\n    }\n    if (prefix) {\n      url.unshift(prefix);\n    }\n    let urlString = url.join('/');\n    if (!host && urlString && urlString.charAt(0) !== '/') {\n      urlString = '/' + urlString;\n    }\n    return urlString;\n  }\n\n  /**\n     Builds a URL for a `store.findRecord(type, id)` call.\n  \n     Example:\n  \n     ```app/adapters/user.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n     export default class ApplicationAdapter extends JSONAPIAdapter {\n       urlForFindRecord(id, modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName, id, snapshot);\n         return `${baseUrl}/users/${snapshot.adapterOptions.user_id}/playlists/${id}`;\n       }\n     }\n     ```\n  \n     @method urlForFindRecord\n     @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n  \n     */\n  function urlForFindRecord(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  }\n\n  /**\n     Builds a URL for a `store.findAll(type)` call.\n  \n     Example:\n  \n     ```app/adapters/comment.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n     export default class ApplicationAdapter extends JSONAPIAdapter {\n       urlForFindAll(modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName);\n         return `${baseUrl}/data/comments.json`;\n       }\n     }\n     ```\n  \n     @method urlForFindAll\n      @public\n     @param {String} modelName\n     @param {SnapshotRecordArray} snapshot\n     @return {String} url\n     */\n  function urlForFindAll(modelName, snapshots) {\n    return this._buildURL(modelName);\n  }\n\n  /**\n     Builds a URL for a `store.query(type, query)` call.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n  \n     export default class ApplicationAdapter extends RESTAdapter {\n       host = 'https://api.github.com';\n       urlForQuery (query, modelName) {\n         switch(modelName) {\n           case 'repo':\n             return `https://api.github.com/orgs/${query.orgId}/repos`;\n           default:\n             return super.urlForQuery(...arguments);\n         }\n       }\n     }\n     ```\n  \n     @method urlForQuery\n      @public\n     @param {Object} query\n     @param {String} modelName\n     @return {String} url\n     */\n  function urlForQuery(query, modelName) {\n    return this._buildURL(modelName);\n  }\n\n  /**\n     Builds a URL for a `store.queryRecord(type, query)` call.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n  \n     export default class ApplicationAdapter extends RESTAdapter {\n       urlForQueryRecord({ slug }, modelName) {\n         let baseUrl = this.buildURL();\n         return `${baseUrl}/${encodeURIComponent(slug)}`;\n       }\n     }\n     ```\n  \n     @method urlForQueryRecord\n      @public\n     @param {Object} query\n     @param {String} modelName\n     @return {String} url\n     */\n  function urlForQueryRecord(query, modelName) {\n    return this._buildURL(modelName);\n  }\n\n  /**\n     Builds a URL for coalescing multiple `store.findRecord(type, id)`\n     records into 1 request when the adapter's `coalesceFindRequests`\n     property is `true`.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n  \n     export default class ApplicationAdapter extends RESTAdapter {\n       urlForFindMany(ids, modelName) {\n         let baseUrl = this.buildURL();\n         return `${baseUrl}/coalesce`;\n       }\n     }\n     ```\n  \n     @method urlForFindMany\n      @public\n     @param {Array} ids\n     @param {String} modelName\n     @param {Array} snapshots\n     @return {String} url\n     */\n  function urlForFindMany(ids, modelName, snapshots) {\n    return this._buildURL(modelName);\n  }\n\n  /**\n     Builds a URL for fetching an async `hasMany` relationship when a URL\n     is not provided by the server.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n     export default class ApplicationAdapter extends JSONAPIAdapter {\n       urlForFindHasMany(id, modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName, id);\n         return `${baseUrl}/relationships`;\n       }\n     }\n     ```\n  \n     @method urlForFindHasMany\n      @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n  function urlForFindHasMany(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  }\n\n  /**\n     Builds a URL for fetching an async `belongsTo` relationship when a url\n     is not provided by the server.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n     export default class ApplicationAdapter extends JSONAPIAdapter {\n       urlForFindBelongsTo(id, modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName, id);\n         return `${baseUrl}/relationships`;\n       }\n     }\n     ```\n  \n     @method urlForFindBelongsTo\n      @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n  function urlForFindBelongsTo(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  }\n\n  /**\n     Builds a URL for a `record.save()` call when the record was created\n     locally using `store.createRecord()`.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n  \n     export default class ApplicationAdapter extends RESTAdapter {\n       urlForCreateRecord(modelName, snapshot) {\n         return super.urlForCreateRecord(...arguments) + '/new';\n       }\n     }\n     ```\n  \n     @method urlForCreateRecord\n      @public\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n  function urlForCreateRecord(modelName, snapshot) {\n    return this._buildURL(modelName);\n  }\n\n  /**\n     Builds a URL for a `record.save()` call when the record has been updated locally.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n  \n     export default class ApplicationAdapter extends RESTAdapter {\n       urlForUpdateRecord(id, modelName, snapshot) {\n         return `/${id}/feed?access_token=${snapshot.adapterOptions.token}`;\n       }\n     }\n     ```\n  \n     @method urlForUpdateRecord\n      @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n  function urlForUpdateRecord(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  }\n\n  /**\n     Builds a URL for a `record.save()` call when the record has been deleted locally.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n  \n     export default class ApplicationAdapter extends RESTAdapter {\n       urlForDeleteRecord(id, modelName, snapshot) {\n         return super.urlForDeleteRecord(...arguments) + '/destroy';\n       }\n     }\n     ```\n  \n     @method urlForDeleteRecord\n      @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n  function urlForDeleteRecord(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  }\n\n  /**\n      @method urlPrefix\n      @private\n      @param {String} path\n      @param {String} parentURL\n      @return {String} urlPrefix\n    */\n  function urlPrefix(path, parentURL) {\n    const {\n      namespace\n    } = this;\n    let {\n      host\n    } = this;\n    if (!host || host === '/') {\n      host = '';\n    }\n    if (path) {\n      // Protocol relative url\n      if (/^\\/\\//.test(path) || /http(s)?:\\/\\//.test(path)) {\n        // Do nothing, the full host is already included.\n        return path;\n\n        // Absolute path\n      } else if (path.charAt(0) === '/') {\n        return `${host}${path}`;\n        // Relative path\n      } else {\n        return `${parentURL}/${path}`;\n      }\n    }\n\n    // No path provided\n    const url = [];\n    if (host) {\n      url.push(host);\n    }\n    if (namespace) {\n      url.push(namespace);\n    }\n    return url.join('/');\n  }\n\n  /**\n      Determines the pathname for a given type.\n  \n      By default, it pluralizes the type's name (for example,\n      'post' becomes 'posts' and 'person' becomes 'people').\n  \n      ### Pathname customization\n  \n      For example, if you have an object `LineItem` with an\n      endpoint of `/line_items/`.\n  \n      ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n      import { decamelize, pluralize } from '<app-name>/utils/string-utils';\n  \n      export default class ApplicationAdapter extends RESTAdapter {\n        pathForType(modelName) {\n          var decamelized = decamelize(modelName);\n          return pluralize(decamelized);\n        }\n      }\n      ```\n  \n      @method pathForType\n      @public\n      @param {String} modelName\n      @return {String} path\n    **/\n  function pathForType(modelName) {\n    const camelized = (0, _string.camelize)(modelName);\n    return (0, _emberInflector.pluralize)(camelized);\n  }\n\n  // we build it this way vs casting to BuildURLMixin so that any\n  // changes to the interface surface as errors here.\n  const mixinProps = {\n    buildURL,\n    _buildURL,\n    urlForFindRecord,\n    urlForFindAll,\n    urlForQueryRecord,\n    urlForQuery,\n    urlForFindMany,\n    urlForFindHasMany,\n    urlForFindBelongsTo,\n    urlForCreateRecord,\n    urlForDeleteRecord,\n    urlForUpdateRecord,\n    urlPrefix,\n    pathForType\n  };\n  var BuildURLMixin = _exports.B = _mixin.default.create(mixinProps);\n});","define(\"@ember-data/adapter/error\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.UnauthorizedError = _exports.TimeoutError = _exports.ServerError = _exports.NotFoundError = _exports.InvalidError = _exports.ForbiddenError = _exports.ConflictError = _exports.AbortError = void 0;\n  _exports.default = AdapterError;\n  /**\n    @module @ember-data/adapter/error\n   */\n\n  /**\n    ## Overview\n  \n    <blockquote style=\"margin: 1em; padding: .1em 1em .1em 1em; border-left: solid 1em #E34C32; background: #e0e0e0;\">\n    <p>\n      ⚠️ <strong>This is LEGACY documentation</strong> for a feature that is no longer encouraged to be used.\n      If starting a new app or thinking of implementing a new adapter, consider writing a\n      <a href=\"/ember-data/release/classes/%3CInterface%3E%20Handler\">Handler</a> instead to be used with the <a href=\"https://github.com/emberjs/data/tree/main/packages/request#readme\">RequestManager</a>\n    </p>\n    </blockquote>\n  \n    An `AdapterError` is used by an adapter to signal that an error occurred\n    during a request to an external API. It indicates a generic error, and\n    subclasses are used to indicate specific error states.\n  \n    To create a custom error to signal a specific error state in communicating\n    with an external API, extend the `AdapterError`. For example, if the\n    external API exclusively used HTTP `503 Service Unavailable` to indicate\n    it was closed for maintenance:\n  \n    ```app/adapters/maintenance-error.js\n    import AdapterError from '@ember-data/adapter/error';\n  \n    export default AdapterError.extend({ message: \"Down for maintenance.\" });\n    ```\n  \n    This error would then be returned by an adapter's `handleResponse` method:\n  \n    ```app/adapters/application.js\n    import JSONAPIAdapter from '@ember-data/adapter/json-api';\n    import MaintenanceError from './maintenance-error';\n  \n    export default class ApplicationAdapter extends JSONAPIAdapter {\n      handleResponse(status) {\n        if (503 === status) {\n          return new MaintenanceError();\n        }\n  \n        return super.handleResponse(...arguments);\n      }\n    }\n    ```\n  \n    And can then be detected in an application and used to send the user to an\n    `under-maintenance` route:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import MaintenanceError from '../adapters/maintenance-error';\n  \n    export default class ApplicationRoute extends Route {\n      actions: {\n        error(error, transition) {\n          if (error instanceof MaintenanceError) {\n            this.transitionTo('under-maintenance');\n            return;\n          }\n  \n          // ...other error handling logic\n        }\n      }\n    }\n    ```\n  \n    @main @ember-data/adapter/error\n    @class AdapterError\n    @public\n  */\n  function AdapterError(errors, message = 'Adapter operation failed') {\n    this.isAdapterError = true;\n    const error = Error.call(this, message);\n    if (error) {\n      this.stack = error.stack;\n      this.description = error.description;\n      this.fileName = error.fileName;\n      this.lineNumber = error.lineNumber;\n      this.message = error.message;\n      this.name = error.name;\n      this.number = error.number;\n    }\n    this.errors = errors || [{\n      title: 'Adapter Error',\n      detail: message\n    }];\n  }\n  function extendFn(ErrorClass) {\n    return function ({\n      message: defaultMessage\n    } = {}) {\n      return extend(ErrorClass, defaultMessage);\n    };\n  }\n  function extend(ParentErrorClass, defaultMessage) {\n    const ErrorClass = function (errors, message) {\n      (true && !(Array.isArray(errors || [])) && (0, _debug.assert)('`AdapterError` expects json-api formatted errors array.', Array.isArray(errors || [])));\n      ParentErrorClass.call(this, errors, message || defaultMessage);\n    };\n    ErrorClass.prototype = Object.create(ParentErrorClass.prototype);\n    ErrorClass.extend = extendFn(ErrorClass);\n    return ErrorClass;\n  }\n  AdapterError.prototype = Object.create(Error.prototype);\n  AdapterError.prototype.code = 'AdapterError';\n  AdapterError.extend = extendFn(AdapterError);\n\n  /**\n    A `InvalidError` is used by an adapter to signal the external API\n    was unable to process a request because the content was not\n    semantically correct or meaningful per the API. Usually, this means a\n    record failed some form of server-side validation. When a promise\n    from an adapter is rejected with a `InvalidError` the record will\n    transition to the `invalid` state and the errors will be set to the\n    `errors` property on the record.\n  \n    For Ember Data to correctly map errors to their corresponding\n    properties on the model, Ember Data expects each error to be\n    a valid JSON-API error object with a `source/pointer` that matches\n    the property name. For example, if you had a Post model that\n    looked like this.\n  \n    ```app/models/post.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @attr('string') title;\n      @attr('string') content;\n    }\n    ```\n  \n    To show an error from the server related to the `title` and\n    `content` properties your adapter could return a promise that\n    rejects with a `InvalidError` object that looks like this:\n  \n    ```app/adapters/post.js\n    import RSVP from 'RSVP';\n    import RESTAdapter from '@ember-data/adapter/rest';\n    import { InvalidError } from '@ember-data/adapter/error';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      updateRecord() {\n        // Fictional adapter that always rejects\n        return RSVP.reject(new InvalidError([\n          {\n            detail: 'Must be unique',\n            source: { pointer: '/data/attributes/title' }\n          },\n          {\n            detail: 'Must not be blank',\n            source: { pointer: '/data/attributes/content'}\n          }\n        ]));\n      }\n    }\n    ```\n  \n    Your backend may use different property names for your records the\n    store will attempt to extract and normalize the errors using the\n    serializer's `extractErrors` method before the errors get added to\n    the model. As a result, it is safe for the `InvalidError` to\n    wrap the error payload unaltered.\n  \n    @class InvalidError\n    @public\n    @extends AdapterError\n  */\n  // TODO @deprecate extractError documentation\n  const InvalidError = _exports.InvalidError = extend(AdapterError, 'The adapter rejected the commit because it was invalid');\n  InvalidError.prototype.code = 'InvalidError';\n\n  /**\n    A `TimeoutError` is used by an adapter to signal that a request\n    to the external API has timed out. I.e. no response was received from\n    the external API within an allowed time period.\n  \n    An example use case would be to warn the user to check their internet\n    connection if an adapter operation has timed out:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import { TimeoutError } from '@ember-data/adapter/error';\n    import { action } from '@ember/object';\n  \n    export default class ApplicationRoute extends Route {\n      @action\n      error(error, transition) {\n        if (error instanceof TimeoutError) {\n          // alert the user\n          alert('Are you still connected to the Internet?');\n          return;\n        }\n  \n        // ...other error handling logic\n      }\n    }\n    ```\n  \n    @class TimeoutError\n    @public\n    @extends AdapterError\n  */\n  const TimeoutError = _exports.TimeoutError = extend(AdapterError, 'The adapter operation timed out');\n  TimeoutError.prototype.code = 'TimeoutError';\n\n  /**\n    A `AbortError` is used by an adapter to signal that a request to\n    the external API was aborted. For example, this can occur if the user\n    navigates away from the current page after a request to the external API\n    has been initiated but before a response has been received.\n  \n    @class AbortError\n    @public\n    @extends AdapterError\n  */\n  const AbortError = _exports.AbortError = extend(AdapterError, 'The adapter operation was aborted');\n  AbortError.prototype.code = 'AbortError';\n\n  /**\n    A `UnauthorizedError` equates to a HTTP `401 Unauthorized` response\n    status. It is used by an adapter to signal that a request to the external\n    API was rejected because authorization is required and has failed or has not\n    yet been provided.\n  \n    An example use case would be to redirect the user to a login route if a\n    request is unauthorized:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import { UnauthorizedError } from '@ember-data/adapter/error';\n    import { action } from '@ember/object';\n  \n    export default class ApplicationRoute extends Route {\n      @action\n      error(error, transition) {\n        if (error instanceof UnauthorizedError) {\n          // go to the login route\n          this.transitionTo('login');\n          return;\n        }\n  \n        // ...other error handling logic\n      }\n    }\n    ```\n  \n    @class UnauthorizedError\n    @public\n    @extends AdapterError\n  */\n  const UnauthorizedError = _exports.UnauthorizedError = extend(AdapterError, 'The adapter operation is unauthorized');\n  UnauthorizedError.prototype.code = 'UnauthorizedError';\n\n  /**\n    A `ForbiddenError` equates to a HTTP `403 Forbidden` response status.\n    It is used by an adapter to signal that a request to the external API was\n    valid but the server is refusing to respond to it. If authorization was\n    provided and is valid, then the authenticated user does not have the\n    necessary permissions for the request.\n  \n    @class ForbiddenError\n    @public\n    @extends AdapterError\n  */\n  const ForbiddenError = _exports.ForbiddenError = extend(AdapterError, 'The adapter operation is forbidden');\n  ForbiddenError.prototype.code = 'ForbiddenError';\n\n  /**\n    A `NotFoundError` equates to a HTTP `404 Not Found` response status.\n    It is used by an adapter to signal that a request to the external API\n    was rejected because the resource could not be found on the API.\n  \n    An example use case would be to detect if the user has entered a route\n    for a specific model that does not exist. For example:\n  \n    ```app/routes/post.js\n    import Route from '@ember/routing/route';\n    import { NotFoundError } from '@ember-data/adapter/error';\n    import { inject as service } from '@ember/service';\n    import { action } from '@ember/object';\n  \n    export default class PostRoute extends Route {\n      @service store;\n      model(params) {\n        return this.store.findRecord('post', params.post_id);\n      }\n      @action\n      error(error, transition) {\n        if (error instanceof NotFoundError) {\n          // redirect to a list of all posts instead\n          this.transitionTo('posts');\n        } else {\n          // otherwise let the error bubble\n          return true;\n        }\n      }\n    }\n    ```\n  \n    @class NotFoundError\n    @public\n    @extends AdapterError\n  */\n  const NotFoundError = _exports.NotFoundError = extend(AdapterError, 'The adapter could not find the resource');\n  NotFoundError.prototype.code = 'NotFoundError';\n\n  /**\n    A `ConflictError` equates to a HTTP `409 Conflict` response status.\n    It is used by an adapter to indicate that the request could not be processed\n    because of a conflict in the request. An example scenario would be when\n    creating a record with a client-generated ID but that ID is already known\n    to the external API.\n  \n    @class ConflictError\n    @public\n    @extends AdapterError\n  */\n  const ConflictError = _exports.ConflictError = extend(AdapterError, 'The adapter operation failed due to a conflict');\n  ConflictError.prototype.code = 'ConflictError';\n\n  /**\n    A `ServerError` equates to a HTTP `500 Internal Server Error` response\n    status. It is used by the adapter to indicate that a request has failed\n    because of an error in the external API.\n  \n    @class ServerError\n    @public\n    @extends AdapterError\n  */\n  const ServerError = _exports.ServerError = extend(AdapterError, 'The adapter operation failed due to a server error');\n  ServerError.prototype.code = 'ServerError';\n});","define(\"@ember-data/adapter/index-4RESM7Oz\", [\"exports\", \"@ember/debug\", \"@ember/object\", \"@ember/service\"], function (_exports, _debug, _object, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.A = void 0;\n  _exports._ = _applyDecoratedDescriptor;\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  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    if ('value' in desc || desc.initializer) {\n      desc.writable = true;\n    }\n    desc = decorators.slice().reverse().reduce(function (desc, decorator) {\n      return decorator(target, property, desc) || desc;\n    }, desc);\n    if (context && desc.initializer !== void 0) {\n      desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n      desc.initializer = undefined;\n    }\n    if (desc.initializer === void 0) {\n      Object.defineProperty(target, property, desc);\n      desc = null;\n    }\n    return desc;\n  }\n  var _class, _descriptor;\n  /**\n    An adapter is an object that receives requests from a store and\n    translates them into the appropriate action to take against your\n    persistence layer. The persistence layer is usually an HTTP API but\n    may be anything, such as the browser's local storage. Typically the\n    adapter is not invoked directly instead its functionality is accessed\n    through the `store`.\n  \n    > ⚠️ CAUTION you likely want the docs for [<Interface> Adapter](/ember-data/release/classes/%3CInterface%3E%20Adapter)\n    > as extending this abstract class is unnecessary.\n  \n    ### Creating an Adapter\n  \n    Create a new subclass of `Adapter` in the `app/adapters` folder:\n  \n    ```app/adapters/application.js\n    import Adapter from '@ember-data/adapter';\n  \n    export default Adapter.extend({\n      // ...your code here\n    });\n    ```\n  \n    Model-specific adapters can be created by putting your adapter\n    class in an `app/adapters/` + `model-name` + `.js` file of the application.\n  \n    ```app/adapters/post.js\n    import Adapter from '@ember-data/adapter';\n  \n    export default Adapter.extend({\n      // ...Post-specific adapter code goes here\n    });\n    ```\n  \n    `Adapter` is an abstract base class that you should override in your\n    application to customize it for your backend. The minimum set of methods\n    that you should implement is:\n  \n      * `findRecord()`\n      * `createRecord()`\n      * `updateRecord()`\n      * `deleteRecord()`\n      * `findAll()`\n      * `query()`\n  \n    To improve the network performance of your application, you can optimize\n    your adapter by overriding these lower-level methods:\n  \n      * `findMany()`\n  \n  \n    For an example of the implementation, see `RESTAdapter`, the\n    included REST adapter.\n  \n    @class Adapter\n    @public\n    @extends Ember.EmberObject\n  */\n  let Adapter = _exports.A = (_class = class Adapter extends _object.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n    }\n    /**\n      The `findRecord()` method is invoked when the store is asked for a record that\n      has not previously been loaded. In response to `findRecord()` being called, you\n      should query your persistence layer for a record with the given ID. The `findRecord`\n      method should return a promise that will resolve to a JavaScript object that will be\n      normalized by the serializer.\n       Here is an example of the `findRecord` implementation:\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        findRecord(store, type, id, snapshot) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}/${id}`).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method findRecord\n      @param {Store} store\n      @param {Model} type\n      @param {String} id\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n      @public\n    */\n    // @ts-expect-error\n    findRecord(store, type, id, snapshot) {\n      {\n        throw new Error('You subclassed the Adapter class but missing a findRecord override');\n      }\n    }\n\n    /**\n      The `findAll()` method is used to retrieve all records for a given type.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        findAll(store, type) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}`).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method findAll\n      @param {Store} store\n      @param {Model} type\n      @param {null} neverSet a value is never provided to this argument\n      @param {SnapshotRecordArray} snapshotRecordArray\n      @return {Promise} promise\n      @public\n    */\n    findAll(store, type, neverSet, snapshotRecordArray) {\n      {\n        throw new Error('You subclassed the Adapter class but missing a findAll override');\n      }\n    }\n\n    /**\n      This method is called when you call `query` on the store.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        query(store, type, query) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}`, query).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method query\n      @param {Store} store\n      @param {Model} type\n      @param {Object} query\n      @param {Collection} recordArray\n      @param {Object} adapterOptions\n      @return {Promise} promise\n      @public\n    */\n    // @ts-expect-error\n    query(store, type, query) {\n      {\n        throw new Error('You subclassed the Adapter class but missing a query override');\n      }\n    }\n\n    /**\n      The `queryRecord()` method is invoked when the store is asked for a single\n      record through a query object.\n       In response to `queryRecord()` being called, you should always fetch fresh\n      data. Once found, you can asynchronously call the store's `push()` method\n      to push the record into the store.\n       Here is an example `queryRecord` implementation:\n       Example\n       ```app/adapters/application.js\n      import Adapter, { BuildURLMixin } from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter.extend(BuildURLMixin) {\n        queryRecord(store, type, query) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}`, query).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method queryRecord\n      @param {Store} store\n      @param {subclass of Model} type\n      @param {Object} query\n      @param {Object} adapterOptions\n      @return {Promise} promise\n      @public\n    */\n    // @ts-expect-error\n    queryRecord(store, type, query, adapterOptions) {\n      {\n        throw new Error('You subclassed the Adapter class but missing a queryRecord override');\n      }\n    }\n\n    /**\n      If the globally unique IDs for your records should be generated on the client,\n      implement the `generateIdForRecord()` method. This method will be invoked\n      each time you create a new record, and the value returned from it will be\n      assigned to the record's `primaryKey`.\n       Most traditional REST-like HTTP APIs will not use this method. Instead, the ID\n      of the record will be set by the server, and your adapter will update the store\n      with the new ID when it calls `didCreateRecord()`. Only implement this method if\n      you intend to generate record IDs on the client-side.\n       The `generateIdForRecord()` method will be invoked with the requesting store as\n      the first parameter and the newly created record as the second parameter:\n       ```javascript\n      import Adapter from '@ember-data/adapter';\n      import { v4 } from 'uuid';\n       export default class ApplicationAdapter extends Adapter {\n        generateIdForRecord(store, type, inputProperties) {\n          return v4();\n        }\n      }\n      ```\n       @method generateIdForRecord\n      @param {Store} store\n      @param {Model} type   the Model class of the record\n      @param {Object} inputProperties a hash of properties to set on the\n        newly created record.\n      @return {(String|Number)} id\n      @public\n    */\n\n    /**\n      Proxies to the serializer's `serialize` method.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n       export default class ApplicationAdapter extends Adapter {\n        createRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n          let url = `/${type.modelName}`;\n           // ...\n        }\n      }\n      ```\n       @method serialize\n      @param {Snapshot} snapshot\n      @param {Object}   options\n      @return {Object} serialized snapshot\n      @public\n    */\n    serialize(snapshot, options) {\n      const serialized = snapshot.serialize(options);\n      (true && !(serialized && typeof serialized === 'object') && (0, _debug.assert)(`Your adapter's serialize method must return an object, but it returned ${typeof serialized}`, serialized && typeof serialized === 'object'));\n      return serialized;\n    }\n\n    /**\n      Implement this method in a subclass to handle the creation of\n      new records.\n       Serializes the record and sends it to the server.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        createRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n           return new RSVP.Promise(function (resolve, reject) {\n            $.ajax({\n              type: 'POST',\n              url: `/${type.modelName}`,\n              dataType: 'json',\n              data: data\n            }).then(function (data) {\n              resolve(data);\n            }, function (jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method createRecord\n      @param {Store} store\n      @param {Model} type   the Model class of the record\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n      @public\n    */\n    // @ts-expect-error\n    createRecord(store, type, snapshot) {\n      {\n        throw new Error('You subclassed the Adapter class but missing a createRecord override');\n      }\n    }\n\n    /**\n      Implement this method in a subclass to handle the updating of\n      a record.\n       Serializes the record update and sends it to the server.\n       The updateRecord method is expected to return a promise that will\n      resolve with the serialized record. This allows the backend to\n      inform the Ember Data store the current state of this record after\n      the update. If it is not possible to return a serialized record\n      the updateRecord promise can also resolve with `undefined` and the\n      Ember Data store will assume all of the updates were successfully\n      applied on the backend.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        updateRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n          let id = snapshot.id;\n           return new RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'PUT',\n              url: `/${type.modelName}/${id}`,\n              dataType: 'json',\n              data: data\n            }).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method updateRecord\n      @param {Store} store\n      @param {Model} type   the Model class of the record\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n      @public\n    */\n    // @ts-expect-error\n    updateRecord(store, type, snapshot) {\n      {\n        throw new Error('You subclassed the Adapter class but missing a updateRecord override');\n      }\n    }\n\n    /**\n      Implement this method in a subclass to handle the deletion of\n      a record.\n       Sends a delete request for the record to the server.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        deleteRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n          let id = snapshot.id;\n           return new RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'DELETE',\n              url: `/${type.modelName}/${id}`,\n              dataType: 'json',\n              data: data\n            }).then(function(data) {\n              resolve(data)\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method deleteRecord\n      @param {Store} store\n      @param {Model} type   the Model class of the record\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n      @public\n    */\n    // @ts-expect-error\n    deleteRecord(store, type, snapshot) {\n      {\n        throw new Error('You subclassed the Adapter class but missing a deleteRecord override');\n      }\n    }\n\n    /**\n      By default the store will try to coalesce all `findRecord` calls within the same runloop\n      into as few requests as possible by calling groupRecordsForFindMany and passing it into a findMany call.\n      You can opt out of this behaviour by either not implementing the findMany hook or by setting\n      coalesceFindRequests to false.\n       @property coalesceFindRequests\n      @public\n      @type {boolean}\n    */\n    get coalesceFindRequests() {\n      const coalesceFindRequests = this._coalesceFindRequests;\n      if (typeof coalesceFindRequests === 'boolean') {\n        return coalesceFindRequests;\n      }\n      return this._coalesceFindRequests = true;\n    }\n    set coalesceFindRequests(value) {\n      this._coalesceFindRequests = value;\n    }\n\n    /**\n      The store will call `findMany` instead of multiple `findRecord`\n      requests to find multiple records at once if coalesceFindRequests\n      is true.\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        findMany(store, type, ids, snapshots) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'GET',\n              url: `/${type.modelName}/`,\n              dataType: 'json',\n              data: { filter: { id: ids.join(',') } }\n            }).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method findMany\n      @param {Store} store\n      @param {Model} type   the Model class of the records\n      @param {Array}    ids\n      @param {Array} snapshots\n      @return {Promise} promise\n      @public\n    */\n\n    /**\n      Organize records into groups, each of which is to be passed to separate\n      calls to `findMany`.\n       For example, if your API has nested URLs that depend on the parent, you will\n      want to group records by their parent.\n       The default implementation returns the records as a single group.\n       @method groupRecordsForFindMany\n      @public\n      @param {Store} store\n      @param {Array} snapshots\n      @return {Array}  an array of arrays of records, each of which is to be\n                        loaded separately by `findMany`.\n    */\n    groupRecordsForFindMany(store, snapshots) {\n      return [snapshots];\n    }\n\n    /**\n      This method is used by the store to determine if the store should\n      reload a record from the adapter when a record is requested by\n      `store.findRecord`.\n       If this method returns `true`, the store will re-fetch a record from\n      the adapter. If this method returns `false`, the store will resolve\n      immediately using the cached record.\n       For example, if you are building an events ticketing system, in which users\n      can only reserve tickets for 20 minutes at a time, and want to ensure that\n      in each route you have data that is no more than 20 minutes old you could\n      write:\n       ```javascript\n      shouldReloadRecord(store, ticketSnapshot) {\n        let lastAccessedAt = ticketSnapshot.attr('lastAccessedAt');\n        let timeDiff = moment().diff(lastAccessedAt, 'minutes');\n         if (timeDiff > 20) {\n          return true;\n        } else {\n          return false;\n        }\n      }\n      ```\n       This method would ensure that whenever you do `store.findRecord('ticket',\n      id)` you will always get a ticket that is no more than 20 minutes old. In\n      case the cached version is more than 20 minutes old, `findRecord` will not\n      resolve until you fetched the latest version.\n       By default this hook returns `false`, as most UIs should not block user\n      interactions while waiting on data update.\n       Note that, with default settings, `shouldBackgroundReloadRecord` will always\n      re-fetch the records in the background even if `shouldReloadRecord` returns\n      `false`. You can override `shouldBackgroundReloadRecord` if this does not\n      suit your use case.\n       @since 1.13.0\n      @method shouldReloadRecord\n      @param {Store} store\n      @param {Snapshot} snapshot\n      @return {Boolean}\n      @public\n    */\n    shouldReloadRecord(store, snapshot) {\n      return false;\n    }\n\n    /**\n      This method is used by the store to determine if the store should\n      reload all records from the adapter when records are requested by\n      `store.findAll`.\n       If this method returns `true`, the store will re-fetch all records from\n      the adapter. If this method returns `false`, the store will resolve\n      immediately using the cached records.\n       For example, if you are building an events ticketing system, in which users\n      can only reserve tickets for 20 minutes at a time, and want to ensure that\n      in each route you have data that is no more than 20 minutes old you could\n      write:\n       ```javascript\n      shouldReloadAll(store, snapshotArray) {\n        let snapshots = snapshotArray.snapshots();\n         return snapshots.any((ticketSnapshot) => {\n          let lastAccessedAt = ticketSnapshot.attr('lastAccessedAt');\n          let timeDiff = moment().diff(lastAccessedAt, 'minutes');\n           if (timeDiff > 20) {\n            return true;\n          } else {\n            return false;\n          }\n        });\n      }\n      ```\n       This method would ensure that whenever you do `store.findAll('ticket')` you\n      will always get a list of tickets that are no more than 20 minutes old. In\n      case a cached version is more than 20 minutes old, `findAll` will not\n      resolve until you fetched the latest versions.\n       By default, this method returns `true` if the passed `snapshotRecordArray`\n      is empty (meaning that there are no records locally available yet),\n      otherwise, it returns `false`.\n       Note that, with default settings, `shouldBackgroundReloadAll` will always\n      re-fetch all the records in the background even if `shouldReloadAll` returns\n      `false`. You can override `shouldBackgroundReloadAll` if this does not suit\n      your use case.\n       @since 1.13.0\n      @method shouldReloadAll\n      @param {Store} store\n      @param {SnapshotRecordArray} snapshotRecordArray\n      @return {Boolean}\n      @public\n    */\n    shouldReloadAll(store, snapshotRecordArray) {\n      return !snapshotRecordArray.length;\n    }\n\n    /**\n      This method is used by the store to determine if the store should\n      reload a record after the `store.findRecord` method resolves a\n      cached record.\n       This method is *only* checked by the store when the store is\n      returning a cached record.\n       If this method returns `true` the store will re-fetch a record from\n      the adapter.\n       For example, if you do not want to fetch complex data over a mobile\n      connection, or if the network is down, you can implement\n      `shouldBackgroundReloadRecord` as follows:\n       ```javascript\n      shouldBackgroundReloadRecord(store, snapshot) {\n        let { downlink, effectiveType } = navigator.connection;\n         return downlink > 0 && effectiveType === '4g';\n      }\n      ```\n       By default, this hook returns `true` so the data for the record is updated\n      in the background.\n       @since 1.13.0\n      @method shouldBackgroundReloadRecord\n      @param {Store} store\n      @param {Snapshot} snapshot\n      @return {Boolean}\n      @public\n    */\n    shouldBackgroundReloadRecord(store, snapshot) {\n      return true;\n    }\n\n    /**\n      This method is used by the store to determine if the store should\n      reload a record array after the `store.findAll` method resolves\n      with a cached record array.\n       This method is *only* checked by the store when the store is\n      returning a cached record array.\n       If this method returns `true` the store will re-fetch all records\n      from the adapter.\n       For example, if you do not want to fetch complex data over a mobile\n      connection, or if the network is down, you can implement\n      `shouldBackgroundReloadAll` as follows:\n       ```javascript\n      shouldBackgroundReloadAll(store, snapshotArray) {\n        let { downlink, effectiveType } = navigator.connection;\n         return downlink > 0 && effectiveType === '4g';\n      }\n      ```\n       By default this method returns `true`, indicating that a background reload\n      should always be triggered.\n       @since 1.13.0\n      @method shouldBackgroundReloadAll\n      @param {Store} store\n      @param {SnapshotRecordArray} snapshotRecordArray\n      @return {Boolean}\n      @public\n    */\n    shouldBackgroundReloadAll(store, snapshotRecordArray) {\n      return true;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"@ember-data/adapter/index\", [\"exports\", \"@ember-data/adapter/index-4RESM7Oz\", \"@ember-data/adapter/build-url-mixin-AgfAmsW-\"], function (_exports, _index4RESM7Oz, _buildUrlMixinAgfAmsW) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"BuildURLMixin\", {\n    enumerable: true,\n    get: function () {\n      return _buildUrlMixinAgfAmsW.B;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _index4RESM7Oz.A;\n    }\n  });\n});","define(\"@ember-data/adapter/json-api\", [\"exports\", \"@ember/debug\", \"@ember/string\", \"ember-inflector\", \"@ember-data/adapter/serialize-into-hash-2lQbHRKN\", \"@ember-data/adapter/rest\"], function (_exports, _debug, _string, _emberInflector, _serializeIntoHash2lQbHRKN, _rest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    @module @ember-data/adapter/json-api\n   */\n\n  /**\n    ## Overview\n  \n    <blockquote style=\"margin: 1em; padding: .1em 1em .1em 1em; border-left: solid 1em #E34C32; background: #e0e0e0;\">\n    <p>\n      ⚠️ <strong>This is LEGACY documentation</strong> for a feature that is no longer encouraged to be used.\n      If starting a new app or thinking of implementing a new adapter, consider writing a\n      <a href=\"/ember-data/release/classes/%3CInterface%3E%20Handler\">Handler</a> instead to be used with the <a href=\"https://github.com/emberjs/data/tree/main/packages/request#readme\">RequestManager</a>\n    </p>\n    </blockquote>\n  \n    The `JSONAPIAdapter` is an adapter whichtransforms the store's\n    requests into HTTP requests that follow the [JSON API format](http://jsonapi.org/format/).\n  \n    ## JSON API Conventions\n  \n    The JSONAPIAdapter uses JSON API conventions for building the URL\n    for a record and selecting the HTTP verb to use with a request. The\n    actions you can take on a record map onto the following URLs in the\n    JSON API adapter:\n  \n  <table>\n    <tr>\n      <th>\n        Action\n      </th>\n      <th>\n        HTTP Verb\n      </th>\n      <th>\n        URL\n      </th>\n    </tr>\n    <tr>\n      <th>\n        `store.findRecord('post', 123)`\n      </th>\n      <td>\n        GET\n      </td>\n      <td>\n        /posts/123\n      </td>\n    </tr>\n    <tr>\n      <th>\n        `store.findAll('post')`\n      </th>\n      <td>\n        GET\n      </td>\n      <td>\n        /posts\n      </td>\n    </tr>\n    <tr>\n      <th>\n        Update `postRecord.save()`\n      </th>\n      <td>\n        PATCH\n      </td>\n      <td>\n        /posts/123\n      </td>\n    </tr>\n    <tr>\n      <th>\n        Create `store.createRecord('post').save()`\n      </th>\n      <td>\n        POST\n      </td>\n      <td>\n        /posts\n      </td>\n    </tr>\n    <tr>\n      <th>\n        Delete `postRecord.destroyRecord()`\n      </th>\n      <td>\n        DELETE\n      </td>\n      <td>\n        /posts/123\n      </td>\n    </tr>\n  </table>\n  \n    ## Success and failure\n  \n    The JSONAPIAdapter will consider a success any response with a\n    status code of the 2xx family (\"Success\"), as well as 304 (\"Not\n    Modified\"). Any other status code will be considered a failure.\n  \n    On success, the request promise will be resolved with the full\n    response payload.\n  \n    Failed responses with status code 422 (\"Unprocessable Entity\") will\n    be considered \"invalid\". The response will be discarded, except for\n    the `errors` key. The request promise will be rejected with a\n    `InvalidError`. This error object will encapsulate the saved\n    `errors` value.\n  \n    Any other status codes will be treated as an adapter error. The\n    request promise will be rejected, similarly to the invalid case,\n    but with an instance of `AdapterError` instead.\n  \n    ### Endpoint path customization\n  \n    Endpoint paths can be prefixed with a `namespace` by setting the\n    namespace property on the adapter:\n  \n    ```app/adapters/application.js\n    import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n    export default class ApplicationAdapter extends JSONAPIAdapter {\n      namespace = 'api/1';\n    }\n    ```\n    Requests for the `person` model would now target `/api/1/people/1`.\n  \n    ### Host customization\n  \n    An adapter can target other hosts by setting the `host` property.\n  \n    ```app/adapters/application.js\n    import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n    export default class ApplicationAdapter extends JSONAPIAdapter {\n      host = 'https://api.example.com';\n    }\n    ```\n  \n    Requests for the `person` model would now target\n    `https://api.example.com/people/1`.\n  \n    @since 1.13.0\n    @class JSONAPIAdapter\n    @main @ember-data/adapter/json-api\n    @public\n    @constructor\n    @extends RESTAdapter\n  */\n  class JSONAPIAdapter extends _rest.default {\n    constructor(...args) {\n      super(...args);\n      this._defaultContentType = 'application/vnd.api+json';\n    }\n    /**\n      @method ajaxOptions\n      @private\n      @param {String} url\n      @param {String} type The request type GET, POST, PUT, DELETE etc.\n      @param {Object} options\n      @return {Object}\n    */\n    ajaxOptions(url, type, options = {}) {\n      const hash = super.ajaxOptions(url, type, options);\n      const headers = hash.headers = hash.headers || {};\n      headers['Accept'] = headers['Accept'] || 'application/vnd.api+json';\n      return hash;\n    }\n\n    /**\n      By default the JSONAPIAdapter will send each find request coming from a `store.find`\n      or from accessing a relationship separately to the server. If your server supports passing\n      ids as a query string, you can set coalesceFindRequests to true to coalesce all find requests\n      within a single runloop.\n       For example, if you have an initial payload of:\n       ```javascript\n      {\n        data: {\n          id: 1,\n          type: 'post',\n          relationship: {\n            comments: {\n              data: [\n                { id: 1, type: 'comment' },\n                { id: 2, type: 'comment' }\n              ]\n            }\n          }\n        }\n      }\n      ```\n       By default calling `post.comments` will trigger the following requests(assuming the\n      comments haven't been loaded before):\n       ```\n      GET /comments/1\n      GET /comments/2\n      ```\n       If you set coalesceFindRequests to `true` it will instead trigger the following request:\n       ```\n      GET /comments?filter[id]=1,2\n      ```\n       Setting coalesceFindRequests to `true` also works for `store.find` requests and `belongsTo`\n      relationships accessed within the same runloop. If you set `coalesceFindRequests: true`\n       ```javascript\n      store.findRecord('comment', 1);\n      store.findRecord('comment', 2);\n      ```\n       will also send a request to: `GET /comments?filter[id]=1,2`\n       Note: Requests coalescing rely on URL building strategy. So if you override `buildURL` in your app\n      `groupRecordsForFindMany` more likely should be overridden as well in order for coalescing to work.\n       @property coalesceFindRequests\n      @public\n      @type {boolean}\n    */\n    get coalesceFindRequests() {\n      const coalesceFindRequests = this._coalesceFindRequests;\n      if (typeof coalesceFindRequests === 'boolean') {\n        return coalesceFindRequests;\n      }\n      return this._coalesceFindRequests = false;\n    }\n    set coalesceFindRequests(value) {\n      this._coalesceFindRequests = value;\n    }\n    findMany(store, type, ids, snapshots) {\n      const url = this.buildURL(type.modelName, ids, snapshots, 'findMany');\n      return this.ajax(url, 'GET', {\n        data: {\n          filter: {\n            id: ids.join(',')\n          }\n        }\n      });\n    }\n    pathForType(modelName) {\n      const dasherized = (0, _string.dasherize)(modelName);\n      return (0, _emberInflector.pluralize)(dasherized);\n    }\n    updateRecord(store, schema, snapshot) {\n      const data = (0, _serializeIntoHash2lQbHRKN.b)(store, schema, snapshot);\n      const type = snapshot.modelName;\n      const id = snapshot.id;\n      (true && !(typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Attempted to update the ${type} record, but the record has no id`, typeof id === 'string' && id.length > 0));\n      const url = this.buildURL(type, id, snapshot, 'updateRecord');\n      return this.ajax(url, 'PATCH', {\n        data: data\n      });\n    }\n  }\n  _exports.default = JSONAPIAdapter;\n});","define(\"@ember-data/adapter/rest\", [\"exports\", \"@ember-data/adapter/index-4RESM7Oz\", \"@ember/application\", \"@ember/debug\", \"@ember/object\", \"@ember-data/adapter/serialize-into-hash-2lQbHRKN\", \"@ember-data/adapter/build-url-mixin-AgfAmsW-\", \"@ember-data/adapter/error\"], function (_exports, _index4RESM7Oz, _application, _debug, _object, _serializeIntoHash2lQbHRKN, _buildUrlMixinAgfAmsW, _error) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.fetchOptions = fetchOptions;\n  var _dec, _class;\n  /**\n   * <blockquote style=\"margin: 1em; padding: .1em 1em .1em 1em; border-left: solid 1em #E34C32; background: #e0e0e0;\">\n    <p>\n      ⚠️ <strong>This is LEGACY documentation</strong> for a feature that is no longer encouraged to be used.\n      If starting a new app or thinking of implementing a new adapter, consider writing a\n      <a href=\"/ember-data/release/classes/%3CInterface%3E%20Handler\">Handler</a> instead to be used with the <a href=\"https://github.com/emberjs/data/tree/main/packages/request#readme\">RequestManager</a>\n    </p>\n    </blockquote>\n  \n    The REST adapter allows your store to communicate with an HTTP server by\n    transmitting JSON via XHR.\n  \n    This adapter is designed around the idea that the JSON exchanged with\n    the server should be conventional. It builds URLs in a manner that follows\n    the structure of most common REST-style web services.\n  \n    ## Success and failure\n  \n    The REST adapter will consider a success any response with a status code\n    of the 2xx family (\"Success\"), as well as 304 (\"Not Modified\"). Any other\n    status code will be considered a failure.\n  \n    On success, the request promise will be resolved with the full response\n    payload.\n  \n    Failed responses with status code 422 (\"Unprocessable Entity\") will be\n    considered \"invalid\". The response will be discarded, except for the\n    `errors` key. The request promise will be rejected with a `InvalidError`.\n    This error object will encapsulate the saved `errors` value.\n  \n    Any other status codes will be treated as an \"adapter error\". The request\n    promise will be rejected, similarly to the \"invalid\" case, but with\n    an instance of `AdapterError` instead.\n  \n    ## JSON Structure\n  \n    The REST adapter expects the JSON returned from your server to follow\n    these conventions.\n  \n    ### Object Root\n  \n    The JSON payload should be an object that contains the record inside a\n    root property. For example, in response to a `GET` request for\n    `/posts/1`, the JSON should look like this:\n  \n    ```js\n    {\n      \"posts\": {\n        \"id\": 1,\n        \"title\": \"I'm Running to Reform the W3C\",\n        \"author\": \"Yehuda Katz\"\n      }\n    }\n    ```\n  \n    Similarly, in response to a `GET` request for `/posts`, the JSON should\n    look like this:\n  \n    ```js\n    {\n      \"posts\": [\n        {\n          \"id\": 1,\n          \"title\": \"I'm Running to Reform the W3C\",\n          \"author\": \"Yehuda Katz\"\n        },\n        {\n          \"id\": 2,\n          \"title\": \"Rails is omakase\",\n          \"author\": \"D2H\"\n        }\n      ]\n    }\n    ```\n  \n    Note that the object root can be pluralized for both a single-object response\n    and an array response: the REST adapter is not strict on this. Further, if the\n    HTTP server responds to a `GET` request to `/posts/1` (e.g. the response to a\n    `findRecord` query) with more than one object in the array, Ember Data will\n    only display the object with the matching ID.\n  \n    ### Conventional Names\n  \n    Attribute names in your JSON payload should be the camelCased versions of\n    the attributes in your Ember.js models.\n  \n    For example, if you have a `Person` model:\n  \n    ```app/models/person.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default Model.extend({\n      firstName: attr('string'),\n      lastName: attr('string'),\n      occupation: attr('string')\n    });\n    ```\n  \n    The JSON returned should look like this:\n  \n    ```js\n    {\n      \"people\": {\n        \"id\": 5,\n        \"firstName\": \"Zaphod\",\n        \"lastName\": \"Beeblebrox\",\n        \"occupation\": \"President\"\n      }\n    }\n    ```\n  \n    #### Relationships\n  \n    Relationships are usually represented by ids to the record in the\n    relationship. The related records can then be sideloaded in the\n    response under a key for the type.\n  \n    ```js\n    {\n      \"posts\": {\n        \"id\": 5,\n        \"title\": \"I'm Running to Reform the W3C\",\n        \"author\": \"Yehuda Katz\",\n        \"comments\": [1, 2]\n      },\n      \"comments\": [{\n        \"id\": 1,\n        \"author\": \"User 1\",\n        \"message\": \"First!\",\n      }, {\n        \"id\": 2,\n        \"author\": \"User 2\",\n        \"message\": \"Good Luck!\",\n      }]\n    }\n    ```\n  \n    If the records in the relationship are not known when the response\n    is serialized it's also possible to represent the relationship as a\n    URL using the `links` key in the response. Ember Data will fetch\n    this URL to resolve the relationship when it is accessed for the\n    first time.\n  \n    ```js\n    {\n      \"posts\": {\n        \"id\": 5,\n        \"title\": \"I'm Running to Reform the W3C\",\n        \"author\": \"Yehuda Katz\",\n        \"links\": {\n          \"comments\": \"/posts/5/comments\"\n        }\n      }\n    }\n    ```\n  \n    ### Errors\n  \n    If a response is considered a failure, the JSON payload is expected to include\n    a top-level key `errors`, detailing any specific issues. For example:\n  \n    ```js\n    {\n      \"errors\": {\n        \"msg\": \"Something went wrong\"\n      }\n    }\n    ```\n  \n    This adapter does not make any assumptions as to the format of the `errors`\n    object. It will simply be passed along as is, wrapped in an instance\n    of `InvalidError` or `AdapterError`. The serializer can interpret it\n    afterwards.\n  \n    ## Customization\n  \n    ### Endpoint path customization\n  \n    Endpoint paths can be prefixed with a `namespace` by setting the namespace\n    property on the adapter:\n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      namespace = 'api/1';\n    }\n    ```\n    Requests for the `Person` model would now target `/api/1/people/1`.\n  \n    ### Host customization\n  \n    An adapter can target other hosts by setting the `host` property.\n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      host = 'https://api.example.com';\n    }\n    ```\n  \n    ### Headers customization\n  \n    Some APIs require HTTP headers, e.g. to provide an API key. Arbitrary\n    headers can be set as key/value pairs on the `RESTAdapter`'s `headers`\n    object and Ember Data will send them along with each ajax request.\n  \n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n    import { computed } from '@ember/object';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      headers: computed(function() {\n        return {\n          'API_KEY': 'secret key',\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      }\n    }\n    ```\n  \n    `headers` can also be used as a computed property to support dynamic\n    headers. In the example below, the `session` object has been\n    injected into an adapter by Ember's container.\n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n    import { computed } from '@ember/object';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      headers: computed('session.authToken', function() {\n        return {\n          'API_KEY': this.session.authToken,\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      })\n    }\n    ```\n  \n    In some cases, your dynamic headers may require data from some\n    object outside of Ember's observer system (for example\n    `document.cookie`). You can use the\n    [volatile](/api/classes/Ember.ComputedProperty.html?anchor=volatile)\n    function to set the property into a non-cached mode causing the headers to\n    be recomputed with every request.\n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n    import { computed } from '@ember/object';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      headers: computed(function() {\n        return {\n          'API_KEY': document.cookie.match(/apiKey\\=([^;]*)/)['1'],\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      }).volatile()\n    }\n    ```\n  \n    @class RESTAdapter\n    @main @ember-data/adapter/rest\n    @public\n    @constructor\n    @extends Adapter\n    @uses BuildURLMixin\n  */\n  let RESTAdapter = _exports.default = (_dec = (0, _object.computed)(), _class = class RESTAdapter extends _index4RESM7Oz.A.extend(_buildUrlMixinAgfAmsW.B) {\n    constructor(...args) {\n      super(...args);\n      /**\n        This property allows ajax to still be used instead when `false`.\n         @property useFetch\n        @type {Boolean}\n        @default true\n        @public\n      */\n      this.useFetch = true;\n      this._defaultContentType = 'application/json; charset=utf-8';\n      // http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers\n      this.maxURLLength = 2048;\n    }\n    get fastboot() {\n      // Avoid computed property override deprecation in fastboot as suggested by:\n      // https://deprecations.emberjs.com/v3.x/#toc_computed-property-override\n      const fastboot = this._fastboot;\n      if (fastboot) {\n        return fastboot;\n      }\n      return this._fastboot = (0, _application.getOwner)(this).lookup('service:fastboot');\n    }\n    set fastboot(value) {\n      this._fastboot = value;\n    }\n\n    /**\n      By default, the RESTAdapter will send the query params sorted alphabetically to the\n      server.\n       For example:\n       ```js\n      store.query('posts', { sort: 'price', category: 'pets' });\n      ```\n       will generate a requests like this `/posts?category=pets&sort=price`, even if the\n      parameters were specified in a different order.\n       That way the generated URL will be deterministic and that simplifies caching mechanisms\n      in the backend.\n       Setting `sortQueryParams` to a falsey value will respect the original order.\n       In case you want to sort the query parameters with a different criteria, set\n      `sortQueryParams` to your custom sort function.\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n       export default class ApplicationAdapter extends RESTAdapter {\n        sortQueryParams(params) {\n          let sortedKeys = Object.keys(params).sort().reverse();\n          let len = sortedKeys.length, newParams = {};\n           for (let i = 0; i < len; i++) {\n            newParams[sortedKeys[i]] = params[sortedKeys[i]];\n          }\n           return newParams;\n        }\n      }\n      ```\n       @method sortQueryParams\n      @param {Object} obj\n      @return {Object}\n      @public\n    */\n    sortQueryParams(obj) {\n      const keys = Object.keys(obj);\n      const len = keys.length;\n      if (len < 2) {\n        return obj;\n      }\n      const newQueryParams = {};\n      const sortedKeys = keys.sort();\n      for (let i = 0; i < len; i++) {\n        newQueryParams[sortedKeys[i]] = obj[sortedKeys[i]];\n      }\n      return newQueryParams;\n    }\n\n    /**\n      By default the RESTAdapter will send each find request coming from a `store.find`\n      or from accessing a relationship separately to the server. If your server supports passing\n      ids as a query string, you can set coalesceFindRequests to true to coalesce all find requests\n      within a single runloop.\n       For example, if you have an initial payload of:\n       ```javascript\n      {\n        post: {\n          id: 1,\n          comments: [1, 2]\n        }\n      }\n      ```\n       By default calling `post.comments` will trigger the following requests(assuming the\n      comments haven't been loaded before):\n       ```\n      GET /comments/1\n      GET /comments/2\n      ```\n       If you set coalesceFindRequests to `true` it will instead trigger the following request:\n       ```\n      GET /comments?ids[]=1&ids[]=2\n      ```\n       Setting coalesceFindRequests to `true` also works for `store.find` requests and `belongsTo`\n      relationships accessed within the same runloop. If you set `coalesceFindRequests: true`\n       ```javascript\n      store.findRecord('comment', 1);\n      store.findRecord('comment', 2);\n      ```\n       will also send a request to: `GET /comments?ids[]=1&ids[]=2`\n       Note: Requests coalescing rely on URL building strategy. So if you override `buildURL` in your app\n      `groupRecordsForFindMany` more likely should be overridden as well in order for coalescing to work.\n       @property coalesceFindRequests\n      @public\n      @type {boolean}\n    */\n    get coalesceFindRequests() {\n      const coalesceFindRequests = this._coalesceFindRequests;\n      if (typeof coalesceFindRequests === 'boolean') {\n        return coalesceFindRequests;\n      }\n      return this._coalesceFindRequests = false;\n    }\n    set coalesceFindRequests(value) {\n      this._coalesceFindRequests = value;\n    }\n\n    /**\n      Endpoint paths can be prefixed with a `namespace` by setting the namespace\n      property on the adapter:\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n       export default class ApplicationAdapter extends RESTAdapter {\n        namespace = 'api/1';\n      }\n      ```\n       Requests for the `Post` model would now target `/api/1/post/`.\n       @property namespace\n      @public\n      @type {String}\n    */\n\n    /**\n      An adapter can target other hosts by setting the `host` property.\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n       export default class ApplicationAdapter extends RESTAdapter {\n        host = 'https://api.example.com';\n      }\n      ```\n       Requests for the `Post` model would now target `https://api.example.com/post/`.\n       @property host\n      @public\n      @type {String}\n    */\n\n    /**\n      Some APIs require HTTP headers, e.g. to provide an API\n      key. Arbitrary headers can be set as key/value pairs on the\n      `RESTAdapter`'s `headers` object and Ember Data will send them\n      along with each ajax request. For dynamic headers see [headers\n      customization](/ember-data/release/classes/RESTAdapter).\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n      import { computed } from '@ember/object';\n       export default class ApplicationAdapter extends RESTAdapter {\n        headers: computed(function() {\n          return {\n            'API_KEY': 'secret key',\n            'ANOTHER_HEADER': 'Some header value'\n          };\n        })\n      }\n      ```\n       @property headers\n      @public\n      @type {Object}\n     */\n\n    /**\n      Called by the store in order to fetch the JSON for a given\n      type and ID.\n       The `findRecord` method makes an Ajax request to a URL computed by\n      `buildURL`, and returns a promise for the resulting payload.\n       This method performs an HTTP `GET` request with the id provided as part of the query string.\n       @since 1.13.0\n      @method findRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {String} id\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n    */\n    findRecord(store, type, id, snapshot) {\n      const url = this.buildURL(type.modelName, id, snapshot, 'findRecord');\n      const query = this.buildQuery(snapshot);\n      return this.ajax(url, 'GET', {\n        data: query\n      });\n    }\n\n    /**\n      Called by the store in order to fetch a JSON array for all\n      of the records for a given type.\n       The `findAll` method makes an Ajax (HTTP GET) request to a URL computed by `buildURL`, and returns a\n      promise for the resulting payload.\n       @method findAll\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {undefined} neverSet a value is never provided to this argument\n      @param {SnapshotRecordArray} snapshotRecordArray\n      @return {Promise} promise\n    */\n    findAll(store, type, sinceToken, snapshotRecordArray) {\n      const query = this.buildQuery(snapshotRecordArray);\n      const url = this.buildURL(type.modelName, null, snapshotRecordArray, 'findAll');\n      if (sinceToken) {\n        query.since = sinceToken;\n      }\n      return this.ajax(url, 'GET', {\n        data: query\n      });\n    }\n\n    /**\n      Called by the store in order to fetch a JSON array for\n      the records that match a particular query.\n       The `query` method makes an Ajax (HTTP GET) request to a URL\n      computed by `buildURL`, and returns a promise for the resulting\n      payload.\n       The `query` argument is a simple JavaScript object that will be passed directly\n      to the server as parameters.\n       @method query\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Object} query\n      @param {Collection} recordArray\n      @param {Object} adapterOptions\n      @return {Promise} promise\n    */\n    query(store, type, query) {\n      const url = this.buildURL(type.modelName, null, null, 'query', query);\n      if (this.sortQueryParams) {\n        query = this.sortQueryParams(query);\n      }\n      return this.ajax(url, 'GET', {\n        data: query\n      });\n    }\n\n    /**\n      Called by the store in order to fetch a JSON object for\n      the record that matches a particular query.\n       The `queryRecord` method makes an Ajax (HTTP GET) request to a URL\n      computed by `buildURL`, and returns a promise for the resulting\n      payload.\n       The `query` argument is a simple JavaScript object that will be passed directly\n      to the server as parameters.\n       @since 1.13.0\n      @method queryRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Object} query\n      @param {Object} adapterOptions\n      @return {Promise} promise\n    */\n    queryRecord(store, type, query, adapterOptions) {\n      const url = this.buildURL(type.modelName, null, null, 'queryRecord', query);\n      if (this.sortQueryParams) {\n        query = this.sortQueryParams(query);\n      }\n      return this.ajax(url, 'GET', {\n        data: query\n      });\n    }\n\n    /**\n      Called by the store in order to fetch several records together if `coalesceFindRequests` is true\n       For example, if the original payload looks like:\n       ```js\n      {\n        \"id\": 1,\n        \"title\": \"Rails is omakase\",\n        \"comments\": [ 1, 2, 3 ]\n      }\n      ```\n       The IDs will be passed as a URL-encoded Array of IDs, in this form:\n       ```\n      ids[]=1&ids[]=2&ids[]=3\n      ```\n       Many servers, such as Rails and PHP, will automatically convert this URL-encoded array\n      into an Array for you on the server-side. If you want to encode the\n      IDs, differently, just override this (one-line) method.\n       The `findMany` method makes an Ajax (HTTP GET) request to a URL computed by `buildURL`, and returns a\n      promise for the resulting payload.\n       @method findMany\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Array} ids\n      @param {Array} snapshots\n      @return {Promise} promise\n    */\n    findMany(store, type, ids, snapshots) {\n      const url = this.buildURL(type.modelName, ids, snapshots, 'findMany');\n      return this.ajax(url, 'GET', {\n        data: {\n          ids: ids\n        }\n      });\n    }\n\n    /**\n      Called by the store in order to fetch a JSON array for\n      the unloaded records in a has-many relationship that were originally\n      specified as a URL (inside of `links`).\n       For example, if your original payload looks like this:\n       ```js\n      {\n        \"post\": {\n          \"id\": 1,\n          \"title\": \"Rails is omakase\",\n          \"links\": { \"comments\": \"/posts/1/comments\" }\n        }\n      }\n      ```\n       This method will be called with the parent record and `/posts/1/comments`.\n       The `findHasMany` method will make an Ajax (HTTP GET) request to the originally specified URL.\n       The format of your `links` value will influence the final request URL via the `urlPrefix` method:\n       * Links beginning with `//`, `http://`, `https://`, will be used as is, with no further manipulation.\n       * Links beginning with a single `/` will have the current adapter's `host` value prepended to it.\n       * Links with no beginning `/` will have a parentURL prepended to it, via the current adapter's `buildURL`.\n       @method findHasMany\n      @public\n      @param {Store} store\n      @param {Snapshot} snapshot\n      @param {String} url\n      @param {Object} relationship meta object describing the relationship\n      @return {Promise} promise\n    */\n    findHasMany(store, snapshot, url, relationship) {\n      const id = snapshot.id;\n      const type = snapshot.modelName;\n      (true && !(typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Attempted to fetch the hasMany relationship for ${type}, but the record has no id`, typeof id === 'string' && id.length > 0));\n      url = this.urlPrefix(url, this.buildURL(type, id, snapshot, 'findHasMany'));\n      return this.ajax(url, 'GET');\n    }\n\n    /**\n      Called by the store in order to fetch the JSON for the unloaded record in a\n      belongs-to relationship that was originally specified as a URL (inside of\n      `links`).\n       For example, if your original payload looks like this:\n       ```js\n      {\n        \"person\": {\n          \"id\": 1,\n          \"name\": \"Tom Dale\",\n          \"links\": { \"group\": \"/people/1/group\" }\n        }\n      }\n      ```\n       This method will be called with the parent record and `/people/1/group`.\n       The `findBelongsTo` method will make an Ajax (HTTP GET) request to the originally specified URL.\n       The format of your `links` value will influence the final request URL via the `urlPrefix` method:\n       * Links beginning with `//`, `http://`, `https://`, will be used as is, with no further manipulation.\n       * Links beginning with a single `/` will have the current adapter's `host` value prepended to it.\n       * Links with no beginning `/` will have a parentURL prepended to it, via the current adapter's `buildURL`.\n       @method findBelongsTo\n      @public\n      @param {Store} store\n      @param {Snapshot} snapshot\n      @param {String} url\n      @param {Object} relationship meta object describing the relationship\n      @return {Promise} promise\n    */\n    findBelongsTo(store, snapshot, url, relationship) {\n      const id = snapshot.id;\n      const type = snapshot.modelName;\n      (true && !(typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Attempted to fetch the belongsTo relationship for ${type}, but the record has no id`, typeof id === 'string' && id.length > 0));\n      url = this.urlPrefix(url, this.buildURL(type, id, snapshot, 'findBelongsTo'));\n      return this.ajax(url, 'GET');\n    }\n\n    /**\n      Called by the store when a newly created record is\n      saved via the `save` method on a model record instance.\n       The `createRecord` method serializes the record and makes an Ajax (HTTP POST) request\n      to a URL computed by `buildURL`.\n       See `serialize` for information on how to customize the serialized form\n      of a record.\n       @method createRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n    */\n    createRecord(store, type, snapshot) {\n      const url = this.buildURL(type.modelName, null, snapshot, 'createRecord');\n      const data = (0, _serializeIntoHash2lQbHRKN.b)(store, type, snapshot);\n      return this.ajax(url, 'POST', {\n        data\n      });\n    }\n\n    /**\n      Called by the store when an existing record is saved\n      via the `save` method on a model record instance.\n       The `updateRecord` method serializes the record and makes an Ajax (HTTP PUT) request\n      to a URL computed by `buildURL`.\n       See `serialize` for information on how to customize the serialized form\n      of a record.\n       @method updateRecord\n      @public\n      @param {Store} store\n      @param {Model} schema\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n    */\n    updateRecord(store, schema, snapshot) {\n      const data = (0, _serializeIntoHash2lQbHRKN.b)(store, schema, snapshot, {});\n      const type = snapshot.modelName;\n      const id = snapshot.id;\n      (true && !(typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Attempted to update the ${type} record, but the record has no id`, typeof id === 'string' && id.length > 0));\n      const url = this.buildURL(type, id, snapshot, 'updateRecord');\n      return this.ajax(url, 'PUT', {\n        data\n      });\n    }\n\n    /**\n      Called by the store when a record is deleted.\n       The `deleteRecord` method  makes an Ajax (HTTP DELETE) request to a URL computed by `buildURL`.\n       @method deleteRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n    */\n    deleteRecord(store, schema, snapshot) {\n      const type = snapshot.modelName;\n      const id = snapshot.id;\n      (true && !(typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Attempted to delete the ${type} record, but the record has no id`, typeof id === 'string' && id.length > 0));\n      return this.ajax(this.buildURL(type, id, snapshot, 'deleteRecord'), 'DELETE');\n    }\n    _stripIDFromURL(store, snapshot) {\n      const type = snapshot.modelName;\n      const id = snapshot.id;\n      (true && !(typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Attempted to strip the url from the ${type} record for coalescing, but the record has no id`, typeof id === 'string' && id.length > 0));\n      const url = this.buildURL(type, id, snapshot);\n      const expandedURL = url.split('/');\n      // Case when the url is of the format ...something/:id\n      // We are decodeURIComponent-ing the lastSegment because if it represents\n      // the id, it has been encodeURIComponent-ified within `buildURL`. If we\n      // don't do this, then records with id having special characters are not\n      // coalesced correctly (see GH #4190 for the reported bug)\n      const lastSegment = expandedURL[expandedURL.length - 1];\n      if (decodeURIComponent(lastSegment) === id) {\n        expandedURL[expandedURL.length - 1] = '';\n      } else if (id && endsWith(lastSegment, '?id=' + id)) {\n        //Case when the url is of the format ...something?id=:id\n        expandedURL[expandedURL.length - 1] = lastSegment.substring(0, lastSegment.length - id.length - 1);\n      }\n      return expandedURL.join('/');\n    }\n    /**\n      Organize records into groups, each of which is to be passed to separate\n      calls to `findMany`.\n       This implementation groups together records that have the same base URL but\n      differing ids. For example `/comments/1` and `/comments/2` will be grouped together\n      because we know findMany can coalesce them together as `/comments?ids[]=1&ids[]=2`\n       It also supports urls where ids are passed as a query param, such as `/comments?id=1`\n      but not those where there is more than 1 query param such as `/comments?id=2&name=David`\n      Currently only the query param of `id` is supported. If you need to support others, please\n      override this or the `_stripIDFromURL` method.\n       It does not group records that have differing base urls, such as for example: `/posts/1/comments/2`\n      and `/posts/2/comments/3`\n       @method groupRecordsForFindMany\n      @public\n      @param {Store} store\n      @param {Array} snapshots\n      @return {Array}  an array of arrays of records, each of which is to be\n                        loaded separately by `findMany`.\n    */\n    groupRecordsForFindMany(store, snapshots) {\n      const groups = new Map();\n      const maxURLLength = this.maxURLLength;\n      snapshots.forEach(snapshot => {\n        const baseUrl = this._stripIDFromURL(store, snapshot);\n        if (!groups.has(baseUrl)) {\n          groups.set(baseUrl, []);\n        }\n        groups.get(baseUrl).push(snapshot);\n      });\n      const groupsArray = [];\n      groups.forEach((group, key) => {\n        const paramNameLength = '&ids%5B%5D='.length;\n        const splitGroups = splitGroupToFitInUrl(store, this, group, maxURLLength, paramNameLength);\n        splitGroups.forEach(splitGroup => groupsArray.push(splitGroup));\n      });\n      return groupsArray;\n    }\n\n    /**\n      Takes an ajax response, and returns the json payload or an error.\n       By default this hook just returns the json payload passed to it.\n      You might want to override it in two cases:\n       1. Your API might return useful results in the response headers.\n      Response headers are passed in as the second argument.\n       2. Your API might return errors as successful responses with status code\n      200 and an Errors text or object. You can return a `InvalidError` or a\n      `AdapterError` (or a sub class) from this hook and it will automatically\n      reject the promise and put your record into the invalid or error state.\n       Returning a `InvalidError` from this method will cause the\n      record to transition into the `invalid` state and make the\n      `errors` object available on the record. When returning an\n      `InvalidError` the store will attempt to normalize the error data\n      returned from the server using the serializer's `extractErrors`\n      method.\n       @since 1.13.0\n      @method handleResponse\n      @public\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @param  {Object} requestData - the original request information\n      @return {Object | AdapterError} response\n    */\n    handleResponse(status, headers, payload, requestData) {\n      if (this.isSuccess(status, headers, payload)) {\n        return payload;\n      } else if (this.isInvalid(status, headers, payload)) {\n        return new _error.InvalidError(typeof payload === 'object' && 'errors' in payload ? payload.errors : undefined);\n      }\n      const errors = this.normalizeErrorResponse(status, headers, payload);\n      const detailedMessage = this.generatedDetailedMessage(status, headers, payload, requestData);\n      switch (status) {\n        case 401:\n          return new _error.UnauthorizedError(errors, detailedMessage);\n        case 403:\n          return new _error.ForbiddenError(errors, detailedMessage);\n        case 404:\n          return new _error.NotFoundError(errors, detailedMessage);\n        case 409:\n          return new _error.ConflictError(errors, detailedMessage);\n        default:\n          if (status >= 500) {\n            return new _error.ServerError(errors, detailedMessage);\n          }\n      }\n      return new _error.default(errors, detailedMessage);\n    }\n\n    /**\n      Default `handleResponse` implementation uses this hook to decide if the\n      response is a success.\n       @since 1.13.0\n      @method isSuccess\n      @public\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Boolean}\n    */\n    isSuccess(status, _headers, _payload) {\n      return status >= 200 && status < 300 || status === 304;\n    }\n\n    /**\n      Default `handleResponse` implementation uses this hook to decide if the\n      response is an invalid error.\n       @since 1.13.0\n      @method isInvalid\n      @public\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Boolean}\n    */\n    isInvalid(status, _headers, _payload) {\n      return status === 422;\n    }\n\n    /**\n      Takes a URL, an HTTP method and a hash of data, and makes an\n      HTTP request.\n       When the server responds with a payload, Ember Data will call into `extractSingle`\n      or `extractArray` (depending on whether the original query was for one record or\n      many records).\n       By default, `ajax` method has the following behavior:\n       * It sets the response `dataType` to `\"json\"`\n      * If the HTTP method is not `\"GET\"`, it sets the `Content-Type` to be\n        `application/json; charset=utf-8`\n      * If the HTTP method is not `\"GET\"`, it stringifies the data passed in. The\n        data is the serialized record in the case of a save.\n      * Registers success and failure handlers.\n       @method ajax\n      @private\n      @param {String} url\n      @param {String} type The request type GET, POST, PUT, DELETE etc.\n      @param {Object} options\n      @return {Promise} promise\n    */\n    async ajax(url, type, options = {}) {\n      const requestData = {\n        url: url,\n        method: type\n      };\n      if (this.useFetch) {\n        // @ts-expect-error poorly typed\n        const hash = this.ajaxOptions(url, type, options);\n        const response = await this._fetchRequest(hash);\n        const payload = await (0, _serializeIntoHash2lQbHRKN.d)(response, requestData);\n        if (response.ok && !(payload instanceof Error)) {\n          return fetchSuccessHandler(this, payload, response, requestData);\n        } else {\n          // eslint-disable-next-line @typescript-eslint/no-throw-literal\n          throw fetchErrorHandler(this, payload, response, null, requestData);\n        }\n      } else {\n        return execjQAjax(this, requestData, options);\n      }\n    }\n\n    /**\n      @method _ajaxRequest\n      @private\n      @param {Object} options jQuery ajax options to be used for the ajax request\n    */\n    _ajaxRequest(options) {\n      (true && !(typeof jQuery !== 'undefined') && (0, _debug.assert)('You must install jQuery globally when `useFetch` is false', typeof jQuery !== 'undefined'));\n      void jQuery.ajax(options);\n    }\n    _fetchRequest(options) {\n      const fetchFunction = (0, _serializeIntoHash2lQbHRKN.g)();\n      return fetchFunction(options.url, options);\n    }\n    _ajax(options) {\n      if (this.useFetch) {\n        void this._fetchRequest(options);\n      } else {\n        this._ajaxRequest(options);\n      }\n    }\n\n    /**\n      @method ajaxOptions\n      @private\n      @param {String} url\n      @param {String} type The request type GET, POST, PUT, DELETE etc.\n      @param {Object} options\n      @return {Object}\n    */\n    ajaxOptions(url, method, options) {\n      let reqOptions = Object.assign({\n        url,\n        method,\n        type: method\n      }, options);\n      if (this.headers !== undefined) {\n        // @ts-expect-error poorly typed\n        reqOptions.headers = {\n          ...this.headers,\n          ...reqOptions.headers\n        };\n      } else if (!options.headers) {\n        reqOptions.headers = {};\n      }\n\n      // @ts-expect-error poorly typed\n      const contentType = reqOptions.contentType || this._defaultContentType;\n      if (this.useFetch) {\n        // @ts-expect-error poorly typed\n        if (reqOptions.data && reqOptions.type !== 'GET' && reqOptions.headers) {\n          if (!reqOptions.headers['Content-Type'] && !reqOptions.headers['content-type']) {\n            reqOptions.headers['content-type'] = contentType;\n          }\n        }\n        // @ts-expect-error poorly typed\n        reqOptions = fetchOptions(reqOptions);\n      } else {\n        // GET requests without a body should not have a content-type header\n        // and may be unexpected by a server\n        // @ts-expect-error poorly typed\n        if (reqOptions.data && reqOptions.type !== 'GET') {\n          // @ts-expect-error poorly typed\n          reqOptions = {\n            ...reqOptions,\n            contentType\n          };\n        }\n        // @ts-expect-error poorly typed\n        reqOptions = ajaxOptions(reqOptions, this);\n      }\n      reqOptions.url = this._ajaxURL(reqOptions.url);\n      return reqOptions;\n    }\n    _ajaxURL(url) {\n      if (this.fastboot?.isFastBoot) {\n        const httpRegex = /^https?:\\/\\//;\n        const protocolRelativeRegex = /^\\/\\//;\n        const protocol = this.fastboot.request.protocol;\n        const host = this.fastboot.request.host;\n        if (protocolRelativeRegex.test(url)) {\n          return `${protocol}${url}`;\n        } else if (!httpRegex.test(url)) {\n          try {\n            return `${protocol}//${host}${url}`;\n          } catch (fbError) {\n            throw new Error('You are using Ember Data with no host defined in your adapter. This will attempt to use the host of the FastBoot request, which is not configured for the current host of this request. Please set the hostWhitelist property for in your environment.js. FastBoot Error: ' + fbError.message);\n          }\n        }\n      }\n      return url;\n    }\n\n    /**\n      @method parseErrorResponse\n      @private\n      @param {String} responseText\n      @return {Object}\n    */\n    parseErrorResponse(responseText) {\n      let json = responseText;\n      try {\n        json = JSON.parse(responseText);\n      } catch (e) {\n        // ignored\n      }\n      return json;\n    }\n\n    /**\n      @method normalizeErrorResponse\n      @private\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Array} errors payload\n    */\n    normalizeErrorResponse(status, _headers, payload) {\n      if (payload && typeof payload === 'object' && 'errors' in payload && Array.isArray(payload.errors)) {\n        return payload.errors;\n      } else {\n        return [{\n          status: `${status}`,\n          // Set to a string per the JSON API spec: https://jsonapi.org/format/#errors\n          title: 'The backend responded with an error',\n          // Detail is intended to be a string, but backends be non-compliant.\n          // stringifying gives the user a more friendly error in this situation, whereas\n          // they'd instead receive [object Object].\n          // JSON.stringify will convert *anything* to a string without erroring.\n          detail: typeof payload === 'string' ? payload : JSON.stringify(payload)\n        }];\n      }\n    }\n\n    /**\n      Generates a detailed (\"friendly\") error message, with plenty\n      of information for debugging (good luck!)\n       @method generatedDetailedMessage\n      @private\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @param  {Object} requestData\n      @return {String} detailed error message\n    */\n    generatedDetailedMessage(status, headers, payload, requestData) {\n      let shortenedPayload;\n      const payloadContentType = headers['content-type'] || 'Empty Content-Type';\n      if (payloadContentType === 'text/html' && typeof payload === 'string' && payload.length > 250) {\n        shortenedPayload = '[Omitted Lengthy HTML]';\n      } else if (typeof payload === 'object' && payload !== null) {\n        shortenedPayload = JSON.stringify(payload, null, 2);\n      } else {\n        shortenedPayload = payload;\n      }\n      const requestDescription = requestData.method + ' ' + requestData.url;\n      const payloadDescription = 'Payload (' + payloadContentType + ')';\n      return ['Ember Data Request ' + requestDescription + ' returned a ' + status, payloadDescription, shortenedPayload].join('\\n');\n    }\n\n    /**\n      Used by `findAll` and `findRecord` to build the query's `data` hash\n      supplied to the ajax method.\n       @method buildQuery\n      @since 2.5.0\n      @public\n      @param  {Snapshot} snapshot\n      @return {Object}\n    */\n    buildQuery(snapshot) {\n      const query = {};\n      if (snapshot) {\n        const {\n          include\n        } = snapshot;\n        if (include) {\n          query.include = include;\n        }\n      }\n      return query;\n    }\n  }, (0, _index4RESM7Oz._)(_class.prototype, \"fastboot\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"fastboot\"), _class.prototype), _class);\n  function ajaxSuccess(adapter, payload, requestData, responseData) {\n    let response;\n    try {\n      response = adapter.handleResponse(responseData.status, responseData.headers, payload, requestData);\n    } catch (error) {\n      return Promise.reject(error);\n    }\n    if (response && response.isAdapterError) {\n      return Promise.reject(response);\n    } else {\n      return response;\n    }\n  }\n  function ajaxError(adapter, payload, requestData, responseData) {\n    let error;\n    if (responseData.errorThrown instanceof Error && payload !== '') {\n      error = responseData.errorThrown;\n    } else if (responseData.textStatus === 'timeout') {\n      error = new _error.TimeoutError();\n    } else if (responseData.textStatus === 'abort' || responseData.status === 0) {\n      error = handleAbort(requestData, responseData);\n    } else {\n      try {\n        error = adapter.handleResponse(responseData.status, responseData.headers, payload || responseData.errorThrown, requestData);\n      } catch (e) {\n        error = e;\n      }\n    }\n    return error;\n  }\n\n  // Adapter abort error to include any relevent info, e.g. request/response:\n  function handleAbort(requestData, responseData) {\n    const {\n      method,\n      url,\n      errorThrown\n    } = requestData;\n    const {\n      status\n    } = responseData;\n    const msg = `Request failed: ${method} ${url} ${String(errorThrown ?? '')}`;\n    const errors = [{\n      title: 'Adapter Error',\n      detail: msg.trim(),\n      status\n    }];\n    return new _error.AbortError(errors);\n  }\n\n  //From http://stackoverflow.com/questions/280634/endswith-in-javascript\n  function endsWith(string, suffix) {\n    if (typeof String.prototype.endsWith !== 'function') {\n      return string.includes(suffix, string.length - suffix.length);\n    } else {\n      return string.endsWith(suffix);\n    }\n  }\n  function fetchSuccessHandler(adapter, payload, response, requestData) {\n    const responseData = fetchResponseData(response);\n    return ajaxSuccess(adapter, payload, requestData, responseData);\n  }\n  function fetchErrorHandler(adapter, payload, response, errorThrown, requestData) {\n    const responseData = fetchResponseData(response);\n    if (responseData.status === 200 && payload instanceof Error) {\n      responseData.errorThrown = payload;\n      // @ts-expect-error poorly typed\n      payload = responseData.errorThrown.payload;\n    } else {\n      responseData.errorThrown = errorThrown;\n      if (typeof payload === 'string') {\n        payload = adapter.parseErrorResponse(payload);\n      }\n    }\n    return ajaxError(adapter, payload, requestData, responseData);\n  }\n  function ajaxSuccessHandler(adapter, payload, jqXHR, requestData) {\n    const responseData = ajaxResponseData(jqXHR);\n    return ajaxSuccess(adapter, payload, requestData, responseData);\n  }\n  function ajaxErrorHandler(adapter, jqXHR, errorThrown, requestData) {\n    const responseData = ajaxResponseData(jqXHR);\n    responseData.errorThrown = errorThrown;\n    const payload = adapter.parseErrorResponse(jqXHR.responseText);\n    {\n      const message = `The server returned an empty string for ${requestData.method} ${requestData.url}, which cannot be parsed into a valid JSON. Return either null or {}.`;\n      const validJSONString = !(responseData.textStatus === 'parsererror' && payload === '');\n      (true && (0, _debug.warn)(message, validJSONString, {\n        id: 'ds.adapter.returned-empty-string-as-JSON'\n      }));\n    }\n    return ajaxError(adapter, payload, requestData, responseData);\n  }\n  function fetchResponseData(response) {\n    return {\n      status: response.status,\n      textStatus: response.statusText,\n      headers: headersToObject(response.headers)\n    };\n  }\n  function ajaxResponseData(jqXHR) {\n    return {\n      status: jqXHR.status,\n      textStatus: jqXHR.statusText,\n      headers: (0, _serializeIntoHash2lQbHRKN.p)(jqXHR.getAllResponseHeaders())\n    };\n  }\n  function headersToObject(headers) {\n    const headersObject = {};\n    if (headers) {\n      headers.forEach((value, key) => headersObject[key] = value);\n    }\n    return headersObject;\n  }\n\n  /**\n   * Helper function that translates the options passed to `jQuery.ajax` into a format that `fetch` expects.\n   *\n   * @method fetchOptions\n   * @for @ember-data/adapter/rest\n   * @param {Object} _options\n   * @param {Adapter} adapter\n   * @private\n   * @return {Object}\n   */\n  function fetchOptions(options, adapter) {\n    options.credentials = options.credentials || 'same-origin';\n    if (options.data) {\n      // GET and HEAD requests can't have a `body`\n      if (options.method === 'GET' || options.method === 'HEAD') {\n        // If no options are passed, Ember Data sets `data` to an empty object, which we test for.\n        if (Object.keys(options.data).length && options.url) {\n          // Test if there are already query params in the url (mimics jQuey.ajax).\n          const queryParamDelimiter = options.url.includes('?') ? '&' : '?';\n          options.url += `${queryParamDelimiter}${(0, _serializeIntoHash2lQbHRKN.s)(options.data)}`;\n        }\n      } else {\n        // NOTE: a request's body cannot be an object, 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\n        /* We check for Objects this way because we want the logic inside the consequent to run\n         * if `options.data` is a POJO, not if it is a data structure whose `typeof` returns \"object\"\n         * when it's not (Array, FormData, etc). The reason we don't use `options.data.constructor`\n         * to check is in case `data` is an object with no prototype (e.g. created with null).\n         */\n        if (Object.prototype.toString.call(options.data) === '[object Object]') {\n          options.body = JSON.stringify(options.data);\n        } else {\n          // @ts-expect-error poorly typed\n          options.body = options.data;\n        }\n      }\n    }\n    return options;\n  }\n  function ajaxOptions(options, adapter) {\n    options.dataType = 'json';\n    options.context = adapter;\n    if (options.data && options.type !== 'GET') {\n      options.data = JSON.stringify(options.data);\n    }\n    options.beforeSend = function (xhr) {\n      if (options.headers) {\n        Object.keys(options.headers).forEach(key => {\n          const headerValue = options.headers && options.headers[key];\n          const isString = value => typeof value === 'string';\n          if (isString(headerValue)) {\n            xhr.setRequestHeader(key, headerValue);\n          }\n        });\n      }\n    };\n    return options;\n  }\n  function execjQAjax(adapter, requestData, options) {\n    const hash = adapter.ajaxOptions(requestData.url, requestData.method, options);\n    return new Promise((resolve, reject) => {\n      hash.success = function (payload, textStatus, jqXHR) {\n        const response = ajaxSuccessHandler(adapter, payload, jqXHR, requestData);\n        resolve(response);\n      };\n      hash.error = function (jqXHR, textStatus, errorThrown) {\n        const error = ajaxErrorHandler(adapter, jqXHR, errorThrown, requestData);\n        reject(error);\n      };\n      adapter._ajax(hash);\n    });\n  }\n  function splitGroupToFitInUrl(store, adapter, group, maxURLLength, paramNameLength) {\n    let idsSize = 0;\n    const baseUrl = adapter._stripIDFromURL(store, group[0]);\n    const splitGroups = [[]];\n    group.forEach(snapshot => {\n      const additionalLength = encodeURIComponent(snapshot.id).length + paramNameLength;\n      if (baseUrl.length + idsSize + additionalLength >= maxURLLength) {\n        idsSize = 0;\n        splitGroups.push([]);\n      }\n      idsSize += additionalLength;\n      const lastGroupIndex = splitGroups.length - 1;\n      splitGroups[lastGroupIndex].push(snapshot);\n    });\n    return splitGroups;\n  }\n});","define(\"@ember-data/adapter/serialize-into-hash-2lQbHRKN\", [\"exports\", \"@ember/debug\", \"@ember-data/legacy-compat/-private\"], function (_exports, _debug, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.a = setupFastboot;\n  _exports.b = serializeIntoHash;\n  _exports.d = determineBodyPromise;\n  _exports.g = getFetchFunction;\n  _exports.p = parseResponseHeaders;\n  _exports.s = serializeQueryParams;\n  const newline = /\\r?\\n/;\n  function parseResponseHeaders(headersString) {\n    const headers = Object.create(null);\n    if (!headersString) {\n      return headers;\n    }\n    const headerPairs = headersString.split(newline);\n    for (let i = 0; i < headerPairs.length; i++) {\n      const header = headerPairs[i];\n      let j = 0;\n      let foundSep = false;\n      for (; j < header.length; j++) {\n        if (header.charCodeAt(j) === 58 /* ':' */) {\n          foundSep = true;\n          break;\n        }\n      }\n      if (foundSep === false) {\n        continue;\n      }\n      const field = header.substring(0, j).trim();\n      const value = header.substring(j + 1, header.length).trim();\n      if (value) {\n        const lowerCasedField = field.toLowerCase();\n        headers[lowerCasedField] = value;\n        headers[field] = value;\n      }\n    }\n    return headers;\n  }\n\n  /**\n   * A utility function that returns a promise that resolves\n   * even when the source promise rejects.\n   *\n   * @internal\n   */\n  function continueOnReject(promise) {\n    return Promise.resolve(promise).catch(e => e);\n  }\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 _determineContent(response, requestData, payload) {\n    let ret = payload;\n    let error = null;\n    if (!response.ok) {\n      return payload;\n    }\n    const status = response.status;\n    const payloadIsEmpty = payload === '' || payload === null;\n    const statusIndicatesEmptyResponse = status === 204 || status === 205 || requestData.method === 'HEAD';\n    {\n      if (payloadIsEmpty && !statusIndicatesEmptyResponse) {\n        const message = `The server returned an empty string for ${requestData.method} ${requestData.url}, which cannot be parsed into a valid JSON. Return either null or {}.`;\n        if (payload === '') {\n          (true && (0, _debug.warn)(message, {\n            id: 'ds.adapter.returned-empty-string-as-JSON'\n          }));\n        }\n      }\n    }\n    if (response.ok && (statusIndicatesEmptyResponse || payloadIsEmpty)) {\n      return;\n    }\n    try {\n      ret = JSON.parse(payload);\n    } catch (e) {\n      if (!(e instanceof SyntaxError)) {\n        return e;\n      }\n      e.payload = payload;\n      error = e;\n    }\n    if (error) {\n      {\n        // eslint-disable-next-line no-console\n        console.warn('This response was unable to be parsed as json.', payload);\n      }\n      return error;\n    }\n    return ret;\n  }\n  function determineBodyPromise(response, requestData) {\n    // response.text() may resolve or reject\n    // it is a native promise, may not have finally\n    return continueOnReject(response.text()).then(payload => _determineContent(response, requestData, payload));\n  }\n  const RBRACKET = /\\[\\]$/;\n  function isPlainObject(obj) {\n    return Object.prototype.toString.call(obj) === '[object Object]';\n  }\n  function isPrimitiveArray(obj) {\n    return Array.isArray(obj);\n  }\n  function isParamsArray(obj) {\n    return Array.isArray(obj);\n  }\n  function buildParams(prefix, obj, s) {\n    let i, len, key;\n    if (prefix) {\n      if (isPrimitiveArray(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' && obj[i] !== null ? i : '') + ']', obj[i], s);\n          }\n        }\n      } else if (isPlainObject(obj)) {\n        for (key in obj) {\n          buildParams(prefix + '[' + key + ']', obj[key], s);\n        }\n      } else {\n        (true && !(obj === null || typeof obj !== 'object') && (0, _debug.assert)(`query params cannot be a { name, value } pair if prefix is present`, obj === null || typeof obj !== 'object'));\n        add(s, prefix, obj);\n      }\n    } else if (isParamsArray(obj)) {\n      for (i = 0, len = obj.length; i < len; i++) {\n        add(s, obj[i].name, obj[i].value);\n      }\n    } else {\n      (true && !(typeof obj !== 'string') && (0, _debug.assert)(`query params cannot be a string if no prefix is present`, typeof obj !== 'string'));\n      (true && !(!Array.isArray(obj)) && (0, _debug.assert)(`query params should not be an array if no prefix is present`, !Array.isArray(obj)));\n      (true && !(isPlainObject(obj)) && (0, _debug.assert)(`query params should not be a { name, value } pair if no prefix is present`, isPlainObject(obj)));\n      for (key in obj) {\n        buildParams(key, obj[key], s);\n      }\n    }\n    return s;\n  }\n\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  function serializeQueryParams(queryParamsObject) {\n    return buildParams('', queryParamsObject, []).join('&');\n  }\n\n  /*\n   * Part of the `serializeQueryParams` helper function.\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    v = typeof v === 'function' ? v() : v;\n    s[s.length] = `${encodeURIComponent(k)}=${encodeURIComponent(v)}`;\n  }\n  let _fetch = null;\n  let REQUEST = null;\n  function getFetchFunction() {\n    // return cached fetch function\n    if (_fetch !== null) {\n      return _fetch();\n    }\n\n    // grab browser native fetch if available, or global fetch if otherwise configured\n    if (typeof fetch === 'function') {\n      // fallback to using global fetch\n      _fetch = () => fetch;\n\n      /* global FastBoot */\n      // grab fetch from node-fetch\n    } else if (typeof FastBoot !== 'undefined') {\n      try {\n        const nodeFetch = FastBoot.require('node-fetch');\n        const httpRegex = /^https?:\\/\\//;\n        const protocolRelativeRegex = /^\\/\\//;\n\n        // eslint-disable-next-line no-inner-declarations\n        function parseRequest(request) {\n          if (request === null) {\n            throw new Error(\"Trying to fetch with relative url but the application hasn't finished loading FastBootInfo, see details at https://github.com/ember-cli/ember-fetch#relative-url\");\n          }\n          // Old Prember version is not sending protocol\n          const protocol = request.protocol === 'undefined:' ? 'http:' : request.protocol;\n          return [request.get('host'), protocol];\n        }\n\n        // eslint-disable-next-line no-inner-declarations\n        function buildAbsoluteUrl(url) {\n          if (protocolRelativeRegex.test(url)) {\n            const [host] = parseRequest(REQUEST);\n            url = host + url;\n          } else if (!httpRegex.test(url)) {\n            const [host, protocol] = parseRequest(REQUEST);\n            url = protocol + '//' + host + url;\n          }\n          return url;\n        }\n\n        // eslint-disable-next-line no-inner-declarations\n        function patchedFetch(input, options) {\n          if (input && typeof input === 'object' && 'href' in input) {\n            const url = buildAbsoluteUrl(input.href);\n            const info = Object.assign({}, input, {\n              url\n            });\n            return nodeFetch(info, options);\n          } else if (typeof input === 'string') {\n            const url = buildAbsoluteUrl(input);\n            return nodeFetch(url, options);\n          }\n          return nodeFetch(input, options);\n        }\n        _fetch = () => patchedFetch;\n      } catch (e) {\n        throw new Error(`Unable to create a compatible 'fetch' for FastBoot with node-fetch`);\n      }\n    }\n    (true && !(_fetch) && (0, _debug.assert)(`Cannot find a 'fetch' global and did not detect FastBoot.`, _fetch));\n    return _fetch();\n  }\n  function setupFastboot(fastBootRequest) {\n    REQUEST = fastBootRequest;\n  }\n  function serializeIntoHash(store, modelClass, snapshot, options = {\n    includeId: true\n  }) {\n    (0, _private.upgradeStore)(store);\n    const serializer = store.serializerFor(modelClass.modelName);\n    (true && !(serializer) && (0, _debug.assert)(`Cannot serialize record, no serializer defined`, serializer));\n    if (typeof serializer.serializeIntoHash === 'function') {\n      const data = {};\n      serializer.serializeIntoHash(data, modelClass, snapshot, options);\n      return data;\n    }\n    return serializer.serialize(snapshot, options);\n  }\n});","define(\"@ember-data/debug/index\", [\"exports\", \"@ember/array\", \"@ember/debug\", \"@ember/debug/data-adapter\", \"@ember/object/observers\", \"@ember/service\", \"@ember/string\"], function (_exports, _array, _debug, _dataAdapter, _observers, _service, _string) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class2, _descriptor;\n  /**\n    # Overview\n  \n    This package provides the `DataAdapter` which the [Ember Inspector](https://github.com/emberjs/ember-inspector)\n    uses to subscribe and retrieve information for the `data` tab in the inspector.\n  \n    This package adds roughly .6 KB when minified and compressed to your application in production; however,\n    you can opt out of shipping this addon in production via options in `ember-cli-build.js`\n  \n    ```js\n    let app = new EmberApp(defaults, {\n      emberData: {\n        includeDataAdapterInProduction: false\n      }\n    });\n    ```\n  \n    When using `ember-data` as a dependency of your app, the default is to ship the inspector support to production.\n  \n    When not using `ember-data` as a dependency but instead using EmberData via declaring specific `@ember-data/<package>`\n    dependencies the default is to not ship to production.\n  \n    @module @ember-data/debug\n    @main @ember-data/debug\n  */\n  0; //eaimeta@70e063a35619d71f0,\"@ember/array\",0,\"@ember/debug\",0,\"@ember/debug/data-adapter\",0,\"@ember/object/observers\",0,\"@ember/service\",0,\"@ember/string\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const StoreTypesMap = new WeakMap();\n  function typesMapFor(store) {\n    let typesMap = StoreTypesMap.get(store);\n    if (typesMap === undefined) {\n      typesMap = new Map();\n      StoreTypesMap.set(store, typesMap);\n    }\n    return typesMap;\n  }\n\n  /**\n    Implements `@ember/debug/data-adapter` with for EmberData\n    integration with the ember-inspector.\n  \n    @class InspectorDataAdapter\n    @extends DataAdapter\n    @private\n  */\n  let _class = _exports.default = (_dec = (0, _service.inject)('store'), _class2 = class _class2 extends _dataAdapter.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n    }\n    /**\n      Specifies how records can be filtered based on the state of the record\n      Records returned will need to have a `filterValues`\n      property with a key for every name in the returned array\n       @method getFilters\n      @private\n      @return {Array} List of objects defining filters\n       The object should have a `name` and `desc` property\n    */\n    getFilters() {\n      return [{\n        name: 'isNew',\n        desc: 'New'\n      }, {\n        name: 'isModified',\n        desc: 'Modified'\n      }, {\n        name: 'isClean',\n        desc: 'Clean'\n      }];\n    }\n    _nameToClass(type) {\n      return this.store.modelFor(type);\n    }\n\n    /**\n      Fetch the model types and observe them for changes.\n      Maintains the list of model types without needing the Model package for detection.\n       @method watchModelTypes\n      @private\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      const {\n        store\n      } = this;\n      const unsub = store.notifications.subscribe('resource', (identifier, notificationType) => {\n        if (notificationType === 'added') {\n          this.watchTypeIfUnseen(store, discoveredTypes, identifier.type, typesAdded, typesUpdated, _releaseMethods);\n        }\n      });\n      const __getResourceCache = store._instanceCache.getResourceCache;\n      const _releaseMethods = [() => {\n        store.notifications.unsubscribe(unsub);\n      }];\n      const discoveredTypes = typesMapFor(store);\n      Object.keys(store.identifierCache._cache.resourcesByType).forEach(type => {\n        discoveredTypes.set(type, false);\n      });\n\n      // Add any models that were added during initialization of the app, before the inspector was opened\n      discoveredTypes.forEach((_, type) => {\n        this.watchTypeIfUnseen(store, discoveredTypes, type, typesAdded, typesUpdated, _releaseMethods);\n      });\n      let release = () => {\n        _releaseMethods.forEach(fn => fn());\n        store._instanceCache.getResourceCache = __getResourceCache;\n        // reset the list so the models can be added if the inspector is re-opened\n        // the entries are set to false instead of removed, since the models still exist in the app\n        // we just need the inspector to become aware of them\n        discoveredTypes.forEach((value, key) => {\n          discoveredTypes.set(key, false);\n        });\n        this.releaseMethods.removeObject(release);\n      };\n      this.releaseMethods.pushObject(release);\n      return release;\n    }\n\n    /**\n     * Loop over the discovered types and use the callbacks from watchModelTypes to notify\n     * the consumer of this adapter about the mdoels.\n     *\n     * @method watchTypeIfUnseen\n     * @param {store} store\n     * @param {Map} discoveredTypes\n     * @param {String} type\n     * @param {Function} typesAdded\n     * @param {Function} typesUpdated\n     * @param {Array} releaseMethods\n     * @private\n     */\n    watchTypeIfUnseen(store, discoveredTypes, type, typesAdded, typesUpdated, releaseMethods) {\n      if (discoveredTypes.get(type) !== true) {\n        let klass = store.modelFor(type);\n        let wrapped = this.wrapModelType(klass, type);\n        releaseMethods.push(this.observeModelType(type, typesUpdated));\n        typesAdded([wrapped]);\n        discoveredTypes.set(type, true);\n      }\n    }\n\n    /**\n      Creates a human readable string used for column headers\n       @method columnNameToDesc\n      @private\n      @param {String} name The attribute name\n      @return {String} Human readable string based on the attribute name\n    */\n    columnNameToDesc(name) {\n      return (0, _string.capitalize)((0, _string.underscore)(name).replace(/_/g, ' ').trim());\n    }\n\n    /**\n      Get the columns for a given model type\n       @method columnsForType\n      @private\n      @param {Model} typeClass\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(typeClass) {\n      let columns = [{\n        name: 'id',\n        desc: 'Id'\n      }];\n      let count = 0;\n      let self = this;\n      typeClass.attributes.forEach((meta, name) => {\n        if (count++ > self.attributeLimit) {\n          return false;\n        }\n        let desc = this.columnNameToDesc(name);\n        columns.push({\n          name: name,\n          desc: desc\n        });\n      });\n      return columns;\n    }\n\n    /**\n      Fetches all loaded records for a given type\n       @method getRecords\n      @private\n      @param {Model} modelClass of the record\n      @param {String} modelName of the record\n      @return {Array} An array of Model records\n       This array will be observed for changes,\n       so it should update when new records are added/removed\n    */\n    getRecords(modelClass, modelName) {\n      if (arguments.length < 2) {\n        // Legacy Ember.js < 1.13 support\n        let containerKey = modelClass._debugContainerKey;\n        if (containerKey) {\n          let match = containerKey.match(/model:(.*)/);\n          if (match !== null) {\n            modelName = match[1];\n          }\n        }\n      }\n      (true && !(!!modelName) && (0, _debug.assert)('Cannot find model name. Please upgrade to Ember.js >= 1.13 for Ember Inspector support', !!modelName));\n      return this.store.peekAll(modelName);\n    }\n\n    /**\n      Gets the values for each column\n      This is the attribute values for a given record\n       @method getRecordColumnValues\n      @private\n      @param {Model} record to get values from\n      @return {Object} Keys should match column names defined by the model type\n    */\n    getRecordColumnValues(record) {\n      let count = 0;\n      let columnValues = {\n        id: record.id\n      };\n      record.eachAttribute(key => {\n        if (count++ > this.attributeLimit) {\n          return false;\n        }\n        columnValues[key] = record[key];\n      });\n      return columnValues;\n    }\n\n    /**\n      Returns keywords to match when searching records\n       @method getRecordKeywords\n      @private\n      @param {Model} record\n      @return {Array} Relevant keywords for search based on the record's attribute values\n    */\n    getRecordKeywords(record) {\n      let keywords = [];\n      let keys = (0, _array.A)(['id']);\n      record.eachAttribute(key => keys.push(key));\n      keys.forEach(key => keywords.push(record[key]));\n      return keywords;\n    }\n\n    /**\n      Returns the values of filters defined by `getFilters`\n      These reflect the state of the record\n       @method getRecordFilterValues\n      @private\n      @param {Model} record\n      @return {Object} The record state filter values\n    */\n    getRecordFilterValues(record) {\n      return {\n        isNew: record.isNew,\n        isModified: record.hasDirtyAttributes && !record.isNew,\n        isClean: !record.hasDirtyAttributes\n      };\n    }\n\n    /**\n      Returns a color that represents the record's state\n      Possible colors: black, blue, green\n       @method getRecordColor\n      @private\n      @param {Model} record\n      @return {String} The record color\n    */\n    getRecordColor(record) {\n      let color = 'black';\n      if (record.isNew) {\n        color = 'green';\n      } else if (record.hasDirtyAttributes) {\n        color = 'blue';\n      }\n      return color;\n    }\n\n    /**\n      Observes all relevant properties and re-sends the wrapped record\n      when a change occurs\n       @method observeRecord\n      @private\n      @param {Model} record\n      @param {Function} recordUpdated Callback used to notify changes\n      @return {Function} The function to call to remove all observers\n    */\n    observeRecord(record, recordUpdated) {\n      let releaseMethods = (0, _array.A)();\n      let keysToObserve = (0, _array.A)(['id', 'isNew', 'hasDirtyAttributes']);\n      record.eachAttribute(key => keysToObserve.push(key));\n      let adapter = this;\n      keysToObserve.forEach(function (key) {\n        let handler = function () {\n          recordUpdated(adapter.wrapRecord(record));\n        };\n        (0, _observers.addObserver)(record, key, handler);\n        releaseMethods.push(function () {\n          (0, _observers.removeObserver)(record, key, handler);\n        });\n      });\n      let release = function () {\n        releaseMethods.forEach(fn => fn());\n      };\n      return release;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2);\n});","define(\"@ember-data/graph/-private\", [\"exports\", \"@ember/debug\", \"@ember-data/store/-private\"], function (_exports, _debug, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.graphFor = graphFor;\n  _exports.isBelongsTo = isBelongsTo;\n  _exports.peekGraph = peekGraph;\n  function coerceId(id) {\n    {\n      let normalized;\n      if (id === null || id === undefined || id === '') {\n        normalized = null;\n      } else {\n        normalized = String(id);\n      }\n      (true && !(normalized === id) && (0, _debug.deprecate)(`The resource id '<${typeof id}> ${String(id)} ' is not normalized. Update your application code to use '${JSON.stringify(normalized)}' instead.`, normalized === id, {\n        id: 'ember-data:deprecate-non-strict-id',\n        until: '6.0',\n        for: 'ember-data',\n        since: {\n          available: '5.3',\n          enabled: '5.3'\n        }\n      }));\n      return normalized;\n    }\n    (true && !(id === null || typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Resource IDs must be a non-empty string or null. Received '${String(id)}'.`, id === null || typeof id === 'string' && id.length > 0));\n    return id;\n  }\n  function getStore(wrapper) {\n    (true && !('_store' in wrapper) && (0, _debug.assert)(`expected a private _store property`, '_store' in wrapper));\n    return wrapper._store;\n  }\n  function expandingGet(cache, key1, key2) {\n    const mainCache = cache[key1] = cache[key1] || Object.create(null);\n    return mainCache[key2];\n  }\n  function expandingSet(cache, key1, key2, value) {\n    const mainCache = cache[key1] = cache[key1] || Object.create(null);\n    mainCache[key2] = value;\n  }\n  function assertValidRelationshipPayload(graph, op) {\n    const relationship = graph.get(op.record, op.field);\n    (true && !(isHasMany(relationship) || isBelongsTo(relationship)) && (0, _debug.assert)(`Cannot update an implicit relationship`, isHasMany(relationship) || isBelongsTo(relationship)));\n    const payload = op.value;\n    const {\n      definition,\n      identifier,\n      state\n    } = relationship;\n    const {\n      type\n    } = identifier;\n    const {\n      field\n    } = op;\n    const {\n      isAsync,\n      kind\n    } = definition;\n    if (payload.links) {\n      (true && (0, _debug.warn)(`You pushed a record of type '${type}' with a relationship '${field}' configured as 'async: false'. You've included a link but no primary data, this may be an error in your payload. EmberData will treat this relationship as known-to-be-empty.`, isAsync || !!payload.data || state.hasReceivedData, {\n        id: 'ds.store.push-link-for-sync-relationship'\n      }));\n    } else if (payload.data) {\n      if (kind === 'belongsTo') {\n        (true && !(!Array.isArray(payload.data)) && (0, _debug.assert)(`A ${type} record was pushed into the store with the value of ${field} being ${(0, _debug.inspect)(payload.data)}, but ${field} is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.`, !Array.isArray(payload.data)));\n        assertRelationshipData(getStore(graph.store), identifier, payload.data, definition);\n      } else if (kind === 'hasMany') {\n        (true && !(Array.isArray(payload.data)) && (0, _debug.assert)(`A ${type} record was pushed into the store with the value of ${field} being '${(0, _debug.inspect)(payload.data)}', but ${field} is a hasMany relationship so the value must be an array. You should probably check your data payload or serializer.`, Array.isArray(payload.data)));\n        if (Array.isArray(payload.data)) {\n          for (let i = 0; i < payload.data.length; i++) {\n            assertRelationshipData(getStore(graph.store), identifier, payload.data[i], definition);\n          }\n        }\n      }\n    }\n  }\n  function isNew(identifier) {\n    if (!identifier.id) {\n      return true;\n    }\n    const cache = (0, _private.peekCache)(identifier);\n    return Boolean(cache?.isNew(identifier));\n  }\n  function isBelongsTo(relationship) {\n    return relationship.definition.kind === 'belongsTo';\n  }\n  function isImplicit(relationship) {\n    return relationship.definition.isImplicit;\n  }\n  function isHasMany(relationship) {\n    return relationship.definition.kind === 'hasMany';\n  }\n  function forAllRelatedIdentifiers(rel, cb) {\n    if (isBelongsTo(rel)) {\n      if (rel.remoteState) {\n        cb(rel.remoteState);\n      }\n      if (rel.localState && rel.localState !== rel.remoteState) {\n        cb(rel.localState);\n      }\n    } else if (isHasMany(rel)) {\n      // TODO\n      // rel.remoteMembers.forEach(cb);\n      // might be simpler if performance is not a concern\n      for (let i = 0; i < rel.remoteState.length; i++) {\n        const inverseIdentifier = rel.remoteState[i];\n        cb(inverseIdentifier);\n      }\n      rel.additions?.forEach(cb);\n    } else {\n      rel.localMembers.forEach(cb);\n      rel.remoteMembers.forEach(inverseIdentifier => {\n        if (!rel.localMembers.has(inverseIdentifier)) {\n          cb(inverseIdentifier);\n        }\n      });\n    }\n  }\n\n  /*\n    Removes the given identifier from BOTH remote AND local state.\n  \n    This method is useful when either a deletion or a rollback on a new record\n    needs to entirely purge itself from an inverse relationship.\n    */\n  function removeIdentifierCompletelyFromRelationship(graph, relationship, value, silenceNotifications) {\n    if (isBelongsTo(relationship)) {\n      if (relationship.remoteState === value) {\n        relationship.remoteState = null;\n      }\n      if (relationship.localState === value) {\n        relationship.localState = null;\n        // This allows dematerialized inverses to be rematerialized\n        // we shouldn't be notifying here though, figure out where\n        // a notification was missed elsewhere.\n        if (!silenceNotifications) {\n          notifyChange(graph, relationship.identifier, relationship.definition.key);\n        }\n      }\n    } else if (isHasMany(relationship)) {\n      relationship.remoteMembers.delete(value);\n      relationship.additions?.delete(value);\n      const wasInRemovals = relationship.removals?.delete(value);\n      const canonicalIndex = relationship.remoteState.indexOf(value);\n      if (canonicalIndex !== -1) {\n        relationship.remoteState.splice(canonicalIndex, 1);\n      }\n      if (!wasInRemovals) {\n        const currentIndex = relationship.localState?.indexOf(value);\n        if (currentIndex !== -1 && currentIndex !== undefined) {\n          relationship.localState.splice(currentIndex, 1);\n          // This allows dematerialized inverses to be rematerialized\n          // we shouldn't be notifying here though, figure out where\n          // a notification was missed elsewhere.\n          if (!silenceNotifications) {\n            notifyChange(graph, relationship.identifier, relationship.definition.key);\n          }\n        }\n      }\n    } else {\n      relationship.remoteMembers.delete(value);\n      relationship.localMembers.delete(value);\n    }\n  }\n\n  // TODO add silencing at the graph level\n  function notifyChange(graph, identifier, key) {\n    if (identifier === graph._removing) {\n      return;\n    }\n    graph.store.notifyChange(identifier, 'relationships', key);\n  }\n  function assertRelationshipData(store, identifier, data, meta) {\n    (true && !(!Array.isArray(data)) && (0, _debug.assert)(`A ${identifier.type} record was pushed into the store with the value of ${meta.key} being '${JSON.stringify(data)}', but ${meta.key} is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.`, !Array.isArray(data)));\n    (true && !(data === null || 'type' in data && typeof data.type === 'string' && data.type.length) && (0, _debug.assert)(`Encountered a relationship identifier without a type for the ${meta.kind} relationship '${meta.key}' on <${identifier.type}:${String(identifier.id)}>, expected an identifier with type '${meta.type}' but found\\n\\n'${JSON.stringify(data, null, 2)}'\\n\\nPlease check your serializer and make sure it is serializing the relationship payload into a JSON API format.`, data === null || 'type' in data && typeof data.type === 'string' && data.type.length));\n    (true && !(data === null || !!coerceId(data.id)) && (0, _debug.assert)(`Encountered a relationship identifier without an id for the ${meta.kind} relationship '${meta.key}' on <${identifier.type}:${String(identifier.id)}>, expected an identifier but found\\n\\n'${JSON.stringify(data, null, 2)}'\\n\\nPlease check your serializer and make sure it is serializing the relationship payload into a JSON API format.`, data === null || !!coerceId(data.id)));\n    if (data?.type === meta.type) {\n      (true && !(store.getSchemaDefinitionService().doesTypeExist(data.type)) && (0, _debug.assert)(`Missing Schema: Encountered a relationship identifier { type: '${data.type}', id: '${String(data.id)}' } for the '${identifier.type}.${meta.key}' ${meta.kind} relationship on <${identifier.type}:${String(identifier.id)}>, but no schema exists for that type.`, store.getSchemaDefinitionService().doesTypeExist(data.type)));\n    } else {\n      (true && !(data === null || !data.type || store.getSchemaDefinitionService().doesTypeExist(data.type)) && (0, _debug.assert)(`Missing Schema: Encountered a relationship identifier with type '${data.type}' for the ${meta.kind} relationship '${meta.key}' on <${identifier.type}:${String(identifier.id)}>, Expected an identifier with type '${meta.type}'. No schema was found for '${data.type}'.`, data === null || !data.type || store.getSchemaDefinitionService().doesTypeExist(data.type)));\n    }\n  }\n\n  /*\n    Assert that `addedRecord` has a valid type so it can be added to the\n    relationship of the `record`.\n  \n    The assert basically checks if the `addedRecord` can be added to the\n    relationship (specified via `relationshipMeta`) of the `record`.\n  \n    This utility should only be used internally, as both record parameters must\n    be stable record identifiers and the `relationshipMeta` needs to be the meta\n    information about the relationship, retrieved via\n    `record.relationshipFor(key)`.\n  */\n  let assertPolymorphicType;\n  let assertInheritedSchema;\n  {\n    function validateSchema(definition, meta) {\n      const errors = new Map();\n      if (definition.inverseKey !== meta.name) {\n        errors.set('name', ` <---- should be '${definition.inverseKey}'`);\n      }\n      if (definition.inverseType !== meta.type) {\n        errors.set('type', ` <---- should be '${definition.inverseType}'`);\n      }\n      if (definition.inverseKind !== meta.kind) {\n        errors.set('type', ` <---- should be '${definition.inverseKind}'`);\n      }\n      if (definition.inverseIsAsync !== meta.options.async) {\n        errors.set('async', ` <---- should be ${definition.inverseIsAsync}`);\n      }\n      if (definition.inverseIsPolymorphic && definition.inverseIsPolymorphic !== meta.options.polymorphic) {\n        errors.set('polymorphic', ` <---- should be ${definition.inverseIsPolymorphic}`);\n      }\n      if (definition.key !== meta.options.inverse) {\n        errors.set('inverse', ` <---- should be '${definition.key}'`);\n      }\n      if (definition.type !== meta.options.as) {\n        errors.set('as', ` <---- should be '${definition.type}'`);\n      }\n      return errors;\n    }\n    function expectedSchema(definition) {\n      return printSchema({\n        name: definition.inverseKey,\n        type: definition.inverseType,\n        kind: definition.inverseKind,\n        options: {\n          as: definition.type,\n          async: definition.inverseIsAsync,\n          polymorphic: definition.inverseIsPolymorphic || false,\n          inverse: definition.key\n        }\n      });\n    }\n    function printSchema(config, errors) {\n      return `\n\n\\`\\`\\`\n{\n  ${config.name}: {\n    name: '${config.name}',${errors?.get('name') || ''}\n    type: '${config.type}',${errors?.get('type') || ''}\n    kind: '${config.kind}',${errors?.get('kind') || ''}\n    options: {\n      as: '${config.options.as}',${errors?.get('as') || ''}\n      async: ${config.options.async},${errors?.get('async') || ''}\n      polymorphic: ${config.options.polymorphic},${errors?.get('polymorphic') || ''}\n      inverse: '${config.options.inverse}'${errors?.get('inverse') || ''}\n    }\n  }\n}\n\\`\\`\\`\n\n`;\n    }\n    function metaFrom(definition) {\n      return {\n        name: definition.key,\n        type: definition.type,\n        kind: definition.kind,\n        options: {\n          async: definition.isAsync,\n          polymorphic: definition.isPolymorphic,\n          inverse: definition.inverseKey\n        }\n      };\n    }\n    function inverseMetaFrom(definition) {\n      return {\n        name: definition.inverseKey,\n        type: definition.inverseType,\n        kind: definition.inverseKind,\n        options: {\n          as: definition.isPolymorphic ? definition.type : undefined,\n          async: definition.inverseIsAsync,\n          polymorphic: definition.inverseIsPolymorphic,\n          inverse: definition.key\n        }\n      };\n    }\n    function inverseDefinition(definition) {\n      return {\n        key: definition.inverseKey,\n        type: definition.inverseType,\n        kind: definition.inverseKind,\n        isAsync: definition.inverseIsAsync,\n        isPolymorphic: true,\n        isCollection: definition.inverseIsCollection,\n        isImplicit: definition.inverseIsImplicit,\n        inverseKey: definition.key,\n        inverseType: definition.type,\n        inverseKind: definition.kind,\n        inverseIsAsync: definition.isAsync,\n        inverseIsPolymorphic: definition.isPolymorphic,\n        inverseIsImplicit: definition.isImplicit,\n        inverseIsCollection: definition.isCollection,\n        resetOnRemoteUpdate: definition.resetOnRemoteUpdate\n      };\n    }\n    function definitionWithPolymorphic(definition) {\n      return Object.assign({}, definition, {\n        inverseIsPolymorphic: true\n      });\n    }\n    assertInheritedSchema = function assertInheritedSchema(definition, type) {\n      let meta1 = metaFrom(definition);\n      let meta2 = inverseMetaFrom(definition);\n      let errors1 = validateSchema(inverseDefinition(definition), meta1);\n      let errors2 = validateSchema(definitionWithPolymorphic(definition), meta2);\n      if (errors2.size === 0 && errors1.size > 0) {\n        throw new Error(`The schema for the relationship '${type}.${definition.key}' is not configured to satisfy '${definition.inverseType}' and thus cannot utilize the '${definition.inverseType}.${definition.key}' relationship to connect with '${definition.type}.${definition.inverseKey}'\\n\\nIf using this relationship in a polymorphic manner is desired, the relationships schema definition for '${type}' should include:${printSchema(meta1, errors1)}`);\n      } else if (errors1.size > 0) {\n        throw new Error(`The schema for the relationship '${type}.${definition.key}' is not configured to satisfy '${definition.inverseType}' and thus cannot utilize the '${definition.inverseType}.${definition.key}' relationship to connect with '${definition.type}.${definition.inverseKey}'\\n\\nIf using this relationship in a polymorphic manner is desired, the relationships schema definition for '${type}' should include:${printSchema(meta1, errors1)} and the relationships schema definition for '${definition.type}' should include:${printSchema(meta2, errors2)}`);\n      } else if (errors2.size > 0) {\n        throw new Error(`The schema for the relationship '${type}.${definition.key}' satisfies '${definition.inverseType}' but cannot utilize the '${definition.inverseType}.${definition.key}' relationship to connect with '${definition.type}.${definition.inverseKey}' because that relationship is not polymorphic.\\n\\nIf using this relationship in a polymorphic manner is desired, the relationships schema definition for '${definition.type}' should include:${printSchema(meta2, errors2)}`);\n      }\n    };\n    assertPolymorphicType = function assertPolymorphicType(parentIdentifier, parentDefinition, addedIdentifier, store) {\n      if (parentDefinition.inverseIsImplicit) {\n        return;\n      }\n      if (parentDefinition.isPolymorphic) {\n        let meta = store.getSchemaDefinitionService().relationshipsDefinitionFor(addedIdentifier)[parentDefinition.inverseKey];\n        (true && !(meta) && (0, _debug.assert)(`No '${parentDefinition.inverseKey}' field exists on '${addedIdentifier.type}'. To use this type in the polymorphic relationship '${parentDefinition.inverseType}.${parentDefinition.key}' the relationships schema definition for ${addedIdentifier.type} should include:${expectedSchema(parentDefinition)}`, meta));\n        (true && !(!(meta.options.inverse === null && meta?.options.as?.length)) && (0, _debug.assert)(`You should not specify both options.as and options.inverse as null on ${addedIdentifier.type}.${parentDefinition.inverseKey}, as if there is no inverse field there is no abstract type to conform to. You may have intended for this relationship to be polymorphic, or you may have mistakenly set inverse to null.`, !(meta.options.inverse === null && meta?.options.as?.length)));\n        let errors = validateSchema(parentDefinition, meta);\n        (true && !(errors.size === 0) && (0, _debug.assert)(`The schema for the relationship '${parentDefinition.inverseKey}' on '${addedIdentifier.type}' type does not correctly implement '${parentDefinition.type}' and thus cannot be assigned to the '${parentDefinition.key}' relationship in '${parentIdentifier.type}'. If using this record in this polymorphic relationship is desired, correct the errors in the schema shown below:${printSchema(meta, errors)}`, errors.size === 0));\n      } else if (addedIdentifier.type !== parentDefinition.type) {\n        // if we are not polymorphic\n        // then the addedIdentifier.type must be the same as the parentDefinition.type\n        let meta = store.getSchemaDefinitionService().relationshipsDefinitionFor(addedIdentifier)[parentDefinition.inverseKey];\n        if (meta?.options.as === parentDefinition.type) {\n          // inverse is likely polymorphic but missing the polymorphic flag\n          let meta = store.getSchemaDefinitionService().relationshipsDefinitionFor({\n            type: parentDefinition.inverseType\n          })[parentDefinition.key];\n          let errors = validateSchema(definitionWithPolymorphic(inverseDefinition(parentDefinition)), meta);\n          (true && !(false) && (0, _debug.assert)(`The '<${addedIdentifier.type}>.${parentDefinition.inverseKey}' relationship cannot be used polymorphically because '<${parentDefinition.inverseType}>.${parentDefinition.key} is not a polymorphic relationship. To use this relationship in a polymorphic manner, fix the following schema issues on the relationships schema for '${parentDefinition.inverseType}':${printSchema(meta, errors)}`));\n        } else {\n          (true && !(false) && (0, _debug.assert)(`The '${addedIdentifier.type}' type does not implement '${parentDefinition.type}' and thus cannot be assigned to the '${parentDefinition.key}' relationship in '${parentIdentifier.type}'. If this relationship should be polymorphic, mark ${parentDefinition.inverseType}.${parentDefinition.key} as \\`polymorphic: true\\` and ${addedIdentifier.type}.${parentDefinition.inverseKey} as implementing it via \\`as: '${parentDefinition.type}'\\`.`));\n        }\n      }\n    };\n  }\n\n  /*\n      case many:1\n      ========\n      In a bi-directional graph with Many:1 edges, adding a value\n      results in up-to 3 discrete value transitions, while removing\n      a value is only 2 transitions.\n  \n      For adding C to A\n      If: A <<-> B, C <->> D is the initial state,\n      and: B <->> A <<-> C, D is the final state\n  \n      then we would undergo the following transitions.\n  \n      add C to A\n      remove C from D\n      add A to C\n  \n      For removing B from A\n      If: A <<-> B, C <->> D is the initial state,\n      and: A, B, C <->> D is the final state\n  \n      then we would undergo the following transitions.\n  \n      remove B from A\n      remove A from B\n  \n      case many:many\n      ===========\n      In a bi-directional graph with Many:Many edges, adding or\n      removing a value requires only 2 value transitions.\n  \n      For Adding\n      If: A<<->>B, C<<->>D is the initial state (double arrows representing the many side)\n      And: D<<->>C<<->>A<<->>B is the final state\n  \n      Then we would undergo two transitions.\n  \n      add C to A.\n      add A to C\n  \n      For Removing\n      If: A<<->>B, C<<->>D is the initial state (double arrows representing the many side)\n      And: A, B, C<<->>D is the final state\n  \n      Then we would undergo two transitions.\n  \n      remove B from A\n      remove A from B\n  \n      case many:?\n      ========\n      In a uni-directional graph with Many:? edges (modeled in EmberData with `inverse:null`) with\n      artificial (implicit) inverses, replacing a value results in 2 discrete value transitions.\n      This is because a Many:? relationship is effectively Many:Many.\n    */\n  function replaceRelatedRecords(graph, op, isRemote) {\n    if (isRemote) {\n      replaceRelatedRecordsRemote(graph, op, isRemote);\n    } else {\n      replaceRelatedRecordsLocal(graph, op, isRemote);\n    }\n  }\n  function replaceRelatedRecordsLocal(graph, op, isRemote) {\n    const identifiers = op.value;\n    const relationship = graph.get(op.record, op.field);\n    (true && !(isHasMany(relationship)) && (0, _debug.assert)(`expected hasMany relationship`, isHasMany(relationship)));\n    relationship.state.hasReceivedData = true;\n    const {\n      additions,\n      removals\n    } = relationship;\n    const {\n      inverseKey,\n      type\n    } = relationship.definition;\n    const {\n      record\n    } = op;\n    const wasDirty = relationship.isDirty;\n    relationship.isDirty = false;\n    const onAdd = identifier => {\n      // Since we are diffing against the remote state, we check\n      // if our previous local state did not contain this identifier\n      const removalsHas = removals?.has(identifier);\n      if (removalsHas || !additions?.has(identifier)) {\n        if (type !== identifier.type) {\n          {\n            assertPolymorphicType(relationship.identifier, relationship.definition, identifier, graph.store);\n          }\n          graph.registerPolymorphicType(type, identifier.type);\n        }\n        relationship.isDirty = true;\n        addToInverse(graph, identifier, inverseKey, op.record, isRemote);\n        if (removalsHas) {\n          removals.delete(identifier);\n        }\n      }\n    };\n    const onRemove = identifier => {\n      // Since we are diffing against the remote state, we check\n      // if our previous local state had contained this identifier\n      const additionsHas = additions?.has(identifier);\n      if (additionsHas || !removals?.has(identifier)) {\n        relationship.isDirty = true;\n        removeFromInverse(graph, identifier, inverseKey, record, isRemote);\n        if (additionsHas) {\n          additions.delete(identifier);\n        }\n      }\n    };\n    const diff = diffCollection(identifiers, relationship, onAdd, onRemove);\n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    relationship.isDirty || diff.changed;\n\n    // any additions no longer in the local state\n    // need to be removed from the inverse\n    if (additions && additions.size > 0) {\n      additions.forEach(identifier => {\n        if (!diff.add.has(identifier)) {\n          onRemove(identifier);\n        }\n      });\n    }\n\n    // any removals no longer in the local state\n    // need to be added back to the inverse\n    if (removals && removals.size > 0) {\n      removals.forEach(identifier => {\n        if (!diff.del.has(identifier)) {\n          onAdd(identifier);\n        }\n      });\n    }\n    relationship.additions = diff.add;\n    relationship.removals = diff.del;\n    relationship.localState = diff.finalState;\n    relationship.isDirty = wasDirty;\n    if (!wasDirty /*&& becameDirty // TODO to guard like this we need to detect reorder when diffing local */) {\n      notifyChange(graph, op.record, op.field);\n    }\n  }\n  function replaceRelatedRecordsRemote(graph, op, isRemote) {\n    const identifiers = op.value;\n    const relationship = graph.get(op.record, op.field);\n    (true && !(isHasMany(relationship)) && (0, _debug.assert)(`You can only '${op.op}' on a hasMany relationship. ${op.record.type}.${op.field} is a ${relationship.definition.kind}`, isHasMany(relationship)));\n    if (isRemote) {\n      graph._addToTransaction(relationship);\n    }\n    relationship.state.hasReceivedData = true;\n\n    // cache existing state\n    const {\n      definition\n    } = relationship;\n    const {\n      type\n    } = relationship.definition;\n    const diff = diffCollection(identifiers, relationship, identifier => {\n      if (type !== identifier.type) {\n        {\n          assertPolymorphicType(relationship.identifier, relationship.definition, identifier, graph.store);\n        }\n        graph.registerPolymorphicType(type, identifier.type);\n      }\n      // commit additions\n      // TODO build this into the diff?\n      // because we are not dirty if this was a committed local addition\n      if (relationship.additions?.has(identifier)) {\n        relationship.additions.delete(identifier);\n      } else {\n        relationship.isDirty = true;\n      }\n      addToInverse(graph, identifier, definition.inverseKey, op.record, isRemote);\n    }, identifier => {\n      // commit removals\n      // TODO build this into the diff?\n      // because we are not dirty if this was a committed local addition\n      if (relationship.removals?.has(identifier)) {\n        relationship.removals.delete(identifier);\n      } else {\n        relationship.isDirty = true;\n      }\n      removeFromInverse(graph, identifier, definition.inverseKey, op.record, isRemote);\n    });\n\n    // replace existing state\n    relationship.remoteMembers = diff.finalSet;\n    relationship.remoteState = diff.finalState;\n\n    // changed also indicates a change in order\n    if (diff.changed) {\n      relationship.isDirty = true;\n    }\n\n    // TODO unsure if we need this but it\n    // may allow us to more efficiently patch\n    // the associated ManyArray\n    relationship._diff = diff;\n    {\n      // only do this for legacy hasMany, not collection\n      // and provide a way to incrementally migrate\n      if (relationship.definition.kind === 'hasMany' && relationship.definition.resetOnRemoteUpdate !== false) {\n        const deprecationInfo = {\n          removals: [],\n          additions: [],\n          triggered: false\n        };\n        if (relationship.removals) {\n          relationship.isDirty = true;\n          relationship.removals.forEach(identifier => {\n            deprecationInfo.triggered = true;\n            deprecationInfo.removals.push(identifier);\n            // reverse the removal\n            // if we are still in removals at this point then\n            // we were not \"committed\" which means we are present\n            // in the remoteMembers. So we \"add back\" on the inverse.\n            addToInverse(graph, identifier, definition.inverseKey, op.record, isRemote);\n          });\n          relationship.removals = null;\n        }\n        if (relationship.additions) {\n          relationship.additions.forEach(identifier => {\n            // reverse the addition\n            // if we are still in additions at this point then\n            // we were not \"committed\" which means we are not present\n            // in the remoteMembers. So we \"remove\" from the inverse.\n            // however we only do this if we are not a \"new\" record.\n            if (!isNew(identifier)) {\n              deprecationInfo.triggered = true;\n              deprecationInfo.additions.push(identifier);\n              relationship.isDirty = true;\n              relationship.additions.delete(identifier);\n              removeFromInverse(graph, identifier, definition.inverseKey, op.record, isRemote);\n            }\n          });\n          if (relationship.additions.size === 0) {\n            relationship.additions = null;\n          }\n        }\n        if (deprecationInfo.triggered) {\n          (true && !(false) && (0, _debug.deprecate)(`EmberData is changing the default semantics of updates to the remote state of relationships.\\n\\nThe following local state was cleared from the <${relationship.identifier.type}>.${relationship.definition.key} hasMany relationship but will not be once this deprecation is resolved by opting into the new behavior:\\n\\n\\tAdded: [${deprecationInfo.additions.map(i => i.lid).join(', ')}]\\n\\tRemoved: [${deprecationInfo.removals.map(i => i.lid).join(', ')}]`, false, {\n            id: 'ember-data:deprecate-relationship-remote-update-clearing-local-state',\n            for: 'ember-data',\n            since: {\n              enabled: '5.3',\n              available: '5.3'\n            },\n            until: '6.0',\n            url: 'https://deprecations.emberjs.com/v5.x#ember-data-deprecate-relationship-remote-update-clearing-local-state'\n          }));\n        }\n      }\n    }\n    if (relationship.isDirty) {\n      flushCanonical(graph, relationship);\n    }\n  }\n  function addToInverse(graph, identifier, key, value, isRemote) {\n    const relationship = graph.get(identifier, key);\n    const {\n      type\n    } = relationship.definition;\n    if (type !== value.type) {\n      {\n        assertPolymorphicType(relationship.identifier, relationship.definition, value, graph.store);\n      }\n      graph.registerPolymorphicType(type, value.type);\n    }\n    if (isBelongsTo(relationship)) {\n      relationship.state.hasReceivedData = true;\n      relationship.state.isEmpty = false;\n      if (isRemote) {\n        graph._addToTransaction(relationship);\n        if (relationship.remoteState !== null) {\n          removeFromInverse(graph, relationship.remoteState, relationship.definition.inverseKey, identifier, isRemote);\n        }\n        relationship.remoteState = value;\n      }\n      if (relationship.localState !== value) {\n        if (!isRemote && relationship.localState) {\n          removeFromInverse(graph, relationship.localState, relationship.definition.inverseKey, identifier, isRemote);\n        }\n        relationship.localState = value;\n        notifyChange(graph, identifier, key);\n      }\n    } else if (isHasMany(relationship)) {\n      if (isRemote) {\n        // TODO this needs to alert stuffs\n        // And patch state better\n        // This is almost definitely wrong\n        // WARNING WARNING WARNING\n\n        if (!relationship.remoteMembers.has(value)) {\n          graph._addToTransaction(relationship);\n          relationship.remoteState.push(value);\n          relationship.remoteMembers.add(value);\n          if (relationship.additions?.has(value)) {\n            relationship.additions.delete(value);\n          } else {\n            relationship.isDirty = true;\n            relationship.state.hasReceivedData = true;\n            flushCanonical(graph, relationship);\n          }\n        }\n      } else {\n        if (_addLocal(graph, identifier, relationship, value, null)) {\n          notifyChange(graph, identifier, key);\n        }\n      }\n    } else {\n      if (isRemote) {\n        if (!relationship.remoteMembers.has(value)) {\n          relationship.remoteMembers.add(value);\n          relationship.localMembers.add(value);\n        }\n      } else {\n        if (!relationship.localMembers.has(value)) {\n          relationship.localMembers.add(value);\n        }\n      }\n    }\n  }\n  function notifyInverseOfPotentialMaterialization(graph, identifier, key, value, isRemote) {\n    const relationship = graph.get(identifier, key);\n    if (isHasMany(relationship) && isRemote && relationship.remoteMembers.has(value)) {\n      notifyChange(graph, identifier, key);\n    }\n  }\n  function removeFromInverse(graph, identifier, key, value, isRemote) {\n    const relationship = graph.get(identifier, key);\n    if (isBelongsTo(relationship)) {\n      relationship.state.isEmpty = true;\n      if (isRemote) {\n        graph._addToTransaction(relationship);\n        relationship.remoteState = null;\n      }\n      if (relationship.localState === value) {\n        relationship.localState = null;\n        notifyChange(graph, identifier, key);\n      }\n    } else if (isHasMany(relationship)) {\n      if (isRemote) {\n        graph._addToTransaction(relationship);\n        if (_removeRemote(relationship, value)) {\n          notifyChange(graph, identifier, key);\n        }\n      } else {\n        if (_removeLocal(relationship, value)) {\n          notifyChange(graph, identifier, key);\n        }\n      }\n    } else {\n      if (isRemote) {\n        relationship.remoteMembers.delete(value);\n        relationship.localMembers.delete(value);\n      } else {\n        if (value && relationship.localMembers.has(value)) {\n          relationship.localMembers.delete(value);\n        }\n      }\n    }\n  }\n  function flushCanonical(graph, rel) {\n    graph._scheduleLocalSync(rel);\n  }\n  function replaceRelatedRecord(graph, op, isRemote = false) {\n    const relationship = graph.get(op.record, op.field);\n    (true && !(isBelongsTo(relationship)) && (0, _debug.assert)(`You can only '${op.op}' on a belongsTo relationship. ${op.record.type}.${op.field} is a ${relationship.definition.kind}`, isBelongsTo(relationship)));\n    if (isRemote) {\n      graph._addToTransaction(relationship);\n    }\n    const {\n      definition,\n      state\n    } = relationship;\n    const prop = isRemote ? 'remoteState' : 'localState';\n    const existingState = relationship[prop];\n\n    /*\n      case 1:1\n      ========\n      In a bi-directional graph with 1:1 edges, replacing a value\n      results in up-to 4 discrete value transitions.\n       If: A <-> B, C <-> D is the initial state,\n      and: A <-> C, B, D is the final state\n       then we would undergo the following 4 transitions.\n       remove A from B\n      add C to A\n      remove C from D\n      add A to C\n       case 1:many\n      ===========\n      In a bi-directional graph with 1:Many edges, replacing a value\n      results in up-to 3 discrete value transitions.\n       If: A<->>B<<->D, C<<->D is the initial state (double arrows representing the many side)\n      And: A<->>C<<->D, B<<->D is the final state\n       Then we would undergo three transitions.\n       remove A from B\n      add C to A.\n      add A to C\n       case 1:?\n      ========\n      In a uni-directional graph with 1:? edges (modeled in EmberData with `inverse:null`) with\n      artificial (implicit) inverses, replacing a value results in up-to 3 discrete value transitions.\n      This is because a 1:? relationship is effectively 1:many.\n       If: A->B, C->B is the initial state\n      And: A->C, C->B is the final state\n       Then we would undergo three transitions.\n       Remove A from B\n      Add C to A\n      Add A to C\n    */\n\n    // nothing for us to do\n    if (op.value === existingState) {\n      // if we were empty before but now know we are empty this needs to be true\n      state.hasReceivedData = true;\n      // if this is a remote update we still sync\n      if (isRemote) {\n        const {\n          localState\n        } = relationship;\n        // don't sync if localState is a new record and our remoteState is null\n        if (localState && isNew(localState) && !existingState) {\n          return;\n        }\n        if (existingState && localState === existingState) {\n          notifyInverseOfPotentialMaterialization(graph, existingState, definition.inverseKey, op.record, isRemote);\n        } else {\n          // if localState does not match existingState then we know\n          // we have a local mutation that has not been persisted yet\n          if (localState !== op.value && relationship.definition.resetOnRemoteUpdate !== false) {\n            relationship.localState = existingState;\n            (true && !(false) && (0, _debug.deprecate)(`EmberData is changing the default semantics of updates to the remote state of relationships.\\n\\nThe following local state was cleared from the <${relationship.identifier.type}>.${relationship.definition.key} belongsTo relationship but will not be once this deprecation is resolved:\\n\\n\\t${localState ? 'Added: ' + localState.lid + '\\n\\t' : ''}${existingState ? 'Removed: ' + existingState.lid : ''}`, false, {\n              id: 'ember-data:deprecate-relationship-remote-update-clearing-local-state',\n              for: 'ember-data',\n              since: {\n                enabled: '5.3',\n                available: '5.3'\n              },\n              until: '6.0',\n              url: 'https://deprecations.emberjs.com/v5.x#ember-data-deprecate-relationship-remote-update-clearing-local-state'\n            }));\n            notifyChange(graph, relationship.identifier, relationship.definition.key);\n          }\n        }\n      }\n      return;\n    }\n\n    // remove this value from the inverse if required\n    if (existingState) {\n      removeFromInverse(graph, existingState, definition.inverseKey, op.record, isRemote);\n    }\n\n    // update value to the new value\n    relationship[prop] = op.value;\n    state.hasReceivedData = true;\n    state.isEmpty = op.value === null;\n    state.isStale = false;\n    state.hasFailedLoadAttempt = false;\n    if (op.value) {\n      if (definition.type !== op.value.type) {\n        // assert(\n        //   `The '<${definition.inverseType}>.${op.field}' relationship expects only '${definition.type}' records since it is not polymorphic. Received a Record of type '${op.value.type}'`,\n        //   definition.isPolymorphic\n        // );\n\n        // TODO this should now handle the deprecation warning if isPolymorphic is not set\n        // but the record does turn out to be polymorphic\n        // this should still assert if the user is relying on legacy inheritance/mixins to\n        // provide polymorphic behavior and has not yet added the polymorphic flags\n        {\n          assertPolymorphicType(relationship.identifier, definition, op.value, graph.store);\n        }\n        graph.registerPolymorphicType(definition.type, op.value.type);\n      }\n      addToInverse(graph, op.value, definition.inverseKey, op.record, isRemote);\n    }\n    if (isRemote) {\n      const {\n        localState,\n        remoteState\n      } = relationship;\n      if (localState && isNew(localState) && !remoteState) {\n        return;\n      }\n      // when localState does not match the new remoteState and\n      // localState === existingState then we had no local mutation\n      // and we can safely sync the new remoteState to local\n      if (localState !== remoteState && localState === existingState) {\n        relationship.localState = remoteState;\n        notifyChange(graph, relationship.identifier, relationship.definition.key);\n        // But when localState does not match the new remoteState and\n        // and localState !== existingState then we know we have a local mutation\n        // that has not been persisted yet.\n      } else {\n        if (localState !== remoteState && localState !== existingState && relationship.definition.resetOnRemoteUpdate !== false) {\n          relationship.localState = existingState;\n          (true && !(false) && (0, _debug.deprecate)(`EmberData is changing the default semantics of updates to the remote state of relationships.\\n\\nThe following local state was cleared from the <${relationship.identifier.type}>.${relationship.definition.key} belongsTo relationship but will not be once this deprecation is resolved:\\n\\n\\t${localState ? 'Added: ' + localState.lid + '\\n\\t' : ''}${existingState ? 'Removed: ' + existingState.lid : ''}`, false, {\n            id: 'ember-data:deprecate-relationship-remote-update-clearing-local-state',\n            for: 'ember-data',\n            since: {\n              enabled: '5.3',\n              available: '5.3'\n            },\n            until: '6.0',\n            url: 'https://deprecations.emberjs.com/v5.x#ember-data-deprecate-relationship-remote-update-clearing-local-state'\n          }));\n          notifyChange(graph, relationship.identifier, relationship.definition.key);\n        }\n      }\n    } else {\n      notifyChange(graph, relationship.identifier, relationship.definition.key);\n    }\n  }\n  function _deprecatedCompare(newState, newMembers, prevState, prevSet, onAdd, onDel) {\n    const newLength = newState.length;\n    const prevLength = prevState.length;\n    const iterationLength = Math.max(newLength, prevLength);\n    let changed = newMembers.size !== prevSet.size;\n    const added = new Set();\n    const removed = new Set();\n    const duplicates = new Map();\n    const finalSet = new Set();\n    const finalState = [];\n    for (let i = 0, j = 0; i < iterationLength; i++) {\n      let adv = false;\n      let member;\n\n      // accumulate anything added\n      if (i < newLength) {\n        member = newState[i];\n        if (!finalSet.has(member)) {\n          finalState[j] = member;\n          finalSet.add(member);\n          adv = true;\n          if (!prevSet.has(member)) {\n            changed = true;\n            added.add(member);\n            onAdd(member);\n          }\n        } else {\n          let list = duplicates.get(member);\n          if (list === undefined) {\n            list = [];\n            duplicates.set(member, list);\n          }\n          list.push(i);\n        }\n      }\n\n      // accumulate anything removed\n      if (i < prevLength) {\n        const prevMember = prevState[i];\n\n        // detect reordering, adjusting index for duplicates\n        // j is always less than i and so if i < prevLength, j < prevLength\n        if (member !== prevState[j]) {\n          changed = true;\n        }\n        if (!newMembers.has(prevMember)) {\n          changed = true;\n          removed.add(prevMember);\n          onDel(prevMember);\n        }\n      } else if (adv && j < prevLength && member !== prevState[j]) {\n        changed = true;\n      }\n      if (adv) {\n        j++;\n      }\n    }\n    const diff = {\n      add: added,\n      del: removed,\n      finalState,\n      finalSet,\n      changed\n    };\n    return {\n      diff,\n      duplicates\n    };\n  }\n  function _compare(finalState, finalSet, prevState, prevSet, onAdd, onDel) {\n    const finalLength = finalState.length;\n    const prevLength = prevState.length;\n    const iterationLength = Math.max(finalLength, prevLength);\n    const equalLength = finalLength === prevLength;\n    let changed = finalSet.size !== prevSet.size;\n    const added = new Set();\n    const removed = new Set();\n    for (let i = 0; i < iterationLength; i++) {\n      let member;\n\n      // accumulate anything added\n      if (i < finalLength) {\n        member = finalState[i];\n        if (!prevSet.has(member)) {\n          changed = true;\n          added.add(member);\n          onAdd(member);\n        }\n      }\n\n      // accumulate anything removed\n      if (i < prevLength) {\n        const prevMember = prevState[i];\n\n        // detect reordering\n        if (equalLength && member !== prevMember) {\n          changed = true;\n        }\n        if (!finalSet.has(prevMember)) {\n          changed = true;\n          removed.add(prevMember);\n          onDel(prevMember);\n        }\n      }\n    }\n    return {\n      add: added,\n      del: removed,\n      finalState,\n      finalSet,\n      changed\n    };\n  }\n  function diffCollection(finalState, relationship, onAdd, onDel) {\n    const finalSet = new Set(finalState);\n    const {\n      remoteState,\n      remoteMembers\n    } = relationship;\n    {\n      if (finalState.length !== finalSet.size) {\n        const {\n          diff,\n          duplicates\n        } = _deprecatedCompare(finalState, finalSet, remoteState, remoteMembers, onAdd, onDel);\n        {\n          (true && !(false) && (0, _debug.deprecate)(`Expected all entries in the relationship ${relationship.definition.type}:${relationship.definition.key} to be unique, see log for a list of duplicate entry indeces`, false, {\n            id: 'ember-data:deprecate-non-unique-relationship-entries',\n            for: 'ember-data',\n            until: '6.0',\n            since: {\n              available: '5.3',\n              enabled: '5.3'\n            }\n          })); // eslint-disable-next-line no-console\n          console.log(duplicates);\n        }\n        return diff;\n      }\n    }\n    return _compare(finalState, finalSet, remoteState, remoteMembers, onAdd, onDel);\n  }\n  function computeLocalState(storage) {\n    if (!storage.isDirty) {\n      (true && !(Array.isArray(storage.localState)) && (0, _debug.assert)(`Expected localState to be present`, Array.isArray(storage.localState)));\n      return storage.localState;\n    }\n    const state = storage.remoteState.slice();\n    storage.removals?.forEach(v => {\n      const index = state.indexOf(v);\n      state.splice(index, 1);\n    });\n    storage.additions?.forEach(v => {\n      state.push(v);\n    });\n    storage.localState = state;\n    storage.isDirty = false;\n    return state;\n  }\n  function _addLocal(graph, record, relationship, value, index) {\n    const {\n      remoteMembers,\n      removals\n    } = relationship;\n    let additions = relationship.additions;\n    const hasPresence = remoteMembers.has(value) || additions?.has(value);\n    if (hasPresence && !removals?.has(value)) {\n      (true && !(hasPresence && !removals?.has(value)) && (0, _debug.assert)(`Attempted to add the resource '${value.lid}' to the collection <${relationship.identifier.type}>.${relationship.definition.key} it was already in`, hasPresence && !removals?.has(value)));\n      return false;\n    }\n    if (removals?.has(value)) {\n      removals.delete(value);\n    } else {\n      if (!additions) {\n        additions = relationship.additions = new Set();\n      }\n      relationship.state.hasReceivedData = true;\n      additions.add(value);\n      const {\n        type\n      } = relationship.definition;\n      if (type !== value.type) {\n        {\n          assertPolymorphicType(record, relationship.definition, value, graph.store);\n        }\n        graph.registerPolymorphicType(value.type, type);\n      }\n    }\n\n    // if we have existing localState\n    // and we have an index\n    // apply the change, as this is more efficient\n    // than recomputing localState and\n    // it allows us to preserve local ordering\n    // to a small extend. Local ordering should not\n    // be relied upon as any remote change will blow it away\n    if (relationship.localState) {\n      if (index !== null) {\n        relationship.localState.splice(index, 0, value);\n      } else {\n        relationship.localState.push(value);\n      }\n    }\n    (true && !(relationship.localState || relationship.isDirty) && (0, _debug.assert)(`Expected relationship to be dirty when adding a local mutation`, relationship.localState || relationship.isDirty));\n    return true;\n  }\n  function _removeLocal(relationship, value) {\n    (true && !(value) && (0, _debug.assert)(`expected an identifier to remove from the collection relationship`, value));\n    const {\n      remoteMembers,\n      additions\n    } = relationship;\n    let removals = relationship.removals;\n    const hasPresence = remoteMembers.has(value) || additions?.has(value);\n    if (!hasPresence || removals?.has(value)) {\n      (true && !(!hasPresence || removals?.has(value)) && (0, _debug.assert)(`Attempted to remove the resource '${value.lid}' from the collection <${relationship.identifier.type}>.${relationship.definition.key} but it was not present`, !hasPresence || removals?.has(value)));\n      return false;\n    }\n    if (additions?.has(value)) {\n      additions.delete(value);\n    } else {\n      if (!removals) {\n        removals = relationship.removals = new Set();\n      }\n      removals.add(value);\n    }\n\n    // if we have existing localState\n    // apply the change, as this is more efficient\n    // than recomputing localState and\n    // it allows us to preserve local ordering\n    // to a small extend. Local ordering should not\n    // be relied upon as any remote change will blow it away\n    if (relationship.localState) {\n      const index = relationship.localState.indexOf(value);\n      (true && !(index !== -1) && (0, _debug.assert)(`Cannot remove a resource that is not present`, index !== -1));\n      relationship.localState.splice(index, 1);\n    }\n    (true && !(relationship.localState || relationship.isDirty) && (0, _debug.assert)(`Expected relationship to be dirty when performing a local mutation`, relationship.localState || relationship.isDirty));\n    return true;\n  }\n  function _removeRemote(relationship, value) {\n    (true && !(value) && (0, _debug.assert)(`expected an identifier to remove from the collection relationship`, value));\n    const {\n      remoteMembers,\n      additions,\n      removals,\n      remoteState\n    } = relationship;\n    (true && !(remoteMembers.has(value)) && (0, _debug.assert)(`Cannot remove a resource that is not present`, remoteMembers.has(value)));\n    if (!remoteMembers.has(value)) {\n      return false;\n    }\n\n    // remove from remote state\n    remoteMembers.delete(value);\n    let index = remoteState.indexOf(value);\n    (true && !(index !== -1) && (0, _debug.assert)(`Cannot remove a resource that is not present`, index !== -1));\n    remoteState.splice(index, 1);\n\n    // remove from removals if present\n    if (removals?.has(value)) {\n      removals.delete(value);\n\n      // nothing more to do this was our state already\n      return false;\n    }\n    (true && !(!additions?.has(value)) && (0, _debug.assert)(`Remote state indicated removal of a resource that was present only as a local mutation`, !additions?.has(value))); // if we have existing localState\n    // and we have an index\n    // apply the change, as this is more efficient\n    // than recomputing localState and\n    // it allows us to preserve local ordering\n    // to a small extend. Local ordering should not\n    // be relied upon as any remote change will blow it away\n    if (relationship.localState) {\n      index = relationship.localState.indexOf(value);\n      (true && !(index !== -1) && (0, _debug.assert)(`Cannot remove a resource that is not present`, index !== -1));\n      relationship.localState.splice(index, 1);\n    }\n    (true && !(relationship.localState || relationship.isDirty) && (0, _debug.assert)(`Expected relationship to be dirty when performing a local mutation`, relationship.localState || relationship.isDirty));\n    return true;\n  }\n  function rollbackRelationship(graph, identifier, field, relationship) {\n    if (isBelongsTo(relationship)) {\n      replaceRelatedRecord(graph, {\n        op: 'replaceRelatedRecord',\n        record: identifier,\n        field,\n        value: relationship.remoteState\n      }, false);\n    } else {\n      replaceRelatedRecords(graph, {\n        op: 'replaceRelatedRecords',\n        record: identifier,\n        field,\n        value: relationship.remoteState.slice()\n      }, false);\n    }\n  }\n\n  /**\n   *\n   * Given RHS (Right Hand Side)\n   *\n   * ```ts\n   * class User extends Model {\n   *   @hasMany('animal', { async: false, inverse: 'owner' }) pets;\n   * }\n   * ```\n   *\n   * Given LHS (Left Hand Side)\n   *\n   * ```ts\n   * class Animal extends Model {\n   *  @belongsTo('user', { async: false, inverse: 'pets' }) owner;\n   * }\n   * ```\n   *\n   * The UpgradedMeta for the RHS would be:\n   *\n   * ```ts\n   * {\n   *   kind: 'hasMany',\n   *   key: 'pets',\n   *   type: 'animal',\n   *   isAsync: false,\n   *   isImplicit: false,\n   *   isCollection: true,\n   *   isPolymorphic: false,\n   *   inverseKind: 'belongsTo',\n   *   inverseKey: 'owner',\n   *   inverseType: 'user',\n   *   inverseIsAsync: false,\n   *   inverseIsImplicit: false,\n   *   inverseIsCollection: false,\n   *   inverseIsPolymorphic: false,\n   * }\n   * ```\n   *\n   * The UpgradeMeta for the LHS would be:\n   *\n   * ```ts\n   * {\n   *   kind: 'belongsTo',\n   *   key: 'owner',\n   *   type: 'user',\n   *   isAsync: false,\n   *   isImplicit: false,\n   *   isCollection: false,\n   *   isPolymorphic: false,\n   *   inverseKind: 'hasMany',\n   *   inverseKey: 'pets',\n   *   inverseType: 'animal',\n   *   inverseIsAsync: false,\n   *   inverseIsImplicit: false,\n   *   inverseIsCollection: true,\n   *   inverseIsPolymorphic: false,\n   * }\n   * ```\n   *\n   *\n   * @class UpgradedMeta\n   * @internal\n   */\n  const BOOL_LATER = null;\n  const STR_LATER = '';\n  const IMPLICIT_KEY_RAND = Date.now();\n  function implicitKeyFor(type, key) {\n    return `implicit-${type}:${key}${IMPLICIT_KEY_RAND}`;\n  }\n  function syncMeta(definition, inverseDefinition) {\n    definition.inverseKind = inverseDefinition.kind;\n    definition.inverseKey = inverseDefinition.key;\n    definition.inverseType = inverseDefinition.type;\n    definition.inverseIsAsync = inverseDefinition.isAsync;\n    definition.inverseIsCollection = inverseDefinition.isCollection;\n    definition.inverseIsPolymorphic = inverseDefinition.isPolymorphic;\n    definition.inverseIsImplicit = inverseDefinition.isImplicit;\n    const resetOnRemoteUpdate = definition.resetOnRemoteUpdate === false || inverseDefinition.resetOnRemoteUpdate === false ? false : true;\n    definition.resetOnRemoteUpdate = resetOnRemoteUpdate;\n    inverseDefinition.resetOnRemoteUpdate = resetOnRemoteUpdate;\n  }\n  function upgradeMeta(meta) {\n    const niceMeta = {};\n    const options = meta.options;\n    niceMeta.kind = meta.kind;\n    niceMeta.key = meta.name;\n    niceMeta.type = meta.type;\n    (true && !(typeof options?.async === 'boolean') && (0, _debug.assert)(`Expected relationship definition to specify async`, typeof options?.async === 'boolean'));\n    niceMeta.isAsync = options.async;\n    niceMeta.isImplicit = false;\n    niceMeta.isCollection = meta.kind === 'hasMany';\n    niceMeta.isPolymorphic = options && !!options.polymorphic;\n    niceMeta.inverseKey = options && options.inverse || STR_LATER;\n    niceMeta.inverseType = STR_LATER;\n    niceMeta.inverseIsAsync = BOOL_LATER;\n    niceMeta.inverseIsImplicit = options && options.inverse === null || BOOL_LATER;\n    niceMeta.inverseIsCollection = BOOL_LATER;\n    niceMeta.resetOnRemoteUpdate = options && options.resetOnRemoteUpdate === false ? false : true;\n    return niceMeta;\n  }\n  function assertConfiguration(info, type, key) {\n    {\n      const isSelfReferential = info.isSelfReferential;\n      if (isSelfReferential) {\n        return true;\n      }\n      const _isRHS = key === info.rhs_relationshipName && (type === info.rhs_baseModelName ||\n      // base or non-polymorphic\n      // if the other side is polymorphic then we need to scan our modelNames\n      info.lhs_isPolymorphic && info.rhs_modelNames.includes(type)); // polymorphic\n      const _isLHS = key === info.lhs_relationshipName && (type === info.lhs_baseModelName ||\n      // base or non-polymorphic\n      // if the other side is polymorphic then we need to scan our modelNames\n      info.rhs_isPolymorphic && info.lhs_modelNames.includes(type)); // polymorphic;\n\n      if (!_isRHS && !_isLHS) {\n        /*\n          this occurs when we are likely polymorphic but not configured to be polymorphic\n          most often due to extending a class that has a relationship definition on it.\n           e.g.\n           ```ts\n          class Pet extends Model {\n            @belongsTo('human', { async: false, inverse: 'pet' }) owner;\n          }\n          class Human extends Model {\n            @belongsTo('pet', { async: false, inverse: 'owner' }) pet;\n          }\n          class Farmer extends Human {}\n          ```\n           In the above case, the following would trigger this error:\n           ```ts\n          let pet = store.createRecord('pet');\n          let farmer = store.createRecord('farmer');\n          farmer.pet = pet; // error\n          ```\n           The correct way to fix this is to specify the polymorphic option on Pet\n          and to specify the abstract type 'human' on the Human base class.\n           ```ts\n          class Pet extends Model {\n            @belongsTo('human', { async: false, inverse: 'pet', polymorphic: true }) owner;\n          }\n          class Human extends Model {\n            @belongsTo('pet', { async: false, inverse: 'owner', as: 'human' }) pet;\n          }\n          class Farmer extends Human {}\n          ```\n           Alternatively both Human and Farmer could declare the relationship, because relationship\n          definitions are \"structural\".\n           ```ts\n          class Pet extends Model {\n            @belongsTo('human', { async: false, inverse: 'pet', polymorphic: true }) owner;\n          }\n          class Human extends Model {\n            @belongsTo('pet', { async: false, inverse: 'owner', as: 'human' }) pet;\n          }\n          class Farmer extends Model {\n            @belongsTo('pet', { async: false, inverse: 'owner', as: 'human' }) pet;\n          }\n          ```\n          */\n        if (key === info.lhs_relationshipName && info.lhs_modelNames.includes(type)) {\n          // parentIdentifier, parentDefinition, addedIdentifier, store\n          assertInheritedSchema(info.lhs_definition, type);\n        } else if (key === info.rhs_relationshipName && info.rhs_modelNames.includes(type)) {\n          assertInheritedSchema(info.lhs_definition, type);\n        }\n        // OPEN AN ISSUE :: we would like to improve our errors but need to understand what corner case got us here\n        throw new Error(`PLEASE OPEN AN ISSUE :: Found a relationship that is neither the LHS nor RHS of the same edge. This is not supported. Please report this to the EmberData team.`);\n      }\n      if (_isRHS && _isLHS) {\n        // not sure how we get here but it's probably the result of some form of inheritance\n        // without having specified polymorphism correctly leading to it not being self-referential\n        // OPEN AN ISSUE :: we would like to improve our errors but need to understand what corner case got us here\n        throw new Error(`PLEASE OPEN AN ISSUE :: Found a relationship that is both the LHS and RHS of the same edge but is not self-referential. This is not supported. Please report this to the EmberData team.`);\n      }\n    }\n  }\n  function isLHS(info, type, key) {\n    const isSelfReferential = info.isSelfReferential;\n    const isRelationship = key === info.lhs_relationshipName;\n    {\n      assertConfiguration(info, type, key);\n    }\n    if (isRelationship === true) {\n      return isSelfReferential === true ||\n      // itself\n      type === info.lhs_baseModelName ||\n      // base or non-polymorphic\n      // if the other side is polymorphic then we need to scan our modelNames\n      info.rhs_isPolymorphic && info.lhs_modelNames.includes(type) // polymorphic\n      ;\n    }\n    return false;\n  }\n  function upgradeDefinition(graph, identifier, propertyName, isImplicit = false) {\n    const cache = graph._definitionCache;\n    const storeWrapper = graph.store;\n    const polymorphicLookup = graph._potentialPolymorphicTypes;\n    const {\n      type\n    } = identifier;\n    let cached = /*#__NOINLINE__*/expandingGet(cache, type, propertyName);\n\n    // CASE: We have a cached resolution (null if no relationship exists)\n    if (cached !== undefined) {\n      return cached;\n    }\n    (true && !(!isImplicit) && (0, _debug.assert)(`Expected to find relationship definition in the cache for the implicit relationship ${propertyName}`, !isImplicit));\n    const relationships = storeWrapper.getSchemaDefinitionService().relationshipsDefinitionFor(identifier);\n    (true && !(relationships) && (0, _debug.assert)(`Expected to have a relationship definition for ${type} but none was found.`, relationships));\n    const meta = relationships[propertyName];\n    if (!meta) {\n      // TODO potentially we should just be permissive here since this is an implicit relationship\n      // and not require the lookup table to be populated\n      if (polymorphicLookup[type]) {\n        const altTypes = Object.keys(polymorphicLookup[type]);\n        for (let i = 0; i < altTypes.length; i++) {\n          const _cached = expandingGet(cache, altTypes[i], propertyName);\n          if (_cached) {\n            /*#__NOINLINE__*/expandingSet(cache, type, propertyName, _cached);\n            _cached.rhs_modelNames.push(type);\n            return _cached;\n          }\n        }\n      }\n\n      // CASE: We don't have a relationship at all\n      // we should only hit this in prod\n      (true && !(meta) && (0, _debug.assert)(`Expected a relationship schema for '${type}.${propertyName}', but no relationship schema was found.`, meta));\n      cache[type][propertyName] = null;\n      return null;\n    }\n    const definition = /*#__NOINLINE__*/upgradeMeta(meta);\n    let inverseDefinition;\n    let inverseKey;\n    const inverseType = definition.type;\n\n    // CASE: Inverse is explicitly null\n    if (definition.inverseKey === null) {\n      // TODO probably dont need this assertion if polymorphic\n      (true && !(getStore(storeWrapper).modelFor(inverseType)) && (0, _debug.assert)(`Expected the inverse model to exist`, getStore(storeWrapper).modelFor(inverseType)));\n      inverseDefinition = null;\n    } else {\n      inverseKey = /*#__NOINLINE__*/inverseForRelationship(getStore(storeWrapper), identifier, propertyName);\n\n      // CASE: If we are polymorphic, and we declared an inverse that is non-null\n      // we must assume that the lack of inverseKey means that there is no\n      // concrete type as the baseType, so we must construct and artificial\n      // placeholder\n      if (!inverseKey && definition.isPolymorphic && definition.inverseKey) {\n        inverseDefinition = {\n          kind: 'belongsTo',\n          // this must be updated when we find the first belongsTo or hasMany definition that matches\n          key: definition.inverseKey,\n          type: type,\n          isAsync: false,\n          // this must be updated when we find the first belongsTo or hasMany definition that matches\n          isImplicit: false,\n          isCollection: false,\n          // this must be updated when we find the first belongsTo or hasMany definition that matches\n          isPolymorphic: false\n        }; // the rest of the fields are populated by syncMeta\n\n        // CASE: Inverse resolves to null\n      } else if (!inverseKey) {\n        inverseDefinition = null;\n      } else {\n        // CASE: We have an explicit inverse or were able to resolve one\n        const inverseDefinitions = storeWrapper.getSchemaDefinitionService().relationshipsDefinitionFor({\n          type: inverseType\n        });\n        (true && !(inverseDefinitions) && (0, _debug.assert)(`Expected to have a relationship definition for ${inverseType} but none was found.`, inverseDefinitions));\n        const metaFromInverse = inverseDefinitions[inverseKey];\n        (true && !(metaFromInverse) && (0, _debug.assert)(`Expected a relationship schema for '${inverseType}.${inverseKey}' to match the inverse of '${type}.${propertyName}', but no relationship schema was found.`, metaFromInverse));\n        inverseDefinition = upgradeMeta(metaFromInverse);\n      }\n    }\n\n    // CASE: We have no inverse\n    if (!inverseDefinition) {\n      // polish off meta\n      inverseKey = /*#__NOINLINE__*/implicitKeyFor(type, propertyName);\n      inverseDefinition = {\n        kind: 'implicit',\n        key: inverseKey,\n        type: type,\n        isAsync: false,\n        isImplicit: true,\n        isCollection: true,\n        // with implicits any number of records could point at us\n        isPolymorphic: false\n      }; // the rest of the fields are populated by syncMeta\n\n      syncMeta(definition, inverseDefinition);\n      syncMeta(inverseDefinition, definition);\n      const info = {\n        lhs_key: `${type}:${propertyName}`,\n        lhs_modelNames: [type],\n        lhs_baseModelName: type,\n        lhs_relationshipName: propertyName,\n        lhs_definition: definition,\n        lhs_isPolymorphic: definition.isPolymorphic,\n        rhs_key: inverseDefinition.key,\n        rhs_modelNames: [inverseType],\n        rhs_baseModelName: inverseType,\n        rhs_relationshipName: inverseDefinition.key,\n        rhs_definition: inverseDefinition,\n        rhs_isPolymorphic: false,\n        hasInverse: false,\n        isSelfReferential: type === inverseType,\n        // this could be wrong if we are self-referential but also polymorphic\n        isReflexive: false // we can't be reflexive if we don't define an inverse\n      };\n      expandingSet(cache, inverseType, inverseKey, info);\n      expandingSet(cache, type, propertyName, info);\n      return info;\n    }\n\n    // CASE: We do have an inverse\n    const baseType = inverseDefinition.type;\n\n    // TODO we want to assert this but this breaks all of our shoddily written tests\n    /*\n      if (DEBUG) {\n        let inverseDoubleCheck = inverseFor(inverseRelationshipName, store);\n         assert(`The ${inverseBaseModelName}:${inverseRelationshipName} relationship declares 'inverse: null', but it was resolved as the inverse for ${baseModelName}:${relationshipName}.`, inverseDoubleCheck);\n      }\n    */\n    // CASE: We may have already discovered the inverse for the baseModelName\n    // CASE: We have already discovered the inverse\n    (true && !(typeof inverseKey === 'string' && inverseKey.length > 0) && (0, _debug.assert)(`We should have determined an inverseKey by now, open an issue if this is hit`, typeof inverseKey === 'string' && inverseKey.length > 0));\n    cached = expandingGet(cache, baseType, propertyName) || expandingGet(cache, inverseType, inverseKey);\n    if (cached) {\n      // TODO this assert can be removed if the above assert is enabled\n      (true && !(cached.hasInverse !== false) && (0, _debug.assert)(`The ${inverseType}:${inverseKey} relationship declares 'inverse: null', but it was resolved as the inverse for ${type}:${propertyName}.`, cached.hasInverse !== false));\n      const _isLHS = cached.lhs_baseModelName === baseType;\n      const modelNames = _isLHS ? cached.lhs_modelNames : cached.rhs_modelNames;\n      // make this lookup easier in the future by caching the key\n      modelNames.push(type);\n      expandingSet(cache, type, propertyName, cached);\n      return cached;\n    }\n\n    // this is our first time so polish off the metas\n    syncMeta(definition, inverseDefinition);\n    syncMeta(inverseDefinition, definition);\n    const lhs_modelNames = [type];\n    if (type !== baseType) {\n      lhs_modelNames.push(baseType);\n    }\n    const isSelfReferential = baseType === inverseType;\n    const info = {\n      lhs_key: `${baseType}:${propertyName}`,\n      lhs_modelNames,\n      lhs_baseModelName: baseType,\n      lhs_relationshipName: propertyName,\n      lhs_definition: definition,\n      lhs_isPolymorphic: definition.isPolymorphic,\n      rhs_key: `${inverseType}:${inverseKey}`,\n      rhs_modelNames: [inverseType],\n      rhs_baseModelName: inverseType,\n      rhs_relationshipName: inverseKey,\n      rhs_definition: inverseDefinition,\n      rhs_isPolymorphic: inverseDefinition.isPolymorphic,\n      hasInverse: true,\n      isSelfReferential,\n      isReflexive: isSelfReferential && propertyName === inverseKey\n    };\n\n    // Create entries for the baseModelName as well as modelName to speed up\n    //  inverse lookups\n    expandingSet(cache, baseType, propertyName, info);\n    expandingSet(cache, type, propertyName, info);\n\n    // Greedily populate the inverse\n    expandingSet(cache, inverseType, inverseKey, info);\n    return info;\n  }\n  function inverseForRelationship(store, identifier, key) {\n    const definition = store.getSchemaDefinitionService().relationshipsDefinitionFor(identifier)[key];\n    if (!definition) {\n      return null;\n    }\n    (true && !(definition.options?.inverse === null || typeof definition.options?.inverse === 'string' && definition.options.inverse.length > 0) && (0, _debug.assert)(`Expected the relationship defintion to specify the inverse type or null.`, definition.options?.inverse === null || typeof definition.options?.inverse === 'string' && definition.options.inverse.length > 0));\n    return definition.options.inverse;\n  }\n  function createState() {\n    return {\n      hasReceivedData: false,\n      isEmpty: true,\n      isStale: false,\n      hasFailedLoadAttempt: false,\n      shouldForceReload: false,\n      hasDematerializedInverse: false\n    };\n  }\n  function createCollectionEdge(definition, identifier) {\n    return {\n      definition,\n      identifier,\n      state: createState(),\n      remoteMembers: new Set(),\n      remoteState: [],\n      additions: null,\n      removals: null,\n      meta: null,\n      links: null,\n      localState: null,\n      isDirty: true,\n      transactionRef: 0,\n      _diff: undefined\n    };\n  }\n  function legacyGetCollectionRelationshipData(source) {\n    const payload = {};\n    if (source.state.hasReceivedData) {\n      payload.data = computeLocalState(source);\n    }\n    if (source.links) {\n      payload.links = source.links;\n    }\n    if (source.meta) {\n      payload.meta = source.meta;\n    }\n    return payload;\n  }\n  function createImplicitEdge(definition, identifier) {\n    return {\n      definition,\n      identifier,\n      localMembers: new Set(),\n      remoteMembers: new Set()\n    };\n  }\n\n  /*\n   * @module @ember-data/graph\n   *\n   * Stores the data for one side of a \"single\" resource relationship.\n   *\n   * @class ResourceEdge\n   * @internal\n   */\n\n  function createResourceEdge(definition, identifier) {\n    return {\n      definition,\n      identifier,\n      state: createState(),\n      transactionRef: 0,\n      localState: null,\n      remoteState: null,\n      meta: null,\n      links: null\n    };\n  }\n  function legacyGetResourceRelationshipData(source) {\n    let data;\n    const payload = {};\n    if (source.localState) {\n      data = source.localState;\n    }\n    if (source.localState === null && source.state.hasReceivedData) {\n      data = null;\n    }\n    if (source.links) {\n      payload.links = source.links;\n    }\n    if (data !== undefined) {\n      payload.data = data;\n    }\n    if (source.meta) {\n      payload.meta = source.meta;\n    }\n    return payload;\n  }\n  function addToRelatedRecords(graph, op, isRemote) {\n    (true && !(!isRemote) && (0, _debug.assert)(`Graph does not yet support updating the remote state of a relationship via the ${op.op} operation`, !isRemote));\n    const {\n      record,\n      value,\n      index\n    } = op;\n    const relationship = graph.get(record, op.field);\n    (true && !(isHasMany(relationship)) && (0, _debug.assert)(`You can only '${op.op}' on a hasMany relationship. ${record.type}.${op.field} is a ${relationship.definition.kind}`, isHasMany(relationship)));\n    if (Array.isArray(value)) {\n      for (let i = 0; i < value.length; i++) {\n        addRelatedRecord(graph, relationship, record, value[i], index !== undefined ? index + i : index, isRemote);\n      }\n    } else {\n      addRelatedRecord(graph, relationship, record, value, index, isRemote);\n    }\n    notifyChange(graph, relationship.identifier, relationship.definition.key);\n  }\n  function addRelatedRecord(graph, relationship, record, value, index, isRemote) {\n    (true && !(value) && (0, _debug.assert)(`expected an identifier to add to the collection relationship`, value));\n    if (_addLocal(graph, record, relationship, value, index ?? null)) {\n      addToInverse(graph, value, relationship.definition.inverseKey, record, isRemote);\n    }\n  }\n  function mergeIdentifier(graph, op, relationships) {\n    Object.keys(relationships).forEach(key => {\n      const rel = relationships[key];\n      if (!rel) {\n        return;\n      }\n      mergeIdentifierForRelationship(graph, op, rel);\n    });\n  }\n  function mergeIdentifierForRelationship(graph, op, rel) {\n    rel.identifier = op.value;\n    forAllRelatedIdentifiers(rel, identifier => {\n      const inverse = graph.get(identifier, rel.definition.inverseKey);\n      mergeInRelationship(graph, inverse, op);\n    });\n  }\n  function mergeInRelationship(graph, rel, op) {\n    if (isBelongsTo(rel)) {\n      mergeBelongsTo(graph, rel, op);\n    } else if (isHasMany(rel)) {\n      mergeHasMany(graph, rel, op);\n    } else {\n      mergeImplicit(graph, rel, op);\n    }\n  }\n  function mergeBelongsTo(graph, rel, op) {\n    if (rel.remoteState === op.record) {\n      rel.remoteState = op.value;\n    }\n    if (rel.localState === op.record) {\n      rel.localState = op.record;\n      notifyChange(graph, rel.identifier, rel.definition.key);\n    }\n  }\n  function mergeHasMany(graph, rel, op) {\n    if (rel.remoteMembers.has(op.record)) {\n      rel.remoteMembers.delete(op.record);\n      rel.remoteMembers.add(op.value);\n      const index = rel.remoteState.indexOf(op.record);\n      rel.remoteState.splice(index, 1, op.value);\n      rel.isDirty = true;\n    }\n    if (rel.additions?.has(op.record)) {\n      rel.additions.delete(op.record);\n      rel.additions.add(op.value);\n      rel.isDirty = true;\n    }\n    if (rel.removals?.has(op.record)) {\n      rel.removals.delete(op.record);\n      rel.removals.add(op.value);\n      rel.isDirty = true;\n    }\n    if (rel.isDirty) {\n      notifyChange(graph, rel.identifier, rel.definition.key);\n    }\n  }\n  function mergeImplicit(graph, rel, op) {\n    if (rel.remoteMembers.has(op.record)) {\n      rel.remoteMembers.delete(op.record);\n      rel.remoteMembers.add(op.value);\n    }\n    if (rel.localMembers.has(op.record)) {\n      rel.localMembers.delete(op.record);\n      rel.localMembers.add(op.value);\n    }\n  }\n  function removeFromRelatedRecords(graph, op, isRemote) {\n    (true && !(!isRemote) && (0, _debug.assert)(`Graph does not yet support updating the remote state of a relationship via the ${op.op} operation`, !isRemote));\n    const {\n      record,\n      value\n    } = op;\n    const relationship = graph.get(record, op.field);\n    (true && !(isHasMany(relationship)) && (0, _debug.assert)(`You can only '${op.op}' on a hasMany relationship. ${record.type}.${op.field} is a ${relationship.definition.kind}`, isHasMany(relationship))); // TODO we should potentially thread the index information through here\n    // when available as it may make it faster to remove from the local state\n    // when trying to patch more efficiently without blowing away the entire\n    // local state array\n    if (Array.isArray(value)) {\n      for (let i = 0; i < value.length; i++) {\n        removeRelatedRecord(graph, relationship, record, value[i], isRemote);\n      }\n    } else {\n      removeRelatedRecord(graph, relationship, record, value, isRemote);\n    }\n    notifyChange(graph, relationship.identifier, relationship.definition.key);\n  }\n  function removeRelatedRecord(graph, relationship, record, value, isRemote) {\n    (true && !(value) && (0, _debug.assert)(`expected an identifier to remove from the collection relationship`, value));\n    if (_removeLocal(relationship, value)) {\n      removeFromInverse(graph, value, relationship.definition.inverseKey, record, isRemote);\n    }\n  }\n\n  /*\n    This method normalizes a link to an \"links object\". If the passed link is\n    already an object it's returned without any modifications.\n  \n    See http://jsonapi.org/format/#document-links for more information.\n  */\n  function _normalizeLink(link) {\n    switch (typeof link) {\n      case 'object':\n        return link;\n      case 'string':\n        return {\n          href: link\n        };\n    }\n  }\n\n  /*\n      Updates the \"canonical\" or \"remote\" state of a relationship, replacing any existing\n      state and blowing away any local changes (excepting new records).\n  */\n  function updateRelationshipOperation(graph, op) {\n    const relationship = graph.get(op.record, op.field);\n    (true && !(isHasMany(relationship) || isBelongsTo(relationship)) && (0, _debug.assert)(`Cannot update an implicit relationship`, isHasMany(relationship) || isBelongsTo(relationship)));\n    const {\n      definition,\n      state,\n      identifier\n    } = relationship;\n    const {\n      isCollection\n    } = definition;\n    const payload = op.value;\n    let hasRelationshipDataProperty = false;\n    let hasUpdatedLink = false;\n    if (payload.meta) {\n      relationship.meta = payload.meta;\n    }\n    if (payload.data !== undefined) {\n      hasRelationshipDataProperty = true;\n      if (isCollection) {\n        // TODO deprecate this case. We\n        // have tests saying we support it.\n        if (payload.data === null) {\n          payload.data = [];\n        }\n        (true && !(Array.isArray(payload.data)) && (0, _debug.assert)(`Expected an array`, Array.isArray(payload.data)));\n        const cache = graph.store.identifierCache;\n        graph.update({\n          op: 'replaceRelatedRecords',\n          record: identifier,\n          field: op.field,\n          value: upgradeIdentifiers(payload.data, cache)\n        }, true);\n      } else {\n        graph.update({\n          op: 'replaceRelatedRecord',\n          record: identifier,\n          field: op.field,\n          value: payload.data ? graph.store.identifierCache.upgradeIdentifier(payload.data) : null\n        }, true);\n      }\n    } else if (definition.isAsync === false && !state.hasReceivedData) {\n      hasRelationshipDataProperty = true;\n      if (isCollection) {\n        graph.update({\n          op: 'replaceRelatedRecords',\n          record: identifier,\n          field: op.field,\n          value: []\n        }, true);\n      } else {\n        graph.update({\n          op: 'replaceRelatedRecord',\n          record: identifier,\n          field: op.field,\n          value: null\n        }, true);\n      }\n    }\n    if (payload.links) {\n      const originalLinks = relationship.links;\n      relationship.links = payload.links;\n      if (payload.links.related) {\n        const relatedLink = _normalizeLink(payload.links.related);\n        const currentLink = originalLinks && originalLinks.related ? _normalizeLink(originalLinks.related) : null;\n        const currentLinkHref = currentLink ? currentLink.href : null;\n        if (relatedLink && relatedLink.href && relatedLink.href !== currentLinkHref) {\n          (true && (0, _debug.warn)(`You pushed a record of type '${identifier.type}' with a relationship '${definition.key}' configured as 'async: false'. You've included a link but no primary data, this may be an error in your payload. EmberData will treat this relationship as known-to-be-empty.`, definition.isAsync || state.hasReceivedData, {\n            id: 'ds.store.push-link-for-sync-relationship'\n          }));\n          (true && !(typeof relatedLink.href === 'string' || relatedLink.href === null) && (0, _debug.assert)(`You have pushed a record of type '${identifier.type}' with '${definition.key}' as a link, but the value of that link is not a string.`, typeof relatedLink.href === 'string' || relatedLink.href === null));\n          hasUpdatedLink = true;\n        }\n      }\n    }\n\n    /*\n         Data being pushed into the relationship might contain only data or links,\n         or a combination of both.\n          IF contains only data\n         IF contains both links and data\n          state.isEmpty -> true if is empty array (has-many) or is null (belongs-to)\n          state.hasReceivedData -> true\n          hasDematerializedInverse -> false\n          state.isStale -> false\n          allInverseRecordsAreLoaded -> run-check-to-determine\n          IF contains only links\n          state.isStale -> true\n         */\n    relationship.state.hasFailedLoadAttempt = false;\n    if (hasRelationshipDataProperty) {\n      const relationshipIsEmpty = payload.data === null || Array.isArray(payload.data) && payload.data.length === 0;\n\n      // we don't need to notify here as the update op we pushed in above will notify once\n      // membership is in the correct state.\n      relationship.state.hasReceivedData = true;\n      relationship.state.isStale = false;\n      relationship.state.hasDematerializedInverse = false;\n      relationship.state.isEmpty = relationshipIsEmpty;\n    } else if (hasUpdatedLink) {\n      // only notify stale if we have not previously received membership data.\n      // within this same transaction\n      // this prevents refetching when only one side of the relationship in the\n      // payload contains the info while the other side contains just a link\n      // this only works when the side with just a link is a belongsTo, as we\n      // don't know if a hasMany has full information or not.\n      // see #7049 for context.\n      if (isCollection || !relationship.state.hasReceivedData || isStaleTransaction(relationship.transactionRef, graph._transaction)) {\n        relationship.state.isStale = true;\n        notifyChange(graph, relationship.identifier, relationship.definition.key);\n      } else {\n        relationship.state.isStale = false;\n      }\n    }\n  }\n  function isStaleTransaction(relationshipTransactionId, graphTransactionId) {\n    return relationshipTransactionId === 0 ||\n    // relationship has never notified\n    graphTransactionId === null ||\n    // we are not in a transaction\n    relationshipTransactionId < graphTransactionId // we are not part of the current transaction\n    ;\n  }\n  function upgradeIdentifiers(arr, cache) {\n    for (let i = 0; i < arr.length; i++) {\n      arr[i] = cache.upgradeIdentifier(arr[i]);\n    }\n    return arr;\n  }\n  const Graphs = new Map();\n  let transactionRef = 0;\n  /*\n   * Graph acts as the cache for relationship data. It allows for\n   * us to ask about and update relationships for a given Identifier\n   * without requiring other objects for that Identifier to be\n   * instantiated (such as `RecordData` or a `Record`)\n   *\n   * This also allows for us to make more substantive changes to relationships\n   * with increasingly minor alterations to other portions of the internals\n   * over time.\n   *\n   * The graph is made up of nodes and edges. Each unique identifier gets\n   * its own node, which is a dictionary with a list of that node's edges\n   * (or connections) to other nodes. In `Model` terms, a node represents a\n   * record instance, with each key (an edge) in the dictionary correlating\n   * to either a `hasMany` or `belongsTo` field on that record instance.\n   *\n   * The value for each key, or `edge` is the identifier(s) the node relates\n   * to in the graph from that key.\n   */\n  class Graph {\n    constructor(store) {\n      this._definitionCache = Object.create(null);\n      this._metaCache = Object.create(null);\n      this._potentialPolymorphicTypes = Object.create(null);\n      this.identifiers = new Map();\n      this.store = store;\n      this.isDestroyed = false;\n      this._willSyncRemote = false;\n      this._willSyncLocal = false;\n      this._pushedUpdates = {\n        belongsTo: undefined,\n        hasMany: undefined,\n        deletions: []\n      };\n      this._updatedRelationships = new Set();\n      this._transaction = null;\n      this._removing = null;\n      this.silenceNotifications = false;\n    }\n    has(identifier, propertyName) {\n      const relationships = this.identifiers.get(identifier);\n      if (!relationships) {\n        return false;\n      }\n      return relationships[propertyName] !== undefined;\n    }\n    getDefinition(identifier, propertyName) {\n      let defs = this._metaCache[identifier.type];\n      let meta = defs?.[propertyName];\n      if (!meta) {\n        const info = /*#__NOINLINE__*/upgradeDefinition(this, identifier, propertyName);\n        (true && !(info !== null) && (0, _debug.assert)(`Could not determine relationship information for ${identifier.type}.${propertyName}`, info !== null)); // if (info.rhs_definition?.kind === 'implicit') {\n        // we should possibly also do this\n        // but it would result in being extremely permissive for other relationships by accident\n        // this.registerPolymorphicType(info.rhs_baseModelName, identifier.type);\n        // }\n        meta = /*#__NOINLINE__*/isLHS(info, identifier.type, propertyName) ? info.lhs_definition : info.rhs_definition;\n        defs = this._metaCache[identifier.type] = defs || {};\n        defs[propertyName] = meta;\n      }\n      return meta;\n    }\n    get(identifier, propertyName) {\n      (true && !(propertyName) && (0, _debug.assert)(`expected propertyName`, propertyName));\n      let relationships = this.identifiers.get(identifier);\n      if (!relationships) {\n        relationships = Object.create(null);\n        this.identifiers.set(identifier, relationships);\n      }\n      let relationship = relationships[propertyName];\n      if (!relationship) {\n        const meta = this.getDefinition(identifier, propertyName);\n        if (meta.kind === 'belongsTo') {\n          relationship = relationships[propertyName] = createResourceEdge(meta, identifier);\n        } else if (meta.kind === 'hasMany') {\n          relationship = relationships[propertyName] = createCollectionEdge(meta, identifier);\n        } else {\n          (true && !(meta.kind === 'implicit' && meta.isImplicit === true) && (0, _debug.assert)(`Expected kind to be implicit`, meta.kind === 'implicit' && meta.isImplicit === true));\n          relationship = relationships[propertyName] = createImplicitEdge(meta, identifier);\n        }\n      }\n      return relationship;\n    }\n    getData(identifier, propertyName) {\n      const relationship = this.get(identifier, propertyName);\n      (true && !(!isImplicit(relationship)) && (0, _debug.assert)(`Cannot getData() on an implicit relationship`, !isImplicit(relationship)));\n      if (isBelongsTo(relationship)) {\n        return legacyGetResourceRelationshipData(relationship);\n      }\n      return legacyGetCollectionRelationshipData(relationship);\n    }\n\n    /*\n     * Allows for the graph to dynamically discover polymorphic connections\n     * without needing to walk prototype chains.\n     *\n     * Used by edges when an added `type` does not match the expected `type`\n     * for that edge.\n     *\n     * Currently we assert before calling this. For a public API we will want\n     * to call out to the schema manager to ask if we should consider these\n     * types as equivalent for a given relationship.\n     */\n    registerPolymorphicType(type1, type2) {\n      const typeCache = this._potentialPolymorphicTypes;\n      let t1 = typeCache[type1];\n      if (!t1) {\n        t1 = typeCache[type1] = Object.create(null);\n      }\n      t1[type2] = true;\n      let t2 = typeCache[type2];\n      if (!t2) {\n        t2 = typeCache[type2] = Object.create(null);\n      }\n      t2[type1] = true;\n    }\n\n    /*\n     TODO move this comment somewhere else\n     implicit relationships are relationships which have not been declared but the inverse side exists on\n     another record somewhere\n      For example if there was:\n      ```app/models/comment.js\n     import Model, { attr } from '@ember-data/model';\n      export default class Comment extends Model {\n       @attr text;\n     }\n     ```\n      and there is also:\n      ```app/models/post.js\n     import Model, { attr, hasMany } from '@ember-data/model';\n      export default class Post extends Model {\n       @attr title;\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      Then we would have a implicit 'post' relationship for the comment record in order\n     to be do things like remove the comment from the post if the comment were to be deleted.\n    */\n\n    isReleasable(identifier) {\n      const relationships = this.identifiers.get(identifier);\n      if (!relationships) {\n        return true;\n      }\n      const keys = Object.keys(relationships);\n      for (let i = 0; i < keys.length; i++) {\n        const relationship = relationships[keys[i]];\n        // account for previously unloaded relationships\n        // typically from a prior deletion of a record that pointed to this one implicitly\n        if (relationship === undefined) {\n          continue;\n        }\n        (true && !(relationship) && (0, _debug.assert)(`Expected a relationship`, relationship));\n        if (relationship.definition.inverseIsAsync && !isNew(identifier)) {\n          return false;\n        }\n      }\n      return true;\n    }\n    unload(identifier, silenceNotifications) {\n      const relationships = this.identifiers.get(identifier);\n      if (relationships) {\n        // cleans up the graph but retains some nodes\n        // to allow for rematerialization\n        Object.keys(relationships).forEach(key => {\n          const rel = relationships[key];\n          if (!rel) {\n            return;\n          }\n          /*#__NOINLINE__*/\n          destroyRelationship(this, rel, silenceNotifications);\n          if (/*#__NOINLINE__*/isImplicit(rel)) {\n            // @ts-expect-error\n            relationships[key] = undefined;\n          }\n        });\n      }\n    }\n    _isDirty(identifier, field) {\n      const relationships = this.identifiers.get(identifier);\n      if (!relationships) {\n        return false;\n      }\n      const relationship = relationships[field];\n      if (!relationship) {\n        return false;\n      }\n      if (isBelongsTo(relationship)) {\n        return relationship.localState !== relationship.remoteState;\n      } else if (isHasMany(relationship)) {\n        const hasAdditions = relationship.additions !== null && relationship.additions.size > 0;\n        const hasRemovals = relationship.removals !== null && relationship.removals.size > 0;\n        return hasAdditions || hasRemovals || isReordered(relationship);\n      }\n      return false;\n    }\n    getChanged(identifier) {\n      const relationships = this.identifiers.get(identifier);\n      const changed = new Map();\n      if (!relationships) {\n        return changed;\n      }\n      const keys = Object.keys(relationships);\n      for (let i = 0; i < keys.length; i++) {\n        const field = keys[i];\n        const relationship = relationships[field];\n        if (!relationship) {\n          continue;\n        }\n        if (isBelongsTo(relationship)) {\n          if (relationship.localState !== relationship.remoteState) {\n            changed.set(field, {\n              kind: 'resource',\n              remoteState: relationship.remoteState,\n              localState: relationship.localState\n            });\n          }\n        } else if (isHasMany(relationship)) {\n          const hasAdditions = relationship.additions !== null && relationship.additions.size > 0;\n          const hasRemovals = relationship.removals !== null && relationship.removals.size > 0;\n          const reordered = isReordered(relationship);\n          if (hasAdditions || hasRemovals || reordered) {\n            changed.set(field, {\n              kind: 'collection',\n              additions: new Set(relationship.additions) || new Set(),\n              removals: new Set(relationship.removals) || new Set(),\n              remoteState: relationship.remoteState,\n              localState: legacyGetCollectionRelationshipData(relationship).data || [],\n              reordered\n            });\n          }\n        }\n      }\n      return changed;\n    }\n    hasChanged(identifier) {\n      const relationships = this.identifiers.get(identifier);\n      if (!relationships) {\n        return false;\n      }\n      const keys = Object.keys(relationships);\n      for (let i = 0; i < keys.length; i++) {\n        if (this._isDirty(identifier, keys[i])) {\n          return true;\n        }\n      }\n      return false;\n    }\n    rollback(identifier) {\n      const relationships = this.identifiers.get(identifier);\n      const changed = [];\n      if (!relationships) {\n        return changed;\n      }\n      const keys = Object.keys(relationships);\n      for (let i = 0; i < keys.length; i++) {\n        const field = keys[i];\n        const relationship = relationships[field];\n        if (!relationship) {\n          continue;\n        }\n        if (this._isDirty(identifier, field)) {\n          rollbackRelationship(this, identifier, field, relationship);\n          changed.push(field);\n        }\n      }\n      return changed;\n    }\n    remove(identifier) {\n      (true && !(!this._removing) && (0, _debug.assert)(`Cannot remove ${String(identifier)} while still removing ${String(this._removing)}`, !this._removing));\n      this._removing = identifier;\n      this.unload(identifier);\n      this.identifiers.delete(identifier);\n      this._removing = null;\n    }\n\n    /*\n     * Remote state changes\n     */\n    push(op) {\n      if (op.op === 'deleteRecord') {\n        this._pushedUpdates.deletions.push(op);\n      } else {\n        const definition = this.getDefinition(op.record, op.field);\n        (true && !(definition.kind !== 'implicit') && (0, _debug.assert)(`Cannot push a remote update for an implicit relationship`, definition.kind !== 'implicit'));\n        addPending(this._pushedUpdates, definition, op);\n      }\n      if (!this._willSyncRemote) {\n        this._willSyncRemote = true;\n        getStore(this.store)._schedule('coalesce', () => this._flushRemoteQueue());\n      }\n    }\n\n    /*\n     * Local state changes\n     */\n\n    update(op, isRemote = false) {\n      (true && !(op.op === 'deleteRecord' || op.op === 'mergeIdentifiers' || !isImplicit(this.get(op.record, op.field))) && (0, _debug.assert)(`Cannot update an implicit relationship`, op.op === 'deleteRecord' || op.op === 'mergeIdentifiers' || !isImplicit(this.get(op.record, op.field))));\n      switch (op.op) {\n        case 'mergeIdentifiers':\n          {\n            const relationships = this.identifiers.get(op.record);\n            if (relationships) {\n              /*#__NOINLINE__*/mergeIdentifier(this, op, relationships);\n            }\n            break;\n          }\n        case 'updateRelationship':\n          (true && !(isRemote) && (0, _debug.assert)(`Can only perform the operation updateRelationship on remote state`, isRemote));\n          {\n            // in debug, assert payload validity eagerly\n            // TODO add deprecations/assertion here for duplicates\n            assertValidRelationshipPayload(this, op);\n          }\n          /*#__NOINLINE__*/\n          updateRelationshipOperation(this, op);\n          break;\n        case 'deleteRecord':\n          {\n            (true && !(isRemote) && (0, _debug.assert)(`Can only perform the operation deleteRelationship on remote state`, isRemote));\n            const identifier = op.record;\n            const relationships = this.identifiers.get(identifier);\n            if (relationships) {\n              Object.keys(relationships).forEach(key => {\n                const rel = relationships[key];\n                if (!rel) {\n                  return;\n                }\n                // works together with the has check\n                // @ts-expect-error\n                relationships[key] = undefined;\n                /*#__NOINLINE__*/\n                removeCompletelyFromInverse(this, rel);\n              });\n              this.identifiers.delete(identifier);\n            }\n            break;\n          }\n        case 'replaceRelatedRecord':\n          /*#__NOINLINE__*/replaceRelatedRecord(this, op, isRemote);\n          break;\n        case 'addToRelatedRecords':\n          // we will lift this restriction once the cache is allowed to make remote updates directly\n          (true && !(!isRemote) && (0, _debug.assert)(`Can only perform the operation addToRelatedRecords on local state`, !isRemote));\n          /*#__NOINLINE__*/\n          addToRelatedRecords(this, op, isRemote);\n          break;\n        case 'removeFromRelatedRecords':\n          // we will lift this restriction once the cache is allowed to make remote updates directly\n          (true && !(!isRemote) && (0, _debug.assert)(`Can only perform the operation removeFromRelatedRecords on local state`, !isRemote));\n          /*#__NOINLINE__*/\n          removeFromRelatedRecords(this, op, isRemote);\n          break;\n        case 'replaceRelatedRecords':\n          /*#__NOINLINE__*/replaceRelatedRecords(this, op, isRemote);\n          break;\n        default:\n          (true && !(false) && (0, _debug.assert)(`No local relationship update operation exists for '${op.op}'`));\n      }\n    }\n    _scheduleLocalSync(relationship) {\n      this._updatedRelationships.add(relationship);\n      if (!this._willSyncLocal) {\n        this._willSyncLocal = true;\n        getStore(this.store)._schedule('sync', () => this._flushLocalQueue());\n      }\n    }\n    _flushRemoteQueue() {\n      if (!this._willSyncRemote) {\n        return;\n      }\n      this._transaction = ++transactionRef;\n      this._willSyncRemote = false;\n      const updates = this._pushedUpdates;\n      const {\n        deletions,\n        hasMany,\n        belongsTo\n      } = updates;\n      updates.deletions = [];\n      updates.hasMany = undefined;\n      updates.belongsTo = undefined;\n      for (let i = 0; i < deletions.length; i++) {\n        this.update(deletions[i], true);\n      }\n      if (hasMany) {\n        flushPending(this, hasMany);\n      }\n      if (belongsTo) {\n        flushPending(this, belongsTo);\n      }\n      this._transaction = null;\n    }\n    _addToTransaction(relationship) {\n      (true && !(this._transaction !== null) && (0, _debug.assert)(`expected a transaction`, this._transaction !== null));\n      relationship.transactionRef = this._transaction;\n    }\n    _flushLocalQueue() {\n      if (!this._willSyncLocal) {\n        return;\n      }\n      if (this.silenceNotifications) {\n        this.silenceNotifications = false;\n        this._updatedRelationships = new Set();\n        return;\n      }\n      this._willSyncLocal = false;\n      const updated = this._updatedRelationships;\n      this._updatedRelationships = new Set();\n      updated.forEach(rel => notifyChange(this, rel.identifier, rel.definition.key));\n    }\n    destroy() {\n      Graphs.delete(this.store);\n      {\n        Graphs.delete(getStore(this.store));\n        if (Graphs.size) {\n          Graphs.forEach((_, key) => {\n            (true && !(\n            // @ts-expect-error\n            !key.isDestroyed && !key.isDestroying) && (0, _debug.assert)(`Memory Leak Detected, likely the test or app instance previous to this was not torn down properly`, !key.isDestroyed && !key.isDestroying));\n          });\n        }\n      }\n      this.identifiers.clear();\n      this.store = null;\n      this.isDestroyed = true;\n    }\n  }\n  function flushPending(graph, ops) {\n    ops.forEach(type => {\n      type.forEach(opList => {\n        flushPendingList(graph, opList);\n      });\n    });\n  }\n  function flushPendingList(graph, opList) {\n    for (let i = 0; i < opList.length; i++) {\n      graph.update(opList[i], true);\n    }\n  }\n\n  // Handle dematerialization for relationship `rel`.  In all cases, notify the\n  // relationship of the dematerialization: this is done so the relationship can\n  // notify its inverse which needs to update state\n  //\n  // If the inverse is sync, unloading this record is treated as a client-side\n  // delete, so we remove the inverse records from this relationship to\n  // disconnect the graph.  Because it's not async, we don't need to keep around\n  // the identifier as an id-wrapper for references\n  function destroyRelationship(graph, rel, silenceNotifications) {\n    if (isImplicit(rel)) {\n      if (graph.isReleasable(rel.identifier)) {\n        /*#__NOINLINE__*/removeCompletelyFromInverse(graph, rel);\n      }\n      return;\n    }\n    const {\n      identifier\n    } = rel;\n    const {\n      inverseKey\n    } = rel.definition;\n    if (!rel.definition.inverseIsImplicit) {\n      /*#__NOINLINE__*/forAllRelatedIdentifiers(rel, inverseIdentifer => /*#__NOINLINE__*/notifyInverseOfDematerialization(graph, inverseIdentifer, inverseKey, identifier, silenceNotifications));\n    }\n    if (!rel.definition.inverseIsImplicit && !rel.definition.inverseIsAsync) {\n      rel.state.isStale = true;\n      /*#__NOINLINE__*/\n      clearRelationship(rel);\n\n      // necessary to clear relationships in the ui from dematerialized records\n      // hasMany is managed by Model which calls `retreiveLatest` after\n      // dematerializing the resource-cache instance.\n      // but sync belongsTo requires this since they don't have a proxy to update.\n      // so we have to notify so it will \"update\" to null.\n      // we should discuss whether we still care about this, probably fine to just\n      // leave the ui relationship populated since the record is destroyed and\n      // internally we've fully cleaned up.\n      if (!rel.definition.isAsync && !silenceNotifications) {\n        /*#__NOINLINE__*/notifyChange(graph, rel.identifier, rel.definition.key);\n      }\n    }\n  }\n  function notifyInverseOfDematerialization(graph, inverseIdentifier, inverseKey, identifier, silenceNotifications) {\n    if (!graph.has(inverseIdentifier, inverseKey)) {\n      return;\n    }\n    const relationship = graph.get(inverseIdentifier, inverseKey);\n    (true && !(!isImplicit(relationship)) && (0, _debug.assert)(`expected no implicit`, !isImplicit(relationship))); // For remote members, it is possible that inverseRecordData has already been associated to\n    // to another record. For such cases, do not dematerialize the inverseRecordData\n    if (!isBelongsTo(relationship) || !relationship.localState || identifier === relationship.localState) {\n      /*#__NOINLINE__*/removeDematerializedInverse(graph, relationship, identifier, silenceNotifications);\n    }\n  }\n  function clearRelationship(relationship) {\n    if (isBelongsTo(relationship)) {\n      relationship.localState = null;\n      relationship.remoteState = null;\n      relationship.state.hasReceivedData = false;\n      relationship.state.isEmpty = true;\n    } else {\n      relationship.remoteMembers.clear();\n      relationship.remoteState = [];\n      relationship.additions = null;\n      relationship.removals = null;\n      relationship.localState = null;\n    }\n  }\n  function removeDematerializedInverse(graph, relationship, inverseIdentifier, silenceNotifications) {\n    if (isBelongsTo(relationship)) {\n      const localInverse = relationship.localState;\n      if (!relationship.definition.isAsync || localInverse && isNew(localInverse)) {\n        // unloading inverse of a sync relationship is treated as a client-side\n        // delete, so actually remove the models don't merely invalidate the cp\n        // cache.\n        // if the record being unloaded only exists on the client, we similarly\n        // treat it as a client side delete\n        if (relationship.localState === localInverse && localInverse !== null) {\n          relationship.localState = null;\n        }\n        if (relationship.remoteState === localInverse && localInverse !== null) {\n          relationship.remoteState = null;\n          relationship.state.hasReceivedData = true;\n          relationship.state.isEmpty = true;\n          if (relationship.localState && !isNew(relationship.localState)) {\n            relationship.localState = null;\n          }\n        }\n      } else {\n        relationship.state.hasDematerializedInverse = true;\n      }\n      if (!silenceNotifications) {\n        notifyChange(graph, relationship.identifier, relationship.definition.key);\n      }\n    } else {\n      if (!relationship.definition.isAsync || inverseIdentifier && isNew(inverseIdentifier)) {\n        // unloading inverse of a sync relationship is treated as a client-side\n        // delete, so actually remove the models don't merely invalidate the cp\n        // cache.\n        // if the record being unloaded only exists on the client, we similarly\n        // treat it as a client side delete\n        /*#__NOINLINE__*/\n        removeIdentifierCompletelyFromRelationship(graph, relationship, inverseIdentifier);\n      } else {\n        relationship.state.hasDematerializedInverse = true;\n      }\n      if (!silenceNotifications) {\n        notifyChange(graph, relationship.identifier, relationship.definition.key);\n      }\n    }\n  }\n  function removeCompletelyFromInverse(graph, relationship) {\n    const {\n      identifier\n    } = relationship;\n    const {\n      inverseKey\n    } = relationship.definition;\n    forAllRelatedIdentifiers(relationship, inverseIdentifier => {\n      if (graph.has(inverseIdentifier, inverseKey)) {\n        removeIdentifierCompletelyFromRelationship(graph, graph.get(inverseIdentifier, inverseKey), identifier);\n      }\n    });\n    if (isBelongsTo(relationship)) {\n      if (!relationship.definition.isAsync) {\n        clearRelationship(relationship);\n      }\n      relationship.localState = null;\n    } else if (isHasMany(relationship)) {\n      if (!relationship.definition.isAsync) {\n        clearRelationship(relationship);\n        notifyChange(graph, relationship.identifier, relationship.definition.key);\n      }\n    } else {\n      relationship.remoteMembers.clear();\n      relationship.localMembers.clear();\n    }\n  }\n  function addPending(cache, definition, op) {\n    const lc = cache[definition.kind] = cache[definition.kind] || new Map();\n    let lc2 = lc.get(definition.inverseType);\n    if (!lc2) {\n      lc2 = new Map();\n      lc.set(definition.inverseType, lc2);\n    }\n    let arr = lc2.get(op.field);\n    if (!arr) {\n      arr = [];\n      lc2.set(op.field, arr);\n    }\n    arr.push(op);\n  }\n  function isReordered(relationship) {\n    // if we are dirty we are never re-ordered because accessing\n    // the state would flush away any reordering.\n    if (relationship.isDirty) {\n      return false;\n    }\n    const {\n      remoteState,\n      localState,\n      additions,\n      removals\n    } = relationship;\n    (true && !(localState) && (0, _debug.assert)(`Expected localSate`, localState));\n    for (let i = 0, j = 0; i < remoteState.length; i++) {\n      const member = remoteState[i];\n      const localMember = localState[j];\n      if (member !== localMember) {\n        if (removals && removals.has(member)) {\n          // dont increment j because we want to skip this\n          continue;\n        }\n        if (additions && additions.has(localMember)) {\n          // increment j to skip this localMember\n          // decrement i to repeat this remoteMember\n          j++;\n          i--;\n          continue;\n        }\n        return true;\n      }\n\n      // if we made it here, increment j\n      j++;\n    }\n    return false;\n  }\n  function isStore(maybeStore) {\n    return maybeStore._instanceCache !== undefined;\n  }\n  function getWrapper(store) {\n    return isStore(store) ? store._instanceCache._storeWrapper : store;\n  }\n  function peekGraph(store) {\n    return Graphs.get(getWrapper(store));\n  }\n  function graphFor(store) {\n    const wrapper = getWrapper(store);\n    let graph = Graphs.get(wrapper);\n    if (!graph) {\n      graph = new Graph(wrapper);\n      Graphs.set(wrapper, graph);\n      getStore(wrapper)._graph = graph;\n      {\n        if (getStore(wrapper).isDestroying) {\n          throw new Error(`Memory Leak Detected During Teardown`);\n        }\n      }\n    }\n    return graph;\n  }\n});","define(\"@ember-data/json-api/index\", [\"exports\", \"@ember/debug\", \"@ember-data/graph/-private\"], function (_exports, _debug, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * @module @ember-data/json-api\n   */\n  function isImplicit(relationship) {\n    return relationship.definition.isImplicit;\n  }\n  function upgradeCapabilities(obj) {}\n  const EMPTY_ITERATOR = {\n    iterator() {\n      return {\n        next() {\n          return {\n            done: true,\n            value: undefined\n          };\n        }\n      };\n    }\n  };\n  function makeCache() {\n    return {\n      id: null,\n      remoteAttrs: null,\n      localAttrs: null,\n      inflightAttrs: null,\n      changes: null,\n      errors: null,\n      isNew: false,\n      isDeleted: false,\n      isDeletionCommitted: false\n    };\n  }\n\n  /**\n    A JSON:API Cache implementation.\n  \n    What cache the store uses is configurable. Using a different\n    implementation can be achieved by implementing the store's\n    createCache hook.\n  \n    This is the cache implementation used by `ember-data`.\n  \n    ```js\n    import Cache from '@ember-data/json-api';\n    import Store from '@ember-data/store';\n  \n    export default class extends Store {\n      createCache(wrapper) {\n        return new Cache(wrapper);\n      }\n    }\n    ```\n  \n    @class Cache\n    @public\n   */\n\n  class JSONAPICache {\n    /**\n     * The Cache Version that this implementation implements.\n     *\n     * @type {'2'}\n     * @public\n     * @property version\n     */\n\n    constructor(storeWrapper) {\n      this.version = '2';\n      this._capabilities = storeWrapper;\n      this.__cache = new Map();\n      this.__graph = (0, _private.graphFor)(storeWrapper);\n      this.__destroyedCache = new Map();\n      this.__documents = new Map();\n    }\n\n    // Cache Management\n    // ================\n\n    /**\n     * Cache the response to a request\n     *\n     * Implements `Cache.put`.\n     *\n     * Expects a StructuredDocument whose `content` member is a JsonApiDocument.\n     *\n     * ```js\n     * cache.put({\n     *   request: { url: 'https://api.example.com/v1/user/1' },\n     *   content: {\n     *     data: {\n     *       type: 'user',\n     *       id: '1',\n     *       attributes: {\n     *         name: 'Chris'\n     *       }\n     *     }\n     *   }\n     * })\n     * ```\n     *\n     * > **Note**\n     * > The nested `content` and `data` members are not a mistake. This is because\n     * > there are two separate concepts involved here, the `StructuredDocument` which contains\n     * > the context of a given Request that has been issued with the returned contents as its\n     * > `content` property, and a `JSON:API Document` which is the json contents returned by\n     * > this endpoint and which uses its `data` property to signify which resources are the\n     * > primary resources associated with the request.\n     *\n     * StructuredDocument's with urls will be cached as full documents with\n     * associated resource membership order and contents preserved but linked\n     * into the cache.\n     *\n     * @method put\n     * @param {StructuredDocument} doc\n     * @return {ResourceDocument}\n     * @public\n     */\n\n    put(doc) {\n      (true && !(doc instanceof Error || typeof doc.content === 'object' && doc.content !== null) && (0, _debug.assert)(`Expected a JSON:API Document as the content provided to the cache, received ${typeof doc.content}`, doc instanceof Error || typeof doc.content === 'object' && doc.content !== null));\n      if (isErrorDocument(doc)) {\n        return this._putDocument(doc, undefined, undefined);\n      } else if (isMetaDocument(doc)) {\n        return this._putDocument(doc, undefined, undefined);\n      }\n      const jsonApiDoc = doc.content;\n      const included = jsonApiDoc.included;\n      let i, length;\n      const {\n        identifierCache\n      } = this._capabilities;\n      if (included) {\n        for (i = 0, length = included.length; i < length; i++) {\n          included[i] = putOne(this, identifierCache, included[i]);\n        }\n      }\n      if (Array.isArray(jsonApiDoc.data)) {\n        length = jsonApiDoc.data.length;\n        const identifiers = [];\n        for (i = 0; i < length; i++) {\n          identifiers.push(putOne(this, identifierCache, jsonApiDoc.data[i]));\n        }\n        return this._putDocument(doc, identifiers, included);\n      }\n      if (jsonApiDoc.data === null) {\n        return this._putDocument(doc, null, included);\n      }\n      (true && !(typeof jsonApiDoc.data === 'object') && (0, _debug.assert)(`Expected a resource object in the 'data' property in the document provided to the cache, but was ${typeof jsonApiDoc.data}`, typeof jsonApiDoc.data === 'object'));\n      const identifier = putOne(this, identifierCache, jsonApiDoc.data);\n      return this._putDocument(doc, identifier, included);\n    }\n    _putDocument(doc, data, included) {\n      // @ts-expect-error narrowing within is just horrible  in TS :/\n      const resourceDocument = isErrorDocument(doc) ? fromStructuredError(doc) : fromBaseDocument(doc);\n      if (data !== undefined) {\n        resourceDocument.data = data;\n      }\n      if (included !== undefined) {\n        (true && !(!isErrorDocument(doc)) && (0, _debug.assert)(`There should not be included data on an Error document`, !isErrorDocument(doc)));\n        (true && !(!isMetaDocument(doc)) && (0, _debug.assert)(`There should not be included data on a Meta document`, !isMetaDocument(doc)));\n        resourceDocument.included = included;\n      }\n      const request = doc.request;\n      const identifier = request ? this._capabilities.identifierCache.getOrCreateDocumentIdentifier(request) : null;\n      if (identifier) {\n        resourceDocument.lid = identifier.lid;\n\n        // @ts-expect-error\n        doc.content = resourceDocument;\n        const hasExisting = this.__documents.has(identifier.lid);\n        this.__documents.set(identifier.lid, doc);\n        this._capabilities.notifyChange(identifier, hasExisting ? 'updated' : 'added');\n      }\n      return resourceDocument;\n    }\n\n    /**\n     * Update the \"remote\" or \"canonical\" (persisted) state of the Cache\n     * by merging new information into the existing state.\n     *\n     * Note: currently the only valid resource operation is a MergeOperation\n     * which occurs when a collision of identifiers is detected.\n     *\n     * @method patch\n     * @public\n     * @param {Operation} op the operation to perform\n     * @return {void}\n     */\n    patch(op) {\n      if (op.op === 'mergeIdentifiers') {\n        const cache = this.__cache.get(op.record);\n        if (cache) {\n          this.__cache.set(op.value, cache);\n          this.__cache.delete(op.record);\n        }\n        this.__graph.update(op, true);\n      }\n    }\n\n    /**\n     * Update the \"local\" or \"current\" (unpersisted) state of the Cache\n     *\n     * @method mutate\n     * @param {Mutation} mutation\n     * @return {void}\n     * @public\n     */\n    mutate(mutation) {\n      this.__graph.update(mutation, false);\n    }\n\n    /**\n     * Peek resource data from the Cache.\n     *\n     * In development, if the return value\n     * is JSON the return value\n     * will be deep-cloned and deep-frozen\n     * to prevent mutation thereby enforcing cache\n     * Immutability.\n     *\n     * This form of peek is useful for implementations\n     * that want to feed raw-data from cache to the UI\n     * or which want to interact with a blob of data\n     * directly from the presentation cache.\n     *\n     * An implementation might want to do this because\n     * de-referencing records which read from their own\n     * blob is generally safer because the record does\n     * not require retainining connections to the Store\n     * and Cache to present data on a per-field basis.\n     *\n     * This generally takes the place of `getAttr` as\n     * an API and may even take the place of `getRelationship`\n     * depending on implementation specifics, though this\n     * latter usage is less recommended due to the advantages\n     * of the Graph handling necessary entanglements and\n     * notifications for relational data.\n     *\n     * @method peek\n     * @public\n     * @param {StableRecordIdentifier | StableDocumentIdentifier} identifier\n     * @return {ResourceDocument | ResourceBlob | null} the known resource data\n     */\n\n    peek(identifier) {\n      if ('type' in identifier) {\n        const peeked = this.__safePeek(identifier, false);\n        if (!peeked) {\n          return null;\n        }\n        const {\n          type,\n          id,\n          lid\n        } = identifier;\n        const attributes = Object.assign({}, peeked.remoteAttrs, peeked.inflightAttrs, peeked.localAttrs);\n        const relationships = {};\n        const rels = this.__graph.identifiers.get(identifier);\n        if (rels) {\n          Object.keys(rels).forEach(key => {\n            const rel = rels[key];\n            if (rel.definition.isImplicit) {\n              return;\n            } else {\n              relationships[key] = this.__graph.getData(identifier, key);\n            }\n          });\n        }\n        upgradeCapabilities(this._capabilities);\n        const store = this._capabilities._store;\n        const attrs = this._capabilities.schema.fields(identifier);\n        attrs.forEach((attr, key) => {\n          if (key in attributes && attributes[key] !== undefined) {\n            return;\n          }\n          const defaultValue = getDefaultValue(attr, identifier, store);\n          if (defaultValue !== undefined) {\n            attributes[key] = defaultValue;\n          }\n        });\n        return {\n          type,\n          id,\n          lid,\n          attributes,\n          relationships\n        };\n      }\n      const document = this.peekRequest(identifier);\n      if (document) {\n        if ('content' in document) return document.content;\n      }\n      return null;\n    }\n\n    /**\n     * Peek the Cache for the existing request data associated with\n     * a cacheable request.\n     *\n     * This is effectively the reverse of `put` for a request in\n     * that it will return the the request, response, and content\n     * whereas `peek` will return just the `content`.\n     *\n     * @method peekRequest\n     * @param {StableDocumentIdentifier}\n     * @return {StructuredDocument<ResourceDocument> | null}\n     * @public\n     */\n    peekRequest(identifier) {\n      return this.__documents.get(identifier.lid) || null;\n    }\n\n    /**\n     * Push resource data from a remote source into the cache for this identifier\n     *\n     * @method upsert\n     * @public\n     * @param identifier\n     * @param data\n     * @param hasRecord\n     * @return {void | string[]} if `hasRecord` is true then calculated key changes should be returned\n     */\n    upsert(identifier, data, calculateChanges) {\n      let changedKeys;\n      const peeked = this.__safePeek(identifier, false);\n      const existed = !!peeked;\n      const cached = peeked || this._createCache(identifier);\n      const isLoading = /*#__NOINLINE__*/_isLoading(peeked, this._capabilities, identifier) || !recordIsLoaded(peeked);\n      const isUpdate = /*#__NOINLINE__*/!_isEmpty(peeked) && !isLoading;\n      if (cached.isNew) {\n        cached.isNew = false;\n        this._capabilities.notifyChange(identifier, 'identity');\n        this._capabilities.notifyChange(identifier, 'state');\n      }\n      if (calculateChanges) {\n        changedKeys = existed ? calculateChangedKeys(cached, data.attributes) : Object.keys(data.attributes || {});\n      }\n      cached.remoteAttrs = Object.assign(cached.remoteAttrs || Object.create(null), data.attributes);\n      if (cached.localAttrs) {\n        if (patchLocalAttributes(cached)) {\n          this._capabilities.notifyChange(identifier, 'state');\n        }\n      }\n      if (!isUpdate) {\n        this._capabilities.notifyChange(identifier, 'added');\n      }\n      if (data.id) {\n        cached.id = data.id;\n      }\n      if (data.relationships) {\n        setupRelationships(this.__graph, this._capabilities, identifier, data);\n      }\n      if (changedKeys && changedKeys.length) {\n        notifyAttributes(this._capabilities, identifier, changedKeys);\n      }\n      return changedKeys;\n    }\n\n    // Cache Forking Support\n    // =====================\n\n    /**\n     * Create a fork of the cache from the current state.\n     *\n     * Applications should typically not call this method themselves,\n     * preferring instead to fork at the Store level, which will\n     * utilize this method to fork the cache.\n     *\n     * @method fork\n     * @internal\n     * @return Promise<Cache>\n     */\n    fork() {\n      throw new Error(`Not Implemented`);\n    }\n\n    /**\n     * Merge a fork back into a parent Cache.\n     *\n     * Applications should typically not call this method themselves,\n     * preferring instead to merge at the Store level, which will\n     * utilize this method to merge the caches.\n     *\n     * @method merge\n     * @param {Cache} cache\n     * @public\n     * @return Promise<void>\n     */\n    merge(cache) {\n      throw new Error(`Not Implemented`);\n    }\n\n    /**\n     * Generate the list of changes applied to all\n     * record in the store.\n     *\n     * Each individual resource or document that has\n     * been mutated should be described as an individual\n     * `Change` entry in the returned array.\n     *\n     * A `Change` is described by an object containing up to\n     * three properties: (1) the `identifier` of the entity that\n     * changed; (2) the `op` code of that change being one of\n     * `upsert` or `remove`, and if the op is `upsert` a `patch`\n     * containing the data to merge into the cache for the given\n     * entity.\n     *\n     * This `patch` is opaque to the Store but should be understood\n     * by the Cache and may expect to be utilized by an Adapter\n     * when generating data during a `save` operation.\n     *\n     * It is generally recommended that the `patch` contain only\n     * the updated state, ignoring fields that are unchanged\n     *\n     * ```ts\n     * interface Change {\n     *  identifier: StableRecordIdentifier | StableDocumentIdentifier;\n     *  op: 'upsert' | 'remove';\n     *  patch?: unknown;\n     * }\n     * ```\n     *\n     * @method diff\n     * @public\n     */\n    diff() {\n      throw new Error(`Not Implemented`);\n    }\n\n    // SSR Support\n    // ===========\n\n    /**\n     * Serialize the entire contents of the Cache into a Stream\n     * which may be fed back into a new instance of the same Cache\n     * via `cache.hydrate`.\n     *\n     * @method dump\n     * @return {Promise<ReadableStream>}\n     * @public\n     */\n    dump() {\n      throw new Error(`Not Implemented`);\n    }\n\n    /**\n     * hydrate a Cache from a Stream with content previously serialized\n     * from another instance of the same Cache, resolving when hydration\n     * is complete.\n     *\n     * This method should expect to be called both in the context of restoring\n     * the Cache during application rehydration after SSR **AND** at unknown\n     * times during the lifetime of an already booted application when it is\n     * desired to bulk-load additional information into the cache. This latter\n     * behavior supports optimizing pre/fetching of data for route transitions\n     * via data-only SSR modes.\n     *\n     * @method hydrate\n     * @param {ReadableStream} stream\n     * @return {Promise<void>}\n     * @public\n     */\n    hydrate(stream) {\n      throw new Error('Not Implemented');\n    }\n\n    // Resource Support\n    // ================\n\n    /**\n     * [LIFECYCLE] Signal to the cache that a new record has been instantiated on the client\n     *\n     * It returns properties from options that should be set on the record during the create\n     * process. This return value behavior is deprecated.\n     *\n     * @method clientDidCreate\n     * @public\n     * @param identifier\n     * @param createArgs\n     */\n    clientDidCreate(identifier, options) {\n      const cached = this._createCache(identifier);\n      cached.isNew = true;\n      const createOptions = {};\n      if (options !== undefined) {\n        const storeWrapper = this._capabilities;\n        const fields = storeWrapper.schema.fields(identifier);\n        const graph = this.__graph;\n        const propertyNames = Object.keys(options);\n        for (let i = 0; i < propertyNames.length; i++) {\n          const name = propertyNames[i];\n          const propertyValue = options[name];\n          if (name === 'id') {\n            continue;\n          }\n          const fieldType = fields.get(name);\n          const kind = fieldType !== undefined ? 'kind' in fieldType ? fieldType.kind : 'attribute' : null;\n          let relationship;\n          switch (kind) {\n            case 'attribute':\n              this.setAttr(identifier, name, propertyValue);\n              createOptions[name] = propertyValue;\n              break;\n            case 'belongsTo':\n              this.mutate({\n                op: 'replaceRelatedRecord',\n                field: name,\n                record: identifier,\n                value: propertyValue\n              });\n              relationship = graph.get(identifier, name);\n              relationship.state.hasReceivedData = true;\n              relationship.state.isEmpty = false;\n              break;\n            case 'hasMany':\n              this.mutate({\n                op: 'replaceRelatedRecords',\n                field: name,\n                record: identifier,\n                value: propertyValue\n              });\n              relationship = graph.get(identifier, name);\n              relationship.state.hasReceivedData = true;\n              relationship.state.isEmpty = false;\n              break;\n            default:\n              // reflect back (pass-thru) unknown properties\n              createOptions[name] = propertyValue;\n          }\n        }\n      }\n      this._capabilities.notifyChange(identifier, 'added');\n      return createOptions;\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that a resource\n     * will be part of a save transaction.\n     *\n     * @method willCommit\n     * @public\n     * @param identifier\n     */\n    willCommit(identifier) {\n      const cached = this.__peek(identifier, false);\n\n      /*\n        if we have multiple saves in flight at once then\n        we have information loss no matter what. This\n        attempts to lose the least information.\n         If we were to clear inflightAttrs, previous requests\n        would not be able to use it during their didCommit.\n         If we upsert inflightattrs, previous requests incorrectly\n        see more recent inflight changes as part of their own and\n        will incorrectly mark the new state as the correct remote state.\n         We choose this latter behavior to avoid accidentally removing\n        earlier changes.\n         If apps do not want this behavior they can either\n        - chain save requests serially vs allowing concurrent saves\n        - move to using a request handler that caches the inflight state\n          on a per-request basis\n        - change their save requests to only send a \"PATCH\" instead of a \"PUT\"\n          so that only latest changes are involved in each request, and then also\n          ensure that the API or their handler reflects only those changes back\n          for upsert into the cache.\n      */\n      if (cached.inflightAttrs) {\n        if (cached.localAttrs) {\n          Object.assign(cached.inflightAttrs, cached.localAttrs);\n        }\n      } else {\n        cached.inflightAttrs = cached.localAttrs;\n      }\n      cached.localAttrs = null;\n      {}\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that a resource\n     * was successfully updated as part of a save transaction.\n     *\n     * @method didCommit\n     * @public\n     * @param identifier\n     * @param data\n     */\n    didCommit(committedIdentifier, result) {\n      const payload = result.content;\n      const operation = result.request.op;\n      const data = payload && payload.data;\n      if (!data) {\n        (true && !(committedIdentifier.id) && (0, _debug.assert)(`Your ${committedIdentifier.type} record was saved to the server, but the response does not have an id and no id has been set client side. Records must have ids. Please update the server response to provide an id in the response or generate the id on the client side either before saving the record or while normalizing the response.`, committedIdentifier.id));\n      }\n      const {\n        identifierCache\n      } = this._capabilities;\n      const existingId = committedIdentifier.id;\n      const identifier = operation !== 'deleteRecord' && data ? identifierCache.updateRecordIdentifier(committedIdentifier, data) : committedIdentifier;\n      const cached = this.__peek(identifier, false);\n      if (cached.isDeleted) {\n        this.__graph.push({\n          op: 'deleteRecord',\n          record: identifier,\n          isNew: false\n        });\n        cached.isDeletionCommitted = true;\n        this._capabilities.notifyChange(identifier, 'removed');\n        // TODO @runspired should we early exit here?\n      }\n      {\n        if (cached.isNew && !identifier.id && (typeof data?.id !== 'string' || data.id.length > 0)) {\n          const error = new Error(`Expected an id ${String(identifier)} in response ${JSON.stringify(data)}`);\n          //@ts-expect-error\n          error.isAdapterError = true;\n          //@ts-expect-error\n          error.code = 'InvalidError';\n          throw error;\n        }\n      }\n      cached.isNew = false;\n      let newCanonicalAttributes;\n      if (data) {\n        if (data.id && !cached.id) {\n          cached.id = data.id;\n        }\n        if (identifier === committedIdentifier && identifier.id !== existingId) {\n          this._capabilities.notifyChange(identifier, 'identity');\n        }\n        (true && !(identifier.id === cached.id) && (0, _debug.assert)(`Expected the ID received for the primary '${identifier.type}' resource being saved to match the current id '${cached.id}' but received '${identifier.id}'.`, identifier.id === cached.id));\n        if (data.relationships) {\n          {}\n          setupRelationships(this.__graph, this._capabilities, identifier, data);\n        }\n        newCanonicalAttributes = data.attributes;\n      }\n      const changedKeys = calculateChangedKeys(cached, newCanonicalAttributes);\n      cached.remoteAttrs = Object.assign(cached.remoteAttrs || Object.create(null), cached.inflightAttrs, newCanonicalAttributes);\n      cached.inflightAttrs = null;\n      patchLocalAttributes(cached);\n      if (cached.errors) {\n        cached.errors = null;\n        this._capabilities.notifyChange(identifier, 'errors');\n      }\n      notifyAttributes(this._capabilities, identifier, changedKeys);\n      this._capabilities.notifyChange(identifier, 'state');\n      const included = payload && payload.included;\n      if (included) {\n        for (let i = 0, length = included.length; i < length; i++) {\n          putOne(this, identifierCache, included[i]);\n        }\n      }\n      return {\n        data: identifier\n      };\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that a resource\n     * was update via a save transaction failed.\n     *\n     * @method commitWasRejected\n     * @public\n     * @param identifier\n     * @param errors\n     */\n    commitWasRejected(identifier, errors) {\n      const cached = this.__peek(identifier, false);\n      if (cached.inflightAttrs) {\n        const keys = Object.keys(cached.inflightAttrs);\n        if (keys.length > 0) {\n          const attrs = cached.localAttrs = cached.localAttrs || Object.create(null);\n          for (let i = 0; i < keys.length; i++) {\n            if (attrs[keys[i]] === undefined) {\n              attrs[keys[i]] = cached.inflightAttrs[keys[i]];\n            }\n          }\n        }\n        cached.inflightAttrs = null;\n      }\n      if (errors) {\n        cached.errors = errors;\n      }\n      this._capabilities.notifyChange(identifier, 'errors');\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that all data for a resource\n     * should be cleared.\n     *\n     * This method is a candidate to become a mutation\n     *\n     * @method unloadRecord\n     * @public\n     * @param identifier\n     */\n    unloadRecord(identifier) {\n      const storeWrapper = this._capabilities;\n      // TODO this is necessary because\n      // we maintain memebership inside InstanceCache\n      // for peekAll, so even though we haven't created\n      // any data we think this exists.\n      // TODO can we eliminate that membership now?\n      if (!this.__cache.has(identifier)) {\n        // the graph may still need to unload identity\n        (0, _private.peekGraph)(storeWrapper)?.unload(identifier);\n        return;\n      }\n      const removeFromRecordArray = !this.isDeletionCommitted(identifier);\n      let removed = false;\n      const cached = this.__peek(identifier, false);\n      if (cached.isNew) {\n        (0, _private.peekGraph)(storeWrapper)?.push({\n          op: 'deleteRecord',\n          record: identifier,\n          isNew: true\n        });\n      } else {\n        (0, _private.peekGraph)(storeWrapper)?.unload(identifier);\n      }\n\n      // effectively clearing these is ensuring that\n      // we report as `isEmpty` during teardown.\n      cached.localAttrs = null;\n      cached.remoteAttrs = null;\n      cached.inflightAttrs = null;\n      const relatedIdentifiers = _allRelatedIdentifiers(storeWrapper, identifier);\n      if (areAllModelsUnloaded(storeWrapper, relatedIdentifiers)) {\n        for (let i = 0; i < relatedIdentifiers.length; ++i) {\n          const relatedIdentifier = relatedIdentifiers[i];\n          storeWrapper.notifyChange(relatedIdentifier, 'removed');\n          removed = true;\n          storeWrapper.disconnectRecord(relatedIdentifier);\n        }\n      }\n      this.__cache.delete(identifier);\n      this.__destroyedCache.set(identifier, cached);\n\n      /*\n       * The destroy cache is a hack to prevent applications\n       * from blowing up during teardown. Accessing state\n       * on a destroyed record is not safe, but historically\n       * was possible due to a combination of teardown timing\n       * and retention of cached state directly on the\n       * record itself.\n       *\n       * Once we have deprecated accessing state on a destroyed\n       * instance we may remove this. The timing isn't a huge deal\n       * as momentarily retaining the objects outside the bounds\n       * of a test won't cause issues.\n       */\n      if (this.__destroyedCache.size === 1) {\n        // TODO do we still need this?\n        setTimeout(() => {\n          this.__destroyedCache.clear();\n        }, 100);\n      }\n      if (!removed && removeFromRecordArray) {\n        storeWrapper.notifyChange(identifier, 'removed');\n      }\n    }\n\n    // Granular Resource Data APIs\n    // ===========================\n\n    /**\n     * Retrieve the data for an attribute from the cache\n     *\n     * @method getAttr\n     * @public\n     * @param identifier\n     * @param field\n     * @return {unknown}\n     */\n    getAttr(identifier, attr) {\n      const cached = this.__peek(identifier, true);\n      if (cached.localAttrs && attr in cached.localAttrs) {\n        return cached.localAttrs[attr];\n      } else if (cached.inflightAttrs && attr in cached.inflightAttrs) {\n        return cached.inflightAttrs[attr];\n      } else if (cached.remoteAttrs && attr in cached.remoteAttrs) {\n        return cached.remoteAttrs[attr];\n      } else {\n        const attrSchema = this._capabilities.schema.fields(identifier).get(attr);\n        upgradeCapabilities(this._capabilities);\n        return getDefaultValue(attrSchema, identifier, this._capabilities._store);\n      }\n    }\n\n    /**\n     * Mutate the data for an attribute in the cache\n     *\n     * This method is a candidate to become a mutation\n     *\n     * @method setAttr\n     * @public\n     * @param identifier\n     * @param field\n     * @param value\n     */\n    setAttr(identifier, attr, value) {\n      const cached = this.__peek(identifier, false);\n      const existing = cached.inflightAttrs && attr in cached.inflightAttrs ? cached.inflightAttrs[attr] : cached.remoteAttrs && attr in cached.remoteAttrs ? cached.remoteAttrs[attr] : undefined;\n      if (existing !== value) {\n        cached.localAttrs = cached.localAttrs || Object.create(null);\n        cached.localAttrs[attr] = value;\n        cached.changes = cached.changes || Object.create(null);\n        cached.changes[attr] = [existing, value];\n      } else if (cached.localAttrs) {\n        delete cached.localAttrs[attr];\n        delete cached.changes[attr];\n      }\n      this._capabilities.notifyChange(identifier, 'attributes', attr);\n    }\n\n    /**\n     * Query the cache for the changed attributes of a resource.\n     *\n     * @method changedAttrs\n     * @public\n     * @param identifier\n     * @return {ChangedAttributesHash} { <field>: [<old>, <new>] }\n     */\n    changedAttrs(identifier) {\n      // TODO freeze in dev\n      return this.__peek(identifier, false).changes || Object.create(null);\n    }\n\n    /**\n     * Query the cache for whether any mutated attributes exist\n     *\n     * @method hasChangedAttrs\n     * @public\n     * @param identifier\n     * @return {boolean}\n     */\n    hasChangedAttrs(identifier) {\n      const cached = this.__peek(identifier, true);\n      return cached.inflightAttrs !== null && Object.keys(cached.inflightAttrs).length > 0 || cached.localAttrs !== null && Object.keys(cached.localAttrs).length > 0;\n    }\n\n    /**\n     * Tell the cache to discard any uncommitted mutations to attributes\n     *\n     * This method is a candidate to become a mutation\n     *\n     * @method rollbackAttrs\n     * @public\n     * @param identifier\n     * @return {string[]} the names of fields that were restored\n     */\n    rollbackAttrs(identifier) {\n      const cached = this.__peek(identifier, false);\n      let dirtyKeys;\n      cached.isDeleted = false;\n      if (cached.localAttrs !== null) {\n        dirtyKeys = Object.keys(cached.localAttrs);\n        cached.localAttrs = null;\n        cached.changes = null;\n      }\n      if (cached.isNew) {\n        // > Note: Graph removal handled by unloadRecord\n        cached.isDeletionCommitted = true;\n        cached.isDeleted = true;\n        cached.isNew = false;\n      }\n      cached.inflightAttrs = null;\n      if (cached.errors) {\n        cached.errors = null;\n        this._capabilities.notifyChange(identifier, 'errors');\n      }\n      this._capabilities.notifyChange(identifier, 'state');\n      if (dirtyKeys && dirtyKeys.length) {\n        notifyAttributes(this._capabilities, identifier, dirtyKeys);\n      }\n      return dirtyKeys || [];\n    }\n\n    /**\n       * Query the cache for the changes to relationships of a resource.\n       *\n       * Returns a map of relationship names to RelationshipDiff objects.\n       *\n       * ```ts\n       * type RelationshipDiff =\n      | {\n          kind: 'collection';\n          remoteState: StableRecordIdentifier[];\n          additions: Set<StableRecordIdentifier>;\n          removals: Set<StableRecordIdentifier>;\n          localState: StableRecordIdentifier[];\n          reordered: boolean;\n        }\n      | {\n          kind: 'resource';\n          remoteState: StableRecordIdentifier | null;\n          localState: StableRecordIdentifier | null;\n        };\n        ```\n       *\n       * @method changedRelationships\n       * @public\n       * @param {StableRecordIdentifier} identifier\n       * @return {Map<string, RelationshipDiff>}\n       */\n    changedRelationships(identifier) {\n      return this.__graph.getChanged(identifier);\n    }\n\n    /**\n     * Query the cache for whether any mutated relationships exist\n     *\n     * @method hasChangedRelationships\n     * @public\n     * @param {StableRecordIdentifier} identifier\n     * @return {boolean}\n     */\n    hasChangedRelationships(identifier) {\n      return this.__graph.hasChanged(identifier);\n    }\n\n    /**\n     * Tell the cache to discard any uncommitted mutations to relationships.\n     *\n     * This will also discard the change on any appropriate inverses.\n     *\n     * This method is a candidate to become a mutation\n     *\n     * @method rollbackRelationships\n     * @public\n     * @param {StableRecordIdentifier} identifier\n     * @return {string[]} the names of relationships that were restored\n     */\n    rollbackRelationships(identifier) {\n      upgradeCapabilities(this._capabilities);\n      let result;\n      this._capabilities._store._join(() => {\n        result = this.__graph.rollback(identifier);\n      });\n      return result;\n    }\n\n    /**\n     * Query the cache for the current state of a relationship property\n     *\n     * @method getRelationship\n     * @public\n     * @param identifier\n     * @param field\n     * @return resource relationship object\n     */\n    getRelationship(identifier, field) {\n      return this.__graph.getData(identifier, field);\n    }\n\n    // Resource State\n    // ===============\n\n    /**\n     * Update the cache state for the given resource to be marked\n     * as locally deleted, or remove such a mark.\n     *\n     * This method is a candidate to become a mutation\n     *\n     * @method setIsDeleted\n     * @public\n     * @param identifier\n     * @param isDeleted {boolean}\n     */\n    setIsDeleted(identifier, isDeleted) {\n      const cached = this.__peek(identifier, false);\n      cached.isDeleted = isDeleted;\n      // > Note: Graph removal for isNew handled by unloadRecord\n      this._capabilities.notifyChange(identifier, 'state');\n    }\n\n    /**\n     * Query the cache for any validation errors applicable to the given resource.\n     *\n     * @method getErrors\n     * @public\n     * @param identifier\n     * @return {JsonApiError[]}\n     */\n    getErrors(identifier) {\n      return this.__peek(identifier, true).errors || [];\n    }\n\n    /**\n     * Query the cache for whether a given resource has any available data\n     *\n     * @method isEmpty\n     * @public\n     * @param identifier\n     * @return {boolean}\n     */\n    isEmpty(identifier) {\n      const cached = this.__safePeek(identifier, true);\n      return cached ? cached.remoteAttrs === null && cached.inflightAttrs === null && cached.localAttrs === null : true;\n    }\n\n    /**\n     * Query the cache for whether a given resource was created locally and not\n     * yet persisted.\n     *\n     * @method isNew\n     * @public\n     * @param identifier\n     * @return {boolean}\n     */\n    isNew(identifier) {\n      // TODO can we assert here?\n      return this.__safePeek(identifier, true)?.isNew || false;\n    }\n\n    /**\n     * Query the cache for whether a given resource is marked as deleted (but not\n     * necessarily persisted yet).\n     *\n     * @method isDeleted\n     * @public\n     * @param identifier\n     * @return {boolean}\n     */\n    isDeleted(identifier) {\n      // TODO can we assert here?\n      return this.__safePeek(identifier, true)?.isDeleted || false;\n    }\n\n    /**\n     * Query the cache for whether a given resource has been deleted and that deletion\n     * has also been persisted.\n     *\n     * @method isDeletionCommitted\n     * @public\n     * @param identifier\n     * @return {boolean}\n     */\n    isDeletionCommitted(identifier) {\n      // TODO can we assert here?\n      return this.__safePeek(identifier, true)?.isDeletionCommitted || false;\n    }\n\n    /**\n     * Private method used to populate an entry for the identifier\n     *\n     * @method _createCache\n     * @internal\n     * @param {StableRecordIdentifier} identifier\n     * @return {CachedResource}\n     */\n    _createCache(identifier) {\n      (true && !(!this.__cache.has(identifier)) && (0, _debug.assert)(`Expected no resource data to yet exist in the cache`, !this.__cache.has(identifier)));\n      const cache = makeCache();\n      this.__cache.set(identifier, cache);\n      return cache;\n    }\n\n    /**\n     * Peek whether we have cached resource data matching the identifier\n     * without asserting if the resource data is missing.\n     *\n     * @method __safePeek\n     * @param {StableRecordIdentifier} identifier\n     * @param {Boolean} allowDestroyed\n     * @internal\n     * @return {CachedResource | undefined}\n     */\n    __safePeek(identifier, allowDestroyed) {\n      let resource = this.__cache.get(identifier);\n      if (!resource && allowDestroyed) {\n        resource = this.__destroyedCache.get(identifier);\n      }\n      return resource;\n    }\n\n    /**\n     * Peek whether we have cached resource data matching the identifier\n     * Asserts if the resource data is missing.\n     *\n     * @method __Peek\n     * @param {StableRecordIdentifier} identifier\n     * @param {Boolean} allowDestroyed\n     * @internal\n     * @return {CachedResource}\n     */\n    __peek(identifier, allowDestroyed) {\n      const resource = this.__safePeek(identifier, allowDestroyed);\n      (true && !(resource) && (0, _debug.assert)(`Expected Cache to have a resource entry for the identifier ${String(identifier)} but none was found`, resource));\n      return resource;\n    }\n  }\n  _exports.default = JSONAPICache;\n  function areAllModelsUnloaded(wrapper, identifiers) {\n    for (let i = 0; i < identifiers.length; ++i) {\n      const identifier = identifiers[i];\n      if (wrapper.hasRecord(identifier)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function getLocalState(rel) {\n    if ((0, _private.isBelongsTo)(rel)) {\n      return rel.localState ? [rel.localState] : [];\n    }\n    return rel.additions ? [...rel.additions] : [];\n  }\n  function getRemoteState(rel) {\n    if ((0, _private.isBelongsTo)(rel)) {\n      return rel.remoteState ? [rel.remoteState] : [];\n    }\n    return rel.remoteState;\n  }\n  function getDefaultValue(schema, identifier, store) {\n    const options = schema?.options;\n    if (!schema || !options && !schema.type) {\n      return;\n    }\n    if (schema.kind !== 'attribute' && schema.kind !== 'field') {\n      return;\n    }\n\n    // legacy support for defaultValues that are functions\n    if (typeof options?.defaultValue === 'function') {\n      // If anyone opens an issue for args not working right, we'll restore + deprecate it via a Proxy\n      // that lazily instantiates the record. We don't want to provide any args here\n      // because in a non @ember-data/model world they don't make sense.\n      return options.defaultValue();\n      // legacy support for defaultValues that are primitives\n    } else if (options && 'defaultValue' in options) {\n      const defaultValue = options.defaultValue;\n      (true && !(typeof defaultValue !== 'object' || defaultValue === null) && (0, _debug.assert)(`Non primitive defaultValues are not supported because they are shared between all instances. If you would like to use a complex object as a default value please provide a function that returns the complex object.`, typeof defaultValue !== 'object' || defaultValue === null));\n      return defaultValue;\n\n      // new style transforms\n    } else if (schema.kind !== 'attribute' && schema.type) {\n      const transform = store.schema.transforms?.get(schema.type);\n      if (transform?.defaultValue) {\n        return transform.defaultValue(options || null, identifier);\n      }\n    }\n  }\n  function notifyAttributes(storeWrapper, identifier, keys) {\n    if (!keys) {\n      storeWrapper.notifyChange(identifier, 'attributes');\n      return;\n    }\n    for (let i = 0; i < keys.length; i++) {\n      storeWrapper.notifyChange(identifier, 'attributes', keys[i]);\n    }\n  }\n\n  /*\n        TODO @deprecate IGOR DAVID\n        There seems to be a potential bug here, where we will return keys that are not\n        in the schema\n    */\n  function calculateChangedKeys(cached, updates) {\n    const changedKeys = [];\n    if (updates) {\n      const keys = Object.keys(updates);\n      const length = keys.length;\n      const localAttrs = cached.localAttrs;\n      const original = Object.assign(Object.create(null), cached.remoteAttrs, cached.inflightAttrs);\n      for (let i = 0; i < length; i++) {\n        const key = keys[i];\n        const value = updates[key];\n\n        // A value in localAttrs means the user has a local change to\n        // this attribute. We never override this value when merging\n        // updates from the backend so we should not sent a change\n        // notification if the server value differs from the original.\n        if (localAttrs && localAttrs[key] !== undefined) {\n          continue;\n        }\n        if (original[key] !== value) {\n          changedKeys.push(key);\n        }\n      }\n    }\n    return changedKeys;\n  }\n  function cacheIsEmpty(cached) {\n    return !cached || cached.remoteAttrs === null && cached.inflightAttrs === null && cached.localAttrs === null;\n  }\n  function _isEmpty(peeked) {\n    if (!peeked) {\n      return true;\n    }\n    const isNew = peeked.isNew;\n    const isDeleted = peeked.isDeleted;\n    const isEmpty = cacheIsEmpty(peeked);\n    return (!isNew || isDeleted) && isEmpty;\n  }\n  function recordIsLoaded(cached, filterDeleted = false) {\n    if (!cached) {\n      return false;\n    }\n    const isNew = cached.isNew;\n    const isEmpty = cacheIsEmpty(cached);\n\n    // if we are new we must consider ourselves loaded\n    if (isNew) {\n      return !cached.isDeleted;\n    }\n    // even if we have a past request, if we are now empty we are not loaded\n    // typically this is true after an unloadRecord call\n\n    // if we are not empty, not new && we have a fulfilled request then we are loaded\n    // we should consider allowing for something to be loaded that is simply \"not empty\".\n    // which is how RecordState currently handles this case; however, RecordState is buggy\n    // in that it does not account for unloading.\n    return filterDeleted && cached.isDeletionCommitted ? false : !isEmpty;\n  }\n  function _isLoading(peeked, capabilities, identifier) {\n    // TODO refactor things such that the cache is not required to know\n    // about isLoading\n    const req = capabilities._store.getRequestStateService();\n    // const fulfilled = req.getLastRequestForRecord(identifier);\n    const isLoaded = recordIsLoaded(peeked);\n    return !isLoaded &&\n    // fulfilled === null &&\n    req.getPendingRequestsForRecord(identifier).some(r => r.type === 'query');\n  }\n  function setupRelationships(graph, storeWrapper, identifier, data) {\n    // TODO @runspired iterating by definitions instead of by payload keys\n    // allows relationship payloads to be ignored silently if no relationship\n    // definition exists. Ensure there's a test for this and then consider\n    // moving this to an assertion. This check should possibly live in the graph.\n    const relationships = storeWrapper.getSchemaDefinitionService().relationshipsDefinitionFor(identifier);\n    const keys = Object.keys(relationships);\n    for (let i = 0; i < keys.length; i++) {\n      const relationshipName = keys[i];\n      const relationshipData = data.relationships[relationshipName];\n      if (!relationshipData) {\n        continue;\n      }\n      graph.push({\n        op: 'updateRelationship',\n        record: identifier,\n        field: relationshipName,\n        value: relationshipData\n      });\n    }\n  }\n  function patchLocalAttributes(cached) {\n    const {\n      localAttrs,\n      remoteAttrs,\n      inflightAttrs,\n      changes\n    } = cached;\n    if (!localAttrs) {\n      cached.changes = null;\n      return false;\n    }\n    let hasAppliedPatch = false;\n    const mutatedKeys = Object.keys(localAttrs);\n    for (let i = 0, length = mutatedKeys.length; i < length; i++) {\n      const attr = mutatedKeys[i];\n      const existing = inflightAttrs && attr in inflightAttrs ? inflightAttrs[attr] : remoteAttrs && attr in remoteAttrs ? remoteAttrs[attr] : undefined;\n      if (existing === localAttrs[attr]) {\n        hasAppliedPatch = true;\n        delete localAttrs[attr];\n        delete changes[attr];\n      }\n    }\n    return hasAppliedPatch;\n  }\n  function putOne(cache, identifiers, resource) {\n    (true && !(resource.id !== null && resource.id !== undefined && resource.id !== '') && (0, _debug.assert)(`You must include an 'id' for the resource data ${resource.type}`, resource.id !== null && resource.id !== undefined && resource.id !== ''));\n    (true && !(cache._capabilities.getSchemaDefinitionService().doesTypeExist(resource.type)) && (0, _debug.assert)(`Missing Resource Type: received resource data with a type '${resource.type}' but no schema could be found with that name.`, cache._capabilities.getSchemaDefinitionService().doesTypeExist(resource.type)));\n    let identifier = identifiers.peekRecordIdentifier(resource);\n    if (identifier) {\n      identifier = identifiers.updateRecordIdentifier(identifier, resource);\n    } else {\n      identifier = identifiers.getOrCreateRecordIdentifier(resource);\n    }\n    cache.upsert(identifier, resource, cache._capabilities.hasRecord(identifier));\n    // even if the identifier was not \"existing\" before, it is now\n    return identifier;\n  }\n\n  /*\n      Iterates over the set of internal models reachable from `this` across exactly one\n      relationship.\n    */\n  function _directlyRelatedIdentifiersIterable(storeWrapper, originating) {\n    const graph = (0, _private.peekGraph)(storeWrapper);\n    const initializedRelationships = graph?.identifiers.get(originating);\n    if (!initializedRelationships) {\n      return EMPTY_ITERATOR;\n    }\n    const initializedRelationshipsArr = [];\n    Object.keys(initializedRelationships).forEach(key => {\n      const rel = initializedRelationships[key];\n      if (rel && !isImplicit(rel)) {\n        initializedRelationshipsArr.push(rel);\n      }\n    });\n    let i = 0;\n    let j = 0;\n    let k = 0;\n    const findNext = () => {\n      while (i < initializedRelationshipsArr.length) {\n        while (j < 2) {\n          const relatedIdentifiers = j === 0 ? getLocalState(initializedRelationshipsArr[i]) : getRemoteState(initializedRelationshipsArr[i]);\n          while (k < relatedIdentifiers.length) {\n            const relatedIdentifier = relatedIdentifiers[k++];\n            if (relatedIdentifier !== null) {\n              return relatedIdentifier;\n            }\n          }\n          k = 0;\n          j++;\n        }\n        j = 0;\n        i++;\n      }\n      return undefined;\n    };\n    return {\n      iterator() {\n        return {\n          next: () => {\n            const value = findNext();\n            return {\n              value,\n              done: value === undefined\n            };\n          }\n        };\n      }\n    };\n  }\n\n  /*\n        Computes the set of Identifiers reachable from this Identifier.\n  \n        Reachability is determined over the relationship graph (ie a graph where\n        nodes are identifiers and edges are belongs to or has many\n        relationships).\n  \n        Returns an array including `this` and all identifiers reachable\n        from `this.identifier`.\n      */\n  function _allRelatedIdentifiers(storeWrapper, originating) {\n    const array = [];\n    const queue = [];\n    const seen = new Set();\n    queue.push(originating);\n    while (queue.length > 0) {\n      const identifier = queue.shift();\n      array.push(identifier);\n      seen.add(identifier);\n      const iterator = _directlyRelatedIdentifiersIterable(storeWrapper, originating).iterator();\n      for (let obj = iterator.next(); !obj.done; obj = iterator.next()) {\n        const relatedIdentifier = obj.value;\n        if (relatedIdentifier && !seen.has(relatedIdentifier)) {\n          seen.add(relatedIdentifier);\n          queue.push(relatedIdentifier);\n        }\n      }\n    }\n    return array;\n  }\n  function isMetaDocument(doc) {\n    return !(doc instanceof Error) && doc.content && !('data' in doc.content) && !('included' in doc.content) && 'meta' in doc.content;\n  }\n  function isErrorDocument(doc) {\n    return doc instanceof Error;\n  }\n  function fromBaseDocument(doc) {\n    const resourceDocument = {};\n    const jsonApiDoc = doc.content;\n    if (jsonApiDoc) {\n      copyLinksAndMeta(resourceDocument, jsonApiDoc);\n    }\n    return resourceDocument;\n  }\n  function fromStructuredError(doc) {\n    const errorDoc = {};\n    if (doc.content) {\n      copyLinksAndMeta(errorDoc, doc.content);\n      if ('errors' in doc.content) {\n        errorDoc.errors = doc.content.errors;\n      } else if (typeof doc.error === 'object' && 'errors' in doc.error) {\n        errorDoc.errors = doc.error.errors;\n      } else {\n        errorDoc.errors = [{\n          title: doc.message\n        }];\n      }\n    }\n    return errorDoc;\n  }\n  function copyLinksAndMeta(target, source) {\n    if ('links' in source) {\n      target.links = source.links;\n    }\n    if ('meta' in source) {\n      target.meta = source.meta;\n    }\n  }\n});","define(\"@ember-data/json-api/request\", [\"exports\", \"ember-inflector\", \"@ember-data/request-utils\", \"@ember/debug\", \"@ember-data/store\"], function (_exports, _emberInflector, _requestUtils, _debug, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.createRecord = createRecord;\n  _exports.deleteRecord = deleteRecord;\n  _exports.findRecord = findRecord;\n  _exports.postQuery = postQuery;\n  _exports.query = query;\n  _exports.serializePatch = serializePatch;\n  _exports.serializeResources = serializeResources;\n  _exports.setBuildURLConfig = setBuildURLConfig;\n  _exports.updateRecord = updateRecord;\n  /**\n   * @module @ember-data/json-api/request\n   */\n\n  const JsonApiAccept = 'application/vnd.api+json';\n  const DEFAULT_CONFIG = {\n    host: '',\n    namespace: ''\n  };\n  let ACCEPT_HEADER_VALUE = 'application/vnd.api+json';\n\n  /**\n   * Allows setting extensions and profiles to be used in the `Accept` header.\n   *\n   * Extensions and profiles are keyed by their namespace with the value being\n   * their URI.\n   *\n   * Example:\n   *\n   * ```ts\n   * setBuildURLConfig({\n   *   extensions: {\n   *     atomic: 'https://jsonapi.org/ext/atomic'\n   *   },\n   *   profiles: {\n   *     pagination: 'https://jsonapi.org/profiles/ethanresnick/cursor-pagination'\n   *   }\n   * });\n   * ```\n   *\n   * This also sets the global configuration for `buildBaseURL`\n   * for host and namespace values for the application\n   * in the `@ember-data/request-utils` package.\n   *\n   * These values may still be overridden by passing\n   * them to buildBaseURL directly.\n   *\n   * This method may be called as many times as needed\n   *\n   * ```ts\n   * type BuildURLConfig = {\n   *   host: string;\n   *   namespace: string'\n   * }\n   * ```\n   *\n   * @method setBuildURLConfig\n   * @static\n   * @public\n   * @for @ember-data/json-api/request\n   * @param {BuildURLConfig} config\n   * @return void\n   */\n  function setBuildURLConfig(config) {\n    Object.assign({}, DEFAULT_CONFIG, config);\n    if (config.profiles || config.extensions) {\n      let accept = JsonApiAccept;\n      if (config.profiles) {\n        const profiles = Object.values(config.profiles);\n        if (profiles.length) {\n          accept += ';profile=\"' + profiles.join(' ') + '\"';\n        }\n      }\n      if (config.extensions) {\n        const extensions = Object.values(config.extensions);\n        if (extensions.length) {\n          accept += ';ext=' + extensions.join(' ');\n        }\n      }\n      ACCEPT_HEADER_VALUE = accept;\n    }\n    (0, _requestUtils.setBuildURLConfig)(config);\n  }\n  function copyForwardUrlOptions(urlOptions, options) {\n    if ('host' in options) {\n      urlOptions.host = options.host;\n    }\n    if ('namespace' in options) {\n      urlOptions.namespace = options.namespace;\n    }\n    if ('resourcePath' in options) {\n      urlOptions.resourcePath = options.resourcePath;\n    }\n  }\n  function extractCacheOptions(options) {\n    const cacheOptions = {};\n    if ('reload' in options) {\n      cacheOptions.reload = options.reload;\n    }\n    if ('backgroundReload' in options) {\n      cacheOptions.backgroundReload = options.backgroundReload;\n    }\n    return cacheOptions;\n  }\n\n  /**\n   * @module @ember-data/json-api/request\n   */\n\n  /**\n   * Builds request options to fetch a single resource by a known id or identifier\n   * configured for the url and header expectations of most JSON:API APIs.\n   *\n   * **Basic Usage**\n   *\n   * ```ts\n   * import { findRecord } from '@ember-data/json-api/request';\n   *\n   * const data = await store.request(findRecord('person', '1'));\n   * ```\n   *\n   * **With Options**\n   *\n   * ```ts\n   * import { findRecord } from '@ember-data/json-api/request';\n   *\n   * const options = findRecord('person', '1', { include: ['pets', 'friends'] });\n   * const data = await store.request(options);\n   * ```\n   *\n   * **With an Identifier**\n   *\n   * ```ts\n   * import { findRecord } from '@ember-data/json-api/request';\n   *\n   * const options = findRecord({ type: 'person', id: '1' }, { include: ['pets', 'friends'] });\n   * const data = await store.request(options);\n   * ```\n   *\n   * **Supplying Options to Modify the Request Behavior**\n   *\n   * The following options are supported:\n   *\n   * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.\n   * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.\n   * - `resourcePath` - The resource path to use for the request, defaults to pluralizing the supplied type\n   * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this\n   *      option will delegate to the store's lifetimes service, defaulting to `false` if none is configured.\n   * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the\n   *      promise with the cached value, not supplying this option will delegate to the store's lifetimes service,\n   *      defaulting to `false` if none is configured.\n   * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)\n   *\n   * ```ts\n   * import { findRecord } from '@ember-data/json-api/request';\n   *\n   * const options = findRecord('person', '1', { include: ['pets', 'friends'] }, { namespace: 'api/v2' });\n   * const data = await store.request(options);\n   * ```\n   *\n   * @method findRecord\n   * @public\n   * @static\n   * @for @ember-data/json-api/request\n   * @param identifier\n   * @param options\n   */\n\n  function findRecord(arg1, arg2, arg3) {\n    const identifier = typeof arg1 === 'string' ? {\n      type: arg1,\n      id: arg2\n    } : arg1;\n    const options = (typeof arg1 === 'string' ? arg3 : arg2) || {};\n    const cacheOptions = extractCacheOptions(options);\n    const urlOptions = {\n      identifier,\n      op: 'findRecord',\n      resourcePath: (0, _emberInflector.pluralize)(identifier.type)\n    };\n    copyForwardUrlOptions(urlOptions, options);\n    const url = (0, _requestUtils.buildBaseURL)(urlOptions);\n    const headers = new Headers();\n    headers.append('Accept', ACCEPT_HEADER_VALUE);\n    return {\n      url: options.include?.length ? `${url}?${(0, _requestUtils.buildQueryParams)({\n        include: options.include\n      }, options.urlParamsSettings)}` : url,\n      method: 'GET',\n      headers,\n      cacheOptions,\n      op: 'findRecord',\n      records: [identifier]\n    };\n  }\n\n  /**\n   * @module @ember-data/json-api/request\n   */\n\n  /**\n   * Builds request options to query for resources, usually by a primary\n   * type, configured for the url and header expectations of most JSON:API APIs.\n   *\n   * The key difference between this and `postQuery` is that this method will send the query\n   * as query params in the url of a \"GET\" request instead of as the JSON body of a \"POST\"\n   * request.\n   *\n   * **Basic Usage**\n   *\n   * ```ts\n   * import { query } from '@ember-data/json-api/request';\n   *\n   * const data = await store.request(query('person'));\n   * ```\n   *\n   * **With Query Params**\n   *\n   * ```ts\n   * import { query } from '@ember-data/json-api/request';\n   *\n   * const options = query('person', { include: ['pets', 'friends'] });\n   * const data = await store.request(options);\n   * ```\n   *\n   * **Supplying Options to Modify the Request Behavior**\n   *\n   * The following options are supported:\n   *\n   * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.\n   * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.\n   * - `resourcePath` - The resource path to use for the request, defaults to pluralizing the supplied type\n   * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this\n   *      option will delegate to the store's lifetimes service, defaulting to `false` if none is configured.\n   * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the\n   *      promise with the cached value, not supplying this option will delegate to the store's lifetimes service,\n   *      defaulting to `false` if none is configured.\n   * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)\n   *\n   * ```ts\n   * import { query } from '@ember-data/json-api/request';\n   *\n   * const options = query('person', { include: ['pets', 'friends'] }, { reload: true });\n   * const data = await store.request(options);\n   * ```\n   *\n   * @method query\n   * @public\n   * @static\n   * @for @ember-data/json-api/request\n   * @param identifier\n   * @param query\n   * @param options\n   */\n  function query(type,\n  // eslint-disable-next-line @typescript-eslint/no-shadow\n  query = {}, options = {}) {\n    const cacheOptions = extractCacheOptions(options);\n    const urlOptions = {\n      identifier: {\n        type\n      },\n      op: 'query',\n      resourcePath: (0, _emberInflector.pluralize)(type)\n    };\n    copyForwardUrlOptions(urlOptions, options);\n    const url = (0, _requestUtils.buildBaseURL)(urlOptions);\n    const headers = new Headers();\n    headers.append('Accept', ACCEPT_HEADER_VALUE);\n    const queryString = (0, _requestUtils.buildQueryParams)(query, options.urlParamsSettings);\n    return {\n      url: queryString ? `${url}?${queryString}` : url,\n      method: 'GET',\n      headers,\n      cacheOptions,\n      op: 'query'\n    };\n  }\n\n  /**\n   * Builds request options to query for resources, usually by a primary\n   * type, configured for the url and header expectations of most JSON:API APIs.\n   *\n   * The key difference between this and `query` is that this method will send the query\n   * as the JSON body of a \"POST\" request instead of as query params in the url of a \"GET\"\n   * request.\n   *\n   * A CacheKey is generated from the url and query params, and used to cache the response\n   * in the store.\n   *\n   * ```ts\n   * import { postQuery } from '@ember-data/json-api/request';\n   *\n   * const options = postQuery('person', { include: ['pets', 'friends'] });\n   * const data = await store.request(options);\n   * ```\n   *\n   * **Supplying Options to Modify the Request Behavior**\n   *\n   * The following options are supported:\n   *\n   * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.\n   * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.\n   * - `resourcePath` - The resource path to use for the request, defaults to pluralizing the supplied type\n   * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this\n   *      option will delegate to the store's lifetimes service, defaulting to `false` if none is configured.\n   * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the\n   *      promise with the cached value, not supplying this option will delegate to the store's lifetimes service,\n   *      defaulting to `false` if none is configured.\n   * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)\n   *\n   * ```ts\n   * import { postQuery } from '@ember-data/json-api/request';\n   *\n   * const options = postQuery('person', { include: ['pets', 'friends'] }, { reload: true });\n   * const data = await store.request(options);\n   * ```\n   *\n   * @method postQuery\n   * @public\n   * @static\n   * @for @ember-data/json-api/request\n   * @param identifier\n   * @param query\n   * @param options\n   */\n  function postQuery(type,\n  // eslint-disable-next-line @typescript-eslint/no-shadow\n  query = {}, options = {}) {\n    const cacheOptions = extractCacheOptions(options);\n    const urlOptions = {\n      identifier: {\n        type\n      },\n      op: 'query',\n      resourcePath: options.resourcePath ?? (0, _emberInflector.pluralize)(type)\n    };\n    copyForwardUrlOptions(urlOptions, options);\n    const url = (0, _requestUtils.buildBaseURL)(urlOptions);\n    const headers = new Headers();\n    headers.append('Accept', ACCEPT_HEADER_VALUE);\n    const queryData = structuredClone(query);\n    cacheOptions.key = cacheOptions.key ?? `${url}?${(0, _requestUtils.buildQueryParams)(queryData, options.urlParamsSettings)}`;\n    return {\n      url,\n      method: 'POST',\n      body: JSON.stringify(query),\n      headers,\n      cacheOptions: cacheOptions,\n      op: 'query'\n    };\n  }\n  function isExisting(identifier) {\n    return 'id' in identifier && identifier.id !== null && 'type' in identifier && identifier.type !== null;\n  }\n\n  /**\n   * Builds request options to delete record for resources,\n   * configured for the url, method and header expectations of most JSON:API APIs.\n   *\n   * **Basic Usage**\n   *\n   * ```ts\n   * import { deleteRecord } from '@ember-data/json-api/request';\n   *\n   * const person = this.store.peekRecord('person', '1');\n   *\n   * // mark record as deleted\n   * store.deleteRecord(person);\n   *\n   * // persist deletion\n   * const data = await store.request(deleteRecord(person));\n   * ```\n   *\n   * **Supplying Options to Modify the Request Behavior**\n   *\n   * The following options are supported:\n   *\n   * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.\n   * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.\n   * - `resourcePath` - The resource path to use for the request, defaults to pluralizing the supplied type\n   * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this\n   *      option will delegate to the store's lifetimes service, defaulting to `false` if none is configured.\n   * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the\n   *      promise with the cached value, not supplying this option will delegate to the store's lifetimes service,\n   *      defaulting to `false` if none is configured.\n   * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)\n   *\n   * ```ts\n   * import { deleteRecord } from '@ember-data/json-api/request';\n   *\n   * const person = this.store.peekRecord('person', '1');\n   *\n   * // mark record as deleted\n   * store.deleteRecord(person);\n   *\n   * // persist deletion\n   * const options = deleteRecord(person, { namespace: 'api/v1' });\n   * const data = await store.request(options);\n   * ```\n   *\n   * @method deleteRecord\n   * @public\n   * @static\n   * @for @ember-data/json-api/request\n   * @param record\n   * @param options\n   */\n  function deleteRecord(record, options = {}) {\n    const identifier = (0, _store.recordIdentifierFor)(record);\n    (true && !(identifier) && (0, _debug.assert)(`Expected to be given a record instance`, identifier));\n    (true && !(isExisting(identifier)) && (0, _debug.assert)(`Cannot delete a record that does not have an associated type and id.`, isExisting(identifier)));\n    const urlOptions = {\n      identifier: identifier,\n      op: 'deleteRecord',\n      resourcePath: (0, _emberInflector.pluralize)(identifier.type)\n    };\n    copyForwardUrlOptions(urlOptions, options);\n    const url = (0, _requestUtils.buildBaseURL)(urlOptions);\n    const headers = new Headers();\n    headers.append('Accept', ACCEPT_HEADER_VALUE);\n    return {\n      url,\n      method: 'DELETE',\n      headers,\n      op: 'deleteRecord',\n      data: {\n        record: identifier\n      },\n      records: [identifier]\n    };\n  }\n\n  /**\n   * Builds request options to create new record for resources,\n   * configured for the url, method and header expectations of most JSON:API APIs.\n   *\n   * **Basic Usage**\n   *\n   * ```ts\n   * import { createRecord } from '@ember-data/json-api/request';\n   *\n   * const person = this.store.createRecord('person', { name: 'Ted' });\n   * const data = await store.request(createRecord(person));\n   * ```\n   *\n   * **Supplying Options to Modify the Request Behavior**\n   *\n   * The following options are supported:\n   *\n   * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.\n   * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.\n   * - `resourcePath` - The resource path to use for the request, defaults to pluralizing the supplied type\n   * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this\n   *      option will delegate to the store's lifetimes service, defaulting to `false` if none is configured.\n   * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the\n   *      promise with the cached value, not supplying this option will delegate to the store's lifetimes service,\n   *      defaulting to `false` if none is configured.\n   * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)\n   *\n   * ```ts\n   * import { createRecord } from '@ember-data/json-api/request';\n   *\n   * const person = this.store.createRecord('person', { name: 'Ted' });\n   * const options = createRecord(person, { namespace: 'api/v1' });\n   * const data = await store.request(options);\n   * ```\n   *\n   * @method createRecord\n   * @public\n   * @static\n   * @for @ember-data/json-api/request\n   * @param record\n   * @param options\n   */\n  function createRecord(record, options = {}) {\n    const identifier = (0, _store.recordIdentifierFor)(record);\n    (true && !(identifier) && (0, _debug.assert)(`Expected to be given a record instance`, identifier));\n    const urlOptions = {\n      identifier: identifier,\n      op: 'createRecord',\n      resourcePath: (0, _emberInflector.pluralize)(identifier.type)\n    };\n    copyForwardUrlOptions(urlOptions, options);\n    const url = (0, _requestUtils.buildBaseURL)(urlOptions);\n    const headers = new Headers();\n    headers.append('Accept', ACCEPT_HEADER_VALUE);\n    return {\n      url,\n      method: 'POST',\n      headers,\n      op: 'createRecord',\n      data: {\n        record: identifier\n      },\n      records: [identifier]\n    };\n  }\n\n  /**\n   * Builds request options to update existing record for resources,\n   * configured for the url, method and header expectations of most JSON:API APIs.\n   *\n   * **Basic Usage**\n   *\n   * ```ts\n   * import { updateRecord } from '@ember-data/json-api/request';\n   *\n   * const person = this.store.peekRecord('person', '1');\n   * person.name = 'Chris';\n   * const data = await store.request(updateRecord(person));\n   * ```\n   *\n   * **Supplying Options to Modify the Request Behavior**\n   *\n   * The following options are supported:\n   *\n   * - `patch` - Allows caller to specify whether to use a PATCH request instead of a PUT request, defaults to `false`.\n   * - `host` - The host to use for the request, defaults to the `host` configured with `setBuildURLConfig`.\n   * - `namespace` - The namespace to use for the request, defaults to the `namespace` configured with `setBuildURLConfig`.\n   * - `resourcePath` - The resource path to use for the request, defaults to pluralizing the supplied type\n   * - `reload` - Whether to forcibly reload the request if it is already in the store, not supplying this\n   *      option will delegate to the store's lifetimes service, defaulting to `false` if none is configured.\n   * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the\n   *      promise with the cached value, not supplying this option will delegate to the store's lifetimes service,\n   *      defaulting to `false` if none is configured.\n   * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`)\n   *\n   * ```ts\n   * import { updateRecord } from '@ember-data/json-api/request';\n   *\n   * const person = this.store.peekRecord('person', '1');\n   * person.name = 'Chris';\n   * const options = updateRecord(person, { patch: true });\n   * const data = await store.request(options);\n   * ```\n   *\n   * @method updateRecord\n   * @public\n   * @static\n   * @for @ember-data/json-api/request\n   * @param record\n   * @param options\n   */\n  function updateRecord(record, options = {}) {\n    const identifier = (0, _store.recordIdentifierFor)(record);\n    (true && !(identifier) && (0, _debug.assert)(`Expected to be given a record instance`, identifier));\n    (true && !(isExisting(identifier)) && (0, _debug.assert)(`Cannot update a record that does not have an associated type and id.`, isExisting(identifier)));\n    const urlOptions = {\n      identifier: identifier,\n      op: 'updateRecord',\n      resourcePath: (0, _emberInflector.pluralize)(identifier.type)\n    };\n    copyForwardUrlOptions(urlOptions, options);\n    const url = (0, _requestUtils.buildBaseURL)(urlOptions);\n    const headers = new Headers();\n    headers.append('Accept', ACCEPT_HEADER_VALUE);\n    return {\n      url,\n      method: options.patch ? 'PATCH' : 'PUT',\n      headers,\n      op: 'updateRecord',\n      data: {\n        record: identifier\n      },\n      records: [identifier]\n    };\n  }\n\n  /**\n   * @module @ember-data/json-api/request\n   */\n\n  /**\n   * Serializes the current state of a resource or array of resources for use with POST or PUT requests.\n   *\n   * @method serializeResources\n   * @static\n   * @public\n   * @for @ember-data/json-api/request\n   * @param {Cache} cache}\n   * @param {StableRecordIdentifier} identifier\n   * @return {object} An object with a `data` property containing the serialized resource patch\n   */\n\n  function serializeResources(cache, identifiers) {\n    return {\n      data: Array.isArray(identifiers) ? identifiers.map(identifier => _serializeResource(cache, identifier)) : _serializeResource(cache, identifiers)\n    };\n  }\n  function _serializeResource(cache, identifier) {\n    const {\n      id,\n      lid,\n      type\n    } = identifier;\n    // yup! this method actually does nothing. It's just here for the dev assertion\n    // and to assist in providing a little sugar to the consuming app via the `serializeResources` utility\n    const record = cache.peek(identifier);\n    (true && !(record) && (0, _debug.assert)(`A record with id ${String(id)} and type ${type} for lid ${lid} was not found not in the supplied Cache.`, record));\n    return record;\n  }\n\n  /**\n   * Serializes changes to a resource for use with PATCH requests.\n   *\n   * Only attributes which are changed are serialized.\n   * Only relationships which are changed are serialized.\n   *\n   * Collection relationships serialize the collection as a whole.\n   *\n   * If you would like to serialize updates to a collection more granularly\n   * (for instance, as operations) request the diff from the store and\n   * serialize as desired:\n   *\n   * ```ts\n   * const relationshipDiffMap = cache.changedRelationships(identifier);\n   * ```\n   *\n   * @method serializePatch\n   * @static\n   * @public\n   * @for @ember-data/json-api/request\n   * @param {Cache} cache}\n   * @param {StableRecordIdentifier} identifier\n   * @return {object} An object with a `data` property containing the serialized resource patch\n   */\n  function serializePatch(cache, identifier) {\n    const {\n      id,\n      lid,\n      type\n    } = identifier;\n    const record = cache.peek(identifier);\n    (true && !(record) && (0, _debug.assert)(`A record with id ${String(id)} and type ${type} for lid ${lid} was not found not in the supplied Cache.`, record));\n    const data = {\n      type,\n      lid,\n      id\n    };\n    if (cache.hasChangedAttrs(identifier)) {\n      const attrsChanges = cache.changedAttrs(identifier);\n      const attributes = {};\n      Object.keys(attrsChanges).forEach(key => {\n        const change = attrsChanges[key];\n        const newVal = change[1];\n        attributes[key] = newVal === undefined ? null : newVal;\n      });\n      data.attributes = attributes;\n    }\n    const changedRelationships = cache.changedRelationships(identifier);\n    if (changedRelationships.size) {\n      const relationships = {};\n      changedRelationships.forEach((diff, key) => {\n        relationships[key] = {\n          data: diff.localState\n        };\n      });\n      data.relationships = relationships;\n    }\n    return {\n      data\n    };\n  }\n});","define(\"@ember-data/legacy-compat/-private-1aicprWG\", [\"exports\", \"@ember-data/store/-private\", \"@ember/debug\", \"@ember-data/request\", \"@embroider/macros/es-compat2\"], function (_exports, _private, _debug, _request, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.S = _exports.F = void 0;\n  _exports.a = assertIdentifierHasId;\n  _exports.c = _exports.b = void 0;\n  _exports.i = iterateData;\n  _exports.n = normalizeResponseHelper;\n  _exports.p = payloadIsNotBlank;\n  _exports.u = upgradeStore;\n  /**\n    @module @ember-data/legacy-compat\n  */\n\n  /**\n    SnapshotRecordArray is not directly instantiable.\n    Instances are provided to consuming application's\n    adapters for certain requests.\n  \n    @class SnapshotRecordArray\n    @public\n  */class SnapshotRecordArray {\n    /**\n      SnapshotRecordArray is not directly instantiable.\n      Instances are provided to consuming application's\n      adapters and serializers for certain requests.\n       @method constructor\n      @private\n      @constructor\n      @param {Store} store\n      @param {string} type\n      @param options\n     */\n    constructor(store, type, options = {}) {\n      this.__store = store;\n      /**\n        An array of snapshots\n        @private\n        @property _snapshots\n        @type {Array}\n      */\n      this._snapshots = null;\n\n      /**\n      The modelName of the underlying records for the snapshots in the array, as a Model\n      @property modelName\n      @public\n      @type {Model}\n      */\n      this.modelName = type;\n\n      /**\n        A hash of adapter options passed into the store method for this request.\n         Example\n         ```app/adapters/post.js\n        import MyCustomAdapter from './custom-adapter';\n         export default class PostAdapter extends MyCustomAdapter {\n          findAll(store, type, sinceToken, snapshotRecordArray) {\n            if (snapshotRecordArray.adapterOptions.subscribe) {\n              // ...\n            }\n            // ...\n          }\n        }\n        ```\n         @property adapterOptions\n        @public\n        @type {Object}\n      */\n      this.adapterOptions = options.adapterOptions;\n\n      /**\n        The relationships to include for this request.\n         Example\n         ```app/adapters/application.js\n        import Adapter from '@ember-data/adapter';\n         export default class ApplicationAdapter extends Adapter {\n          findAll(store, type, snapshotRecordArray) {\n            let url = `/${type.modelName}?include=${encodeURIComponent(snapshotRecordArray.include)}`;\n             return fetch(url).then((response) => response.json())\n          }\n        }\n        ```\n         @property include\n        @public\n        @type {String|Array}\n      */\n      this.include = options.include;\n    }\n\n    /**\n      An array of records\n       @property _recordArray\n      @private\n      @type {Array}\n    */\n    get _recordArray() {\n      return this.__store.peekAll(this.modelName);\n    }\n\n    /**\n        Number of records in the array\n         Example\n         ```app/adapters/post.js\n        import JSONAPIAdapter from '@ember-data/adapter/json-api';\n         export default class PostAdapter extends JSONAPIAdapter {\n          shouldReloadAll(store, snapshotRecordArray) {\n            return !snapshotRecordArray.length;\n          }\n        });\n        ```\n         @property length\n        @public\n        @type {Number}\n      */\n    get length() {\n      return this._recordArray.length;\n    }\n\n    /**\n      Get snapshots of the underlying record array\n       Example\n       ```app/adapters/post.js\n      import JSONAPIAdapter from '@ember-data/adapter/json-api';\n       export default class PostAdapter extends JSONAPIAdapter {\n        shouldReloadAll(store, snapshotArray) {\n          let snapshots = snapshotArray.snapshots();\n           return snapshots.any(function(ticketSnapshot) {\n            let timeDiff = moment().diff(ticketSnapshot.attr('lastAccessedAt'), 'minutes');\n            if (timeDiff > 20) {\n              return true;\n            } else {\n              return false;\n            }\n          });\n        }\n      }\n      ```\n       @method snapshots\n      @public\n      @return {Array} Array of snapshots\n    */\n    snapshots() {\n      if (this._snapshots !== null) {\n        return this._snapshots;\n      }\n      upgradeStore(this.__store);\n      const {\n        _fetchManager\n      } = this.__store;\n      this._snapshots = this._recordArray[_private.SOURCE].map(identifier => _fetchManager.createSnapshot(identifier));\n      return this._snapshots;\n    }\n  }\n  _exports.b = SnapshotRecordArray;\n  function assertIdentifierHasId(identifier) {\n    (true && !(identifier && identifier.id !== null) && (0, _debug.assert)(`Attempted to schedule a fetch for a record without an id.`, identifier && identifier.id !== null));\n  }\n  function iterateData(data, fn) {\n    if (Array.isArray(data)) {\n      return data.map(fn);\n    } else {\n      return fn(data);\n    }\n  }\n  function payloadIsNotBlank(adapterPayload) {\n    if (Array.isArray(adapterPayload)) {\n      return true;\n    } else {\n      return Object.keys(adapterPayload || {}).length !== 0;\n    }\n  }\n\n  /**\n    This is a helper method that validates a JSON API top-level document\n  \n    The format of a document is described here:\n    http://jsonapi.org/format/#document-top-level\n  \n    @internal\n  */\n  function validateDocumentStructure(doc) {\n    {\n      const errors = [];\n      if (!doc || typeof doc !== 'object') {\n        errors.push('Top level of a JSON API document must be an object');\n      } else {\n        if (!('data' in doc) && !('errors' in doc) && !('meta' in doc)) {\n          errors.push('One or more of the following keys must be present: \"data\", \"errors\", \"meta\".');\n        } else {\n          if ('data' in doc && 'errors' in doc) {\n            errors.push('Top level keys \"errors\" and \"data\" cannot both be present in a JSON API document');\n          }\n        }\n        if ('data' in doc) {\n          if (!(doc.data === null || Array.isArray(doc.data) || typeof doc.data === 'object')) {\n            errors.push('data must be null, an object, or an array');\n          }\n        }\n        if ('meta' in doc) {\n          if (typeof doc.meta !== 'object') {\n            errors.push('meta must be an object');\n          }\n        }\n        if ('errors' in doc) {\n          if (!Array.isArray(doc.errors)) {\n            errors.push('errors must be an array');\n          }\n        }\n        if ('links' in doc) {\n          if (typeof doc.links !== 'object') {\n            errors.push('links must be an object');\n          }\n        }\n        if ('jsonapi' in doc) {\n          if (typeof doc.jsonapi !== 'object') {\n            errors.push('jsonapi must be an object');\n          }\n        }\n        if ('included' in doc) {\n          if (typeof doc.included !== 'object') {\n            errors.push('included must be an array');\n          }\n        }\n      }\n      (true && !(errors.length === 0) && (0, _debug.assert)(`Response must be normalized to a valid JSON API document:\\n\\t* ${errors.join('\\n\\t* ')}`, errors.length === 0));\n    }\n  }\n  function normalizeResponseHelper(serializer, store, modelClass, payload, id, requestType) {\n    const normalizedResponse = serializer ? serializer.normalizeResponse(store, modelClass, payload, id, requestType) : payload;\n    validateDocumentStructure(normalizedResponse);\n    return normalizedResponse;\n  }\n\n  /**\n    @module @ember-data/store\n  */\n  /**\n    Snapshot is not directly instantiable.\n    Instances are provided to a consuming application's\n    adapters and serializers for certain requests.\n  \n    Snapshots are only available when using `@ember-data/legacy-compat`\n    for legacy compatibility with adapters and serializers.\n  \n    @class Snapshot\n    @public\n  */\n  class Snapshot {\n    /**\n     * @method constructor\n     * @constructor\n     * @private\n     * @param options\n     * @param identifier\n     * @param _store\n     */\n    constructor(options, identifier, store) {\n      this._store = store;\n      this.__attributes = null;\n      this._belongsToRelationships = Object.create(null);\n      this._belongsToIds = Object.create(null);\n      this._hasManyRelationships = Object.create(null);\n      this._hasManyIds = Object.create(null);\n      const hasRecord = !!store._instanceCache.peek(identifier);\n      this.modelName = identifier.type;\n\n      /**\n        The unique RecordIdentifier associated with this Snapshot.\n         @property identifier\n        @public\n        @type {StableRecordIdentifier}\n      */\n      this.identifier = identifier;\n\n      /*\n        If the we do not yet have a record, then we are\n        likely a snapshot being provided to a find request, so we\n        populate __attributes lazily. Else, to preserve the \"moment\n        in time\" in which a snapshot is created, we greedily grab\n        the values.\n       */\n      if (hasRecord) {\n        this._attributes;\n      }\n\n      /**\n       The id of the snapshot's underlying record\n        Example\n        ```javascript\n       // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n       postSnapshot.id; // => '1'\n       ```\n        @property id\n       @type {String}\n       @public\n       */\n      this.id = identifier.id;\n\n      /**\n       A hash of adapter options\n       @property adapterOptions\n       @type {Object}\n       @public\n       */\n      this.adapterOptions = options.adapterOptions;\n\n      /**\n       If `include` was passed to the options hash for the request, the value\n       would be available here.\n        @property include\n       @type {String|Array}\n       @public\n       */\n      this.include = options.include;\n\n      /**\n       The name of the type of the underlying record for this snapshot, as a string.\n        @property modelName\n       @type {String}\n       @public\n       */\n      this.modelName = identifier.type;\n      if (hasRecord) {\n        const cache = this._store.cache;\n        this._changedAttributes = cache.changedAttrs(identifier);\n      }\n    }\n\n    /**\n     The underlying record for this snapshot. Can be used to access methods and\n     properties defined on the record.\n      Example\n      ```javascript\n     let json = snapshot.record.toJSON();\n     ```\n      @property record\n     @type {Model}\n     @public\n     */\n    get record() {\n      const record = this._store.peekRecord(this.identifier);\n      (true && !(record !== null) && (0, _debug.assert)(`Record ${this.identifier.type} ${this.identifier.id} (${this.identifier.lid}) is not yet loaded and thus cannot be accessed from the Snapshot during serialization`, record !== null));\n      return record;\n    }\n    get _attributes() {\n      if (this.__attributes !== null) {\n        return this.__attributes;\n      }\n      const attributes = this.__attributes = Object.create(null);\n      const {\n        identifier\n      } = this;\n      const attrs = Object.keys(this._store.getSchemaDefinitionService().attributesDefinitionFor(identifier));\n      const cache = this._store.cache;\n      attrs.forEach(keyName => {\n        attributes[keyName] = cache.getAttr(identifier, keyName);\n      });\n      return attributes;\n    }\n    get isNew() {\n      const cache = this._store.cache;\n      return cache?.isNew(this.identifier) || false;\n    }\n\n    /**\n     Returns the value of an attribute.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n     postSnapshot.attr('author'); // => 'Tomster'\n     postSnapshot.attr('title'); // => 'Ember.js rocks'\n     ```\n      Note: Values are loaded eagerly and cached when the snapshot is created.\n      @method attr\n     @param {String} keyName\n     @return {Object} The attribute value or undefined\n     @public\n     */\n    attr(keyName) {\n      if (keyName in this._attributes) {\n        return this._attributes[keyName];\n      }\n      (true && !(false) && (0, _debug.assert)(`Model '${this.identifier.lid}' has no attribute named '${keyName}' defined.`, false));\n    }\n\n    /**\n     Returns all attributes and their corresponding values.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n     postSnapshot.attributes(); // => { author: 'Tomster', title: 'Ember.js rocks' }\n     ```\n      @method attributes\n     @return {Object} All attributes of the current snapshot\n     @public\n     */\n    attributes() {\n      return {\n        ...this._attributes\n      };\n    }\n\n    /**\n     Returns all changed attributes and their old and new values.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n     postModel.set('title', 'Ember.js rocks!');\n     postSnapshot.changedAttributes(); // => { title: ['Ember.js rocks', 'Ember.js rocks!'] }\n     ```\n      @method changedAttributes\n     @return {Object} All changed attributes of the current snapshot\n     @public\n     */\n    changedAttributes() {\n      const changedAttributes = Object.create(null);\n      if (!this._changedAttributes) {\n        return changedAttributes;\n      }\n      const changedAttributeKeys = Object.keys(this._changedAttributes);\n      for (let i = 0, length = changedAttributeKeys.length; i < length; i++) {\n        const key = changedAttributeKeys[i];\n        changedAttributes[key] = this._changedAttributes[key].slice();\n      }\n      return changedAttributes;\n    }\n\n    /**\n     Returns the current value of a belongsTo relationship.\n      `belongsTo` takes an optional hash of options as a second parameter,\n     currently supported options are:\n      - `id`: set to `true` if you only want the ID of the related record to be\n     returned.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, title: 'Hello World' });\n     // store.createRecord('comment', { body: 'Lorem ipsum', post: post });\n     commentSnapshot.belongsTo('post'); // => Snapshot\n     commentSnapshot.belongsTo('post', { id: true }); // => '1'\n      // store.push('comment', { id: 1, body: 'Lorem ipsum' });\n     commentSnapshot.belongsTo('post'); // => undefined\n     ```\n      Calling `belongsTo` will return a new Snapshot as long as there's any known\n     data for the relationship available, such as an ID. If the relationship is\n     known but unset, `belongsTo` will return `null`. If the contents of the\n     relationship is unknown `belongsTo` will return `undefined`.\n      Note: Relationships are loaded lazily and cached upon first access.\n      @method belongsTo\n     @param {String} keyName\n     @param {Object} [options]\n     @public\n     @return {(Snapshot|String|null|undefined)} A snapshot or ID of a known\n     relationship or null if the relationship is known but unset. undefined\n     will be returned if the contents of the relationship is unknown.\n     */\n    belongsTo(keyName, options) {\n      const returnModeIsId = !!(options && options.id);\n      let result;\n      const store = this._store;\n      if (returnModeIsId === true && keyName in this._belongsToIds) {\n        return this._belongsToIds[keyName];\n      }\n      if (returnModeIsId === false && keyName in this._belongsToRelationships) {\n        return this._belongsToRelationships[keyName];\n      }\n      const relationshipMeta = store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type: this.modelName\n      })[keyName];\n      (true && !(relationshipMeta && relationshipMeta.kind === 'belongsTo') && (0, _debug.assert)(`Model '${this.identifier.lid}' has no belongsTo relationship named '${keyName}' defined.`, relationshipMeta && relationshipMeta.kind === 'belongsTo')); // TODO @runspired it seems this code branch would not work with CUSTOM_MODEL_CLASSes\n      // this check is not a regression in behavior because relationships don't currently\n      // function without access to intimate API contracts between RecordData and Model.\n      // This is a requirement we should fix as soon as the relationship layer does not require\n      // this intimate API usage.\n      const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n      const {\n        identifier\n      } = this;\n      {\n        const relationship = graphFor(this._store).get(identifier, keyName);\n        (true && !(relationship) && (0, _debug.assert)(`You looked up the ${keyName} belongsTo relationship for { type: ${identifier.type}, id: ${identifier.id || ''}, lid: ${identifier.lid} but no such relationship was found.`, relationship));\n        (true && !(relationship.definition.kind === 'belongsTo') && (0, _debug.assert)(`You looked up the ${keyName} belongsTo relationship for { type: ${identifier.type}, id: ${identifier.id || ''}, lid: ${identifier.lid} but that relationship is a hasMany.`, relationship.definition.kind === 'belongsTo'));\n      }\n      const value = graphFor(this._store).getData(identifier, keyName);\n      const data = value && value.data;\n      const inverseIdentifier = data ? store.identifierCache.getOrCreateRecordIdentifier(data) : null;\n      if (value && value.data !== undefined) {\n        const cache = store.cache;\n        if (inverseIdentifier && !cache.isDeleted(inverseIdentifier)) {\n          if (returnModeIsId) {\n            result = inverseIdentifier.id;\n          } else {\n            result = store._fetchManager.createSnapshot(inverseIdentifier);\n          }\n        } else {\n          result = null;\n        }\n      }\n      if (returnModeIsId) {\n        this._belongsToIds[keyName] = result;\n      } else {\n        this._belongsToRelationships[keyName] = result;\n      }\n      return result;\n    }\n\n    /**\n     Returns the current value of a hasMany relationship.\n      `hasMany` takes an optional hash of options as a second parameter,\n     currently supported options are:\n      - `ids`: set to `true` if you only want the IDs of the related records to be\n     returned.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, title: 'Hello World', comments: [2, 3] });\n     postSnapshot.hasMany('comments'); // => [Snapshot, Snapshot]\n     postSnapshot.hasMany('comments', { ids: true }); // => ['2', '3']\n      // store.push('post', { id: 1, title: 'Hello World' });\n     postSnapshot.hasMany('comments'); // => undefined\n     ```\n      Note: Relationships are loaded lazily and cached upon first access.\n      @method hasMany\n     @param {String} keyName\n     @param {Object} [options]\n     @public\n     @return {(Array|undefined)} An array of snapshots or IDs of a known\n     relationship or an empty array if the relationship is known but unset.\n     undefined will be returned if the contents of the relationship is unknown.\n     */\n    hasMany(keyName, options) {\n      const returnModeIsIds = !!(options && options.ids);\n      let results;\n      const cachedIds = this._hasManyIds[keyName];\n      const cachedSnapshots = this._hasManyRelationships[keyName];\n      if (returnModeIsIds === true && keyName in this._hasManyIds) {\n        return cachedIds;\n      }\n      if (returnModeIsIds === false && keyName in this._hasManyRelationships) {\n        return cachedSnapshots;\n      }\n      const store = this._store;\n      const relationshipMeta = store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type: this.modelName\n      })[keyName];\n      (true && !(relationshipMeta && relationshipMeta.kind === 'hasMany') && (0, _debug.assert)(`Model '${this.identifier.lid}' has no hasMany relationship named '${keyName}' defined.`, relationshipMeta && relationshipMeta.kind === 'hasMany')); // TODO @runspired it seems this code branch would not work with CUSTOM_MODEL_CLASSes\n      // this check is not a regression in behavior because relationships don't currently\n      // function without access to intimate API contracts between RecordData and Model.\n      // This is a requirement we should fix as soon as the relationship layer does not require\n      // this intimate API usage.\n      const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n      const {\n        identifier\n      } = this;\n      {\n        const relationship = graphFor(this._store).get(identifier, keyName);\n        (true && !(relationship) && (0, _debug.assert)(`You looked up the ${keyName} hasMany relationship for { type: ${identifier.type}, id: ${identifier.id || ''}, lid: ${identifier.lid} but no such relationship was found.`, relationship));\n        (true && !(relationship.definition.kind === 'hasMany') && (0, _debug.assert)(`You looked up the ${keyName} hasMany relationship for { type: ${identifier.type}, id: ${identifier.id || ''}, lid: ${identifier.lid} but that relationship is a belongsTo.`, relationship.definition.kind === 'hasMany'));\n      }\n      const value = graphFor(this._store).getData(identifier, keyName);\n      if (value.data) {\n        results = [];\n        value.data.forEach(member => {\n          const inverseIdentifier = store.identifierCache.getOrCreateRecordIdentifier(member);\n          const cache = store.cache;\n          if (!cache.isDeleted(inverseIdentifier)) {\n            if (returnModeIsIds) {\n              results.push(inverseIdentifier.id);\n            } else {\n              results.push(store._fetchManager.createSnapshot(inverseIdentifier));\n            }\n          }\n        });\n      }\n\n      // we assign even if `undefined` so that we don't reprocess the relationship\n      // on next access. This works with the `keyName in` checks above.\n      if (returnModeIsIds) {\n        this._hasManyIds[keyName] = results;\n      } else {\n        this._hasManyRelationships[keyName] = results;\n      }\n      return results;\n    }\n\n    /**\n      Iterates through all the attributes of the model, calling the passed\n      function on each attribute.\n       Example\n       ```javascript\n      snapshot.eachAttribute(function(name, meta) {\n        // ...\n      });\n      ```\n       @method eachAttribute\n      @param {Function} callback the callback to execute\n      @param {Object} [binding] the value to which the callback's `this` should be bound\n      @public\n    */\n    eachAttribute(callback, binding) {\n      const attrDefs = this._store.getSchemaDefinitionService().attributesDefinitionFor(this.identifier);\n      Object.keys(attrDefs).forEach(key => {\n        callback.call(binding, key, attrDefs[key]);\n      });\n    }\n\n    /**\n      Iterates through all the relationships of the model, calling the passed\n      function on each relationship.\n       Example\n       ```javascript\n      snapshot.eachRelationship(function(name, relationship) {\n        // ...\n      });\n      ```\n       @method eachRelationship\n      @param {Function} callback the callback to execute\n      @param {Object} [binding] the value to which the callback's `this` should be bound\n      @public\n    */\n    eachRelationship(callback, binding) {\n      const relationshipDefs = this._store.getSchemaDefinitionService().relationshipsDefinitionFor(this.identifier);\n      Object.keys(relationshipDefs).forEach(key => {\n        callback.call(binding, key, relationshipDefs[key]);\n      });\n    }\n\n    /**\n      Serializes the snapshot using the serializer for the model.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n       export default Adapter.extend({\n        createRecord(store, type, snapshot) {\n          let data = snapshot.serialize({ includeId: true });\n          let url = `/${type.modelName}`;\n           return fetch(url, {\n            method: 'POST',\n            body: data,\n          }).then((response) => response.json())\n        }\n      });\n      ```\n       @method serialize\n      @param {Object} options\n      @return {Object} an object whose values are primitive JSON values only\n      @public\n     */\n    serialize(options) {\n      upgradeStore(this._store);\n      const serializer = this._store.serializerFor(this.modelName);\n      (true && !(serializer) && (0, _debug.assert)(`Cannot serialize record, no serializer found`, serializer));\n      return serializer.serialize(this, options);\n    }\n  }\n  _exports.c = Snapshot;\n  const SaveOp = _exports.S = Symbol('SaveOp');\n  class FetchManager {\n    // fetches pending in the runloop, waiting to be coalesced\n\n    constructor(store) {\n      this._store = store;\n      // used to keep track of all the find requests that need to be coalesced\n      this._pendingFetch = new Map();\n      this.requestCache = store.getRequestStateService();\n      this.isDestroyed = false;\n    }\n    createSnapshot(identifier, options = {}) {\n      return new Snapshot(options, identifier, this._store);\n    }\n\n    /**\n      This method is called by `record.save`, and gets passed a\n      resolver for the promise that `record.save` returns.\n       It schedules saving to happen at the end of the run loop.\n       @internal\n    */\n    scheduleSave(identifier, options) {\n      const resolver = (0, _request.createDeferred)();\n      const query = {\n        op: 'saveRecord',\n        recordIdentifier: identifier,\n        options\n      };\n      const queryRequest = {\n        data: [query]\n      };\n      const snapshot = this.createSnapshot(identifier, options);\n      const pendingSaveItem = {\n        snapshot: snapshot,\n        resolver: resolver,\n        identifier,\n        options,\n        queryRequest\n      };\n      const monitored = this.requestCache._enqueue(resolver.promise, pendingSaveItem.queryRequest);\n      _flushPendingSave(this._store, pendingSaveItem);\n      return monitored;\n    }\n    scheduleFetch(identifier, options, request) {\n      const query = {\n        op: 'findRecord',\n        recordIdentifier: identifier,\n        options\n      };\n      const queryRequest = {\n        data: [query]\n      };\n      const pendingFetch = this.getPendingFetch(identifier, options);\n      if (pendingFetch) {\n        return pendingFetch;\n      }\n      const modelName = identifier.type;\n      const resolver = (0, _request.createDeferred)();\n      const pendingFetchItem = {\n        identifier,\n        resolver,\n        options,\n        queryRequest\n      };\n      const resolverPromise = resolver.promise;\n      const store = this._store;\n      const isInitialLoad = !store._instanceCache.recordIsLoaded(identifier); // we don't use isLoading directly because we are the request\n\n      const monitored = this.requestCache._enqueue(resolverPromise, pendingFetchItem.queryRequest);\n      let promise = monitored.then(payload => {\n        // ensure that regardless of id returned we assign to the correct record\n        if (payload.data && !Array.isArray(payload.data)) {\n          payload.data.lid = identifier.lid;\n        }\n\n        // additional data received in the payload\n        // may result in the merging of identifiers (and thus records)\n        const potentiallyNewIm = store._push(payload, options.reload);\n        if (potentiallyNewIm && !Array.isArray(potentiallyNewIm)) {\n          return potentiallyNewIm;\n        }\n        return identifier;\n      }, error => {\n        (true && !(!store.isDestroyed) && (0, _debug.assert)(`Async Leak Detected: Expected the store to not be destroyed`, !store.isDestroyed));\n        const cache = store.cache;\n        if (!cache || cache.isEmpty(identifier) || isInitialLoad) {\n          let isReleasable = true;\n          {\n            if (!cache) {\n              const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n              const graph = graphFor(store);\n              isReleasable = graph.isReleasable(identifier);\n              if (!isReleasable) {\n                graph.unload(identifier, true);\n              }\n            }\n          }\n          if (cache || isReleasable) {\n            store._enableAsyncFlush = true;\n            store._instanceCache.unloadRecord(identifier);\n            store._enableAsyncFlush = null;\n          }\n        }\n        throw error;\n      });\n      if (this._pendingFetch.size === 0) {\n        void new Promise(resolve => setTimeout(resolve, 0)).then(() => {\n          this.flushAllPendingFetches();\n        });\n      }\n      const fetchesByType = this._pendingFetch;\n      let fetchesById = fetchesByType.get(modelName);\n      if (!fetchesById) {\n        fetchesById = new Map();\n        fetchesByType.set(modelName, fetchesById);\n      }\n      let requestsForIdentifier = fetchesById.get(identifier);\n      if (!requestsForIdentifier) {\n        requestsForIdentifier = [];\n        fetchesById.set(identifier, requestsForIdentifier);\n      }\n      requestsForIdentifier.push(pendingFetchItem);\n      {\n        if (!request.disableTestWaiter) {\n          const {\n            waitForPromise\n          } = (0, _esCompat.default)(require(\"@ember/test-waiters\"));\n          promise = waitForPromise(promise);\n        }\n      }\n      pendingFetchItem.promise = promise;\n      return promise;\n    }\n    getPendingFetch(identifier, options) {\n      const pendingFetches = this._pendingFetch.get(identifier.type)?.get(identifier);\n\n      // We already have a pending fetch for this\n      if (pendingFetches) {\n        const matchingPendingFetch = pendingFetches.find(fetch => isSameRequest(options, fetch.options));\n        if (matchingPendingFetch) {\n          return matchingPendingFetch.promise;\n        }\n      }\n    }\n    flushAllPendingFetches() {\n      if (this.isDestroyed) {\n        return;\n      }\n      const store = this._store;\n      this._pendingFetch.forEach((fetchItem, type) => _flushPendingFetchForType(store, fetchItem, type));\n      this._pendingFetch.clear();\n    }\n    fetchDataIfNeededForIdentifier(identifier, options = {}, request) {\n      // pre-loading will change the isEmpty value\n      const isEmpty = _isEmpty(this._store._instanceCache, identifier);\n      const isLoading = _isLoading(this._store._instanceCache, identifier);\n      let promise;\n      if (isEmpty) {\n        assertIdentifierHasId(identifier);\n        {\n          promise = this.scheduleFetch(identifier, Object.assign({}, options, {\n            reload: true\n          }), request);\n        }\n      } else if (isLoading) {\n        promise = this.getPendingFetch(identifier, options);\n        (true && !(promise) && (0, _debug.assert)(`Expected to find a pending request for a record in the loading state, but found none`, promise));\n      } else {\n        promise = Promise.resolve(identifier);\n      }\n      return promise;\n    }\n    destroy() {\n      this.isDestroyed = true;\n    }\n  }\n  _exports.F = FetchManager;\n  function _isEmpty(instanceCache, identifier) {\n    const cache = instanceCache.cache;\n    if (!cache) {\n      return true;\n    }\n    const isNew = cache.isNew(identifier);\n    const isDeleted = cache.isDeleted(identifier);\n    const isEmpty = cache.isEmpty(identifier);\n    return (!isNew || isDeleted) && isEmpty;\n  }\n  function _isLoading(cache, identifier) {\n    const req = cache.store.getRequestStateService();\n    // const fulfilled = req.getLastRequestForRecord(identifier);\n    const isLoaded = cache.recordIsLoaded(identifier);\n    return !isLoaded &&\n    // fulfilled === null &&\n    req.getPendingRequestsForRecord(identifier).some(r => r.type === 'query');\n  }\n  function includesSatisfies(current, existing) {\n    // if we have no includes we are good\n    if (!current?.length) {\n      return true;\n    }\n\n    // if we are here we have includes,\n    // and if existing has no includes then we will need a new request\n    if (!existing?.length) {\n      return false;\n    }\n    const arrCurrent = (Array.isArray(current) ? current : current.split(',')).sort();\n    const arrExisting = (Array.isArray(existing) ? existing : existing.split(',')).sort();\n\n    // includes are identical\n    if (arrCurrent.join(',') === arrExisting.join(',')) {\n      return true;\n    }\n\n    // if all of current includes are in existing includes then we are good\n    // so if we find one that is not in existing then we need a new request\n    for (let i = 0; i < arrCurrent.length; i++) {\n      if (!arrExisting.includes(arrCurrent[i])) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function optionsSatisfies(current, existing) {\n    return !current || current === existing || Object.keys(current).length === 0;\n  }\n\n  // this function helps resolve whether we have a pending request that we should use instead\n  function isSameRequest(options = {}, existingOptions = {}) {\n    return optionsSatisfies(options.adapterOptions, existingOptions.adapterOptions) && includesSatisfies(options.include, existingOptions.include);\n  }\n  function _findMany(store, adapter, modelName, snapshots) {\n    const modelClass = store.modelFor(modelName); // `adapter.findMany` gets the modelClass still\n    const promise = Promise.resolve().then(() => {\n      const ids = snapshots.map(s => s.id);\n      (true && !(ids.every(v => v !== null)) && (0, _debug.assert)(`Cannot fetch a record without an id`, ids.every(v => v !== null))); // eslint-disable-next-line @typescript-eslint/unbound-method\n      (true && !(adapter.findMany) && (0, _debug.assert)(`Expected this adapter to implement findMany for coalescing`, adapter.findMany));\n      const ret = adapter.findMany(store, modelClass, ids, snapshots);\n      (true && !(ret !== undefined) && (0, _debug.assert)('adapter.findMany returned undefined, this was very likely a mistake', ret !== undefined));\n      return ret;\n    });\n    return promise.then(adapterPayload => {\n      (true && !(!!payloadIsNotBlank(adapterPayload)) && (0, _debug.assert)(`You made a 'findMany' request for '${modelName}' records with ids '[${snapshots.map(s => s.id).join(',')}]', but the adapter's response did not have any data`, !!payloadIsNotBlank(adapterPayload)));\n      const serializer = store.serializerFor(modelName);\n      const payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findMany');\n      return payload;\n    });\n  }\n  function rejectFetchedItems(fetchMap, snapshots, error) {\n    for (let i = 0, l = snapshots.length; i < l; i++) {\n      const snapshot = snapshots[i];\n      const pair = fetchMap.get(snapshot);\n      if (pair) {\n        pair.resolver.reject(error || new Error(`Expected: '<${snapshot.modelName}:${snapshot.id}>' to be present in the adapter provided payload, but it was not found.`));\n      }\n    }\n  }\n  function handleFoundRecords(store, fetchMap, snapshots, coalescedPayload) {\n    /*\n      It is possible that the same ID is included multiple times\n      via multiple snapshots. This happens when more than one\n      options hash was supplied, each of which must be uniquely\n      accounted for.\n       However, since we can't map from response to a specific\n      options object, we resolve all snapshots by id with\n      the first response we see.\n    */\n    const snapshotsById = new Map();\n    for (let i = 0; i < snapshots.length; i++) {\n      const id = snapshots[i].id;\n      let snapshotGroup = snapshotsById.get(id);\n      if (!snapshotGroup) {\n        snapshotGroup = [];\n        snapshotsById.set(id, snapshotGroup);\n      }\n      snapshotGroup.push(snapshots[i]);\n    }\n    const included = Array.isArray(coalescedPayload.included) ? coalescedPayload.included : [];\n\n    // resolve found records\n    const resources = coalescedPayload.data;\n    for (let i = 0, l = resources.length; i < l; i++) {\n      const resource = resources[i];\n      const snapshotGroup = snapshotsById.get(resource.id);\n      snapshotsById.delete(resource.id);\n      if (!snapshotGroup) {\n        // TODO consider whether this should be a deprecation/assertion\n        included.push(resource);\n      } else {\n        snapshotGroup.forEach(snapshot => {\n          const pair = fetchMap.get(snapshot);\n          const resolver = pair.resolver;\n          resolver.resolve({\n            data: resource\n          });\n        });\n      }\n    }\n    if (included.length > 0) {\n      store._push({\n        data: null,\n        included\n      }, true);\n    }\n    if (snapshotsById.size === 0) {\n      return;\n    }\n\n    // reject missing records\n    const rejected = [];\n    snapshotsById.forEach(snapshotArray => {\n      rejected.push(...snapshotArray);\n    });\n    (true && (0, _debug.warn)('Ember Data expected to find records with the following ids in the adapter response from findMany but they were missing: [ \"' + [...snapshotsById.values()].map(r => r[0].id).join('\", \"') + '\" ]', {\n      id: 'ds.store.missing-records-from-adapter'\n    }));\n    rejectFetchedItems(fetchMap, rejected);\n  }\n  function _fetchRecord(store, adapter, fetchItem) {\n    const identifier = fetchItem.identifier;\n    const modelName = identifier.type;\n    (true && !(adapter) && (0, _debug.assert)(`You tried to find a record but you have no adapter (for ${modelName})`, adapter));\n    (true && !(typeof adapter.findRecord === 'function') && (0, _debug.assert)(`You tried to find a record but your adapter (for ${modelName}) does not implement 'findRecord'`, typeof adapter.findRecord === 'function'));\n    const snapshot = store._fetchManager.createSnapshot(identifier, fetchItem.options);\n    const klass = store.modelFor(identifier.type);\n    const id = identifier.id;\n    let promise = Promise.resolve().then(() => {\n      return adapter.findRecord(store, klass, identifier.id, snapshot);\n    });\n    promise = promise.then(adapterPayload => {\n      (true && !(!(store.isDestroyed || store.isDestroying)) && (0, _debug.assert)(`Async Leak Detected: Expected the store to not be destroyed`, !(store.isDestroyed || store.isDestroying)));\n      (true && !(!!payloadIsNotBlank(adapterPayload)) && (0, _debug.assert)(`You made a 'findRecord' request for a '${modelName}' with id '${id}', but the adapter's response did not have any data`, !!payloadIsNotBlank(adapterPayload)));\n      const serializer = store.serializerFor(modelName);\n      const payload = normalizeResponseHelper(serializer, store, klass, adapterPayload, id, 'findRecord');\n      (true && !(!Array.isArray(payload.data)) && (0, _debug.assert)(`Ember Data expected the primary data returned from a 'findRecord' response to be an object but instead it found an array.`, !Array.isArray(payload.data)));\n      (true && !('data' in payload && payload.data !== null && typeof payload.data === 'object') && (0, _debug.assert)(`The 'findRecord' request for ${modelName}:${id} resolved indicating success but contained no primary data. To indicate a 404 not found you should either reject the promise returned by the adapter's findRecord method or throw a NotFoundError.`, 'data' in payload && payload.data !== null && typeof payload.data === 'object'));\n      (true && (0, _debug.warn)(`You requested a record of type '${modelName}' with id '${id}' but the adapter returned a payload with primary data having an id of '${payload.data.id}'. Use 'store.findRecord()' when the requested id is the same as the one returned by the adapter. In other cases use 'store.queryRecord()' instead.`, (0, _private.coerceId)(payload.data.id) === (0, _private.coerceId)(id), {\n        id: 'ds.store.findRecord.id-mismatch'\n      }));\n      return payload;\n    });\n    fetchItem.resolver.resolve(promise);\n  }\n  function _processCoalescedGroup(store, fetchMap, group, adapter, modelName) {\n    if (group.length > 1) {\n      _findMany(store, adapter, modelName, group).then(payloads => {\n        handleFoundRecords(store, fetchMap, group, payloads);\n      }).catch(error => {\n        rejectFetchedItems(fetchMap, group, error);\n      });\n    } else if (group.length === 1) {\n      _fetchRecord(store, adapter, fetchMap.get(group[0]));\n    } else {\n      (true && !(false) && (0, _debug.assert)(\"You cannot return an empty array from adapter's method groupRecordsForFindMany\", false));\n    }\n  }\n  function _flushPendingFetchForType(store, pendingFetchMap, modelName) {\n    const adapter = store.adapterFor(modelName);\n    const shouldCoalesce = !!adapter.findMany && adapter.coalesceFindRequests;\n    if (shouldCoalesce) {\n      const pendingFetchItems = [];\n      pendingFetchMap.forEach((requestsForIdentifier, identifier) => {\n        if (requestsForIdentifier.length > 1) {\n          return;\n        }\n\n        // remove this entry from the map so it's not processed again\n        pendingFetchMap.delete(identifier);\n        pendingFetchItems.push(requestsForIdentifier[0]);\n      });\n      const totalItems = pendingFetchItems.length;\n      if (totalItems > 1) {\n        const snapshots = new Array(totalItems);\n        const fetchMap = new Map();\n        for (let i = 0; i < totalItems; i++) {\n          const fetchItem = pendingFetchItems[i];\n          snapshots[i] = store._fetchManager.createSnapshot(fetchItem.identifier, fetchItem.options);\n          fetchMap.set(snapshots[i], fetchItem);\n        }\n        let groups;\n        if (adapter.groupRecordsForFindMany) {\n          groups = adapter.groupRecordsForFindMany(store, snapshots);\n        } else {\n          groups = [snapshots];\n        }\n        for (let i = 0, l = groups.length; i < l; i++) {\n          _processCoalescedGroup(store, fetchMap, groups[i], adapter, modelName);\n        }\n      } else if (totalItems === 1) {\n        _fetchRecord(store, adapter, pendingFetchItems[0]);\n      }\n    }\n    pendingFetchMap.forEach(pendingFetchItems => {\n      pendingFetchItems.forEach(pendingFetchItem => {\n        _fetchRecord(store, adapter, pendingFetchItem);\n      });\n    });\n  }\n  function _flushPendingSave(store, pending) {\n    const {\n      snapshot,\n      resolver,\n      identifier,\n      options\n    } = pending;\n    const adapter = store.adapterFor(identifier.type);\n    const operation = options[SaveOp];\n    const modelName = snapshot.modelName;\n    const modelClass = store.modelFor(modelName);\n    (true && !(adapter) && (0, _debug.assert)(`You tried to update a record but you have no adapter (for ${modelName})`, adapter));\n    (true && !(typeof adapter[operation] === 'function') && (0, _debug.assert)(`You tried to update a record but your adapter (for ${modelName}) does not implement '${operation}'`, typeof adapter[operation] === 'function'));\n    let promise = Promise.resolve().then(() => adapter[operation](store, modelClass, snapshot));\n    const serializer = store.serializerFor(modelName);\n    (true && !(promise !== undefined) && (0, _debug.assert)(`Your adapter's '${operation}' method must return a value, but it returned 'undefined'`, promise !== undefined));\n    promise = promise.then(adapterPayload => {\n      if (adapterPayload) {\n        return normalizeResponseHelper(serializer, store, modelClass, adapterPayload, snapshot.id, operation);\n      }\n    });\n    resolver.resolve(promise);\n  }\n\n  /**\n   * Utilities - often temporary - for maintaining backwards compatibility with\n   * older parts of EmberData.\n   *\n    @module @ember-data/legacy-compat\n    @main @ember-data/legacy-compat\n  */\n  function upgradeStore(store) {}\n});","define(\"@ember-data/legacy-compat/-private\", [\"exports\", \"@ember-data/legacy-compat/-private-1aicprWG\"], function (_exports, _private1aicprWG) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"FetchManager\", {\n    enumerable: true,\n    get: function () {\n      return _private1aicprWG.F;\n    }\n  });\n  Object.defineProperty(_exports, \"SaveOp\", {\n    enumerable: true,\n    get: function () {\n      return _private1aicprWG.S;\n    }\n  });\n  Object.defineProperty(_exports, \"Snapshot\", {\n    enumerable: true,\n    get: function () {\n      return _private1aicprWG.c;\n    }\n  });\n  Object.defineProperty(_exports, \"SnapshotRecordArray\", {\n    enumerable: true,\n    get: function () {\n      return _private1aicprWG.b;\n    }\n  });\n  Object.defineProperty(_exports, \"upgradeStore\", {\n    enumerable: true,\n    get: function () {\n      return _private1aicprWG.u;\n    }\n  });\n});","define(\"@ember-data/legacy-compat/index\", [\"exports\", \"@ember/application\", \"@ember/debug\", \"@ember-data/store\", \"@ember-data/store/-private\", \"@ember-data/legacy-compat/-private-1aicprWG\", \"@embroider/macros/es-compat2\"], function (_exports, _application, _debug, _store, _private, _private1aicprWG, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.LegacyNetworkHandler = void 0;\n  _exports.adapterFor = adapterFor;\n  _exports.cleanup = cleanup;\n  _exports.normalize = normalize;\n  _exports.pushPayload = pushPayload;\n  _exports.serializeRecord = serializeRecord;\n  _exports.serializerFor = serializerFor;\n  function _findHasMany(adapter, store, identifier, link, relationship, options) {\n    let promise = Promise.resolve().then(() => {\n      const snapshot = store._fetchManager.createSnapshot(identifier, options);\n      const useLink = !link || typeof link === 'string';\n      const relatedLink = useLink ? link : link.href;\n      return adapter.findHasMany(store, snapshot, relatedLink, relationship);\n    });\n    promise = promise.then(adapterPayload => {\n      (true && !((0, _private1aicprWG.p)(adapterPayload)) && (0, _debug.assert)(`You made a 'findHasMany' request for a ${identifier.type}'s '${relationship.name}' relationship, using link '${link}' , but the adapter's response did not have any data`, (0, _private1aicprWG.p)(adapterPayload)));\n      const modelClass = store.modelFor(relationship.type);\n      const serializer = store.serializerFor(relationship.type);\n      let payload = (0, _private1aicprWG.n)(serializer, store, modelClass, adapterPayload, null, 'findHasMany');\n      (true && !('data' in payload && Array.isArray(payload.data)) && (0, _debug.assert)(`fetched the hasMany relationship '${relationship.name}' for ${identifier.type}:${identifier.id} with link '${link}', but no data member is present in the response. If no data exists, the response should set { data: [] }`, 'data' in payload && Array.isArray(payload.data)));\n      payload = syncRelationshipDataFromLink(store, payload, identifier, relationship);\n      return store._push(payload, true);\n    }, null, `DS: Extract payload of '${identifier.type}' : hasMany '${relationship.type}'`);\n    return promise;\n  }\n  function _findBelongsTo(store, identifier, link, relationship, options) {\n    let promise = Promise.resolve().then(() => {\n      const adapter = store.adapterFor(identifier.type);\n      (true && !(adapter) && (0, _debug.assert)(`You tried to load a belongsTo relationship but you have no adapter (for ${identifier.type})`, adapter));\n      (true && !(typeof adapter.findBelongsTo === 'function') && (0, _debug.assert)(`You tried to load a belongsTo relationship from a specified 'link' in the original payload but your adapter does not implement 'findBelongsTo'`, typeof adapter.findBelongsTo === 'function'));\n      const snapshot = store._fetchManager.createSnapshot(identifier, options);\n      const useLink = !link || typeof link === 'string';\n      const relatedLink = useLink ? link : link.href;\n      return adapter.findBelongsTo(store, snapshot, relatedLink, relationship);\n    });\n    promise = promise.then(adapterPayload => {\n      const modelClass = store.modelFor(relationship.type);\n      const serializer = store.serializerFor(relationship.type);\n      let payload = (0, _private1aicprWG.n)(serializer, store, modelClass, adapterPayload, null, 'findBelongsTo');\n      (true && !('data' in payload && (payload.data === null || typeof payload.data === 'object' && !Array.isArray(payload.data))) && (0, _debug.assert)(`fetched the belongsTo relationship '${relationship.name}' for ${identifier.type}:${identifier.id} with link '${link}', but no data member is present in the response. If no data exists, the response should set { data: null }`, 'data' in payload && (payload.data === null || typeof payload.data === 'object' && !Array.isArray(payload.data))));\n      if (!payload.data && !payload.links && !payload.meta) {\n        return null;\n      }\n      payload = syncRelationshipDataFromLink(store, payload, identifier, relationship);\n      return store._push(payload, true);\n    }, null, `DS: Extract payload of ${identifier.type} : ${relationship.type}`);\n    return promise;\n  }\n\n  // sync\n  // iterate over records in payload.data\n  // for each record\n  //   assert that record.relationships[inverse] is either undefined (so we can fix it)\n  //     or provide a data: {id, type} that matches the record that requested it\n  //   return the relationship data for the parent\n  function syncRelationshipDataFromLink(store, payload, parentIdentifier, relationship) {\n    // ensure the right hand side (incoming payload) points to the parent record that\n    // requested this relationship\n    const relationshipData = payload.data ? (0, _private1aicprWG.i)(payload.data, (data, index) => {\n      const {\n        id,\n        type\n      } = data;\n      ensureRelationshipIsSetToParent(data, parentIdentifier, store, relationship, index);\n      return {\n        id,\n        type\n      };\n    }) : null;\n    const relatedDataHash = {};\n    if ('meta' in payload) {\n      relatedDataHash.meta = payload.meta;\n    }\n    if ('links' in payload) {\n      relatedDataHash.links = payload.links;\n    }\n    if ('data' in payload) {\n      relatedDataHash.data = relationshipData;\n    }\n\n    // now, push the left hand side (the parent record) to ensure things are in sync, since\n    // the payload will be pushed with store._push\n    const parentPayload = {\n      id: parentIdentifier.id,\n      type: parentIdentifier.type,\n      relationships: {\n        [relationship.name]: relatedDataHash\n      }\n    };\n    if (!Array.isArray(payload.included)) {\n      payload.included = [];\n    }\n    payload.included.push(parentPayload);\n    return payload;\n  }\n  function ensureRelationshipIsSetToParent(payload, parentIdentifier, store, parentRelationship, index) {\n    const {\n      id,\n      type\n    } = payload;\n    if (!payload.relationships) {\n      payload.relationships = {};\n    }\n    const {\n      relationships\n    } = payload;\n    const inverse = getInverse(store, parentIdentifier, parentRelationship, type);\n    if (inverse) {\n      const {\n        inverseKey,\n        kind\n      } = inverse;\n      const relationshipData = relationships[inverseKey] && relationships[inverseKey].data;\n      {\n        if (typeof relationshipData !== 'undefined' && !relationshipDataPointsToParent(relationshipData, parentIdentifier)) {\n          const inspect = function inspect(thing) {\n            return `'${JSON.stringify(thing)}'`;\n          };\n          const quotedType = inspect(type);\n          const quotedInverse = inspect(inverseKey);\n          const expected = inspect({\n            id: parentIdentifier.id,\n            type: parentIdentifier.type\n          });\n          const expectedModel = `${parentIdentifier.type}:${parentIdentifier.id}`;\n          const got = inspect(relationshipData);\n          const prefix = typeof index === 'number' ? `data[${index}]` : `data`;\n          const path = `${prefix}.relationships.${inverseKey}.data`;\n          const other = relationshipData ? `<${relationshipData.type}:${relationshipData.id}>` : null;\n          const relationshipFetched = `${expectedModel}.${parentRelationship.kind}(\"${parentRelationship.name}\")`;\n          const includedRecord = `<${type}:${id}>`;\n          const message = [`Encountered mismatched relationship: Ember Data expected ${path} in the payload from ${relationshipFetched} to include ${expected} but got ${got} instead.\\n`, `The ${includedRecord} record loaded at ${prefix} in the payload specified ${other} as its ${quotedInverse}, but should have specified ${expectedModel} (the record the relationship is being loaded from) as its ${quotedInverse} instead.`, `This could mean that the response for ${relationshipFetched} may have accidentally returned ${quotedType} records that aren't related to ${expectedModel} and could be related to a different ${parentIdentifier.type} record instead.`, `Ember Data has corrected the ${includedRecord} record's ${quotedInverse} relationship to ${expectedModel} so that ${relationshipFetched} will include ${includedRecord}.`, `Please update the response from the server or change your serializer to either ensure that the response for only includes ${quotedType} records that specify ${expectedModel} as their ${quotedInverse}, or omit the ${quotedInverse} relationship from the response.`].join('\\n');\n          (true && !(false) && (0, _debug.assert)(message));\n        }\n      }\n      if (kind !== 'hasMany' || typeof relationshipData !== 'undefined') {\n        relationships[inverseKey] = relationships[inverseKey] || {};\n        relationships[inverseKey].data = fixRelationshipData(relationshipData, kind, parentIdentifier);\n      }\n    }\n  }\n  function inverseForRelationship(store, identifier, key) {\n    const definition = store.getSchemaDefinitionService().relationshipsDefinitionFor(identifier)[key];\n    if (!definition) {\n      return null;\n    }\n    (true && !(definition.options?.inverse === null || typeof definition.options?.inverse === 'string' && definition.options.inverse.length > 0) && (0, _debug.assert)(`Expected the relationship defintion to specify the inverse type or null.`, definition.options?.inverse === null || typeof definition.options?.inverse === 'string' && definition.options.inverse.length > 0));\n    return definition.options.inverse;\n  }\n  function getInverse(store, parentIdentifier, parentRelationship, type) {\n    const {\n      name: lhs_relationshipName\n    } = parentRelationship;\n    const {\n      type: parentType\n    } = parentIdentifier;\n    const inverseKey = inverseForRelationship(store, {\n      type: parentType\n    }, lhs_relationshipName);\n    if (inverseKey) {\n      const definition = store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type\n      });\n      const {\n        kind\n      } = definition[inverseKey];\n      return {\n        inverseKey,\n        kind\n      };\n    }\n  }\n  function relationshipDataPointsToParent(relationshipData, identifier) {\n    if (relationshipData === null) {\n      return false;\n    }\n    if (Array.isArray(relationshipData)) {\n      if (relationshipData.length === 0) {\n        return false;\n      }\n      for (let i = 0; i < relationshipData.length; i++) {\n        const entry = relationshipData[i];\n        if (validateRelationshipEntry(entry, identifier)) {\n          return true;\n        }\n      }\n    } else {\n      return validateRelationshipEntry(relationshipData, identifier);\n    }\n    return false;\n  }\n  function fixRelationshipData(relationshipData, relationshipKind, {\n    id,\n    type\n  }) {\n    const parentRelationshipData = {\n      id,\n      type\n    };\n    let payload;\n    if (relationshipKind === 'hasMany') {\n      payload = relationshipData || [];\n      if (relationshipData) {\n        // these arrays could be massive so this is better than filter\n        // Note: this is potentially problematic if type/id are not in the\n        // same state of normalization.\n        const found = relationshipData.find(v => {\n          return v.type === parentRelationshipData.type && v.id === parentRelationshipData.id;\n        });\n        if (!found) {\n          payload.push(parentRelationshipData);\n        }\n      } else {\n        payload.push(parentRelationshipData);\n      }\n    } else {\n      payload = relationshipData || {};\n      Object.assign(payload, parentRelationshipData);\n    }\n    return payload;\n  }\n  function validateRelationshipEntry({\n    id\n  }, {\n    id: parentModelID\n  }) {\n    return id && id.toString() === parentModelID;\n  }\n  const PotentialLegacyOperations = new Set(['findRecord', 'findAll', 'query', 'queryRecord', 'findBelongsTo', 'findHasMany', 'updateRecord', 'createRecord', 'deleteRecord']);\n  const LegacyNetworkHandler = _exports.LegacyNetworkHandler = {\n    request(context, next) {\n      // if we are not a legacy request, move on\n      if (context.request.url || !context.request.op || !PotentialLegacyOperations.has(context.request.op)) {\n        return next(context.request);\n      }\n      const {\n        store\n      } = context.request;\n      if (!store._fetchManager) {\n        store._fetchManager = new _private1aicprWG.F(store);\n      }\n      switch (context.request.op) {\n        case 'findRecord':\n          return findRecord(context);\n        case 'findAll':\n          return findAll(context);\n        case 'query':\n          return query(context);\n        case 'queryRecord':\n          return queryRecord(context);\n        case 'findBelongsTo':\n          return findBelongsTo(context);\n        case 'findHasMany':\n          return findHasMany(context);\n        case 'updateRecord':\n          return saveRecord(context);\n        case 'createRecord':\n          return saveRecord(context);\n        case 'deleteRecord':\n          return saveRecord(context);\n        default:\n          return next(context.request);\n      }\n    }\n  };\n  function findBelongsTo(context) {\n    const {\n      store,\n      data,\n      records: identifiers\n    } = context.request;\n    const {\n      options,\n      record,\n      links,\n      useLink,\n      field\n    } = data;\n    const identifier = identifiers?.[0];\n\n    // short circuit if we are already loading\n    const pendingRequest = identifier && store._fetchManager.getPendingFetch(identifier, options);\n    if (pendingRequest) {\n      return pendingRequest;\n    }\n    if (useLink) {\n      (true && !(links && links.related) && (0, _debug.assert)(`Expected a related link when calling store.findBelongsTo, found ${String(links)}`, links && links.related));\n      return _findBelongsTo(store, record, links.related, field, options);\n    }\n    (true && !(Array.isArray(identifiers) && identifiers.length === 1) && (0, _debug.assert)(`Expected an identifier`, Array.isArray(identifiers) && identifiers.length === 1));\n    const manager = store._fetchManager;\n    (0, _private1aicprWG.a)(identifier);\n    return options.reload ? manager.scheduleFetch(identifier, options, context.request) : manager.fetchDataIfNeededForIdentifier(identifier, options, context.request);\n  }\n  function findHasMany(context) {\n    const {\n      store,\n      data,\n      records: identifiers\n    } = context.request;\n    const {\n      options,\n      record,\n      links,\n      useLink,\n      field\n    } = data;\n\n    // link case\n    if (useLink) {\n      const adapter = store.adapterFor(record.type);\n      /*\n      If a relationship was originally populated by the adapter as a link\n      (as opposed to a list of IDs), this method is called when the\n      relationship is fetched.\n       The link (which is usually a URL) is passed through unchanged, so the\n      adapter can make whatever request it wants.\n       The usual use-case is for the server to register a URL as a link, and\n      then use that URL in the future to make a request for the relationship.\n      */\n      (true && !(adapter) && (0, _debug.assert)(`You tried to load a hasMany relationship but you have no adapter (for ${record.type})`, adapter));\n      (true && !(typeof adapter.findHasMany === 'function') && (0, _debug.assert)(`You tried to load a hasMany relationship from a specified 'link' in the original payload but your adapter does not implement 'findHasMany'`, typeof adapter.findHasMany === 'function'));\n      (true && !(links && links.related) && (0, _debug.assert)(`Expected a related link when calling store.findhasMany, found ${String(links)}`, links && links.related));\n      return _findHasMany(adapter, store, record, links.related, field, options);\n    }\n\n    // identifiers case\n    (true && !(Array.isArray(identifiers)) && (0, _debug.assert)(`Expected an array of identifiers to fetch`, Array.isArray(identifiers)));\n    const fetches = new Array(identifiers.length);\n    const manager = store._fetchManager;\n    for (let i = 0; i < identifiers.length; i++) {\n      const identifier = identifiers[i];\n      // TODO we probably can be lenient here and return from cache for the isNew case\n      (0, _private1aicprWG.a)(identifier);\n      fetches[i] = options.reload ? manager.scheduleFetch(identifier, options, context.request) : manager.fetchDataIfNeededForIdentifier(identifier, options, context.request);\n    }\n    return Promise.all(fetches);\n  }\n  function saveRecord(context) {\n    const {\n      store,\n      data,\n      op: operation\n    } = context.request;\n    const {\n      options,\n      record: identifier\n    } = data;\n    const saveOptions = Object.assign({\n      [_private1aicprWG.S]: operation\n    }, options);\n    const fetchManagerPromise = store._fetchManager.scheduleSave(identifier, saveOptions);\n    return fetchManagerPromise.then(payload => {\n      let result;\n      store._join(() => {\n        // @ts-expect-error we don't have access to a response in legacy\n        result = store.cache.didCommit(identifier, {\n          request: context.request,\n          content: payload\n        });\n      });\n\n      // blatantly lie if we were a createRecord request\n      // to give some semblance of cache-control to the\n      // lifetimes service while legacy is still around\n      if (store.lifetimes?.didRequest && operation === 'createRecord') {\n        store.lifetimes.didRequest(context.request, {\n          status: 201\n        }, null, store);\n      }\n      return store.peekRecord(result.data);\n    }).catch(e => {\n      let err = e;\n      if (!e) {\n        err = new Error(`Unknown Error Occurred During Request`);\n      } else if (typeof e === 'string') {\n        err = new Error(e);\n      }\n      adapterDidInvalidate(store, identifier, err);\n      throw err;\n    });\n  }\n  function adapterDidInvalidate(store, identifier, error) {\n    if (error && error.isAdapterError === true && error.code === 'InvalidError') {\n      const serializer = store.serializerFor(identifier.type);\n\n      // TODO @deprecate extractErrors being called\n      // TODO remove extractErrors from the default serializers.\n      if (serializer && typeof serializer.extractErrors === 'function') {\n        const errorsHash = serializer.extractErrors(store, store.modelFor(identifier.type), error, identifier.id);\n        error.errors = errorsHashToArray(errorsHash);\n      }\n    }\n    const cache = store.cache;\n    if (error.errors) {\n      (true && !(typeof cache.getErrors === 'function') && (0, _debug.assert)(`Expected the cache in use by resource ${String(identifier)} to have a getErrors(identifier) method for retreiving errors.`, typeof cache.getErrors === 'function'));\n      let jsonApiErrors = error.errors;\n      if (jsonApiErrors.length === 0) {\n        jsonApiErrors = [{\n          title: 'Invalid Error',\n          detail: '',\n          source: {\n            pointer: '/data'\n          }\n        }];\n      }\n      cache.commitWasRejected(identifier, jsonApiErrors);\n    } else {\n      cache.commitWasRejected(identifier);\n    }\n  }\n  function makeArray(value) {\n    return Array.isArray(value) ? value : [value];\n  }\n  const PRIMARY_ATTRIBUTE_KEY = 'base';\n  function errorsHashToArray(errors) {\n    const out = [];\n    if (errors) {\n      Object.keys(errors).forEach(key => {\n        const messages = makeArray(errors[key]);\n        for (let i = 0; i < messages.length; i++) {\n          let title = 'Invalid Attribute';\n          let pointer = `/data/attributes/${key}`;\n          if (key === PRIMARY_ATTRIBUTE_KEY) {\n            title = 'Invalid Document';\n            pointer = `/data`;\n          }\n          out.push({\n            title: title,\n            detail: messages[i],\n            source: {\n              pointer: pointer\n            }\n          });\n        }\n      });\n    }\n    return out;\n  }\n  function findRecord(context) {\n    const {\n      store,\n      data\n    } = context.request;\n    const {\n      record: identifier,\n      options\n    } = data;\n    let promise;\n\n    // if not loaded start loading\n    if (!store._instanceCache.recordIsLoaded(identifier)) {\n      promise = store._fetchManager.fetchDataIfNeededForIdentifier(identifier, options, context.request);\n\n      // Refetch if the reload option is passed\n    } else if (options.reload) {\n      (0, _private1aicprWG.a)(identifier);\n      promise = store._fetchManager.scheduleFetch(identifier, options, context.request);\n    } else {\n      let snapshot = null;\n      const adapter = store.adapterFor(identifier.type);\n\n      // Refetch the record if the adapter thinks the record is stale\n      if (typeof options.reload === 'undefined' && adapter.shouldReloadRecord && adapter.shouldReloadRecord(store, snapshot = store._fetchManager.createSnapshot(identifier, options))) {\n        (0, _private1aicprWG.a)(identifier);\n        {\n          promise = store._fetchManager.scheduleFetch(identifier, Object.assign({}, options, {\n            reload: true\n          }), context.request);\n        }\n      } else {\n        // Trigger the background refetch if backgroundReload option is passed\n        if (options.backgroundReload !== false && (options.backgroundReload || !adapter.shouldBackgroundReloadRecord || adapter.shouldBackgroundReloadRecord(store, snapshot = snapshot || store._fetchManager.createSnapshot(identifier, options)))) {\n          (0, _private1aicprWG.a)(identifier);\n          {\n            void store._fetchManager.scheduleFetch(identifier, Object.assign({}, options, {\n              backgroundReload: true\n            }), context.request);\n          }\n        }\n\n        // Return the cached record\n        promise = Promise.resolve(identifier);\n      }\n    }\n    return promise.then(i => store.peekRecord(i));\n  }\n  function findAll(context) {\n    const {\n      store,\n      data\n    } = context.request;\n    const {\n      type,\n      options\n    } = data;\n    const adapter = store.adapterFor(type);\n    (true && !(adapter) && (0, _debug.assert)(`You tried to load all records but you have no adapter (for ${type})`, adapter));\n    (true && !(typeof adapter.findAll === 'function') && (0, _debug.assert)(`You tried to load all records but your adapter does not implement 'findAll'`, typeof adapter.findAll === 'function')); // avoid initializing the liveArray just to set `isUpdating`\n    const maybeRecordArray = store.recordArrayManager._live.get(type);\n    const snapshotArray = new _private1aicprWG.b(store, type, options);\n    const shouldReload = options.reload || options.reload !== false && (adapter.shouldReloadAll && adapter.shouldReloadAll(store, snapshotArray) || !adapter.shouldReloadAll && snapshotArray.length === 0);\n    let fetch;\n    if (shouldReload) {\n      maybeRecordArray && (maybeRecordArray.isUpdating = true);\n      fetch = _findAll(adapter, store, type, snapshotArray, context.request, true);\n    } else {\n      fetch = Promise.resolve(store.peekAll(type));\n      if (options.backgroundReload || options.backgroundReload !== false && (!adapter.shouldBackgroundReloadAll || adapter.shouldBackgroundReloadAll(store, snapshotArray))) {\n        maybeRecordArray && (maybeRecordArray.isUpdating = true);\n        void _findAll(adapter, store, type, snapshotArray, context.request, false);\n      }\n    }\n    return fetch;\n  }\n  function _findAll(adapter, store, type, snapshotArray, request, isAsyncFlush) {\n    const schema = store.modelFor(type);\n    let promise = Promise.resolve().then(() => adapter.findAll(store, schema, null, snapshotArray));\n    promise = promise.then(adapterPayload => {\n      (true && !((0, _private1aicprWG.p)(adapterPayload)) && (0, _debug.assert)(`You made a 'findAll' request for '${type}' records, but the adapter's response did not have any data`, (0, _private1aicprWG.p)(adapterPayload)));\n      const serializer = store.serializerFor(type);\n      const payload = (0, _private1aicprWG.n)(serializer, store, schema, adapterPayload, null, 'findAll');\n      store._push(payload, isAsyncFlush);\n      snapshotArray._recordArray.isUpdating = false;\n      return snapshotArray._recordArray;\n    });\n    {\n      if (!request.disableTestWaiter) {\n        const {\n          waitForPromise\n        } = (0, _esCompat.default)(require(\"@ember/test-waiters\"));\n        promise = waitForPromise(promise);\n      }\n    }\n    return promise;\n  }\n  function query(context) {\n    const {\n      store,\n      data\n    } = context.request;\n    let {\n      options\n    } = data;\n    // eslint-disable-next-line @typescript-eslint/no-shadow\n    const {\n      type,\n      query\n    } = data;\n    const adapter = store.adapterFor(type);\n    (true && !(adapter) && (0, _debug.assert)(`You tried to make a query but you have no adapter (for ${type})`, adapter));\n    (true && !(typeof adapter.query === 'function') && (0, _debug.assert)(`You tried to make a query but your adapter does not implement 'query'`, typeof adapter.query === 'function'));\n    const recordArray = options._recordArray || store.recordArrayManager.createArray({\n      type,\n      query\n    });\n    {\n      options = Object.assign({}, options);\n      delete options._recordArray;\n    }\n    const schema = store.modelFor(type);\n    const promise = Promise.resolve().then(() => adapter.query(store, schema, query, recordArray, options));\n    return promise.then(adapterPayload => {\n      const serializer = store.serializerFor(type);\n      const payload = (0, _private1aicprWG.n)(serializer, store, schema, adapterPayload, null, 'query');\n      const identifiers = store._push(payload, true);\n      (true && !(Array.isArray(identifiers)) && (0, _debug.assert)('The response to store.query is expected to be an array but it was a single record. Please wrap your response in an array or use `store.queryRecord` to query for a single record.', Array.isArray(identifiers)));\n      store.recordArrayManager.populateManagedArray(recordArray, identifiers, payload);\n      return recordArray;\n    });\n  }\n  function assertSingleResourceDocument(payload) {\n    (true && !(!Array.isArray(payload.data)) && (0, _debug.assert)(`Expected the primary data returned by the serializer for a 'queryRecord' response to be a single object or null but instead it was an array.`, !Array.isArray(payload.data)));\n  }\n  function queryRecord(context) {\n    const {\n      store,\n      data\n    } = context.request;\n    // eslint-disable-next-line @typescript-eslint/no-shadow\n    const {\n      type,\n      query,\n      options\n    } = data;\n    const adapter = store.adapterFor(type);\n    (true && !(adapter) && (0, _debug.assert)(`You tried to make a query but you have no adapter (for ${type})`, adapter));\n    (true && !(typeof adapter.queryRecord === 'function') && (0, _debug.assert)(`You tried to make a query but your adapter does not implement 'queryRecord'`, typeof adapter.queryRecord === 'function'));\n    const schema = store.modelFor(type);\n    const promise = Promise.resolve().then(() => adapter.queryRecord(store, schema, query, options));\n    return promise.then(adapterPayload => {\n      const serializer = store.serializerFor(type);\n      const payload = (0, _private1aicprWG.n)(serializer, store, schema, adapterPayload, null, 'queryRecord');\n      assertSingleResourceDocument(payload);\n      const identifier = store._push(payload, true);\n      return identifier ? store.peekRecord(identifier) : null;\n    });\n  }\n\n  /**\n   * @module @ember-data/store\n   * @class Store\n   */\n\n  /**\n      Returns an instance of the adapter for a given type. For\n      example, `adapterFor('person')` will return an instance of\n      the adapter located at `app/adapters/person.js`\n  \n      If no `person` adapter is found, this method will look\n      for an `application` adapter (the default adapter for\n      your entire application).\n  \n      @method adapterFor\n      @public\n      @param {String} modelName\n      @return Adapter\n    */\n\n  function adapterFor(modelName, _allowMissing) {\n    (true && !(!(this.isDestroying || this.isDestroyed)) && (0, _debug.assert)(`Attempted to call store.adapterFor(), but the store instance has already been destroyed.`, !(this.isDestroying || this.isDestroyed)));\n    (true && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's adapterFor method`, modelName));\n    (true && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store.adapterFor has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n    this._adapterCache = this._adapterCache || Object.create(null);\n    const normalizedModelName = (0, _private._deprecatingNormalize)(modelName);\n    const {\n      _adapterCache\n    } = this;\n    let adapter = _adapterCache[normalizedModelName];\n    if (adapter) {\n      return adapter;\n    }\n    const owner = (0, _application.getOwner)(this);\n\n    // name specific adapter\n    adapter = owner.lookup(`adapter:${normalizedModelName}`);\n    if (adapter !== undefined) {\n      _adapterCache[normalizedModelName] = adapter;\n      return adapter;\n    }\n\n    // no adapter found for the specific name, fallback and check for application adapter\n    adapter = _adapterCache.application || owner.lookup('adapter:application');\n    if (adapter !== undefined) {\n      _adapterCache[normalizedModelName] = adapter;\n      _adapterCache.application = adapter;\n      return adapter;\n    }\n    (true && !(_allowMissing) && (0, _debug.assert)(`No adapter was found for '${modelName}' and no 'application' adapter was found as a fallback.`, _allowMissing));\n  }\n\n  /**\n      Returns an instance of the serializer for a given type. For\n      example, `serializerFor('person')` will return an instance of\n      `App.PersonSerializer`.\n  \n      If no `App.PersonSerializer` is found, this method will look\n      for an `App.ApplicationSerializer` (the default serializer for\n      your entire application).\n  \n      If a serializer cannot be found on the adapter, it will fall back\n      to an instance of `JSONSerializer`.\n  \n      @method serializerFor\n      @public\n      @param {String} modelName the record to serialize\n      @return {Serializer}\n    */\n  function serializerFor(modelName) {\n    (true && !(!(this.isDestroying || this.isDestroyed)) && (0, _debug.assert)(`Attempted to call store.serializerFor(), but the store instance has already been destroyed.`, !(this.isDestroying || this.isDestroyed)));\n    (true && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's serializerFor method`, modelName));\n    (true && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store.serializerFor has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n    this._serializerCache = this._serializerCache || Object.create(null);\n    const normalizedModelName = (0, _private._deprecatingNormalize)(modelName);\n    const {\n      _serializerCache\n    } = this;\n    let serializer = _serializerCache[normalizedModelName];\n    if (serializer) {\n      return serializer;\n    }\n\n    // by name\n    const owner = (0, _application.getOwner)(this);\n    serializer = owner.lookup(`serializer:${normalizedModelName}`);\n    if (serializer !== undefined) {\n      _serializerCache[normalizedModelName] = serializer;\n      return serializer;\n    }\n\n    // no serializer found for the specific model, fallback and check for application serializer\n    serializer = _serializerCache.application || owner.lookup('serializer:application');\n    if (serializer !== undefined) {\n      _serializerCache[normalizedModelName] = serializer;\n      _serializerCache.application = serializer;\n      return serializer;\n    }\n    return null;\n  }\n\n  /**\n      `normalize` converts a json payload into the normalized form that\n      [push](../methods/push?anchor=push) expects.\n  \n      Example\n  \n      ```js\n      socket.on('message', function(message) {\n        let modelName = message.model;\n        let data = message.data;\n        store.push(store.normalize(modelName, data));\n      });\n      ```\n  \n      @method normalize\n      @public\n      @param {String} modelName The name of the model type for this payload\n      @param {Object} payload\n      @return {Object} The normalized payload\n    */\n  // TODO @runspired @deprecate users should call normalize on the associated serializer directly\n  function normalize(modelName, payload) {\n    (true && !(!(this.isDestroying || this.isDestroyed)) && (0, _debug.assert)(`Attempted to call store.normalize(), but the store instance has already been destroyed.`, !(this.isDestroying || this.isDestroyed)));\n    (true && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's normalize method`, modelName));\n    (true && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${typeof modelName}`, typeof modelName === 'string'));\n    const normalizedModelName = (0, _private._deprecatingNormalize)(modelName);\n    const serializer = this.serializerFor(normalizedModelName);\n    const schema = this.modelFor(normalizedModelName);\n    (true && !(typeof serializer?.normalize === 'function') && (0, _debug.assert)(`You must define a normalize method in your serializer in order to call store.normalize`, typeof serializer?.normalize === 'function'));\n    return serializer.normalize(schema, payload);\n  }\n\n  /**\n      Push some raw data into the store.\n  \n      This method can be used both to push in brand new\n      records, as well as to update existing records. You\n      can push in more than one type of object at once.\n      All objects should be in the format expected by the\n      serializer.\n  \n      ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n  \n      export default class ApplicationSerializer extends RESTSerializer;\n      ```\n  \n      ```js\n      let pushData = {\n        posts: [\n          { id: 1, postTitle: \"Great post\", commentIds: [2] }\n        ],\n        comments: [\n          { id: 2, commentBody: \"Insightful comment\" }\n        ]\n      }\n  \n      store.pushPayload(pushData);\n      ```\n  \n      By default, the data will be deserialized using a default\n      serializer (the application serializer if it exists).\n  \n      Alternatively, `pushPayload` will accept a model type which\n      will determine which serializer will process the payload.\n  \n      ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n  \n       export default class ApplicationSerializer extends RESTSerializer;\n      ```\n  \n      ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n  \n      export default JSONSerializer;\n      ```\n  \n      ```js\n      store.pushPayload(pushData); // Will use the application serializer\n      store.pushPayload('post', pushData); // Will use the post serializer\n      ```\n  \n      @method pushPayload\n      @public\n      @param {String} modelName Optionally, a model type used to determine which serializer will be used\n      @param {Object} inputPayload\n    */\n  // TODO @runspired @deprecate pushPayload in favor of looking up the serializer\n  function pushPayload(modelName, inputPayload) {\n    (true && !(!(this.isDestroying || this.isDestroyed)) && (0, _debug.assert)(`Attempted to call store.pushPayload(), but the store instance has already been destroyed.`, !(this.isDestroying || this.isDestroyed)));\n    const payload = inputPayload || modelName;\n    const normalizedModelName = inputPayload ? (0, _private._deprecatingNormalize)(modelName) : 'application';\n    const serializer = this.serializerFor(normalizedModelName);\n    (true && !(serializer && typeof serializer.pushPayload === 'function') && (0, _debug.assert)(`You cannot use 'store.pushPayload(<type>, <payload>)' unless the serializer for '${normalizedModelName}' defines 'pushPayload'`, serializer && typeof serializer.pushPayload === 'function'));\n    serializer.pushPayload(this, payload);\n  }\n\n  // TODO @runspired @deprecate records should implement their own serialization if desired\n  function serializeRecord(record, options) {\n    // TODO we used to check if the record was destroyed here\n    if (!this._fetchManager) {\n      this._fetchManager = new _private1aicprWG.F(this);\n    }\n    return this._fetchManager.createSnapshot((0, _store.recordIdentifierFor)(record)).serialize(options);\n  }\n  function cleanup() {\n    // enqueue destruction of any adapters/serializers we have created\n    for (const adapterName in this._adapterCache) {\n      const adapter = this._adapterCache[adapterName];\n      if (typeof adapter.destroy === 'function') {\n        adapter.destroy();\n      }\n    }\n    for (const serializerName in this._serializerCache) {\n      const serializer = this._serializerCache[serializerName];\n      if (typeof serializer.destroy === 'function') {\n        serializer.destroy();\n      }\n    }\n  }\n});","define(\"@ember-data/model/-private\", [\"exports\", \"@ember-data/model/has-many-PdQBns8a\", \"@ember-data/model/model-YsOraZ6y\"], function (_exports, _hasManyPdQBns8a, _modelYsOraZ6y) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Errors\", {\n    enumerable: true,\n    get: function () {\n      return _modelYsOraZ6y.E;\n    }\n  });\n  Object.defineProperty(_exports, \"LEGACY_SUPPORT\", {\n    enumerable: true,\n    get: function () {\n      return _modelYsOraZ6y.L;\n    }\n  });\n  Object.defineProperty(_exports, \"ManyArray\", {\n    enumerable: true,\n    get: function () {\n      return _modelYsOraZ6y.R;\n    }\n  });\n  Object.defineProperty(_exports, \"Model\", {\n    enumerable: true,\n    get: function () {\n      return _modelYsOraZ6y.M;\n    }\n  });\n  Object.defineProperty(_exports, \"PromiseBelongsTo\", {\n    enumerable: true,\n    get: function () {\n      return _modelYsOraZ6y.P;\n    }\n  });\n  Object.defineProperty(_exports, \"PromiseManyArray\", {\n    enumerable: true,\n    get: function () {\n      return _modelYsOraZ6y.a;\n    }\n  });\n  Object.defineProperty(_exports, \"attr\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyPdQBns8a.a;\n    }\n  });\n  Object.defineProperty(_exports, \"belongsTo\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyPdQBns8a.b;\n    }\n  });\n  Object.defineProperty(_exports, \"hasMany\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyPdQBns8a.h;\n    }\n  });\n  Object.defineProperty(_exports, \"lookupLegacySupport\", {\n    enumerable: true,\n    get: function () {\n      return _modelYsOraZ6y.l;\n    }\n  });\n});","define(\"@ember-data/model/has-many-PdQBns8a\", [\"exports\", \"@ember/debug\", \"@ember/object\", \"@ember-data/store\", \"@ember-data/store/-private\", \"@ember-data/model/util-3DHZJC9h\", \"@ember-data/model/model-YsOraZ6y\", \"@ember/string\", \"ember-inflector\"], function (_exports, _debug, _object, _store, _private, _util3DHZJC9h, _modelYsOraZ6y, _string, _emberInflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.h = _exports.b = _exports.a = void 0;\n  function attr(type, options) {\n    if (typeof type === 'object') {\n      options = type;\n      type = undefined;\n    } else {\n      options = options || {};\n    }\n    const meta = {\n      type: type,\n      kind: 'attribute',\n      isAttribute: true,\n      options: options,\n      key: null\n    };\n    return (0, _object.computed)({\n      get(key) {\n        {\n          if (['currentState'].indexOf(key) !== -1) {\n            throw new Error(`'${key}' is a reserved property name on instances of classes extending Model. Please choose a different property name for your attr on ${this.constructor.toString()}`);\n          }\n        }\n        if (this.isDestroyed || this.isDestroying) {\n          return;\n        }\n        return (0, _private.peekCache)(this).getAttr((0, _store.recordIdentifierFor)(this), key);\n      },\n      set(key, value) {\n        {\n          if (['currentState'].indexOf(key) !== -1) {\n            throw new Error(`'${key}' is a reserved property name on instances of classes extending Model. Please choose a different property name for your attr on ${this.constructor.toString()}`);\n          }\n        }\n        (true && !(!this.currentState.isDeleted) && (0, _debug.assert)(`Attempted to set '${key}' on the deleted record ${(0, _store.recordIdentifierFor)(this)}`, !this.currentState.isDeleted));\n        const identifier = (0, _store.recordIdentifierFor)(this);\n        const cache = (0, _private.peekCache)(this);\n        const currentValue = cache.getAttr(identifier, key);\n        if (currentValue !== value) {\n          cache.setAttr(identifier, key, value);\n          if (!this.isValid) {\n            const {\n              errors\n            } = this;\n            if (errors.get(key)) {\n              errors.remove(key);\n              this.currentState.cleanErrorRequests();\n            }\n          }\n        }\n        return value;\n      }\n    }).meta(meta);\n  }\n  var attr$1 = _exports.a = (0, _util3DHZJC9h.c)(attr);\n  function belongsTo(modelName, options) {\n    const opts = options;\n    const userEnteredModelName = modelName;\n    (true && !(opts && typeof opts.async === 'boolean') && (0, _debug.assert)(`Expected options.async from @belongsTo('${userEnteredModelName}', options) to be a boolean`, opts && typeof opts.async === 'boolean'));\n    (true && !(opts.inverse === null || typeof opts.inverse === 'string' && opts.inverse.length > 0) && (0, _debug.assert)(`Expected options.inverse from @belongsTo('${userEnteredModelName}', options) to be either null or the string type of the related resource.`, opts.inverse === null || typeof opts.inverse === 'string' && opts.inverse.length > 0));\n    const meta = {\n      type: (0, _util3DHZJC9h.n)(userEnteredModelName),\n      isRelationship: true,\n      options: opts,\n      kind: 'belongsTo',\n      name: '<Unknown BelongsTo>',\n      key: null\n    };\n    return (0, _object.computed)({\n      get(key) {\n        // this is a legacy behavior we may not carry into a new model setup\n        // it's better to error on disconnected records so users find errors\n        // in their logic.\n        if (this.isDestroying || this.isDestroyed) {\n          return null;\n        }\n        const support = (0, _modelYsOraZ6y.l)(this);\n        {\n          if (['currentState'].indexOf(key) !== -1) {\n            throw new Error(`'${key}' is a reserved property name on instances of classes extending Model. Please choose a different property name for your belongsTo on ${this.constructor.toString()}`);\n          }\n          if (Object.prototype.hasOwnProperty.call(opts, 'serialize')) {\n            (true && (0, _debug.warn)(`You provided a serialize option on the \"${key}\" property in the \"${support.identifier.type}\" class, this belongs in the serializer. See Serializer and it's implementations https://api.emberjs.com/ember-data/release/classes/Serializer`, false, {\n              id: 'ds.model.serialize-option-in-belongs-to'\n            }));\n          }\n          if (Object.prototype.hasOwnProperty.call(opts, 'embedded')) {\n            (true && (0, _debug.warn)(`You provided an embedded option on the \"${key}\" property in the \"${support.identifier.type}\" class, this belongs in the serializer. See EmbeddedRecordsMixin https://api.emberjs.com/ember-data/release/classes/EmbeddedRecordsMixin`, false, {\n              id: 'ds.model.embedded-option-in-belongs-to'\n            }));\n          }\n        }\n        return support.getBelongsTo(key);\n      },\n      set(key, value) {\n        const support = (0, _modelYsOraZ6y.l)(this);\n        {\n          if (['currentState'].indexOf(key) !== -1) {\n            throw new Error(`'${key}' is a reserved property name on instances of classes extending Model. Please choose a different property name for your belongsTo on ${this.constructor.toString()}`);\n          }\n        }\n        this.store._join(() => {\n          support.setDirtyBelongsTo(key, value);\n        });\n        return support.getBelongsTo(key);\n      }\n    }).meta(meta);\n  }\n  var belongsTo$1 = _exports.b = (0, _util3DHZJC9h.c)(belongsTo);\n\n  /**\n    @module @ember-data/model\n  */\n  function normalizeType(type) {\n    {\n      const result = (0, _emberInflector.singularize)((0, _string.dasherize)(type));\n      (true && !(result === type) && (0, _debug.deprecate)(`The resource type '${type}' is not normalized. Update your application code to use '${result}' instead of '${type}'.`, result === type, {\n        id: 'ember-data:deprecate-non-strict-types',\n        until: '6.0',\n        for: 'ember-data',\n        since: {\n          available: '5.3',\n          enabled: '5.3'\n        }\n      }));\n      return result;\n    }\n    return type;\n  }\n\n  /**\n    `hasMany` is used to define One-To-Many and Many-To-Many\n    relationships on a [Model](/ember-data/release/classes/Model).\n  \n    `hasMany` takes an optional hash as a second parameter, currently\n    supported options are:\n  \n    - `async`: A boolean value used to explicitly declare this to be an async relationship. The default is true.\n    - `inverse`: A string used to identify the inverse property on a related model.\n    - `polymorphic` A boolean value to mark the relationship as polymorphic\n  \n    #### One-To-Many\n    To declare a one-to-many relationship between two models, use\n    `belongsTo` in combination with `hasMany`, like this:\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany('comment') comments;\n    }\n    ```\n  \n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n  \n    export default class CommentModel extends Model {\n      @belongsTo('post') post;\n    }\n    ```\n  \n    #### Many-To-Many\n    To declare a many-to-many relationship between two models, use\n    `hasMany`:\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany('tag') tags;\n    }\n    ```\n  \n    ```app/models/tag.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class TagModel extends Model {\n      @hasMany('post') posts;\n    }\n    ```\n  \n    You can avoid passing a string as the first parameter. In that case Ember Data\n    will infer the type from the singularized key name.\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany tags;\n    }\n    ```\n  \n    will lookup for a Tag type.\n  \n    #### Explicit Inverses\n  \n    Ember Data will do its best to discover which relationships map to\n    one another. In the one-to-many code above, for example, Ember Data\n    can figure out that changing the `comments` relationship should update\n    the `post` relationship on the inverse because post is the only\n    relationship to that model.\n  \n    However, sometimes you may have multiple `belongsTo`/`hasMany` for the\n    same type. You can specify which property on the related model is\n    the inverse using `hasMany`'s `inverse` option:\n  \n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n  \n    export default class CommentModel extends Model {\n      @belongsTo('post') onePost;\n      @belongsTo('post') twoPost\n      @belongsTo('post') redPost;\n      @belongsTo('post') bluePost;\n    }\n    ```\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany('comment', {\n        inverse: 'redPost'\n      })\n      comments;\n    }\n    ```\n  \n    You can also specify an inverse on a `belongsTo`, which works how\n    you'd expect.\n  \n    #### Sync relationships\n  \n    Ember Data resolves sync relationships with the related resources\n    available in its local store, hence it is expected these resources\n    to be loaded before or along-side the primary resource.\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany('comment', {\n        async: false\n      })\n      comments;\n    }\n    ```\n  \n    In contrast to async relationship, accessing a sync relationship\n    will always return a [ManyArray](/ember-data/release/classes/ManyArray) instance\n    containing the existing local resources. But it will error on access\n    when any of the known related resources have not been loaded.\n  \n    ```\n    post.comments.forEach((comment) => {\n  \n    });\n  \n    ```\n  \n    If you are using `links` with sync relationships, you have to use\n    `ref.reload` to fetch the resources.\n  \n    @method hasMany\n    @public\n    @static\n    @for @ember-data/model\n    @param {String} type (optional) type of the relationship\n    @param {Object} options (optional) a hash of options\n    @return {Ember.computed} relationship\n  */\n  function hasMany(type, options) {\n    (true && !(options && typeof options.async === 'boolean') && (0, _debug.assert)(`Expected hasMany options.async to be a boolean`, options && typeof options.async === 'boolean')); // Metadata about relationships is stored on the meta of\n    // the relationship. This is used for introspection and\n    // serialization. Note that `key` is populated lazily\n    // the first time the CP is called.\n    const meta = {\n      type: normalizeType(type),\n      options,\n      isRelationship: true,\n      kind: 'hasMany',\n      name: '<Unknown BelongsTo>',\n      key: null\n    };\n    return (0, _object.computed)({\n      get(key) {\n        {\n          if (['currentState'].indexOf(key) !== -1) {\n            throw new Error(`'${key}' is a reserved property name on instances of classes extending Model. Please choose a different property name for your hasMany on ${this.constructor.toString()}`);\n          }\n        }\n        if (this.isDestroying || this.isDestroyed) {\n          return [];\n        }\n        return (0, _modelYsOraZ6y.l)(this).getHasMany(key);\n      },\n      set(key, records) {\n        {\n          if (['currentState'].indexOf(key) !== -1) {\n            throw new Error(`'${key}' is a reserved property name on instances of classes extending Model. Please choose a different property name for your hasMany on ${this.constructor.toString()}`);\n          }\n        }\n        const support = (0, _modelYsOraZ6y.l)(this);\n        const manyArray = support.getManyArray(key);\n        (true && !(Array.isArray(records)) && (0, _debug.assert)(`You must pass an array of records to set a hasMany relationship`, Array.isArray(records)));\n        this.store._join(() => {\n          manyArray.splice(0, manyArray.length, ...records);\n        });\n        return support.getHasMany(key);\n      }\n    }).meta(meta);\n  }\n  var hasMany$1 = _exports.h = (0, _util3DHZJC9h.c)(hasMany);\n});","define(\"@ember-data/model/hooks-dXmQbIOF\", [\"exports\", \"@ember/application\", \"@ember/debug\", \"@ember-data/store/-private\", \"@ember-data/model/model-YsOraZ6y\", \"@ember-data/model/util-3DHZJC9h\"], function (_exports, _application, _debug, _private, _modelYsOraZ6y, _util3DHZJC9h) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.M = void 0;\n  _exports.b = buildSchema;\n  _exports.i = instantiateRecord;\n  _exports.m = modelFor;\n  _exports.t = teardownRecord;\n  /*\n      In case someone defined a relationship to a mixin, for example:\n      ```ts\n        class CommentModel extends Model {\n          @belongsTo('commentable', { polymorphic: true }) owner;\n        }\n  \n        let Commentable = Mixin.create({\n          @hasMany('comment') comments;\n        });\n      ```\n      we want to look up a Commentable class which has all the necessary\n      relationship meta data. Thus, we look up the mixin and create a mock\n      Model, so we can access the relationship CPs of the mixin (`comments`)\n      in this case\n    */\n  function modelForMixin(store, normalizedModelName) {\n    const owner = (0, _application.getOwner)(store);\n    const MaybeMixin = owner.factoryFor(`mixin:${normalizedModelName}`);\n    const mixin = MaybeMixin && MaybeMixin.class;\n    if (mixin) {\n      const ModelForMixin = _modelYsOraZ6y.M.extend(mixin);\n      ModelForMixin.__isMixin = true;\n      ModelForMixin.__mixin = mixin;\n      //Cache the class as a model\n      owner.register(`model:${normalizedModelName}`, ModelForMixin);\n    }\n    return owner.factoryFor(`model:${normalizedModelName}`);\n  }\n  class ModelSchemaProvider {\n    constructor(store) {\n      this.store = store;\n      this._relationshipsDefCache = Object.create(null);\n      this._attributesDefCache = Object.create(null);\n      this._fieldsDefCache = Object.create(null);\n    }\n    fields(identifier) {\n      const {\n        type\n      } = identifier;\n      let fieldDefs = this._fieldsDefCache[type];\n      if (fieldDefs === undefined) {\n        fieldDefs = new Map();\n        this._fieldsDefCache[type] = fieldDefs;\n        const attributes = this.attributesDefinitionFor(identifier);\n        const relationships = this.relationshipsDefinitionFor(identifier);\n        for (const attr of Object.values(attributes)) {\n          fieldDefs.set(attr.name, attr);\n        }\n        for (const rel of Object.values(relationships)) {\n          fieldDefs.set(rel.name, rel);\n        }\n      }\n      return fieldDefs;\n    }\n\n    // Following the existing RD implementation\n    attributesDefinitionFor(identifier) {\n      const {\n        type\n      } = identifier;\n      let attributes;\n      attributes = this._attributesDefCache[type];\n      if (attributes === undefined) {\n        const modelClass = this.store.modelFor(type);\n        const attributeMap = modelClass.attributes;\n        attributes = Object.create(null);\n        attributeMap.forEach((meta, name) => attributes[name] = meta);\n        this._attributesDefCache[type] = attributes;\n      }\n      return attributes;\n    }\n\n    // Following the existing RD implementation\n    relationshipsDefinitionFor(identifier) {\n      const {\n        type\n      } = identifier;\n      let relationships;\n      relationships = this._relationshipsDefCache[type];\n      if (relationships === undefined) {\n        const modelClass = this.store.modelFor(type);\n        relationships = modelClass.relationshipsObject || null;\n        this._relationshipsDefCache[type] = relationships;\n      }\n      return relationships;\n    }\n    doesTypeExist(modelName) {\n      const type = (0, _util3DHZJC9h.n)(modelName);\n      const factory = getModelFactory(this.store, type);\n      return factory !== null;\n    }\n  }\n  _exports.M = ModelSchemaProvider;\n  function buildSchema(store) {\n    return new ModelSchemaProvider(store);\n  }\n  function getModelFactory(store, type) {\n    if (!store._modelFactoryCache) {\n      store._modelFactoryCache = Object.create(null);\n    }\n    const cache = store._modelFactoryCache;\n    let factory = cache[type];\n    if (!factory) {\n      const owner = (0, _application.getOwner)(store);\n      factory = owner.factoryFor(`model:${type}`);\n      if (!factory) {\n        //Support looking up mixins as base types for polymorphic relationships\n        factory = modelForMixin(store, type);\n      }\n      if (!factory) {\n        // we don't cache misses in case someone wants to register a missing model\n        return null;\n      }\n      const klass = factory.class;\n      if (klass.isModel) {\n        const hasOwnModelNameSet = klass.modelName && Object.prototype.hasOwnProperty.call(klass, 'modelName');\n        if (!hasOwnModelNameSet) {\n          Object.defineProperty(klass, 'modelName', {\n            value: type\n          });\n        }\n      }\n      cache[type] = factory;\n    }\n    return factory;\n  }\n  function instantiateRecord(identifier, createRecordArgs) {\n    const type = identifier.type;\n    const cache = this.cache;\n    // TODO deprecate allowing unknown args setting\n    const createOptions = {\n      _createProps: createRecordArgs,\n      // TODO @deprecate consider deprecating accessing record properties during init which the below is necessary for\n      _secretInit: {\n        identifier,\n        cache,\n        store: this,\n        cb: secretInit\n      }\n    };\n\n    // ensure that `getOwner(this)` works inside a model instance\n    (0, _application.setOwner)(createOptions, (0, _application.getOwner)(this));\n    const factory = getModelFactory(this, type);\n    (true && !(factory) && (0, _debug.assert)(`No model was found for '${type}'`, factory));\n    return factory.class.create(createOptions);\n  }\n  function teardownRecord(record) {\n    (true && !('destroy' in record) && (0, _debug.assert)(`expected to receive an instance of Model from @ember-data/model. If using a custom model make sure you implement teardownRecord`, 'destroy' in record));\n    record.destroy();\n  }\n  function modelFor(modelName) {\n    (true && !(!this.isDestroyed && !this.isDestroying) && (0, _debug.assert)(`Attempted to call store.modelFor(), but the store instance has already been destroyed.`, !this.isDestroyed && !this.isDestroying));\n    (true && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's modelFor method`, modelName));\n    (true && !(typeof modelName === 'string' && modelName.length) && (0, _debug.assert)(`Please pass a proper model name to the store's modelFor method`, typeof modelName === 'string' && modelName.length));\n    const type = (0, _util3DHZJC9h.n)(modelName);\n    const maybeFactory = getModelFactory(this, type);\n    const klass = maybeFactory && maybeFactory.class ? maybeFactory.class : null;\n    const ignoreType = !klass || !klass.isModel || this._forceShim;\n    if (!ignoreType) {\n      return klass;\n    }\n    (true && !(this.getSchemaDefinitionService().doesTypeExist(type)) && (0, _debug.assert)(`No model was found for '${type}' and no schema handles the type`, this.getSchemaDefinitionService().doesTypeExist(type)));\n  }\n  function secretInit(record, cache, identifier, store) {\n    (0, _private.setRecordIdentifier)(record, identifier);\n    _private.StoreMap.set(record, store);\n    (0, _private.setCacheFor)(record, cache);\n  }\n});","define(\"@ember-data/model/hooks\", [\"exports\", \"@ember-data/model/hooks-dXmQbIOF\"], function (_exports, _hooksDXmQbIOF) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"buildSchema\", {\n    enumerable: true,\n    get: function () {\n      return _hooksDXmQbIOF.b;\n    }\n  });\n  Object.defineProperty(_exports, \"instantiateRecord\", {\n    enumerable: true,\n    get: function () {\n      return _hooksDXmQbIOF.i;\n    }\n  });\n  Object.defineProperty(_exports, \"modelFor\", {\n    enumerable: true,\n    get: function () {\n      return _hooksDXmQbIOF.m;\n    }\n  });\n  Object.defineProperty(_exports, \"teardownRecord\", {\n    enumerable: true,\n    get: function () {\n      return _hooksDXmQbIOF.t;\n    }\n  });\n});","define(\"@ember-data/model/index\", [\"exports\", \"@ember-data/model/has-many-PdQBns8a\", \"@ember-data/model/model-YsOraZ6y\", \"@ember-data/model/hooks-dXmQbIOF\"], function (_exports, _hasManyPdQBns8a, _modelYsOraZ6y, _hooksDXmQbIOF) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"ModelSchemaProvider\", {\n    enumerable: true,\n    get: function () {\n      return _hooksDXmQbIOF.M;\n    }\n  });\n  Object.defineProperty(_exports, \"attr\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyPdQBns8a.a;\n    }\n  });\n  Object.defineProperty(_exports, \"belongsTo\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyPdQBns8a.b;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _modelYsOraZ6y.M;\n    }\n  });\n  Object.defineProperty(_exports, \"hasMany\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyPdQBns8a.h;\n    }\n  });\n  Object.defineProperty(_exports, \"instantiateRecord\", {\n    enumerable: true,\n    get: function () {\n      return _hooksDXmQbIOF.i;\n    }\n  });\n  Object.defineProperty(_exports, \"modelFor\", {\n    enumerable: true,\n    get: function () {\n      return _hooksDXmQbIOF.m;\n    }\n  });\n  Object.defineProperty(_exports, \"teardownRecord\", {\n    enumerable: true,\n    get: function () {\n      return _hooksDXmQbIOF.t;\n    }\n  });\n});","define(\"@ember-data/model/migration-support\", [\"exports\", \"@ember/debug\", \"@ember-data/store\", \"@ember-data/model/model-YsOraZ6y\"], function (_exports, _debug, _store, _modelYsOraZ6y) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.registerDerivations = registerDerivations;\n  _exports.withFields = withFields;\n  // 'isDestroying', 'isDestroyed'\n  const LegacyFields = ['_createSnapshot', 'adapterError', 'belongsTo', 'changedAttributes', 'constructor', 'currentState', 'deleteRecord', 'destroyRecord', 'dirtyType', 'errors', 'hasDirtyAttributes', 'hasMany', 'isDeleted', 'isEmpty', 'isError', 'isLoaded', 'isLoading', 'isNew', 'isSaving', 'isValid', 'reload', 'rollbackAttributes', 'save', 'serialize', 'unloadRecord'];\n  const LegacySupport = new WeakMap();\n  function legacySupport(record, options, prop) {\n    let state = LegacySupport.get(record);\n    if (!state) {\n      state = {};\n      LegacySupport.set(record, state);\n    }\n    switch (prop) {\n      case '_createSnapshot':\n        return _modelYsOraZ6y.j;\n      case 'adapterError':\n        return record.currentState.adapterError;\n      case 'belongsTo':\n        return _modelYsOraZ6y.i;\n      case 'changedAttributes':\n        return _modelYsOraZ6y.g;\n      case 'constructor':\n        return state._constructor = state._constructor || {\n          isModel: true,\n          name: `Record<${(0, _store.recordIdentifierFor)(record).type}>`,\n          modelName: (0, _store.recordIdentifierFor)(record).type\n        };\n      case 'currentState':\n        return state.recordState = state.recordState || new _modelYsOraZ6y.f(record);\n      case 'deleteRecord':\n        return _modelYsOraZ6y.e;\n      case 'destroyRecord':\n        return _modelYsOraZ6y.d;\n      case 'dirtyType':\n        return record.currentState.dirtyType;\n      case 'errors':\n        // @ts-expect-error\n        // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n        return state.errors = state.errors || _modelYsOraZ6y.E.create({\n          __record: record\n        });\n      case 'hasDirtyAttributes':\n        return record.currentState.isDirty;\n      case 'hasMany':\n        return _modelYsOraZ6y.h;\n      case 'isDeleted':\n        return record.currentState.isDeleted;\n      case 'isEmpty':\n        return record.currentState.isEmpty;\n      case 'isError':\n        return record.currentState.isError;\n      case 'isLoaded':\n        return record.currentState.isLoaded;\n      case 'isLoading':\n        return record.currentState.isLoading;\n      case 'isNew':\n        return record.currentState.isNew;\n      case 'isSaving':\n        return record.currentState.isSaving;\n      case 'isValid':\n        return record.currentState.isValid;\n      case 'reload':\n        return _modelYsOraZ6y.c;\n      case 'rollbackAttributes':\n        return _modelYsOraZ6y.r;\n      case 'save':\n        return _modelYsOraZ6y.b;\n      case 'serialize':\n        return _modelYsOraZ6y.s;\n      case 'unloadRecord':\n        return _modelYsOraZ6y.u;\n      default:\n        (true && !(false) && (0, _debug.assert)(`${prop} is not a supported legacy field`, false));\n    }\n  }\n  function withFields(fields) {\n    LegacyFields.forEach(field => {\n      fields.push({\n        type: '@legacy',\n        name: field,\n        kind: 'derived'\n      });\n    });\n    fields.push({\n      name: 'id',\n      kind: '@id',\n      type: null\n    });\n    fields.push({\n      name: 'isReloading',\n      kind: '@local',\n      type: 'boolean',\n      options: {\n        defaultValue: false\n      }\n    });\n    fields.push({\n      name: 'isDestroying',\n      kind: '@local',\n      type: 'boolean',\n      options: {\n        defaultValue: false\n      }\n    });\n    fields.push({\n      name: 'isDestroyed',\n      kind: '@local',\n      type: 'boolean',\n      options: {\n        defaultValue: false\n      }\n    });\n    return fields;\n  }\n  function registerDerivations(schema) {\n    schema.registerDerivation('@legacy', legacySupport);\n  }\n});","define(\"@ember-data/model/model-YsOraZ6y\", [\"exports\", \"@ember/debug\", \"@ember/object\", \"@ember-data/store\", \"@ember-data/store/-private\", \"@ember-data/tracking\", \"@ember-data/tracking/-private\", \"@warp-drive/core-types/symbols\", \"@ember/array\", \"@ember/array/proxy\", \"@ember/object/computed\", \"@ember-data/legacy-compat/-private\", \"@ember/object/promise-proxy-mixin\", \"@ember/object/proxy\", \"@ember/object/internals\", \"@embroider/macros/es-compat2\"], function (_exports, _debug, _object, _store, _private, _tracking, _private2, _symbols, _array, _proxy, _computed, _private3, _promiseProxyMixin, _proxy2, _internals, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.a = _exports.R = _exports.P = _exports.M = _exports.L = _exports.E = void 0;\n  _exports.b = save;\n  _exports.c = reload;\n  _exports.d = destroyRecord;\n  _exports.e = deleteRecord;\n  _exports.f = void 0;\n  _exports.g = changedAttributes;\n  _exports.h = hasMany;\n  _exports.i = belongsTo;\n  _exports.j = createSnapshot;\n  _exports.l = lookupLegacySupport;\n  _exports.r = rollbackAttributes;\n  _exports.s = serialize;\n  _exports.u = unloadRecord;\n  /**\n    @module @ember-data/store\n  */\n  /**\n    A `ManyArray` is a `MutableArray` that represents the contents of a has-many\n    relationship.\n  \n    The `ManyArray` is instantiated lazily the first time the relationship is\n    requested.\n  \n    This class is not intended to be directly instantiated by consuming applications.\n  \n    ### Inverses\n  \n    Often, the relationships in Ember Data applications will have\n    an inverse. For example, imagine the following models are\n    defined:\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany('comment') comments;\n    }\n    ```\n  \n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n  \n    export default class CommentModel extends Model {\n      @belongsTo('post') post;\n    }\n    ```\n  \n    If you created a new instance of `Post` and added\n    a `Comment` record to its `comments` has-many\n    relationship, you would expect the comment's `post`\n    property to be set to the post that contained\n    the has-many.\n  \n    We call the record to which a relationship belongs-to the\n    relationship's _owner_.\n  \n    @class ManyArray\n    @public\n  */class RelatedCollection extends _private.RecordArray {\n    /**\n      The loading state of this array\n       @property {Boolean} isLoaded\n      @public\n      */\n\n    /**\n      `true` if the relationship is polymorphic, `false` otherwise.\n       @property {Boolean} isPolymorphic\n      @private\n      */\n\n    /**\n      Metadata associated with the request for async hasMany relationships.\n       Example\n       Given that the server returns the following JSON payload when fetching a\n      hasMany relationship:\n       ```js\n      {\n        \"comments\": [{\n          \"id\": 1,\n          \"comment\": \"This is the first comment\",\n        }, {\n      // ...\n        }],\n         \"meta\": {\n          \"page\": 1,\n          \"total\": 5\n        }\n      }\n      ```\n       You can then access the meta data via the `meta` property:\n       ```js\n      let comments = await post.comments;\n      let meta = comments.meta;\n       // meta.page => 1\n      // meta.total => 5\n      ```\n       @property {Object | null} meta\n      @public\n      */\n\n    /**\n       * Retrieve the links for this relationship\n       *\n       @property {Object | null} links\n       @public\n       */\n\n    // @ts-expect-error\n\n    constructor(options) {\n      super(options);\n      this.isLoaded = options.isLoaded || false;\n      this.isAsync = options.isAsync || false;\n      this.isPolymorphic = options.isPolymorphic || false;\n      this.identifier = options.identifier;\n      this.key = options.key;\n    }\n    [_private.MUTATE](target, receiver, prop, args, _SIGNAL) {\n      switch (prop) {\n        case 'length 0':\n          {\n            Reflect.set(target, 'length', 0);\n            mutateReplaceRelatedRecords(this, [], _SIGNAL);\n            return true;\n          }\n        case 'replace cell':\n          {\n            const [index, prior, value] = args;\n            target[index] = value;\n            mutateReplaceRelatedRecord(this, {\n              value,\n              prior,\n              index\n            }, _SIGNAL);\n            return true;\n          }\n        case 'push':\n          {\n            const newValues = extractIdentifiersFromRecords(args);\n            assertNoDuplicates(this, target, currentState => currentState.push(...newValues), `Cannot push duplicates to a hasMany's state.`);\n            {\n              // dedupe\n              const seen = new Set(target);\n              const unique = new Set();\n              args.forEach(item => {\n                const identifier = (0, _private.recordIdentifierFor)(item);\n                if (!seen.has(identifier)) {\n                  seen.add(identifier);\n                  unique.add(item);\n                }\n              });\n              const newArgs = Array.from(unique);\n              const result = Reflect.apply(target[prop], receiver, newArgs);\n              if (newArgs.length) {\n                mutateAddToRelatedRecords(this, {\n                  value: extractIdentifiersFromRecords(newArgs)\n                }, _SIGNAL);\n              }\n              return result;\n            }\n\n            // else, no dedupe, error on duplicates\n            const result = Reflect.apply(target[prop], receiver, args);\n            if (newValues.length) {\n              mutateAddToRelatedRecords(this, {\n                value: newValues\n              }, _SIGNAL);\n            }\n            return result;\n          }\n        case 'pop':\n          {\n            const result = Reflect.apply(target[prop], receiver, args);\n            if (result) {\n              mutateRemoveFromRelatedRecords(this, {\n                value: (0, _private.recordIdentifierFor)(result)\n              }, _SIGNAL);\n            }\n            return result;\n          }\n        case 'unshift':\n          {\n            const newValues = extractIdentifiersFromRecords(args);\n            assertNoDuplicates(this, target, currentState => currentState.unshift(...newValues), `Cannot unshift duplicates to a hasMany's state.`);\n            {\n              // dedupe\n              const seen = new Set(target);\n              const unique = new Set();\n              args.forEach(item => {\n                const identifier = (0, _private.recordIdentifierFor)(item);\n                if (!seen.has(identifier)) {\n                  seen.add(identifier);\n                  unique.add(item);\n                }\n              });\n              const newArgs = Array.from(unique);\n              const result = Reflect.apply(target[prop], receiver, newArgs);\n              if (newArgs.length) {\n                mutateAddToRelatedRecords(this, {\n                  value: extractIdentifiersFromRecords(newArgs),\n                  index: 0\n                }, _SIGNAL);\n              }\n              return result;\n            }\n\n            // else, no dedupe, error on duplicates\n            const result = Reflect.apply(target[prop], receiver, args);\n            if (newValues.length) {\n              mutateAddToRelatedRecords(this, {\n                value: newValues,\n                index: 0\n              }, _SIGNAL);\n            }\n            return result;\n          }\n        case 'shift':\n          {\n            const result = Reflect.apply(target[prop], receiver, args);\n            if (result) {\n              mutateRemoveFromRelatedRecords(this, {\n                value: (0, _private.recordIdentifierFor)(result),\n                index: 0\n              }, _SIGNAL);\n            }\n            return result;\n          }\n        case 'sort':\n          {\n            const result = Reflect.apply(target[prop], receiver, args);\n            mutateSortRelatedRecords(this, result.map(_private.recordIdentifierFor), _SIGNAL);\n            return result;\n          }\n        case 'splice':\n          {\n            const [start, deleteCount, ...adds] = args;\n\n            // detect a full replace\n            if (start === 0 && deleteCount === this[_private.SOURCE].length) {\n              const newValues = extractIdentifiersFromRecords(adds);\n              assertNoDuplicates(this, target, currentState => currentState.splice(start, deleteCount, ...newValues), `Cannot replace a hasMany's state with a new state that contains duplicates.`);\n              {\n                // dedupe\n                const current = new Set(adds);\n                const unique = Array.from(current);\n                const newArgs = [start, deleteCount].concat(unique);\n                const result = Reflect.apply(target[prop], receiver, newArgs);\n                mutateReplaceRelatedRecords(this, extractIdentifiersFromRecords(unique), _SIGNAL);\n                return result;\n              }\n\n              // else, no dedupe, error on duplicates\n              const result = Reflect.apply(target[prop], receiver, args);\n              mutateReplaceRelatedRecords(this, newValues, _SIGNAL);\n              return result;\n            }\n            const newValues = extractIdentifiersFromRecords(adds);\n            assertNoDuplicates(this, target, currentState => currentState.splice(start, deleteCount, ...newValues), `Cannot splice a hasMany's state with a new state that contains duplicates.`);\n            {\n              // dedupe\n              const currentState = target.slice();\n              currentState.splice(start, deleteCount);\n              const seen = new Set(currentState);\n              const unique = [];\n              adds.forEach(item => {\n                const identifier = (0, _private.recordIdentifierFor)(item);\n                if (!seen.has(identifier)) {\n                  seen.add(identifier);\n                  unique.push(item);\n                }\n              });\n              const newArgs = [start, deleteCount, ...unique];\n              const result = Reflect.apply(target[prop], receiver, newArgs);\n              if (deleteCount > 0) {\n                mutateRemoveFromRelatedRecords(this, {\n                  value: result.map(_private.recordIdentifierFor),\n                  index: start\n                }, _SIGNAL);\n              }\n              if (unique.length > 0) {\n                mutateAddToRelatedRecords(this, {\n                  value: extractIdentifiersFromRecords(unique),\n                  index: start\n                }, _SIGNAL);\n              }\n              return result;\n            }\n\n            // else, no dedupe, error on duplicates\n            const result = Reflect.apply(target[prop], receiver, args);\n            if (deleteCount > 0) {\n              mutateRemoveFromRelatedRecords(this, {\n                value: result.map(_private.recordIdentifierFor),\n                index: start\n              }, _SIGNAL);\n            }\n            if (newValues.length > 0) {\n              mutateAddToRelatedRecords(this, {\n                value: newValues,\n                index: start\n              }, _SIGNAL);\n            }\n            return result;\n          }\n        default:\n          (true && !(false) && (0, _debug.assert)(`unable to convert ${prop} into a transaction that updates the cache state for this record array`));\n      }\n    }\n    notify() {\n      const signal = this[_private.ARRAY_SIGNAL];\n      signal.shouldReset = true;\n      // @ts-expect-error\n      (0, _private.notifyArray)(this);\n    }\n\n    /**\n      Reloads all of the records in the manyArray. If the manyArray\n      holds a relationship that was originally fetched using a links url\n      Ember Data will revisit the original links url to repopulate the\n      relationship.\n       If the manyArray holds the result of a `store.query()` reload will\n      re-run the original query.\n       Example\n       ```javascript\n      let user = store.peekRecord('user', '1')\n      await login(user);\n       let permissions = await user.permissions;\n      await permissions.reload();\n      ```\n       @method reload\n      @public\n    */\n    reload(options) {\n      // TODO this is odd, we don't ask the store for anything else like this?\n      return this._manager.reloadHasMany(this.key, options);\n    }\n\n    /**\n      Saves all of the records in the `ManyArray`.\n       Example\n       ```javascript\n      let inbox = await store.findRecord('inbox', '1');\n      let messages = await inbox.messages;\n      messages.forEach((message) => {\n        message.isRead = true;\n      });\n      messages.save();\n      ```\n       @method save\n      @public\n      @return {PromiseArray} promise\n    */\n\n    /**\n      Create a child record within the owner\n       @method createRecord\n      @public\n      @param {Object} hash\n      @return {Model} record\n    */\n    createRecord(hash) {\n      const {\n        store\n      } = this;\n      (true && !(this.modelName) && (0, _debug.assert)(`Expected modelName to be set`, this.modelName));\n      const record = store.createRecord(this.modelName, hash);\n      this.push(record);\n      return record;\n    }\n    destroy() {\n      super.destroy(false);\n    }\n  }\n  _exports.R = RelatedCollection;\n  RelatedCollection.prototype.isAsync = false;\n  RelatedCollection.prototype.isPolymorphic = false;\n  RelatedCollection.prototype.identifier = null;\n  RelatedCollection.prototype.cache = null;\n  RelatedCollection.prototype._inverseIsAsync = false;\n  RelatedCollection.prototype.key = '';\n  RelatedCollection.prototype.DEPRECATED_CLASS_NAME = 'ManyArray';\n  function assertRecordPassedToHasMany(record) {\n    (true && !(function () {\n      try {\n        (0, _private.recordIdentifierFor)(record);\n        return true;\n      } catch {\n        return false;\n      }\n    }()) && (0, _debug.assert)(`All elements of a hasMany relationship must be instances of Model, you passed $${typeof record}`, function () {\n      try {\n        (0, _private.recordIdentifierFor)(record);\n        return true;\n      } catch {\n        return false;\n      }\n    }()));\n  }\n  function extractIdentifiersFromRecords(records) {\n    return records.map(extractIdentifierFromRecord$1);\n  }\n  function extractIdentifierFromRecord$1(recordOrPromiseRecord) {\n    assertRecordPassedToHasMany(recordOrPromiseRecord);\n    return (0, _private.recordIdentifierFor)(recordOrPromiseRecord);\n  }\n  function assertNoDuplicates(collection, target, callback, reason) {\n    const state = target.slice();\n    callback(state);\n    if (state.length !== new Set(state).size) {\n      const duplicates = state.filter((currentValue, currentIndex) => state.indexOf(currentValue) !== currentIndex);\n      {\n        (true && !(false) && (0, _debug.deprecate)(`${reason} This behavior is deprecated. Found duplicates for the following records within the new state provided to \\`<${collection.identifier.type}:${collection.identifier.id || collection.identifier.lid}>.${collection.key}\\`\\n\\t- ${Array.from(new Set(duplicates)).map(r => (0, _private.isStableIdentifier)(r) ? r.lid : (0, _private.recordIdentifierFor)(r).lid).sort((a, b) => a.localeCompare(b)).join('\\n\\t- ')}`, false, {\n          id: 'ember-data:deprecate-many-array-duplicates',\n          for: 'ember-data',\n          until: '6.0',\n          since: {\n            enabled: '5.3',\n            available: '5.3'\n          }\n        }));\n      }\n    }\n  }\n  function mutateAddToRelatedRecords(collection, operationInfo, _SIGNAL) {\n    mutate(collection, {\n      op: 'addToRelatedRecords',\n      record: collection.identifier,\n      field: collection.key,\n      ...operationInfo\n    }, _SIGNAL);\n  }\n  function mutateRemoveFromRelatedRecords(collection, operationInfo, _SIGNAL) {\n    mutate(collection, {\n      op: 'removeFromRelatedRecords',\n      record: collection.identifier,\n      field: collection.key,\n      ...operationInfo\n    }, _SIGNAL);\n  }\n  function mutateReplaceRelatedRecord(collection, operationInfo, _SIGNAL) {\n    mutate(collection, {\n      op: 'replaceRelatedRecord',\n      record: collection.identifier,\n      field: collection.key,\n      ...operationInfo\n    }, _SIGNAL);\n  }\n  function mutateReplaceRelatedRecords(collection, value, _SIGNAL) {\n    mutate(collection, {\n      op: 'replaceRelatedRecords',\n      record: collection.identifier,\n      field: collection.key,\n      value\n    }, _SIGNAL);\n  }\n  function mutateSortRelatedRecords(collection, value, _SIGNAL) {\n    mutate(collection, {\n      op: 'sortRelatedRecords',\n      record: collection.identifier,\n      field: collection.key,\n      value\n    }, _SIGNAL);\n  }\n  function mutate(collection, mutation, _SIGNAL) {\n    collection._manager.mutate(mutation);\n    (0, _private2.addToTransaction)(_SIGNAL);\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    if ('value' in desc || desc.initializer) {\n      desc.writable = true;\n    }\n    desc = decorators.slice().reverse().reduce(function (desc, decorator) {\n      return decorator(target, property, desc) || desc;\n    }, desc);\n    if (context && desc.initializer !== void 0) {\n      desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n      desc.initializer = undefined;\n    }\n    if (desc.initializer === void 0) {\n      Object.defineProperty(target, property, desc);\n      desc = null;\n    }\n    return desc;\n  }\n  const PromiseObject = _proxy2.default.extend(_promiseProxyMixin.default);\n  var _dec$1, _class$6;\n\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\n\n  const Extended = PromiseObject;\n\n  /**\n   @module @ember-data/model\n   */\n\n  /**\n    A PromiseBelongsTo is a PromiseObject that also proxies certain method calls\n    to the underlying belongsTo model.\n    Right now we proxy:\n      * `reload()`\n    @class PromiseBelongsTo\n    @extends PromiseObject\n    @private\n  */\n  let PromiseBelongsTo = _exports.P = (_dec$1 = (0, _object.computed)(), _class$6 = class PromiseBelongsTo extends Extended {\n    get id() {\n      const {\n        key,\n        legacySupport\n      } = this._belongsToState;\n      const ref = legacySupport.referenceFor('belongsTo', key);\n      return ref.id();\n    }\n\n    // we don't proxy meta because we would need to proxy it to the relationship state container\n    //  however, meta on relationships does not trigger change notifications.\n    //  if you need relationship meta, you should do `record.belongsTo(relationshipName).meta()`\n    get meta() {\n      // eslint-disable-next-line no-constant-condition\n      {\n        (true && !(false) && (0, _debug.assert)('You attempted to access meta on the promise for the async belongsTo relationship ' + `${this._belongsToState.modelName}:${this._belongsToState.key}'.` + '\\nUse `record.belongsTo(relationshipName).meta()` instead.', false));\n      }\n      return;\n    }\n    async reload(options) {\n      (true && !(this.content !== undefined) && (0, _debug.assert)('You are trying to reload an async belongsTo before it has been created', this.content !== undefined));\n      const {\n        key,\n        legacySupport\n      } = this._belongsToState;\n      await legacySupport.reloadBelongsTo(key, options);\n      return this;\n    }\n  }, _applyDecoratedDescriptor(_class$6.prototype, \"id\", [_tracking.cached], Object.getOwnPropertyDescriptor(_class$6.prototype, \"id\"), _class$6.prototype), _applyDecoratedDescriptor(_class$6.prototype, \"meta\", [_dec$1], Object.getOwnPropertyDescriptor(_class$6.prototype, \"meta\"), _class$6.prototype), _class$6);\n  var _class$5;\n  /**\n   @module @ember-data/model\n   */\n  /**\n    This class is returned as the result of accessing an async hasMany relationship\n    on an instance of a Model extending from `@ember-data/model`.\n  \n    A PromiseManyArray is an iterable proxy that allows templates to consume related\n    ManyArrays and update once their contents are no longer pending.\n  \n    In your JS code you should resolve the promise first.\n  \n    ```js\n    const comments = await post.comments;\n    ```\n  \n    @class PromiseManyArray\n    @public\n  */\n  let PromiseManyArray = _exports.a = (_class$5 = class PromiseManyArray {\n    constructor(promise, content) {\n      this._update(promise, content);\n      this.isDestroyed = false;\n    }\n\n    //---- Methods/Properties on ArrayProxy that we will keep as our API\n\n    /**\n     * Retrieve the length of the content\n     * @property length\n     * @public\n     */\n    get length() {\n      // shouldn't be needed, but ends up being needed\n      // for computed chains even in 4.x\n      {\n        this['[]'];\n      }\n      return this.content ? this.content.length : 0;\n    }\n\n    /**\n     * Iterate the proxied content. Called by the glimmer iterator in #each\n     * We do not guarantee that forEach will always be available. This\n     * may eventually be made to use Symbol.Iterator once glimmer supports it.\n     *\n     * @method forEach\n     * @param cb\n     * @return\n     * @private\n     */\n    forEach(cb) {\n      if (this.content && this.length) {\n        this.content.forEach(cb);\n      }\n    }\n\n    /**\n     * Reload the relationship\n     * @method reload\n     * @public\n     * @param options\n     * @return\n     */\n    reload(options) {\n      (true && !(this.content) && (0, _debug.assert)('You are trying to reload an async manyArray before it has been created', this.content));\n      void this.content.reload(options);\n      return this;\n    }\n\n    //----  Properties/Methods from the PromiseProxyMixin that we will keep as our API\n\n    /**\n     * Whether the loading promise is still pending\n     *\n     * @property {boolean} isPending\n     * @public\n     */\n\n    /**\n     * Whether the loading promise rejected\n     *\n     * @property {boolean} isRejected\n     * @public\n     */\n\n    /**\n     * Whether the loading promise succeeded\n     *\n     * @property {boolean} isFulfilled\n     * @public\n     */\n\n    /**\n     * Whether the loading promise completed (resolved or rejected)\n     *\n     * @property {boolean} isSettled\n     * @public\n     */\n\n    /**\n     * chain this promise\n     *\n     * @method then\n     * @public\n     * @param success\n     * @param fail\n     * @return Promise\n     */\n    then(s, f) {\n      return this.promise.then(s, f);\n    }\n\n    /**\n     * catch errors thrown by this promise\n     * @method catch\n     * @public\n     * @param callback\n     * @return Promise\n     */\n    catch(cb) {\n      return this.promise.catch(cb);\n    }\n\n    /**\n     * run cleanup after this promise completes\n     *\n     * @method finally\n     * @public\n     * @param callback\n     * @return Promise\n     */\n    finally(cb) {\n      return this.promise.finally(cb);\n    }\n\n    //---- Methods on EmberObject that we should keep\n\n    destroy() {\n      this.isDestroyed = true;\n      this.content = null;\n      this.promise = null;\n    }\n\n    //---- Methods/Properties on ManyArray that we own and proxy to\n\n    /**\n     * Retrieve the links for this relationship\n     * @property links\n     * @public\n     */\n    get links() {\n      return this.content ? this.content.links : undefined;\n    }\n\n    /**\n     * Retrieve the meta for this relationship\n     * @property meta\n     * @public\n     */\n    get meta() {\n      return this.content ? this.content.meta : undefined;\n    }\n\n    //---- Our own stuff\n\n    _update(promise, content) {\n      if (content !== undefined) {\n        this.content = content;\n      }\n      this.promise = tapPromise(this, promise);\n    }\n    static create({\n      promise,\n      content\n    }) {\n      return new this(promise, content);\n    }\n  }, _applyDecoratedDescriptor(_class$5.prototype, \"length\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class$5.prototype, \"length\"), _class$5.prototype), _applyDecoratedDescriptor(_class$5.prototype, \"links\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class$5.prototype, \"links\"), _class$5.prototype), _applyDecoratedDescriptor(_class$5.prototype, \"meta\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class$5.prototype, \"meta\"), _class$5.prototype), _class$5);\n  (0, _private2.defineSignal)(PromiseManyArray.prototype, 'content', null);\n  (0, _private2.defineSignal)(PromiseManyArray.prototype, 'isPending', false);\n  (0, _private2.defineSignal)(PromiseManyArray.prototype, 'isRejected', false);\n  (0, _private2.defineSignal)(PromiseManyArray.prototype, 'isFulfilled', false);\n  (0, _private2.defineSignal)(PromiseManyArray.prototype, 'isSettled', false);\n\n  // this will error if someone tries to call\n  // A(identifierArray) since it is not configurable\n  // which is preferrable to the `meta` override we used\n  // before which required importing all of Ember\n  {\n    const desc = {\n      enumerable: true,\n      configurable: false,\n      get: function () {\n        return this.content?.length && this.content;\n      }\n    };\n    (0, _tracking.compat)(desc);\n\n    // ember-source < 3.23 (e.g. 3.20 lts)\n    // requires that the tag `'[]'` be notified\n    // on the ArrayProxy in order for `{{#each}}`\n    // to recompute. We entangle the '[]' tag from content\n    // eslint-disable-next-line @typescript-eslint/no-floating-promises\n    Object.defineProperty(PromiseManyArray.prototype, '[]', desc);\n  }\n  function tapPromise(proxy, promise) {\n    proxy.isPending = true;\n    proxy.isSettled = false;\n    proxy.isFulfilled = false;\n    proxy.isRejected = false;\n    return Promise.resolve(promise).then(content => {\n      proxy.isPending = false;\n      proxy.isFulfilled = true;\n      proxy.isSettled = true;\n      proxy.content = content;\n      return content;\n    }, error => {\n      proxy.isPending = false;\n      proxy.isFulfilled = false;\n      proxy.isRejected = true;\n      proxy.isSettled = true;\n      throw error;\n    });\n  }\n\n  /*\n    Assert that `addedRecord` has a valid type so it can be added to the\n    relationship of the `record`.\n  \n    The assert basically checks if the `addedRecord` can be added to the\n    relationship (specified via `relationshipMeta`) of the `record`.\n  \n    This utility should only be used internally, as both record parameters must\n    be stable record identifiers and the `relationshipMeta` needs to be the meta\n    information about the relationship, retrieved via\n    `record.relationshipFor(key)`.\n  */\n  let assertPolymorphicType;\n  {\n    assertPolymorphicType = function assertPolymorphicType(parentIdentifier, parentDefinition, addedIdentifier, store) {\n      if (parentDefinition.inverseIsImplicit) {\n        return;\n      }\n      if (parentDefinition.isPolymorphic) {\n        let meta = store.getSchemaDefinitionService().relationshipsDefinitionFor(addedIdentifier)[parentDefinition.inverseKey];\n        (true && !(meta?.options.as === parentDefinition.type) && (0, _debug.assert)(`The schema for the relationship '${parentDefinition.inverseKey}' on '${addedIdentifier.type}' type does not implement '${parentDefinition.type}' and thus cannot be assigned to the '${parentDefinition.key}' relationship in '${parentIdentifier.type}'. The definition should specify 'as: \"${parentDefinition.type}\"' in options.`, meta?.options.as === parentDefinition.type));\n      }\n    };\n  }\n  var _class$4;\n  /**\n    @module @ember-data/model\n  */\n  function isResourceIdentiferWithRelatedLinks$1(value) {\n    return Boolean(value && value.links && value.links.related);\n  }\n  /**\n   A `HasManyReference` is a low-level API that allows access\n   and manipulation of a hasMany relationship.\n  \n   It is especially useful when you're dealing with `async` relationships\n   from `@ember-data/model` as it allows synchronous access to\n   the relationship data if loaded, as well as APIs for loading, reloading\n   the data or accessing available information without triggering a load.\n  \n   It may also be useful when using `sync` relationships with `@ember-data/model`\n   that need to be loaded/reloaded with more precise timing than marking the\n   relationship as `async` and relying on autofetch would have allowed.\n  \n   However,keep in mind that marking a relationship as `async: false` will introduce\n   bugs into your application if the data is not always guaranteed to be available\n   by the time the relationship is accessed. Ergo, it is recommended when using this\n   approach to utilize `links` for unloaded relationship state instead of identifiers.\n  \n   Reference APIs are entangled with the relationship's underlying state,\n   thus any getters or cached properties that utilize these will properly\n   invalidate if the relationship state changes.\n  \n   References are \"stable\", meaning that multiple calls to retrieve the reference\n    for a given relationship will always return the same HasManyReference.\n  \n   @class HasManyReference\n   @public\n   */\n  let HasManyReference = (_class$4 = class HasManyReference {\n    constructor(store, graph, parentIdentifier, hasManyRelationship, key) {\n      /**\n       * The field name on the parent record for this has-many relationship.\n       *\n       * @property {String} key\n       * @public\n       */\n      /**\n       * The type of resource this relationship will contain.\n       *\n       * @property {String} type\n       * @public\n       */\n      // unsubscribe tokens given to us by the notification manager\n      this.___token = void 0;\n      this.___identifier = void 0;\n      this.___relatedTokenMap = void 0;\n      this.graph = graph;\n      this.key = key;\n      this.hasManyRelationship = hasManyRelationship;\n      this.type = hasManyRelationship.definition.type;\n      this.store = store;\n      this.___identifier = parentIdentifier;\n      this.___token = store.notifications.subscribe(parentIdentifier, (_, bucket, notifiedKey) => {\n        if (bucket === 'relationships' && notifiedKey === key) {\n          this._ref++;\n        }\n      });\n      this.___relatedTokenMap = new Map();\n      // TODO inverse\n    }\n\n    /**\n     * This method should never be called by user code.\n     *\n     * @internal\n     */\n    destroy() {\n      this.store.notifications.unsubscribe(this.___token);\n      this.___relatedTokenMap.forEach(token => {\n        this.store.notifications.unsubscribe(token);\n      });\n      this.___relatedTokenMap.clear();\n    }\n\n    /**\n     * An array of identifiers for the records that this reference refers to.\n     *\n     * @property {StableRecordIdentifier[]} identifiers\n     * @public\n     */\n    get identifiers() {\n      this._ref; // consume the tracked prop\n\n      const resource = this._resource();\n      const map = this.___relatedTokenMap;\n      this.___relatedTokenMap = new Map();\n      if (resource && resource.data) {\n        return resource.data.map(resourceIdentifier => {\n          const identifier = this.store.identifierCache.getOrCreateRecordIdentifier(resourceIdentifier);\n          let token = map.get(identifier);\n          if (token) {\n            map.delete(identifier);\n          } else {\n            token = this.store.notifications.subscribe(identifier, (_, bucket, notifiedKey) => {\n              if (bucket === 'identity' || bucket === 'attributes' && notifiedKey === 'id') {\n                this._ref++;\n              }\n            });\n          }\n          this.___relatedTokenMap.set(identifier, token);\n          return identifier;\n        });\n      }\n      map.forEach(token => {\n        this.store.notifications.unsubscribe(token);\n      });\n      map.clear();\n      return [];\n    }\n    _resource() {\n      const cache = this.store.cache;\n      return cache.getRelationship(this.___identifier, this.key);\n    }\n\n    /**\n     This returns a string that represents how the reference will be\n     looked up when it is loaded. If the relationship has a link it will\n     use the \"link\" otherwise it defaults to \"id\".\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      // get the identifier of the reference\n     if (commentsRef.remoteType() === \"ids\") {\n       let ids = commentsRef.ids();\n     } else if (commentsRef.remoteType() === \"link\") {\n       let link = commentsRef.link();\n     }\n     ```\n      @method remoteType\n     @public\n     @return {String} The name of the remote type. This should either be `link` or `ids`\n     */\n    remoteType() {\n      const value = this._resource();\n      if (value && value.links && value.links.related) {\n        return 'link';\n      }\n      return 'ids';\n    }\n\n    /**\n     `ids()` returns an array of the record IDs in this relationship.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      commentsRef.ids(); // ['1']\n     ```\n      @method ids\n      @public\n     @return {Array} The ids in this has-many relationship\n     */\n    ids() {\n      return this.identifiers.map(identifier => identifier.id);\n    }\n\n    /**\n     The link Ember Data will use to fetch or reload this belongs-to\n     relationship. By default it uses only the \"related\" resource linkage.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n     export default Model.extend({\n        user: belongsTo('user', { async: true, inverse: null })\n      });\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              links: {\n                related: '/articles/1/author'\n              }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      // get the identifier of the reference\n     if (userRef.remoteType() === \"link\") {\n        let link = userRef.link();\n      }\n     ```\n      @method link\n     @public\n     @return {String} The link Ember Data will use to fetch or reload this belongs-to relationship.\n     */\n    link() {\n      const resource = this._resource();\n      if (isResourceIdentiferWithRelatedLinks$1(resource)) {\n        if (resource.links) {\n          const related = resource.links.related;\n          return !related || typeof related === 'string' ? related : related.href;\n        }\n      }\n      return null;\n    }\n\n    /**\n     * any links that have been received for this relationship\n     *\n     * @method links\n     * @public\n     * @return\n     */\n    links() {\n      const resource = this._resource();\n      return resource && resource.links ? resource.links : null;\n    }\n\n    /**\n     The meta data for the has-many relationship.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { hasMany } from '@ember-data/model';\n     export default Model.extend({\n        users: hasMany('user', { async: true, inverse: null })\n      });\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            users: {\n              links: {\n                related: {\n                  href: '/articles/1/authors'\n                },\n              },\n              meta: {\n                lastUpdated: 1458014400000\n              }\n            }\n          }\n        }\n      });\n      let usersRef = blog.hasMany('user');\n      usersRef.meta() // { lastUpdated: 1458014400000 }\n     ```\n     @method meta\n    @public\n    @return {Object|null} The meta information for the belongs-to relationship.\n    */\n    meta() {\n      let meta = null;\n      const resource = this._resource();\n      if (resource && resource.meta && typeof resource.meta === 'object') {\n        meta = resource.meta;\n      }\n      return meta;\n    }\n\n    /**\n     `push` can be used to update the data in the relationship and EmberData\n     will treat the new data as the canonical value of this relationship on\n     the backend. An empty array will signify the canonical value should be\n     empty.\n      Example model\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      Setup some initial state, note we haven't loaded the comments yet:\n      ```js\n     const post = store.push({\n       data: {\n         type: 'post',\n         id: '1',\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: '1' }]\n           }\n         }\n       }\n     });\n      const commentsRef = post.hasMany('comments');\n     commentsRef.ids(); // ['1']\n     ```\n      Update the state using `push`, note we can do this even without\n     having loaded these comments yet by providing resource identifiers.\n      Both full resources and resource identifiers are supported.\n      ```js\n     await commentsRef.push({\n      data: [\n       { type: 'comment', id: '2' },\n       { type: 'comment', id: '3' },\n      ]\n     });\n      commentsRef.ids(); // ['2', '3']\n     ```\n      For convenience, you can also pass in an array of resources or resource identifiers\n     without wrapping them in the `data` property:\n      ```js\n     await commentsRef.push([\n       { type: 'comment', id: '4' },\n       { type: 'comment', id: '5' },\n     ]);\n      commentsRef.ids(); // ['4', '5']\n     ```\n      When using the `data` property, you may also include other resource data via included,\n     as well as provide new links and meta to the relationship.\n      ```js\n     await commentsRef.push({\n       links: {\n         related: '/posts/1/comments'\n       },\n       meta: {\n         total: 2\n       },\n       data: [\n         { type: 'comment', id: '4' },\n         { type: 'comment', id: '5' },\n       ],\n       included: [\n         { type: 'other-thing', id: '1', attributes: { foo: 'bar' },\n       ]\n     });\n     ```\n      By default, the store will attempt to fetch any unloaded records before resolving\n     the returned promise with the ManyArray.\n      Alternatively, pass `true` as the second argument to avoid fetching unloaded records\n     and instead the promise will resolve with void without attempting to fetch. This is\n     particularly useful if you want to update the state of the relationship without\n     forcing the load of all of the associated records.\n      @method push\n     @public\n     @param {Array|Object} doc a JSONAPI document object describing the new value of this relationship.\n     @param {Boolean} [skipFetch] if `true`, do not attempt to fetch unloaded records\n     @return {Promise<ManyArray | void>}\n    */\n    async push(doc, skipFetch) {\n      const {\n        store\n      } = this;\n      const dataDoc = Array.isArray(doc) ? {\n        data: doc\n      } : doc;\n      const isResourceData = Array.isArray(dataDoc.data) && dataDoc.data.length > 0 && isMaybeResource(dataDoc.data[0]);\n\n      // enforce that one of links, meta or data is present\n      (true && !('links' in dataDoc || 'meta' in dataDoc || 'data' in dataDoc) && (0, _debug.assert)(`You must provide at least one of 'links', 'meta' or 'data' when calling hasManyReference.push`, 'links' in dataDoc || 'meta' in dataDoc || 'data' in dataDoc));\n      const identifiers = !Array.isArray(dataDoc.data) ? [] : isResourceData ? store._push(dataDoc, true) : dataDoc.data.map(i => store.identifierCache.getOrCreateRecordIdentifier(i));\n      const {\n        identifier\n      } = this.hasManyRelationship;\n      {\n        const relationshipMeta = this.hasManyRelationship.definition;\n        identifiers.forEach(added => {\n          assertPolymorphicType(identifier, relationshipMeta, added, store);\n        });\n      }\n      const newData = {};\n      // only set data if it was passed in\n      if (Array.isArray(dataDoc.data)) {\n        newData.data = identifiers;\n      }\n      if ('links' in dataDoc) {\n        newData.links = dataDoc.links;\n      }\n      if ('meta' in dataDoc) {\n        newData.meta = dataDoc.meta;\n      }\n      store._join(() => {\n        this.graph.push({\n          op: 'updateRelationship',\n          record: identifier,\n          field: this.key,\n          value: newData\n        });\n      });\n      if (!skipFetch) return this.load();\n    }\n    _isLoaded() {\n      const hasRelationshipDataProperty = this.hasManyRelationship.state.hasReceivedData;\n      if (!hasRelationshipDataProperty) {\n        return false;\n      }\n      const relationship = this.graph.getData(this.hasManyRelationship.identifier, this.key);\n      return relationship.data?.every(identifier => {\n        return this.store._instanceCache.recordIsLoaded(identifier, true) === true;\n      });\n    }\n\n    /**\n     `value()` synchronously returns the current value of the has-many\n     relationship. Unlike `record.relationshipName`, calling\n     `value()` on a reference does not trigger a fetch if the async\n     relationship is not yet loaded. If the relationship is not loaded\n     it will always return `null`.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      post.comments.then(function(comments) {\n       commentsRef.value() === comments\n     })\n     ```\n      @method value\n      @public\n     @return {ManyArray}\n     */\n    value() {\n      const support = LEGACY_SUPPORT.get(this.___identifier);\n      const loaded = this._isLoaded();\n      if (!loaded) {\n        // subscribe to changes\n        // for when we are not loaded yet\n        this._ref;\n        return null;\n      }\n      return support.getManyArray(this.key);\n    }\n\n    /**\n     Loads the relationship if it is not already loaded.  If the\n     relationship is already loaded this method does not trigger a new\n     load. This causes a request to the specified\n     relationship link or reloads all items currently in the relationship.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      commentsRef.load().then(function(comments) {\n       //...\n     });\n     ```\n      You may also pass in an options object whose properties will be\n     fed forward. This enables you to pass `adapterOptions` into the\n     request given to the adapter via the reference.\n      Example\n      ```javascript\n     commentsRef.load({ adapterOptions: { isPrivate: true } })\n       .then(function(comments) {\n         //...\n       });\n     ```\n      ```app/adapters/comment.js\n     export default ApplicationAdapter.extend({\n       findMany(store, type, id, snapshots) {\n         // In the adapter you will have access to adapterOptions.\n         let adapterOptions = snapshots[0].adapterOptions;\n       }\n     });\n     ```\n      @method load\n     @public\n     @param {Object} options the options to pass in.\n     @return {Promise} a promise that resolves with the ManyArray in\n     this has-many relationship.\n     */\n    async load(options) {\n      const support = LEGACY_SUPPORT.get(this.___identifier);\n      const fetchSyncRel = !this.hasManyRelationship.definition.isAsync && !areAllInverseRecordsLoaded(this.store, this._resource());\n      return fetchSyncRel ? support.reloadHasMany(this.key, options) :\n      // we cast to fix the return type since typescript and eslint don't understand async functions\n      // properly\n      support.getHasMany(this.key, options);\n    }\n\n    /**\n     Reloads this has-many relationship. This causes a request to the specified\n     relationship link or reloads all items currently in the relationship.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      commentsRef.reload().then(function(comments) {\n       //...\n     });\n     ```\n      You may also pass in an options object whose properties will be\n     fed forward. This enables you to pass `adapterOptions` into the\n     request given to the adapter via the reference. A full example\n     can be found in the `load` method.\n      Example\n      ```javascript\n     commentsRef.reload({ adapterOptions: { isPrivate: true } })\n     ```\n      @method reload\n      @public\n     @param {Object} options the options to pass in.\n     @return {Promise} a promise that resolves with the ManyArray in this has-many relationship.\n     */\n    reload(options) {\n      const support = LEGACY_SUPPORT.get(this.___identifier);\n      return support.reloadHasMany(this.key, options);\n    }\n  }, _applyDecoratedDescriptor(_class$4.prototype, \"identifiers\", [_tracking.cached, _tracking.compat], Object.getOwnPropertyDescriptor(_class$4.prototype, \"identifiers\"), _class$4.prototype), _class$4);\n  (0, _private2.defineSignal)(HasManyReference.prototype, '_ref', 0);\n  function isMaybeResource(object) {\n    const keys = Object.keys(object).filter(k => k !== 'id' && k !== 'type' && k !== 'lid');\n    return keys.length > 0;\n  }\n  var _class$3;\n  function isResourceIdentiferWithRelatedLinks(value) {\n    return Boolean(value && value.links && value.links.related);\n  }\n\n  /**\n   A `BelongsToReference` is a low-level API that allows access\n   and manipulation of a belongsTo relationship.\n  \n   It is especially useful when you're dealing with `async` relationships\n   from `@ember-data/model` as it allows synchronous access to\n   the relationship data if loaded, as well as APIs for loading, reloading\n   the data or accessing available information without triggering a load.\n  \n   It may also be useful when using `sync` relationships with `@ember-data/model`\n   that need to be loaded/reloaded with more precise timing than marking the\n   relationship as `async` and relying on autofetch would have allowed.\n  \n   However,keep in mind that marking a relationship as `async: false` will introduce\n   bugs into your application if the data is not always guaranteed to be available\n   by the time the relationship is accessed. Ergo, it is recommended when using this\n   approach to utilize `links` for unloaded relationship state instead of identifiers.\n  \n   Reference APIs are entangled with the relationship's underlying state,\n   thus any getters or cached properties that utilize these will properly\n   invalidate if the relationship state changes.\n  \n   References are \"stable\", meaning that multiple calls to retrieve the reference\n    for a given relationship will always return the same HasManyReference.\n  \n   @class BelongsToReference\n   @public\n   */\n  let BelongsToReference = (_class$3 = class BelongsToReference {\n    /**\n     * The field name on the parent record for this has-many relationship.\n     *\n     * @property {String} key\n     * @public\n     */\n\n    /**\n     * The type of resource this relationship will contain.\n     *\n     * @property {String} type\n     * @public\n     */\n\n    // unsubscribe tokens given to us by the notification manager\n\n    constructor(store, graph, parentIdentifier, belongsToRelationship, key) {\n      this.graph = graph;\n      this.key = key;\n      this.belongsToRelationship = belongsToRelationship;\n      this.type = belongsToRelationship.definition.type;\n      this.store = store;\n      this.___identifier = parentIdentifier;\n      this.___relatedToken = null;\n      this.___token = store.notifications.subscribe(parentIdentifier, (_, bucket, notifiedKey) => {\n        if (bucket === 'relationships' && notifiedKey === key) {\n          this._ref++;\n        }\n      });\n\n      // TODO inverse\n    }\n    destroy() {\n      // TODO @feature we need the notification manager often enough\n      // we should potentially just expose it fully public\n      this.store.notifications.unsubscribe(this.___token);\n      this.___token = null;\n      if (this.___relatedToken) {\n        this.store.notifications.unsubscribe(this.___relatedToken);\n        this.___relatedToken = null;\n      }\n    }\n\n    /**\n     * The identifier of the record that this reference refers to.\n     * `null` if no related record is known.\n     *\n     * @property {StableRecordIdentifier | null} identifier\n     * @public\n     */\n    get identifier() {\n      if (this.___relatedToken) {\n        this.store.notifications.unsubscribe(this.___relatedToken);\n        this.___relatedToken = null;\n      }\n      const resource = this._resource();\n      if (resource && resource.data) {\n        const identifier = this.store.identifierCache.getOrCreateRecordIdentifier(resource.data);\n        this.___relatedToken = this.store.notifications.subscribe(identifier, (_, bucket, notifiedKey) => {\n          if (bucket === 'identity' || bucket === 'attributes' && notifiedKey === 'id') {\n            this._ref++;\n          }\n        });\n        return identifier;\n      }\n      return null;\n    }\n\n    /**\n     The `id` of the record that this reference refers to. Together, the\n     `type()` and `id()` methods form a composite key for the identity\n     map. This can be used to access the id of an async relationship\n     without triggering a fetch that would normally happen if you\n     attempted to use `record.relationship.id`.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n      @belongsTo('user', { async: true, inverse: null }) user;\n     }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      // get the identifier of the reference\n     if (userRef.remoteType() === \"id\") {\n        let id = userRef.id();\n      }\n     ```\n      @method id\n     @public\n     @return {String} The id of the record in this belongsTo relationship.\n     */\n    id() {\n      return this.identifier?.id || null;\n    }\n\n    /**\n     The link Ember Data will use to fetch or reload this belongs-to\n     relationship. By default it uses only the \"related\" resource linkage.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n     export default Model.extend({\n        user: belongsTo('user', { async: true, inverse: null })\n      });\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              links: {\n                related: '/articles/1/author'\n              }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      // get the identifier of the reference\n     if (userRef.remoteType() === \"link\") {\n        let link = userRef.link();\n      }\n     ```\n      @method link\n     @public\n     @return {String} The link Ember Data will use to fetch or reload this belongs-to relationship.\n     */\n    link() {\n      const resource = this._resource();\n      if (isResourceIdentiferWithRelatedLinks(resource)) {\n        if (resource.links) {\n          const related = resource.links.related;\n          return !related || typeof related === 'string' ? related : related.href;\n        }\n      }\n      return null;\n    }\n\n    /**\n     * any links that have been received for this relationship\n     *\n     * @method links\n     * @public\n     * @return\n     */\n    links() {\n      const resource = this._resource();\n      return resource && resource.links ? resource.links : null;\n    }\n\n    /**\n     The meta data for the belongs-to relationship.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n     export default Model.extend({\n        user: belongsTo('user', { async: true, inverse: null })\n      });\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              links: {\n                related: {\n                  href: '/articles/1/author'\n                },\n              },\n              meta: {\n                lastUpdated: 1458014400000\n              }\n            }\n          }\n        }\n      });\n      let userRef = blog.belongsTo('user');\n      userRef.meta() // { lastUpdated: 1458014400000 }\n     ```\n      @method meta\n      @public\n     @return {Object} The meta information for the belongs-to relationship.\n     */\n    meta() {\n      let meta = null;\n      const resource = this._resource();\n      if (resource && resource.meta && typeof resource.meta === 'object') {\n        meta = resource.meta;\n      }\n      return meta;\n    }\n    _resource() {\n      this._ref; // subscribe\n      const cache = this.store.cache;\n      return cache.getRelationship(this.___identifier, this.key);\n    }\n\n    /**\n     This returns a string that represents how the reference will be\n     looked up when it is loaded. If the relationship has a link it will\n     use the \"link\" otherwise it defaults to \"id\".\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      // get the identifier of the reference\n     if (commentsRef.remoteType() === \"ids\") {\n       let ids = commentsRef.ids();\n     } else if (commentsRef.remoteType() === \"link\") {\n       let link = commentsRef.link();\n     }\n     ```\n      @method remoteType\n     @public\n     @return {String} The name of the remote type. This should either be `link` or `id`\n     */\n    remoteType() {\n      const value = this._resource();\n      if (isResourceIdentiferWithRelatedLinks(value)) {\n        return 'link';\n      }\n      return 'id';\n    }\n\n    /**\n     `push` can be used to update the data in the relationship and EmberData\n     will treat the new data as the canonical value of this relationship on\n     the backend. A value of `null` (e.g. `{ data: null }`) can be passed to\n     clear the relationship.\n      Example model\n      ```app/models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @belongsTo('user', { async: true, inverse: null }) user;\n      }\n     ```\n      Setup some initial state, note we haven't loaded the user yet:\n      ```js\n     const blog = store.push({\n        data: {\n          type: 'blog',\n          id: '1',\n          relationships: {\n            user: {\n              data: { type: 'user', id: '1' }\n            }\n          }\n        }\n     });\n      const userRef = blog.belongsTo('user');\n     userRef.id(); // '1'\n     ```\n      Update the state using `push`, note we can do this even without\n     having loaded the user yet by providing a resource-identifier.\n      Both full a resource and a resource-identifier are supported.\n      ```js\n     await userRef.push({\n        data: {\n          type: 'user',\n          id: '2',\n        }\n      });\n       userRef.id(); // '2'\n     ```\n      You may also pass in links and meta fore the relationship, and sideload\n     additional resources that might be required.\n      ```js\n      await userRef.push({\n          data: {\n            type: 'user',\n            id: '2',\n          },\n          links: {\n            related: '/articles/1/author'\n          },\n          meta: {\n            lastUpdated: Date.now()\n          },\n          included: [\n            {\n              type: 'user-preview',\n              id: '2',\n              attributes: {\n                username: '@runspired'\n              }\n            }\n          ]\n        });\n      ```\n      By default, the store will attempt to fetch the record if it is not loaded or its\n     resource data is not included in the call to `push` before resolving the returned\n     promise with the new state..\n      Alternatively, pass `true` as the second argument to avoid fetching unloaded records\n     and instead the promise will resolve with void without attempting to fetch. This is\n     particularly useful if you want to update the state of the relationship without\n     forcing the load of all of the associated record.\n      @method push\n     @public\n     @param {Object} doc a JSONAPI document object describing the new value of this relationship.\n     @param {Boolean} [skipFetch] if `true`, do not attempt to fetch unloaded records\n     @return {Promise<RecordInstance | null | void>}\n    */\n    async push(doc, skipFetch) {\n      const {\n        store\n      } = this;\n      const isResourceData = doc.data && isMaybeResource(doc.data);\n      const added = isResourceData ? store._push(doc, true) : doc.data ? store.identifierCache.getOrCreateRecordIdentifier(doc.data) : null;\n      const {\n        identifier\n      } = this.belongsToRelationship;\n      {\n        if (added) {\n          assertPolymorphicType(identifier, this.belongsToRelationship.definition, added, store);\n        }\n      }\n      const newData = {};\n\n      // only set data if it was passed in\n      if (doc.data || doc.data === null) {\n        newData.data = added;\n      }\n      if ('links' in doc) {\n        newData.links = doc.links;\n      }\n      if ('meta' in doc) {\n        newData.meta = doc.meta;\n      }\n      store._join(() => {\n        this.graph.push({\n          op: 'updateRelationship',\n          record: identifier,\n          field: this.key,\n          value: newData\n        });\n      });\n      if (!skipFetch) return this.load();\n    }\n\n    /**\n     `value()` synchronously returns the current value of the belongs-to\n     relationship. Unlike `record.relationshipName`, calling\n     `value()` on a reference does not trigger a fetch if the async\n     relationship is not yet loaded. If the relationship is not loaded\n     it will always return `null`.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n       @belongsTo('user', { async: true, inverse: null }) user;\n     }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      userRef.value(); // null\n      // provide data for reference\n     userRef.push({\n        data: {\n          type: 'user',\n          id: 1,\n          attributes: {\n            username: \"@user\"\n          }\n        }\n      }).then(function(user) {\n        userRef.value(); // user\n      });\n     ```\n      @method value\n      @public\n     @return {Model} the record in this relationship\n     */\n    value() {\n      const resource = this._resource();\n      return resource && resource.data ? this.store.peekRecord(resource.data) : null;\n    }\n\n    /**\n     Loads a record in a belongs-to relationship if it is not already\n     loaded. If the relationship is already loaded this method does not\n     trigger a new load.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n       @belongsTo('user', { async: true, inverse: null }) user;\n     }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      userRef.value(); // null\n      userRef.load().then(function(user) {\n        userRef.value() === user\n      });\n     ```\n      You may also pass in an options object whose properties will be\n     fed forward. This enables you to pass `adapterOptions` into the\n     request given to the adapter via the reference.\n      Example\n      ```javascript\n     userRef.load({ adapterOptions: { isPrivate: true } }).then(function(user) {\n       userRef.value() === user;\n     });\n     ```\n     ```app/adapters/user.js\n     import Adapter from '@ember-data/adapter';\n      export default class UserAdapter extends Adapter {\n       findRecord(store, type, id, snapshot) {\n         // In the adapter you will have access to adapterOptions.\n         let adapterOptions = snapshot.adapterOptions;\n       }\n     });\n     ```\n      @method load\n      @public\n     @param {Object} options the options to pass in.\n     @return {Promise} a promise that resolves with the record in this belongs-to relationship.\n     */\n    async load(options) {\n      const support = LEGACY_SUPPORT.get(this.___identifier);\n      const fetchSyncRel = !this.belongsToRelationship.definition.isAsync && !areAllInverseRecordsLoaded(this.store, this._resource());\n      return fetchSyncRel ? support.reloadBelongsTo(this.key, options).then(() => this.value()) :\n      // we cast to fix the return type since typescript and eslint don't understand async functions\n      // properly\n      support.getBelongsTo(this.key, options);\n    }\n\n    /**\n     Triggers a reload of the value in this relationship. If the\n     remoteType is `\"link\"` Ember Data will use the relationship link to\n     reload the relationship. Otherwise it will reload the record by its\n     id.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n       @belongsTo('user', { async: true, inverse: null }) user;\n     }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      userRef.reload().then(function(user) {\n        userRef.value() === user\n      });\n     ```\n      You may also pass in an options object whose properties will be\n     fed forward. This enables you to pass `adapterOptions` into the\n     request given to the adapter via the reference. A full example\n     can be found in the `load` method.\n      Example\n      ```javascript\n     userRef.reload({ adapterOptions: { isPrivate: true } })\n     ```\n      @method reload\n      @public\n     @param {Object} options the options to pass in.\n     @return {Promise} a promise that resolves with the record in this belongs-to relationship after the reload has completed.\n     */\n    reload(options) {\n      const support = LEGACY_SUPPORT.get(this.___identifier);\n      return support.reloadBelongsTo(this.key, options).then(() => this.value());\n    }\n  }, _applyDecoratedDescriptor(_class$3.prototype, \"identifier\", [_tracking.cached, _tracking.compat], Object.getOwnPropertyDescriptor(_class$3.prototype, \"identifier\"), _class$3.prototype), _class$3);\n  (0, _private2.defineSignal)(BelongsToReference.prototype, '_ref', 0);\n  const LEGACY_SUPPORT = _exports.L = new Map();\n  function lookupLegacySupport(record) {\n    const identifier = (0, _private.recordIdentifierFor)(record);\n    (true && !(identifier) && (0, _debug.assert)(`Expected a record`, identifier));\n    let support = LEGACY_SUPPORT.get(identifier);\n    if (!support) {\n      (true && !(!record.isDestroyed && !record.isDestroying) && (0, _debug.assert)(`Memory Leak Detected`, !record.isDestroyed && !record.isDestroying));\n      support = new LegacySupport(record);\n      LEGACY_SUPPORT.set(identifier, support);\n      LEGACY_SUPPORT.set(record, support);\n    }\n    return support;\n  }\n  class LegacySupport {\n    constructor(record) {\n      this.record = record;\n      this.store = (0, _private.storeFor)(record);\n      this.identifier = (0, _private.recordIdentifierFor)(record);\n      this.cache = (0, _private.peekCache)(record);\n      {\n        const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n        this.graph = graphFor(this.store);\n      }\n      this._manyArrayCache = Object.create(null);\n      this._relationshipPromisesCache = Object.create(null);\n      this._relationshipProxyCache = Object.create(null);\n      this._pending = Object.create(null);\n      this.references = Object.create(null);\n    }\n    _syncArray(array) {\n      // It’s possible the parent side of the relationship may have been destroyed by this point\n      if (this.isDestroyed || this.isDestroying) {\n        return;\n      }\n      const currentState = array[_private.SOURCE];\n      const identifier = this.identifier;\n      const [identifiers, jsonApi] = this._getCurrentState(identifier, array.key);\n      if (jsonApi.meta) {\n        array.meta = jsonApi.meta;\n      }\n      if (jsonApi.links) {\n        array.links = jsonApi.links;\n      }\n      currentState.length = 0;\n      (0, _private.fastPush)(currentState, identifiers);\n    }\n    mutate(mutation) {\n      this.cache.mutate(mutation);\n    }\n    _findBelongsTo(key, resource, relationship, options) {\n      // TODO @runspired follow up if parent isNew then we should not be attempting load here\n      // TODO @runspired follow up on whether this should be in the relationship requests cache\n      return this._findBelongsToByJsonApiResource(resource, this.identifier, relationship, options).then(identifier => handleCompletedRelationshipRequest(this, key, relationship, identifier), e => handleCompletedRelationshipRequest(this, key, relationship, null, e));\n    }\n    reloadBelongsTo(key, options) {\n      const loadingPromise = this._relationshipPromisesCache[key];\n      if (loadingPromise) {\n        return loadingPromise;\n      }\n      const relationship = this.graph.get(this.identifier, key);\n      (true && !(isBelongsTo(relationship)) && (0, _debug.assert)(`Expected ${key} to be a belongs-to relationship`, isBelongsTo(relationship)));\n      const resource = this.cache.getRelationship(this.identifier, key);\n      relationship.state.hasFailedLoadAttempt = false;\n      relationship.state.shouldForceReload = true;\n      const promise = this._findBelongsTo(key, resource, relationship, options);\n      if (this._relationshipProxyCache[key]) {\n        // @ts-expect-error\n        return this._updatePromiseProxyFor('belongsTo', key, {\n          promise\n        });\n      }\n      return promise;\n    }\n    getBelongsTo(key, options) {\n      const {\n        identifier,\n        cache\n      } = this;\n      const resource = cache.getRelationship(this.identifier, key);\n      const relatedIdentifier = resource && resource.data ? resource.data : null;\n      (true && !(!relatedIdentifier || (0, _private.isStableIdentifier)(relatedIdentifier)) && (0, _debug.assert)(`Expected a stable identifier`, !relatedIdentifier || (0, _private.isStableIdentifier)(relatedIdentifier)));\n      const store = this.store;\n      const relationship = this.graph.get(this.identifier, key);\n      (true && !(isBelongsTo(relationship)) && (0, _debug.assert)(`Expected ${key} to be a belongs-to relationship`, isBelongsTo(relationship)));\n      const isAsync = relationship.definition.isAsync;\n      const _belongsToState = {\n        key,\n        store,\n        legacySupport: this,\n        modelName: relationship.definition.type\n      };\n      if (isAsync) {\n        if (relationship.state.hasFailedLoadAttempt) {\n          return this._relationshipProxyCache[key];\n        }\n        const promise = this._findBelongsTo(key, resource, relationship, options);\n        const isLoaded = relatedIdentifier && store._instanceCache.recordIsLoaded(relatedIdentifier);\n        return this._updatePromiseProxyFor('belongsTo', key, {\n          promise,\n          content: isLoaded ? store._instanceCache.getRecord(relatedIdentifier) : null,\n          _belongsToState\n        });\n      } else {\n        if (relatedIdentifier === null) {\n          return null;\n        } else {\n          const toReturn = store._instanceCache.getRecord(relatedIdentifier);\n          (true && !(toReturn === null || store._instanceCache.recordIsLoaded(relatedIdentifier, true)) && (0, _debug.assert)(`You looked up the '${key}' relationship on a '${identifier.type}' with id ${identifier.id || 'null'} but some of the associated records were not loaded. Either make sure they are all loaded together with the parent record, or specify that the relationship is async (\\`belongsTo(<type>, { async: true, inverse: <inverse> })\\`)`, toReturn === null || store._instanceCache.recordIsLoaded(relatedIdentifier, true)));\n          return toReturn;\n        }\n      }\n    }\n    setDirtyBelongsTo(key, value) {\n      return this.cache.mutate({\n        op: 'replaceRelatedRecord',\n        record: this.identifier,\n        field: key,\n        value: extractIdentifierFromRecord(value)\n      },\n      // @ts-expect-error\n      true);\n    }\n    _getCurrentState(identifier, field) {\n      const jsonApi = this.cache.getRelationship(identifier, field);\n      const cache = this.store._instanceCache;\n      const identifiers = [];\n      if (jsonApi.data) {\n        for (let i = 0; i < jsonApi.data.length; i++) {\n          const relatedIdentifier = jsonApi.data[i];\n          (true && !((0, _private.isStableIdentifier)(relatedIdentifier)) && (0, _debug.assert)(`Expected a stable identifier`, (0, _private.isStableIdentifier)(relatedIdentifier)));\n          if (cache.recordIsLoaded(relatedIdentifier, true)) {\n            identifiers.push(relatedIdentifier);\n          }\n        }\n      }\n      return [identifiers, jsonApi];\n    }\n    getManyArray(key, definition) {\n      {\n        let manyArray = this._manyArrayCache[key];\n        if (!definition) {\n          definition = this.graph.get(this.identifier, key).definition;\n        }\n        if (!manyArray) {\n          const [identifiers, doc] = this._getCurrentState(this.identifier, key);\n          manyArray = new RelatedCollection({\n            store: this.store,\n            type: definition.type,\n            identifier: this.identifier,\n            cache: this.cache,\n            identifiers,\n            key,\n            meta: doc.meta || null,\n            links: doc.links || null,\n            isPolymorphic: definition.isPolymorphic,\n            isAsync: definition.isAsync,\n            _inverseIsAsync: definition.inverseIsAsync,\n            manager: this,\n            isLoaded: !definition.isAsync,\n            allowMutation: true\n          });\n          this._manyArrayCache[key] = manyArray;\n        }\n        return manyArray;\n      }\n      (true && !(false) && (0, _debug.assert)('hasMany only works with the @ember-data/json-api package'));\n    }\n    fetchAsyncHasMany(key, relationship, manyArray, options) {\n      {\n        let loadingPromise = this._relationshipPromisesCache[key];\n        if (loadingPromise) {\n          return loadingPromise;\n        }\n        const jsonApi = this.cache.getRelationship(this.identifier, key);\n        const promise = this._findHasManyByJsonApiResource(jsonApi, this.identifier, relationship, options);\n        if (!promise) {\n          manyArray.isLoaded = true;\n          return Promise.resolve(manyArray);\n        }\n        loadingPromise = promise.then(() => handleCompletedRelationshipRequest(this, key, relationship, manyArray), e => handleCompletedRelationshipRequest(this, key, relationship, manyArray, e));\n        this._relationshipPromisesCache[key] = loadingPromise;\n        return loadingPromise;\n      }\n      (true && !(false) && (0, _debug.assert)('hasMany only works with the @ember-data/json-api package'));\n    }\n    reloadHasMany(key, options) {\n      {\n        const loadingPromise = this._relationshipPromisesCache[key];\n        if (loadingPromise) {\n          return loadingPromise;\n        }\n        const relationship = this.graph.get(this.identifier, key);\n        const {\n          definition,\n          state\n        } = relationship;\n        state.hasFailedLoadAttempt = false;\n        state.shouldForceReload = true;\n        const manyArray = this.getManyArray(key, definition);\n        const promise = this.fetchAsyncHasMany(key, relationship, manyArray, options);\n        if (this._relationshipProxyCache[key]) {\n          return this._updatePromiseProxyFor('hasMany', key, {\n            promise\n          });\n        }\n        return promise;\n      }\n      (true && !(false) && (0, _debug.assert)(`hasMany only works with the @ember-data/json-api package`));\n    }\n    getHasMany(key, options) {\n      {\n        const relationship = this.graph.get(this.identifier, key);\n        const {\n          definition,\n          state\n        } = relationship;\n        const manyArray = this.getManyArray(key, definition);\n        if (definition.isAsync) {\n          if (state.hasFailedLoadAttempt) {\n            return this._relationshipProxyCache[key];\n          }\n          const promise = this.fetchAsyncHasMany(key, relationship, manyArray, options);\n          return this._updatePromiseProxyFor('hasMany', key, {\n            promise,\n            content: manyArray\n          });\n        } else {\n          (true && !(!anyUnloaded(this.store, relationship)) && (0, _debug.assert)(`You looked up the '${key}' relationship on a '${this.identifier.type}' with id ${this.identifier.id || 'null'} but some of the associated records were not loaded. Either make sure they are all loaded together with the parent record, or specify that the relationship is async ('hasMany(<type>, { async: true, inverse: <inverse> })')`, !anyUnloaded(this.store, relationship)));\n          return manyArray;\n        }\n      }\n      (true && !(false) && (0, _debug.assert)(`hasMany only works with the @ember-data/json-api package`));\n    }\n    _updatePromiseProxyFor(kind, key, args) {\n      let promiseProxy = this._relationshipProxyCache[key];\n      if (kind === 'hasMany') {\n        const {\n          promise,\n          content\n        } = args;\n        if (promiseProxy) {\n          (true && !('_update' in promiseProxy) && (0, _debug.assert)(`Expected a PromiseManyArray`, '_update' in promiseProxy));\n          promiseProxy._update(promise, content);\n        } else {\n          promiseProxy = this._relationshipProxyCache[key] = new PromiseManyArray(promise, content);\n        }\n        return promiseProxy;\n      }\n      if (promiseProxy) {\n        const {\n          promise,\n          content\n        } = args;\n        (true && !('_belongsToState' in promiseProxy) && (0, _debug.assert)(`Expected a PromiseBelongsTo`, '_belongsToState' in promiseProxy));\n        if (content !== undefined) {\n          promiseProxy.set('content', content);\n        }\n        void promiseProxy.set('promise', promise);\n      } else {\n        promiseProxy = PromiseBelongsTo.create(args);\n        this._relationshipProxyCache[key] = promiseProxy;\n      }\n      return promiseProxy;\n    }\n    referenceFor(kind, name) {\n      let reference = this.references[name];\n      if (!reference) {\n        const {\n          graph,\n          identifier\n        } = this;\n        const relationship = graph.get(identifier, name);\n        {\n          if (kind) {\n            const modelName = identifier.type;\n            const actualRelationshipKind = relationship.definition.kind;\n            (true && !(actualRelationshipKind === kind) && (0, _debug.assert)(`You tried to get the '${name}' relationship on a '${modelName}' via record.${kind}('${name}'), but the relationship is of kind '${actualRelationshipKind}'. Use record.${actualRelationshipKind}('${name}') instead.`, actualRelationshipKind === kind));\n          }\n        }\n        const relationshipKind = relationship.definition.kind;\n        if (relationshipKind === 'belongsTo') {\n          reference = new BelongsToReference(this.store, graph, identifier, relationship, name);\n        } else if (relationshipKind === 'hasMany') {\n          reference = new HasManyReference(this.store, graph, identifier, relationship, name);\n        }\n        this.references[name] = reference;\n      }\n      return reference;\n    }\n    _findHasManyByJsonApiResource(resource, parentIdentifier, relationship, options = {}) {\n      {\n        if (!resource) {\n          return;\n        }\n        const {\n          definition,\n          state\n        } = relationship;\n        (0, _private3.upgradeStore)(this.store);\n        const adapter = this.store.adapterFor(definition.type);\n        const {\n          isStale,\n          hasDematerializedInverse,\n          hasReceivedData,\n          isEmpty,\n          shouldForceReload\n        } = state;\n        const allInverseRecordsAreLoaded = areAllInverseRecordsLoaded(this.store, resource);\n        const identifiers = resource.data;\n        const shouldFindViaLink = resource.links && resource.links.related && (typeof adapter.findHasMany === 'function' || typeof identifiers === 'undefined') && (shouldForceReload || hasDematerializedInverse || isStale || !allInverseRecordsAreLoaded && !isEmpty);\n        const relationshipMeta = this.store.getSchemaDefinitionService().relationshipsDefinitionFor({\n          type: definition.inverseType\n        })[definition.key];\n        const request = {\n          useLink: shouldFindViaLink,\n          field: relationshipMeta,\n          links: resource.links,\n          meta: resource.meta,\n          options,\n          record: parentIdentifier\n        };\n\n        // fetch via link\n        if (shouldFindViaLink) {\n          (true && !(!identifiers || Array.isArray(identifiers)) && (0, _debug.assert)(`Expected collection to be an array`, !identifiers || Array.isArray(identifiers)));\n          (true && !(!identifiers || identifiers.every(_private.isStableIdentifier)) && (0, _debug.assert)(`Expected stable identifiers`, !identifiers || identifiers.every(_private.isStableIdentifier)));\n          return this.store.request({\n            op: 'findHasMany',\n            records: identifiers || [],\n            data: request,\n            cacheOptions: {\n              [Symbol.for('wd:skip-cache')]: true\n            }\n          });\n        }\n        const preferLocalCache = hasReceivedData && !isEmpty;\n        const hasLocalPartialData = hasDematerializedInverse || isEmpty && Array.isArray(identifiers) && identifiers.length > 0;\n        const attemptLocalCache = !shouldForceReload && !isStale && (preferLocalCache || hasLocalPartialData);\n        if (attemptLocalCache && allInverseRecordsAreLoaded) {\n          return;\n        }\n        const hasData = hasReceivedData && !isEmpty;\n        if (attemptLocalCache || hasData || hasLocalPartialData) {\n          (true && !(Array.isArray(identifiers)) && (0, _debug.assert)(`Expected collection to be an array`, Array.isArray(identifiers)));\n          (true && !(identifiers.every(_private.isStableIdentifier)) && (0, _debug.assert)(`Expected stable identifiers`, identifiers.every(_private.isStableIdentifier)));\n          options.reload = options.reload || !attemptLocalCache || undefined;\n          return this.store.request({\n            op: 'findHasMany',\n            records: identifiers,\n            data: request,\n            cacheOptions: {\n              [Symbol.for('wd:skip-cache')]: true\n            }\n          });\n        }\n\n        // we were explicitly told we have no data and no links.\n        //   TODO if the relationshipIsStale, should we hit the adapter anyway?\n        return;\n      }\n      (true && !(false) && (0, _debug.assert)(`hasMany only works with the @ember-data/json-api package`));\n    }\n    _findBelongsToByJsonApiResource(resource, parentIdentifier, relationship, options = {}) {\n      if (!resource) {\n        return Promise.resolve(null);\n      }\n      const key = relationship.definition.key;\n\n      // interleaved promises mean that we MUST cache this here\n      // in order to prevent infinite re-render if the request\n      // fails.\n      if (this._pending[key]) {\n        return this._pending[key];\n      }\n      const identifier = resource.data ? resource.data : null;\n      (true && !(!identifier || (0, _private.isStableIdentifier)(identifier)) && (0, _debug.assert)(`Expected a stable identifier`, !identifier || (0, _private.isStableIdentifier)(identifier)));\n      const {\n        isStale,\n        hasDematerializedInverse,\n        hasReceivedData,\n        isEmpty,\n        shouldForceReload\n      } = relationship.state;\n      const allInverseRecordsAreLoaded = areAllInverseRecordsLoaded(this.store, resource);\n      const shouldFindViaLink = resource.links?.related && (shouldForceReload || hasDematerializedInverse || isStale || !allInverseRecordsAreLoaded && !isEmpty);\n      const relationshipMeta = this.store.getSchemaDefinitionService().relationshipsDefinitionFor(this.identifier)[relationship.definition.key];\n      (true && !(relationshipMeta) && (0, _debug.assert)(`Attempted to access a belongsTo relationship but no definition exists for it`, relationshipMeta));\n      const request = {\n        useLink: shouldFindViaLink,\n        field: relationshipMeta,\n        links: resource.links,\n        meta: resource.meta,\n        options,\n        record: parentIdentifier\n      };\n\n      // fetch via link\n      if (shouldFindViaLink) {\n        const future = this.store.request({\n          op: 'findBelongsTo',\n          records: identifier ? [identifier] : [],\n          data: request,\n          cacheOptions: {\n            [Symbol.for('wd:skip-cache')]: true\n          }\n        });\n        this._pending[key] = future.then(doc => doc.content).finally(() => {\n          this._pending[key] = undefined;\n        });\n        return this._pending[key];\n      }\n      const preferLocalCache = hasReceivedData && allInverseRecordsAreLoaded && !isEmpty;\n      const hasLocalPartialData = hasDematerializedInverse || isEmpty && resource.data;\n      // null is explicit empty, undefined is \"we don't know anything\"\n      const localDataIsEmpty = !identifier;\n      const attemptLocalCache = !shouldForceReload && !isStale && (preferLocalCache || hasLocalPartialData);\n\n      // we dont need to fetch and are empty\n      if (attemptLocalCache && localDataIsEmpty) {\n        return Promise.resolve(null);\n      }\n\n      // we dont need to fetch because we are local state\n      const resourceIsLocal = identifier?.id === null;\n      if (attemptLocalCache && allInverseRecordsAreLoaded || resourceIsLocal) {\n        return Promise.resolve(identifier);\n      }\n\n      // we may need to fetch\n      if (identifier) {\n        (true && !(identifier) && (0, _debug.assert)(`Cannot fetch belongs-to relationship with no information`, identifier));\n        options.reload = options.reload || !attemptLocalCache || undefined;\n        this._pending[key] = this.store.request({\n          op: 'findBelongsTo',\n          records: [identifier],\n          data: request,\n          cacheOptions: {\n            [Symbol.for('wd:skip-cache')]: true\n          }\n        }).then(doc => doc.content).finally(() => {\n          this._pending[key] = undefined;\n        });\n        return this._pending[key];\n      }\n\n      // we were explicitly told we have no data and no links.\n      //   TODO if the relationshipIsStale, should we hit the adapter anyway?\n      return Promise.resolve(null);\n    }\n    destroy() {\n      this.isDestroying = true;\n      let cache = this._manyArrayCache;\n      this._manyArrayCache = Object.create(null);\n      Object.keys(cache).forEach(key => {\n        cache[key].destroy();\n      });\n      cache = this._relationshipProxyCache;\n      this._relationshipProxyCache = Object.create(null);\n      Object.keys(cache).forEach(key => {\n        const proxy = cache[key];\n        if (proxy.destroy) {\n          proxy.destroy();\n        }\n      });\n      cache = this.references;\n      this.references = Object.create(null);\n      Object.keys(cache).forEach(key => {\n        cache[key].destroy();\n      });\n      this.isDestroyed = true;\n    }\n  }\n  function handleCompletedRelationshipRequest(recordExt, key, relationship, value, error) {\n    delete recordExt._relationshipPromisesCache[key];\n    relationship.state.shouldForceReload = false;\n    const isHasMany = relationship.definition.kind === 'hasMany';\n    if (isHasMany) {\n      // we don't notify the record property here to avoid refetch\n      // only the many array\n      value.notify();\n    }\n    if (error) {\n      relationship.state.hasFailedLoadAttempt = true;\n      const proxy = recordExt._relationshipProxyCache[key];\n      // belongsTo relationships are sometimes unloaded\n      // when a load fails, in this case we need\n      // to make sure that we aren't proxying\n      // to destroyed content\n      // for the sync belongsTo reload case there will be no proxy\n      // for the async reload case there will be no proxy if the ui\n      // has never been accessed\n      if (proxy && !isHasMany) {\n        // @ts-expect-error unsure why this is not resolving the boolean but async belongsTo is weird\n        if (proxy.content && proxy.content.isDestroying) {\n          proxy.set('content', null);\n        }\n        recordExt.store.notifications._flush();\n      }\n      throw error;\n    }\n    if (isHasMany) {\n      value.isLoaded = true;\n    } else {\n      recordExt.store.notifications._flush();\n    }\n    relationship.state.hasFailedLoadAttempt = false;\n    // only set to not stale if no error is thrown\n    relationship.state.isStale = false;\n    return isHasMany || !value ? value : recordExt.store.peekRecord(value);\n  }\n  function extractIdentifierFromRecord(record) {\n    if (!record) {\n      return null;\n    }\n    return (0, _private.recordIdentifierFor)(record);\n  }\n  function anyUnloaded(store, relationship) {\n    const graph = store._graph;\n    (true && !(graph) && (0, _debug.assert)(`Expected a Graph instance to be available`, graph));\n    const relationshipData = graph.getData(relationship.identifier, relationship.definition.key);\n    const state = relationshipData.data;\n    const cache = store._instanceCache;\n    const unloaded = state?.find(s => {\n      const isLoaded = cache.recordIsLoaded(s, true);\n      return !isLoaded;\n    });\n    return unloaded || false;\n  }\n  function areAllInverseRecordsLoaded(store, resource) {\n    const instanceCache = store._instanceCache;\n    const identifiers = resource.data;\n    if (Array.isArray(identifiers)) {\n      (true && !(identifiers.every(_private.isStableIdentifier)) && (0, _debug.assert)(`Expected stable identifiers`, identifiers.every(_private.isStableIdentifier))); // treat as collection\n      // check for unloaded records\n      return identifiers.every(identifier => instanceCache.recordIsLoaded(identifier));\n    }\n\n    // treat as single resource\n    if (!identifiers) return true;\n    (true && !((0, _private.isStableIdentifier)(identifiers)) && (0, _debug.assert)(`Expected stable identifiers`, (0, _private.isStableIdentifier)(identifiers)));\n    return instanceCache.recordIsLoaded(identifiers);\n  }\n  function isBelongsTo(relationship) {\n    return relationship.definition.kind === 'belongsTo';\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  var _dec, _dec2, _dec3, _dec4, _class$2, _descriptor, _descriptor2;\n\n  /**\n    @module @ember-data/model\n  */\n\n  // we force the type here to our own construct because mixin and extend patterns\n  // lose generic signatures. We also do this because we need to Omit `clear` from\n  // the type of ArrayProxy as we override it's signature.\n  const ArrayProxyWithCustomOverrides = _proxy.default;\n\n  /**\n    Holds validation errors for a given record, organized by attribute names.\n  \n    This class is not directly instantiable.\n  \n    Every `Model` has an `errors` property that is an instance of\n    `Errors`. This can be used to display validation error\n    messages returned from the server when a `record.save()` rejects.\n  \n    For Example, if you had a `User` model that looked like this:\n  \n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @attr('string') username;\n      @attr('string') email;\n    }\n    ```\n    And you attempted to save a record that did not validate on the backend:\n  \n    ```javascript\n    let user = store.createRecord('user', {\n      username: 'tomster',\n      email: 'invalidEmail'\n    });\n    user.save();\n    ```\n  \n    Your backend would be expected to return an error response that described\n    the problem, so that error messages can be generated on the app.\n  \n    API responses will be translated into instances of `Errors` differently,\n    depending on the specific combination of adapter and serializer used. You\n    may want to check the documentation or the source code of the libraries\n    that you are using, to know how they expect errors to be communicated.\n  \n    Errors can be displayed to the user by accessing their property name\n    to get an array of all the error objects for that property. Each\n    error object is a JavaScript object with two keys:\n  \n    - `message` A string containing the error message from the backend\n    - `attribute` The name of the property associated with this error message\n  \n    ```handlebars\n    <label>Username: <Input @value={{@model.username}} /> </label>\n    {{#each @model.errors.username as |error|}}\n      <div class=\"error\">\n        {{error.message}}\n      </div>\n    {{/each}}\n  \n    <label>Email: <Input @value={{@model.email}} /> </label>\n    {{#each @model.errors.email as |error|}}\n      <div class=\"error\">\n        {{error.message}}\n      </div>\n    {{/each}}\n    ```\n  \n    You can also access the special `messages` property on the error\n    object to get an array of all the error strings.\n  \n    ```handlebars\n    {{#each @model.errors.messages as |message|}}\n      <div class=\"error\">\n        {{message}}\n      </div>\n    {{/each}}\n    ```\n  \n    @class Errors\n    @public\n    @extends Ember.ArrayProxy\n   */\n  let Errors = _exports.E = (_dec = (0, _object.computed)(), _dec2 = (0, _computed.mapBy)('content', 'message'), _dec3 = (0, _object.computed)(), _dec4 = (0, _computed.not)('length'), _class$2 = class Errors extends ArrayProxyWithCustomOverrides {\n    constructor(...args) {\n      super(...args);\n      /**\n        An array containing all of the error messages for this\n        record. This is useful for displaying all errors to the user.\n         ```handlebars\n        {{#each @model.errors.messages as |message|}}\n          <div class=\"error\">\n            {{message}}\n          </div>\n        {{/each}}\n        ```\n         @property messages\n        @public\n        @type {Array}\n      */\n      _initializerDefineProperty(this, \"messages\", _descriptor, this);\n      /**\n        Total number of errors.\n         @property length\n        @type {Number}\n        @public\n        @readOnly\n      */\n      /**\n        `true` if we have no errors.\n         @property isEmpty\n        @type {Boolean}\n        @public\n        @readOnly\n      */\n      _initializerDefineProperty(this, \"isEmpty\", _descriptor2, this);\n    }\n    /**\n      @property errorsByAttributeName\n      @type {MapWithDefault}\n      @private\n    */\n    get errorsByAttributeName() {\n      return new Map();\n    }\n\n    /**\n      Returns errors for a given attribute\n       ```javascript\n      let user = store.createRecord('user', {\n        username: 'tomster',\n        email: 'invalidEmail'\n      });\n      user.save().catch(function(){\n        user.errors.errorsFor('email'); // returns:\n        // [{attribute: \"email\", message: \"Doesn't look like a valid email.\"}]\n      });\n      ```\n       @method errorsFor\n      @public\n      @param {String} attribute\n      @return {Array}\n    */\n    errorsFor(attribute) {\n      const map = this.errorsByAttributeName;\n      let errors = map.get(attribute);\n      if (errors === undefined) {\n        errors = (0, _array.A)();\n        map.set(attribute, errors);\n      }\n\n      // Errors may be a native array with extensions turned on. Since we access\n      // the array via a method, and not a computed or using `Ember.get`, it does\n      // not entangle properly with autotracking, so we entangle manually by\n      // getting the `[]` property.\n      (0, _object.get)(errors, '[]');\n      return errors;\n    }\n    /**\n      @property content\n      @type {Array}\n      @private\n    */\n    get content() {\n      return (0, _array.A)();\n    }\n\n    /**\n      @method unknownProperty\n      @private\n    */\n    unknownProperty(attribute) {\n      const errors = this.errorsFor(attribute);\n      if (errors.length === 0) {\n        return undefined;\n      }\n      return errors;\n    }\n    /**\n     Manually adds errors to the record. This will trigger the `becameInvalid` event/ lifecycle method on\n      the record and transition the record into an `invalid` state.\n      Example\n     ```javascript\n      let errors = user.errors;\n       // add multiple errors\n      errors.add('password', [\n        'Must be at least 12 characters',\n        'Must contain at least one symbol',\n        'Cannot contain your name'\n      ]);\n       errors.errorsFor('password');\n      // =>\n      // [\n      //   { attribute: 'password', message: 'Must be at least 12 characters' },\n      //   { attribute: 'password', message: 'Must contain at least one symbol' },\n      //   { attribute: 'password', message: 'Cannot contain your name' },\n      // ]\n       // add a single error\n      errors.add('username', 'This field is required');\n       errors.errorsFor('username');\n      // =>\n      // [\n      //   { attribute: 'username', message: 'This field is required' },\n      // ]\n     ```\n      @method add\n      @public\n      @param {string} attribute - the property name of an attribute or relationship\n      @param {string[]|string} messages - an error message or array of error messages for the attribute\n     */\n    add(attribute, messages) {\n      const errors = this._findOrCreateMessages(attribute, messages);\n      this.addObjects(errors);\n      this.errorsFor(attribute).addObjects(errors);\n      this.__record.currentState.notify('isValid');\n      this.notifyPropertyChange(attribute);\n    }\n\n    /**\n      @method _findOrCreateMessages\n      @private\n    */\n    _findOrCreateMessages(attribute, messages) {\n      const errors = this.errorsFor(attribute);\n      const messagesArray = Array.isArray(messages) ? messages : [messages];\n      const _messages = new Array(messagesArray.length);\n      for (let i = 0; i < messagesArray.length; i++) {\n        const message = messagesArray[i];\n        const err = errors.findBy('message', message);\n        if (err) {\n          _messages[i] = err;\n        } else {\n          _messages[i] = {\n            attribute: attribute,\n            message\n          };\n        }\n      }\n      return _messages;\n    }\n\n    /**\n     Manually removes all errors for a given member from the record.\n       This will transition the record into a `valid` state, and\n      triggers the `becameValid` event and lifecycle method.\n      Example:\n      ```javascript\n      let errors = user.errors;\n      errors.add('phone', ['error-1', 'error-2']);\n       errors.errorsFor('phone');\n      // =>\n      // [\n      //   { attribute: 'phone', message: 'error-1' },\n      //   { attribute: 'phone', message: 'error-2' },\n      // ]\n       errors.remove('phone');\n       errors.errorsFor('phone');\n      // => undefined\n     ```\n     @method remove\n      @public\n     @param {string} member - the property name of an attribute or relationship\n     */\n    remove(attribute) {\n      if (this.isEmpty) {\n        return;\n      }\n      const content = this.rejectBy('attribute', attribute);\n      this.content.setObjects(content);\n\n      // Although errorsByAttributeName.delete is technically enough to sync errors state, we also\n      // must mutate the array as well for autotracking\n      const errors = this.errorsFor(attribute);\n      for (let i = 0; i < errors.length; i++) {\n        if (errors[i].attribute === attribute) {\n          // .replace from Ember.NativeArray is necessary. JS splice will not work.\n          errors.replace(i, 1);\n        }\n      }\n      this.errorsByAttributeName.delete(attribute);\n      this.__record.currentState.notify('isValid');\n      this.notifyPropertyChange(attribute);\n      this.notifyPropertyChange('length');\n    }\n\n    /**\n     Manually clears all errors for the record.\n       This will transition the record into a `valid` state, and\n       will trigger the `becameValid` event and lifecycle method.\n     Example:\n      ```javascript\n     let errors = user.errors;\n     errors.add('username', ['error-a']);\n     errors.add('phone', ['error-1', 'error-2']);\n      errors.errorsFor('username');\n     // =>\n     // [\n     //   { attribute: 'username', message: 'error-a' },\n     // ]\n      errors.errorsFor('phone');\n     // =>\n     // [\n     //   { attribute: 'phone', message: 'error-1' },\n     //   { attribute: 'phone', message: 'error-2' },\n     // ]\n      errors.clear();\n      errors.errorsFor('username');\n     // => undefined\n      errors.errorsFor('phone');\n     // => undefined\n      errors.messages\n     // => []\n     ```\n     @method clear\n     @public\n     */\n    clear() {\n      if (this.isEmpty) {\n        return;\n      }\n      const errorsByAttributeName = this.errorsByAttributeName;\n      const attributes = [];\n      errorsByAttributeName.forEach(function (_, attribute) {\n        attributes.push(attribute);\n      });\n      errorsByAttributeName.clear();\n      attributes.forEach(attribute => {\n        this.notifyPropertyChange(attribute);\n      });\n      this.__record.currentState.notify('isValid');\n      super.clear();\n    }\n\n    /**\n      Checks if there are error messages for the given attribute.\n       ```app/controllers/user/edit.js\n      import Controller from '@ember/controller';\n      import { action } from '@ember/object';\n       export default class UserEditController extends Controller {\n        @action\n        save(user) {\n          if (user.errors.has('email')) {\n            return alert('Please update your email before attempting to save.');\n          }\n          user.save();\n        }\n      }\n      ```\n       @method has\n      @public\n      @param {String} attribute\n      @return {Boolean} true if there some errors on given attribute\n    */\n    has(attribute) {\n      return this.errorsFor(attribute).length > 0;\n    }\n  }, _applyDecoratedDescriptor(_class$2.prototype, \"errorsByAttributeName\", [_dec], Object.getOwnPropertyDescriptor(_class$2.prototype, \"errorsByAttributeName\"), _class$2.prototype), _descriptor = _applyDecoratedDescriptor(_class$2.prototype, \"messages\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class$2.prototype, \"content\", [_dec3], Object.getOwnPropertyDescriptor(_class$2.prototype, \"content\"), _class$2.prototype), _descriptor2 = _applyDecoratedDescriptor(_class$2.prototype, \"isEmpty\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class$2);\n  function rollbackAttributes() {\n    const {\n      currentState\n    } = this;\n    const {\n      isNew\n    } = currentState;\n    this[_symbols.RecordStore]._join(() => {\n      (0, _private.peekCache)(this).rollbackAttrs((0, _store.recordIdentifierFor)(this));\n      this.errors.clear();\n      currentState.cleanErrorRequests();\n      if (isNew) {\n        this.unloadRecord();\n      }\n    });\n  }\n  function unloadRecord() {\n    if (this.currentState.isNew && (this.isDestroyed || this.isDestroying)) {\n      return;\n    }\n    this[_symbols.RecordStore].unloadRecord(this);\n  }\n  function belongsTo(prop) {\n    return lookupLegacySupport(this).referenceFor('belongsTo', prop);\n  }\n  function hasMany(prop) {\n    return lookupLegacySupport(this).referenceFor('hasMany', prop);\n  }\n  function reload(options = {}) {\n    options.isReloading = true;\n    options.reload = true;\n    const identifier = (0, _store.recordIdentifierFor)(this);\n    (true && !(identifier.id) && (0, _debug.assert)(`You cannot reload a record without an ID`, identifier.id));\n    this.isReloading = true;\n    const promise = this[_symbols.RecordStore].request({\n      op: 'findRecord',\n      data: {\n        options,\n        record: identifier\n      },\n      cacheOptions: {\n        [Symbol.for('wd:skip-cache')]: true\n      }\n    }).then(() => this).finally(() => {\n      this.isReloading = false;\n    });\n    return promise;\n  }\n  function changedAttributes() {\n    return (0, _private.peekCache)(this).changedAttrs((0, _store.recordIdentifierFor)(this));\n  }\n  function serialize(options) {\n    (0, _private3.upgradeStore)(this[_symbols.RecordStore]);\n    return this[_symbols.RecordStore].serializeRecord(this, options);\n  }\n  function deleteRecord() {\n    // ensure we've populated currentState prior to deleting a new record\n    if (this.currentState) {\n      this[_symbols.RecordStore].deleteRecord(this);\n    }\n  }\n  function save(options) {\n    let promise;\n    if (this.currentState.isNew && this.currentState.isDeleted) {\n      promise = Promise.resolve(this);\n    } else {\n      this.errors.clear();\n      promise = this[_symbols.RecordStore].saveRecord(this, options);\n    }\n    return promise;\n  }\n  function destroyRecord(options) {\n    const {\n      isNew\n    } = this.currentState;\n    this.deleteRecord();\n    if (isNew) {\n      return Promise.resolve(this);\n    }\n    return this.save(options).then(_ => {\n      this.unloadRecord();\n      return this;\n    });\n  }\n  function createSnapshot() {\n    const store = this[_symbols.RecordStore];\n    (0, _private3.upgradeStore)(store);\n    if (!store._fetchManager) {\n      const FetchManager = (0, _esCompat.default)(require(\"@ember-data/legacy-compat/-private\")).FetchManager;\n      store._fetchManager = new FetchManager(store);\n    }\n    return store._fetchManager.createSnapshot((0, _store.recordIdentifierFor)(this));\n  }\n  function notifyChanges(identifier, value, key, record, store) {\n    if (value === 'attributes') {\n      if (key) {\n        notifyAttribute(store, identifier, key, record);\n      } else {\n        record.eachAttribute(name => {\n          notifyAttribute(store, identifier, name, record);\n        });\n      }\n    } else if (value === 'relationships') {\n      if (key) {\n        const meta = record.constructor.relationshipsByName.get(key);\n        (true && !(meta) && (0, _debug.assert)(`Expected to find a relationship for ${key} on ${identifier.type}`, meta));\n        notifyRelationship(identifier, key, record, meta);\n      } else {\n        record.eachRelationship((name, meta) => {\n          notifyRelationship(identifier, name, record, meta);\n        });\n      }\n    } else if (value === 'identity') {\n      record.notifyPropertyChange('id');\n    }\n  }\n  function notifyRelationship(identifier, key, record, meta) {\n    if (meta.kind === 'belongsTo') {\n      record.notifyPropertyChange(key);\n    } else if (meta.kind === 'hasMany') {\n      const support = LEGACY_SUPPORT.get(identifier);\n      const manyArray = support && support._manyArrayCache[key];\n      const hasPromise = support && support._relationshipPromisesCache[key];\n      if (manyArray && hasPromise) {\n        // do nothing, we will notify the ManyArray directly\n        // once the fetch has completed.\n        return;\n      }\n      if (manyArray) {\n        manyArray.notify();\n\n        //We need to notifyPropertyChange in the adding case because we need to make sure\n        //we fetch the newly added record in case it is unloaded\n        //TODO(Igor): Consider whether we could do this only if the record state is unloaded\n        (true && !(meta.options) && (0, _debug.assert)(`Expected options to exist on relationship meta`, meta.options));\n        (true && !('async' in meta.options) && (0, _debug.assert)(`Expected async to exist on relationship meta options`, 'async' in meta.options));\n        if (meta.options.async) {\n          record.notifyPropertyChange(key);\n        }\n      }\n    }\n  }\n  function notifyAttribute(store, identifier, key, record) {\n    const currentValue = (0, _internals.cacheFor)(record, key);\n    const cache = store.cache;\n    if (currentValue !== cache.getAttr(identifier, key)) {\n      record.notifyPropertyChange(key);\n    }\n  }\n  var _class$1;\n  const SOURCE_POINTER_REGEXP = /^\\/?data\\/(attributes|relationships)\\/(.*)/;\n  const SOURCE_POINTER_PRIMARY_REGEXP = /^\\/?data/;\n  const PRIMARY_ATTRIBUTE_KEY = 'base';\n  function isInvalidError(error) {\n    return !!error && error instanceof Error && 'isAdapterError' in error && error.isAdapterError === true && 'code' in error && error.code === 'InvalidError';\n  }\n\n  /**\n   * A decorator that caches a getter while\n   * providing the ability to bust that cache\n   * when we so choose in a way that notifies\n   * tracking systems.\n   *\n   * @internal\n   */\n  function tagged(_target, key, desc) {\n    // eslint-disable-next-line @typescript-eslint/unbound-method\n    const getter = desc.get;\n    // eslint-disable-next-line @typescript-eslint/unbound-method\n    const setter = desc.set;\n    desc.get = function () {\n      const signal = (0, _private2.getSignal)(this, key, true);\n      (0, _private2.subscribe)(signal);\n      if (signal.shouldReset) {\n        signal.shouldReset = false;\n        signal.lastValue = getter.call(this);\n      }\n      return signal.lastValue;\n    };\n    desc.set = function (v) {\n      (0, _private2.getSignal)(this, key, true); // ensure signal is setup in case we want to use it.\n      // probably notify here but not yet.\n      setter.call(this, v);\n    };\n    (0, _tracking.compat)(desc);\n    return desc;\n  }\n  function notifySignal(obj, key) {\n    const signal = (0, _private2.peekSignal)(obj, key);\n    if (signal) {\n      signal.shouldReset = true;\n      (0, _private2.addToTransaction)(signal);\n    }\n  }\n\n  /**\n  Historically EmberData managed a state machine\n  for each record, the localState for which\n  was reflected onto Model.\n  \n  This implements the flags and stateName for backwards compat\n  with the state tree that used to be possible (listed below).\n  \n  stateName and dirtyType are candidates for deprecation.\n  \n  root\n    empty\n      deleted    // hidden from stateName\n      preloaded  // hidden from stateName\n  \n    loading\n       empty     // hidden from stateName\n       preloaded // hidden from stateName\n  \n    loaded\n      saved\n      updated\n        uncommitted\n        invalid\n        inFlight\n      created\n        uncommitted\n        invalid\n        inFlight\n  \n    deleted\n      saved\n        new      // hidden from stateName\n      uncommitted\n      invalid\n      inFlight\n  \n    @internal\n  */\n  let RecordState = _exports.f = (_class$1 = class RecordState {\n    constructor(record) {\n      const store = (0, _store.storeFor)(record);\n      const identity = (0, _private.recordIdentifierFor)(record);\n      this.identifier = identity;\n      this.record = record;\n      this.cache = store.cache;\n      this.pendingCount = 0;\n      this.fulfilledCount = 0;\n      this.rejectedCount = 0;\n      this._errorRequests = [];\n      this._lastError = null;\n      const requests = store.getRequestStateService();\n      const notifications = store.notifications;\n      const handleRequest = req => {\n        if (req.type === 'mutation') {\n          switch (req.state) {\n            case 'pending':\n              this.isSaving = true;\n              break;\n            case 'rejected':\n              this.isSaving = false;\n              this._lastError = req;\n              if (!(req.response && isInvalidError(req.response.data))) {\n                this._errorRequests.push(req);\n              }\n              notifyErrorsStateChanged(this);\n              break;\n            case 'fulfilled':\n              this._errorRequests = [];\n              this._lastError = null;\n              this.isSaving = false;\n              this.notify('isDirty');\n              notifyErrorsStateChanged(this);\n              break;\n          }\n        } else {\n          switch (req.state) {\n            case 'pending':\n              this.pendingCount++;\n              this.notify('isLoading');\n              break;\n            case 'rejected':\n              this.pendingCount--;\n              this._lastError = req;\n              if (!(req.response && isInvalidError(req.response.data))) {\n                this._errorRequests.push(req);\n              }\n              this.notify('isLoading');\n              notifyErrorsStateChanged(this);\n              break;\n            case 'fulfilled':\n              this.pendingCount--;\n              this.fulfilledCount++;\n              this.notify('isLoading');\n              this.notify('isDirty');\n              notifyErrorsStateChanged(this);\n              this._errorRequests = [];\n              this._lastError = null;\n              break;\n          }\n        }\n      };\n      requests.subscribeForRecord(identity, handleRequest);\n\n      // we instantiate lazily\n      // so we grab anything we don't have yet\n      const lastRequest = requests.getLastRequestForRecord(identity);\n      if (lastRequest) {\n        handleRequest(lastRequest);\n      }\n      this.handler = notifications.subscribe(identity, (identifier, type, key) => {\n        switch (type) {\n          case 'state':\n            this.notify('isSaved');\n            this.notify('isNew');\n            this.notify('isDeleted');\n            this.notify('isDirty');\n            break;\n          case 'attributes':\n            this.notify('isEmpty');\n            this.notify('isDirty');\n            break;\n          case 'errors':\n            this.updateInvalidErrors(this.record.errors);\n            this.notify('isValid');\n            break;\n        }\n      });\n    }\n    destroy() {\n      (0, _store.storeFor)(this.record).notifications.unsubscribe(this.handler);\n    }\n    notify(key) {\n      notifySignal(this, key);\n    }\n    updateInvalidErrors(errors) {\n      (true && !(typeof this.cache.getErrors === 'function') && (0, _debug.assert)(`Expected the Cache instance for ${this.identifier.lid}  to implement getErrors(identifier)`, typeof this.cache.getErrors === 'function'));\n      const jsonApiErrors = this.cache.getErrors(this.identifier);\n      errors.clear();\n      for (let i = 0; i < jsonApiErrors.length; i++) {\n        const error = jsonApiErrors[i];\n        if (error.source && error.source.pointer) {\n          const keyMatch = error.source.pointer.match(SOURCE_POINTER_REGEXP);\n          let key;\n          if (keyMatch) {\n            key = keyMatch[2];\n          } else if (error.source.pointer.search(SOURCE_POINTER_PRIMARY_REGEXP) !== -1) {\n            key = PRIMARY_ATTRIBUTE_KEY;\n          }\n          if (key) {\n            const errMsg = error.detail || error.title;\n            (true && !(errMsg) && (0, _debug.assert)(`Expected field error to have a detail or title to use as the message`, errMsg));\n            errors.add(key, errMsg);\n          }\n        }\n      }\n    }\n    cleanErrorRequests() {\n      this.notify('isValid');\n      this.notify('isError');\n      this.notify('adapterError');\n      this._errorRequests = [];\n      this._lastError = null;\n    }\n    get isLoading() {\n      return !this.isLoaded && this.pendingCount > 0 && this.fulfilledCount === 0;\n    }\n    get isLoaded() {\n      if (this.isNew) {\n        return true;\n      }\n      return this.fulfilledCount > 0 || !this.isEmpty;\n    }\n    get isSaved() {\n      const rd = this.cache;\n      if (this.isDeleted) {\n        (true && !(typeof rd.isDeletionCommitted === 'function') && (0, _debug.assert)(`Expected Cache to implement isDeletionCommitted()`, typeof rd.isDeletionCommitted === 'function'));\n        return rd.isDeletionCommitted(this.identifier);\n      }\n      if (this.isNew || this.isEmpty || !this.isValid || this.isDirty || this.isLoading) {\n        return false;\n      }\n      return true;\n    }\n    get isEmpty() {\n      const rd = this.cache;\n      // TODO this is not actually an RFC'd concept. Determine the\n      // correct heuristic to replace this with.\n      (true && !(typeof rd.isEmpty === 'function') && (0, _debug.assert)(`Expected Cache to implement isEmpty()`, typeof rd.isEmpty === 'function'));\n      return !this.isNew && rd.isEmpty(this.identifier);\n    }\n    get isNew() {\n      const rd = this.cache;\n      (true && !(typeof rd.isNew === 'function') && (0, _debug.assert)(`Expected Cache to implement isNew()`, typeof rd.isNew === 'function'));\n      return rd.isNew(this.identifier);\n    }\n    get isDeleted() {\n      const rd = this.cache;\n      (true && !(typeof rd.isDeleted === 'function') && (0, _debug.assert)(`Expected Cache to implement isDeleted()`, typeof rd.isDeleted === 'function'));\n      return rd.isDeleted(this.identifier);\n    }\n    get isValid() {\n      return this.record.errors.length === 0;\n    }\n    get isDirty() {\n      const rd = this.cache;\n      if (this.isEmpty || rd.isDeletionCommitted(this.identifier) || this.isDeleted && this.isNew) {\n        return false;\n      }\n      return this.isDeleted || this.isNew || rd.hasChangedAttrs(this.identifier);\n    }\n    get isError() {\n      const errorReq = this._errorRequests[this._errorRequests.length - 1];\n      if (!errorReq) {\n        return false;\n      } else {\n        return true;\n      }\n    }\n    get adapterError() {\n      const request = this._lastError;\n      if (!request) {\n        return null;\n      }\n      return request.state === 'rejected' && request.response.data;\n    }\n    get isPreloaded() {\n      return !this.isEmpty && this.isLoading;\n    }\n    get stateName() {\n      // we might be empty while loading so check this first\n      if (this.isLoading) {\n        return 'root.loading';\n\n        // got nothing yet or were unloaded\n      } else if (this.isEmpty) {\n        return 'root.empty';\n\n        // deleted substates\n      } else if (this.isDeleted) {\n        if (this.isSaving) {\n          return 'root.deleted.inFlight';\n        } else if (this.isSaved) {\n          // TODO ensure isSaved isn't true from previous requests\n          return 'root.deleted.saved';\n        } else if (!this.isValid) {\n          return 'root.deleted.invalid';\n        } else {\n          return 'root.deleted.uncommitted';\n        }\n\n        // loaded.created substates\n      } else if (this.isNew) {\n        if (this.isSaving) {\n          return 'root.loaded.created.inFlight';\n        } else if (!this.isValid) {\n          return 'root.loaded.created.invalid';\n        }\n        return 'root.loaded.created.uncommitted';\n\n        // loaded.updated substates\n      } else if (this.isSaving) {\n        return 'root.loaded.updated.inFlight';\n      } else if (!this.isValid) {\n        return 'root.loaded.updated.invalid';\n      } else if (this.isDirty) {\n        return 'root.loaded.updated.uncommitted';\n\n        // if nothing remains, we are loaded saved!\n      } else {\n        return 'root.loaded.saved';\n      }\n    }\n    get dirtyType() {\n      // we might be empty while loading so check this first\n      if (this.isLoading || this.isEmpty) {\n        return '';\n\n        // deleted substates\n      } else if (this.isDirty && this.isDeleted) {\n        return 'deleted';\n\n        // loaded.created substates\n      } else if (this.isNew) {\n        return 'created';\n\n        // loaded.updated substates\n      } else if (this.isSaving || !this.isValid || this.isDirty) {\n        return 'updated';\n\n        // if nothing remains, we are loaded saved!\n      } else {\n        return '';\n      }\n    }\n  }, _applyDecoratedDescriptor(_class$1.prototype, \"isLoading\", [tagged], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isLoading\"), _class$1.prototype), _applyDecoratedDescriptor(_class$1.prototype, \"isLoaded\", [tagged], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isLoaded\"), _class$1.prototype), _applyDecoratedDescriptor(_class$1.prototype, \"isSaved\", [tagged], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isSaved\"), _class$1.prototype), _applyDecoratedDescriptor(_class$1.prototype, \"isEmpty\", [tagged], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isEmpty\"), _class$1.prototype), _applyDecoratedDescriptor(_class$1.prototype, \"isNew\", [tagged], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isNew\"), _class$1.prototype), _applyDecoratedDescriptor(_class$1.prototype, \"isDeleted\", [tagged], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isDeleted\"), _class$1.prototype), _applyDecoratedDescriptor(_class$1.prototype, \"isValid\", [tagged], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isValid\"), _class$1.prototype), _applyDecoratedDescriptor(_class$1.prototype, \"isDirty\", [tagged], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isDirty\"), _class$1.prototype), _applyDecoratedDescriptor(_class$1.prototype, \"isError\", [tagged], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isError\"), _class$1.prototype), _applyDecoratedDescriptor(_class$1.prototype, \"adapterError\", [tagged], Object.getOwnPropertyDescriptor(_class$1.prototype, \"adapterError\"), _class$1.prototype), _applyDecoratedDescriptor(_class$1.prototype, \"isPreloaded\", [_tracking.cached], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isPreloaded\"), _class$1.prototype), _applyDecoratedDescriptor(_class$1.prototype, \"stateName\", [_tracking.cached], Object.getOwnPropertyDescriptor(_class$1.prototype, \"stateName\"), _class$1.prototype), _applyDecoratedDescriptor(_class$1.prototype, \"dirtyType\", [_tracking.cached], Object.getOwnPropertyDescriptor(_class$1.prototype, \"dirtyType\"), _class$1.prototype), _class$1);\n  (0, _private2.defineSignal)(RecordState.prototype, 'isSaving', false);\n  function notifyErrorsStateChanged(state) {\n    state.notify('isValid');\n    state.notify('isError');\n    state.notify('adapterError');\n  }\n  var _class, _class2;\n  function findPossibleInverses(type, inverseType, name, relationshipsSoFar) {\n    const possibleRelationships = relationshipsSoFar || [];\n    const relationshipMap = inverseType.relationships;\n    if (!relationshipMap) {\n      return possibleRelationships;\n    }\n    const relationshipsForType = relationshipMap.get(type.modelName);\n    const relationships = Array.isArray(relationshipsForType) ? relationshipsForType.filter(relationship => {\n      const optionsForRelationship = relationship.options;\n      if (!optionsForRelationship.inverse && optionsForRelationship.inverse !== null) {\n        return true;\n      }\n      return name === optionsForRelationship.inverse;\n    }) : null;\n    if (relationships) {\n      possibleRelationships.push.apply(possibleRelationships, relationships);\n    }\n\n    //Recurse to support polymorphism\n    if (type.superclass) {\n      findPossibleInverses(type.superclass, inverseType, name, possibleRelationships);\n    }\n    return possibleRelationships;\n  }\n\n  /*\n   * This decorator allows us to lazily compute\n   * an expensive getter on first-access and thereafter\n   * never recompute it.\n   */\n  function computeOnce(target, propertyName, desc) {\n    const cache = new WeakMap();\n    const getter = desc.get;\n    desc.get = function () {\n      let meta = cache.get(this);\n      if (!meta) {\n        meta = {\n          hasComputed: false,\n          value: undefined\n        };\n        cache.set(this, meta);\n      }\n      if (!meta.hasComputed) {\n        meta.value = getter.call(this);\n        meta.hasComputed = true;\n      }\n      return meta.value;\n    };\n    return desc;\n  }\n\n  /**\n    Base class from which Models can be defined.\n  \n    ```js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class User extends Model {\n      @attr name;\n    }\n    ```\n  \n    Models are used both to define the static schema for a\n    particular resource type as well as the class to instantiate\n    to present that data from cache.\n  \n    @class Model\n    @public\n    @extends Ember.EmberObject\n  */\n  let Model = _exports.M = (_class = (_class2 = class Model extends _object.default {\n    constructor(...args) {\n      super(...args);\n      this.___private_notifications = void 0;\n    }\n    init(options = {}) {\n      {\n        if (!options._secretInit && !options._createProps) {\n          throw new Error('You should not call `create` on a model. Instead, call `store.createRecord` with the attributes you would like to set.');\n        }\n      }\n      const createProps = options._createProps;\n      const _secretInit = options._secretInit;\n      options._createProps = null;\n      options._secretInit = null;\n      const store = this.store = _secretInit.store;\n      super.init(options);\n      this[_symbols.RecordStore] = store;\n      const identity = _secretInit.identifier;\n      _secretInit.cb(this, _secretInit.cache, identity, _secretInit.store);\n      this.___recordState = new RecordState(this);\n      this.setProperties(createProps);\n      const notifications = store.notifications;\n      this.___private_notifications = notifications.subscribe(identity, (identifier, type, field) => {\n        notifyChanges(identifier, type, field, this, store);\n      });\n    }\n    destroy() {\n      const identifier = (0, _store.recordIdentifierFor)(this);\n      this.___recordState?.destroy();\n      const store = (0, _store.storeFor)(this);\n      store.notifications.unsubscribe(this.___private_notifications);\n      // Legacy behavior is to notify the relationships on destroy\n      // such that they \"clear\". It's uncertain this behavior would\n      // be good for a new model paradigm, likely cheaper and safer\n      // to simply not notify, for this reason the store does not itself\n      // notify individual changes once the delete has been signaled,\n      // this decision is left to model instances.\n\n      this.eachRelationship((name, meta) => {\n        if (meta.kind === 'belongsTo') {\n          this.notifyPropertyChange(name);\n        }\n      });\n      LEGACY_SUPPORT.get(this)?.destroy();\n      LEGACY_SUPPORT.delete(this);\n      LEGACY_SUPPORT.delete(identifier);\n      super.destroy();\n    }\n\n    /**\n      If this property is `true` the record is in the `empty`\n      state. Empty is the first state all records enter after they have\n      been created. Most records created by the store will quickly\n      transition to the `loading` state if data needs to be fetched from\n      the server or the `created` state if the record is created on the\n      client. A record can also enter the empty state if the adapter is\n      unable to locate the record.\n       @property isEmpty\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isEmpty() {\n      return this.currentState.isEmpty;\n    }\n\n    /**\n      If this property is `true` the record is in the `loading` state. A\n      record enters this state when the store asks the adapter for its\n      data. It remains in this state until the adapter provides the\n      requested data.\n       @property isLoading\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isLoading() {\n      return this.currentState.isLoading;\n    }\n\n    /**\n      If this property is `true` the record is in the `loaded` state. A\n      record enters this state when its data is populated. Most of a\n      record's lifecycle is spent inside substates of the `loaded`\n      state.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.isLoaded; // true\n       store.findRecord('model', 1).then(function(model) {\n        model.isLoaded; // true\n      });\n      ```\n       @property isLoaded\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isLoaded() {\n      return this.currentState.isLoaded;\n    }\n\n    /**\n      If this property is `true` the record is in the `dirty` state. The\n      record has local changes that have not yet been saved by the\n      adapter. This includes records that have been created (but not yet\n      saved) or deleted.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.hasDirtyAttributes; // true\n       store.findRecord('model', 1).then(function(model) {\n        model.hasDirtyAttributes; // false\n        model.set('foo', 'some value');\n        model.hasDirtyAttributes; // true\n      });\n      ```\n       @since 1.13.0\n      @property hasDirtyAttributes\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get hasDirtyAttributes() {\n      return this.currentState.isDirty;\n    }\n\n    /**\n      If this property is `true` the record is in the `saving` state. A\n      record enters the saving state when `save` is called, but the\n      adapter has not yet acknowledged that the changes have been\n      persisted to the backend.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.isSaving; // false\n      let promise = record.save();\n      record.isSaving; // true\n      promise.then(function() {\n        record.isSaving; // false\n      });\n      ```\n       @property isSaving\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isSaving() {\n      return this.currentState.isSaving;\n    }\n\n    /**\n      If this property is `true` the record is in the `deleted` state\n      and has been marked for deletion. When `isDeleted` is true and\n      `hasDirtyAttributes` is true, the record is deleted locally but the deletion\n      was not yet persisted. When `isSaving` is true, the change is\n      in-flight. When both `hasDirtyAttributes` and `isSaving` are false, the\n      change has persisted.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.isDeleted;    // false\n      record.deleteRecord();\n       // Locally deleted\n      record.isDeleted;           // true\n      record.hasDirtyAttributes;  // true\n      record.isSaving;            // false\n       // Persisting the deletion\n      let promise = record.save();\n      record.isDeleted;    // true\n      record.isSaving;     // true\n       // Deletion Persisted\n      promise.then(function() {\n        record.isDeleted;          // true\n        record.isSaving;           // false\n        record.hasDirtyAttributes; // false\n      });\n      ```\n       @property isDeleted\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isDeleted() {\n      return this.currentState.isDeleted;\n    }\n\n    /**\n      If this property is `true` the record is in the `new` state. A\n      record will be in the `new` state when it has been created on the\n      client and the adapter has not yet report that it was successfully\n      saved.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.isNew; // true\n       record.save().then(function(model) {\n        model.isNew; // false\n      });\n      ```\n       @property isNew\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isNew() {\n      return this.currentState.isNew;\n    }\n\n    /**\n      If this property is `true` the record is in the `valid` state.\n       A record will be in the `valid` state when the adapter did not report any\n      server-side validation failures.\n       @property isValid\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isValid() {\n      return this.currentState.isValid;\n    }\n\n    /**\n      If the record is in the dirty state this property will report what\n      kind of change has caused it to move into the dirty\n      state. Possible values are:\n       - `created` The record has been created by the client and not yet saved to the adapter.\n      - `updated` The record has been updated by the client and not yet saved to the adapter.\n      - `deleted` The record has been deleted by the client and not yet saved to the adapter.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.dirtyType; // 'created'\n      ```\n       @property dirtyType\n      @public\n      @type {String}\n      @readOnly\n    */\n    get dirtyType() {\n      return this.currentState.dirtyType;\n    }\n\n    /**\n      If `true` the adapter reported that it was unable to save local\n      changes to the backend for any reason other than a server-side\n      validation error.\n       Example\n       ```javascript\n      record.isError; // false\n      record.set('foo', 'valid value');\n      record.save().then(null, function() {\n        record.isError; // true\n      });\n      ```\n       @property isError\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isError() {\n      return this.currentState.isError;\n    }\n    set isError(v) {\n      {\n        throw new Error(`isError is not directly settable`);\n      }\n    }\n\n    /**\n      If `true` the store is attempting to reload the record from the adapter.\n       Example\n       ```javascript\n      record.isReloading; // false\n      record.reload();\n      record.isReloading; // true\n      ```\n       @property isReloading\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n\n    /**\n      All ember models have an id property. This is an identifier\n      managed by an external source. These are always coerced to be\n      strings before being used internally. Note when declaring the\n      attributes for a model it is an error to declare an id\n      attribute.\n       ```javascript\n      let record = store.createRecord('model');\n      record.id; // null\n       store.findRecord('model', 1).then(function(model) {\n        model.id; // '1'\n      });\n      ```\n       @property id\n      @public\n      @type {String}\n    */\n    get id() {\n      // this guard exists, because some dev-only deprecation code\n      // (addListener via validatePropertyInjections) invokes toString before the\n      // object is real.\n      {\n        try {\n          return (0, _store.recordIdentifierFor)(this).id;\n        } catch {\n          return void 0;\n        }\n      }\n      return (0, _store.recordIdentifierFor)(this).id;\n    }\n    set id(id) {\n      const normalizedId = (0, _private.coerceId)(id);\n      const identifier = (0, _store.recordIdentifierFor)(this);\n      const didChange = normalizedId !== identifier.id;\n      (true && !(!didChange || identifier.id === null) && (0, _debug.assert)(`Cannot set ${identifier.type} record's id to ${id}, because id is already ${identifier.id}`, !didChange || identifier.id === null));\n      if (normalizedId !== null && didChange) {\n        this.store._instanceCache.setRecordId(identifier, normalizedId);\n        this.store.notifications.notify(identifier, 'identity');\n      }\n    }\n    toString() {\n      return `<model::${this.constructor.modelName}:${this.id}>`;\n    }\n\n    /**\n      @property currentState\n      @private\n      @type {Object}\n    */\n    // TODO we can probably make this a computeOnce\n    // we likely do not need to notify the currentState root anymore\n    get currentState() {\n      // descriptors are called with the wrong `this` context during mergeMixins\n      // when using legacy/classic ember classes. Basically: lazy in prod and eager in dev.\n      // so we do this to try to steer folks to the nicer \"dont user currentState\"\n      // error.\n\n      return this.___recordState;\n    }\n    set currentState(_v) {\n      throw new Error('cannot set currentState');\n    }\n\n    /**\n      The store service instance which created this record instance\n      @property store\n      @public\n     */\n\n    /**\n      When the record is in the `invalid` state this object will contain\n      any errors returned by the adapter. When present the errors hash\n      contains keys corresponding to the invalid property names\n      and values which are arrays of Javascript objects with two keys:\n       - `message` A string containing the error message from the backend\n      - `attribute` The name of the property associated with this error message\n       ```javascript\n      record.errors.length; // 0\n      record.set('foo', 'invalid value');\n      record.save().catch(function() {\n        record.errors.foo;\n        // [{message: 'foo should be a number.', attribute: 'foo'}]\n      });\n      ```\n       The `errors` property is useful for displaying error messages to\n      the user.\n       ```handlebars\n      <label>Username: <Input @value={{@model.username}} /> </label>\n      {{#each @model.errors.username as |error|}}\n        <div class=\"error\">\n          {{error.message}}\n        </div>\n      {{/each}}\n      <label>Email: <Input @value={{@model.email}} /> </label>\n      {{#each @model.errors.email as |error|}}\n        <div class=\"error\">\n          {{error.message}}\n        </div>\n      {{/each}}\n      ```\n        You can also access the special `messages` property on the error\n      object to get an array of all the error strings.\n       ```handlebars\n      {{#each @model.errors.messages as |message|}}\n        <div class=\"error\">\n          {{message}}\n        </div>\n      {{/each}}\n      ```\n       @property errors\n      @public\n      @type {Errors}\n    */\n    get errors() {\n      const errors = Errors.create({\n        __record: this\n      });\n      this.currentState.updateInvalidErrors(errors);\n      return errors;\n    }\n\n    /**\n      This property holds the `AdapterError` object with which\n      last adapter operation was rejected.\n       @property adapterError\n      @public\n      @type {AdapterError}\n    */\n    get adapterError() {\n      return this.currentState.adapterError;\n    }\n    set adapterError(v) {\n      throw new Error(`adapterError is not directly settable`);\n    }\n\n    /**\n      Create a JSON representation of the record, using the serialization\n      strategy of the store's adapter.\n      `serialize` takes an optional hash as a parameter, currently\n      supported options are:\n      - `includeId`: `true` if the record's ID should be included in the\n        JSON representation.\n       @method serialize\n      @public\n      @param {Object} options\n      @return {Object} an object whose values are primitive JSON values only\n    */\n\n    /*\n      We hook the default implementation to ensure\n      our tagged properties are properly notified\n      as well. We still super for everything because\n      sync observers require a direct call occuring\n      to trigger their flush. We wouldn't need to\n      super in 4.0+ where sync observers are removed.\n     */\n    notifyPropertyChange(prop) {\n      notifySignal(this, prop);\n      super.notifyPropertyChange(prop);\n    }\n\n    /**\n      Marks the record as deleted but does not save it. You must call\n      `save` afterwards if you want to persist it. You might use this\n      method if you want to allow the user to still `rollbackAttributes()`\n      after a delete was made.\n       Example\n       ```js\n      import Component from '@glimmer/component';\n       export default class extends Component {\n        softDelete = () => {\n          this.args.model.deleteRecord();\n        }\n         confirm = () => {\n          this.args.model.save();\n        }\n         undo = () => {\n          this.args.model.rollbackAttributes();\n        }\n      }\n      ```\n       @method deleteRecord\n      @public\n    */\n\n    /**\n      Same as `deleteRecord`, but saves the record immediately.\n       Example\n       ```js\n      import Component from '@glimmer/component';\n       export default class extends Component {\n        delete = () => {\n          this.args.model.destroyRecord().then(function() {\n            this.transitionToRoute('model.index');\n          });\n        }\n      }\n      ```\n       If you pass an object on the `adapterOptions` property of the options\n      argument it will be passed to your adapter via the snapshot\n       ```js\n      record.destroyRecord({ adapterOptions: { subscribe: false } });\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default class PostAdapter extends MyCustomAdapter {\n        deleteRecord(store, type, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      }\n      ```\n       @method destroyRecord\n      @public\n      @param {Object} options\n      @return {Promise} a promise that will be resolved when the adapter returns\n      successfully or rejected if the adapter returns with an error.\n    */\n\n    /**\n      Unloads the record from the store. This will not send a delete request\n      to your server, it just unloads the record from memory.\n       @method unloadRecord\n      @public\n    */\n\n    /**\n      Returns an object, whose keys are changed properties, and value is\n      an [oldProp, newProp] array.\n       The array represents the diff of the canonical state with the local state\n      of the model. Note: if the model is created locally, the canonical state is\n      empty since the adapter hasn't acknowledged the attributes yet:\n       Example\n       ```app/models/mascot.js\n      import Model, { attr } from '@ember-data/model';\n       export default class MascotModel extends Model {\n        @attr('string') name;\n        @attr('boolean', {\n          defaultValue: false\n        })\n        isAdmin;\n      }\n      ```\n       ```javascript\n      let mascot = store.createRecord('mascot');\n       mascot.changedAttributes(); // {}\n       mascot.set('name', 'Tomster');\n      mascot.changedAttributes(); // { name: [undefined, 'Tomster'] }\n       mascot.set('isAdmin', true);\n      mascot.changedAttributes(); // { isAdmin: [undefined, true], name: [undefined, 'Tomster'] }\n       mascot.save().then(function() {\n        mascot.changedAttributes(); // {}\n         mascot.set('isAdmin', false);\n        mascot.changedAttributes(); // { isAdmin: [true, false] }\n      });\n      ```\n       @method changedAttributes\n      @public\n      @return {Object} an object, whose keys are changed properties,\n        and value is an [oldProp, newProp] array.\n    */\n\n    /**\n      If the model `hasDirtyAttributes` this function will discard any unsaved\n      changes. If the model `isNew` it will be removed from the store.\n       Example\n       ```javascript\n      record.name; // 'Untitled Document'\n      record.set('name', 'Doc 1');\n      record.name; // 'Doc 1'\n      record.rollbackAttributes();\n      record.name; // 'Untitled Document'\n      ```\n       @since 1.13.0\n      @method rollbackAttributes\n      @public\n    */\n\n    /**\n      @method _createSnapshot\n      @private\n    */\n    // TODO @deprecate in favor of a public API or examples of how to test successfully\n\n    /**\n      Save the record and persist any changes to the record to an\n      external source via the adapter.\n       Example\n       ```javascript\n      record.set('name', 'Tomster');\n      record.save().then(function() {\n        // Success callback\n      }, function() {\n        // Error callback\n      });\n      ```\n      If you pass an object using the `adapterOptions` property of the options\n     argument it will be passed to your adapter via the snapshot.\n       ```js\n      record.save({ adapterOptions: { subscribe: false } });\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default class PostAdapter extends MyCustomAdapter {\n        updateRecord(store, type, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      }\n      ```\n       @method save\n      @public\n      @param {Object} options\n      @return {Promise} a promise that will be resolved when the adapter returns\n      successfully or rejected if the adapter returns with an error.\n    */\n\n    /**\n      Reload the record from the adapter.\n       This will only work if the record has already finished loading.\n       Example\n       ```js\n      import Component from '@glimmer/component';\n       export default class extends Component {\n        async reload = () => {\n          await this.args.model.reload();\n          // do something with the reloaded model\n        }\n      }\n      ```\n       @method reload\n      @public\n      @param {Object} options optional, may include `adapterOptions` hash which will be passed to adapter request\n      @return {Promise} a promise that will be resolved with the record when the\n      adapter returns successfully or rejected if the adapter returns\n      with an error.\n    */\n\n    attr() {\n      (true && !(false) && (0, _debug.assert)('The `attr` method is not available on Model, a Snapshot was probably expected. Are you passing a Model instead of a Snapshot to your serializer?', false));\n    }\n\n    /**\n      Get the reference for the specified belongsTo relationship.\n       For instance, given the following model\n       ```app/models/blog-post.js\n      import Model, { belongsTo } from '@ember-data/model';\n       export default class BlogPost extends Model {\n        @belongsTo('user', { async: true, inverse: null }) author;\n      }\n      ```\n       Then the reference for the author relationship would be\n      retrieved from a record instance like so:\n       ```js\n      blogPost.belongsTo('author');\n      ```\n       A `BelongsToReference` is a low-level API that allows access\n      and manipulation of a belongsTo relationship.\n       It is especially useful when you're dealing with `async` relationships\n      as it allows synchronous access to the relationship data if loaded, as\n      well as APIs for loading, reloading the data or accessing available\n      information without triggering a load.\n       It may also be useful when using `sync` relationships that need to be\n      loaded/reloaded with more precise timing than marking the\n      relationship as `async` and relying on autofetch would have allowed.\n       However,keep in mind that marking a relationship as `async: false` will introduce\n      bugs into your application if the data is not always guaranteed to be available\n      by the time the relationship is accessed. Ergo, it is recommended when using this\n      approach to utilize `links` for unloaded relationship state instead of identifiers.\n       Reference APIs are entangled with the relationship's underlying state,\n      thus any getters or cached properties that utilize these will properly\n      invalidate if the relationship state changes.\n       References are \"stable\", meaning that multiple calls to retrieve the reference\n      for a given relationship will always return the same HasManyReference.\n       @method belongsTo\n      @public\n      @param {String} name of the relationship\n      @since 2.5.0\n      @return {BelongsToReference} reference for this relationship\n    */\n\n    /**\n      Get the reference for the specified hasMany relationship.\n       For instance, given the following model\n       ```app/models/blog-post.js\n      import Model, { hasMany } from '@ember-data/model';\n       export default class BlogPost extends Model {\n        @hasMany('comment', { async: true, inverse: null }) comments;\n      }\n      ```\n       Then the reference for the comments relationship would be\n      retrieved from a record instance like so:\n       ```js\n      blogPost.hasMany('comments');\n      ```\n       A `HasManyReference` is a low-level API that allows access\n      and manipulation of a hasMany relationship.\n       It is especially useful when you are dealing with `async` relationships\n      as it allows synchronous access to the relationship data if loaded, as\n      well as APIs for loading, reloading the data or accessing available\n      information without triggering a load.\n       It may also be useful when using `sync` relationships with `@ember-data/model`\n      that need to be loaded/reloaded with more precise timing than marking the\n      relationship as `async` and relying on autofetch would have allowed.\n       However,keep in mind that marking a relationship as `async: false` will introduce\n      bugs into your application if the data is not always guaranteed to be available\n      by the time the relationship is accessed. Ergo, it is recommended when using this\n      approach to utilize `links` for unloaded relationship state instead of identifiers.\n       Reference APIs are entangled with the relationship's underlying state,\n      thus any getters or cached properties that utilize these will properly\n      invalidate if the relationship state changes.\n       References are \"stable\", meaning that multiple calls to retrieve the reference\n      for a given relationship will always return the same HasManyReference.\n       @method hasMany\n      @public\n      @param {String} name of the relationship\n      @since 2.5.0\n      @return {HasManyReference} reference for this relationship\n    */\n\n    /**\n     Given a callback, iterates over each of the relationships in the model,\n     invoking the callback with the name of each relationship and its relationship\n     descriptor.\n       The callback method you provide should have the following signature (all\n     parameters are optional):\n      ```javascript\n     function(name, descriptor);\n     ```\n      - `name` the name of the current property in the iteration\n     - `descriptor` the meta object that describes this relationship\n      The relationship descriptor argument is an object with the following properties.\n      - **name** <span class=\"type\">String</span> the name of this relationship on the Model\n     - **kind** <span class=\"type\">String</span> \"hasMany\" or \"belongsTo\"\n     - **options** <span class=\"type\">Object</span> the original options hash passed when the relationship was declared\n     - **parentType** <span class=\"type\">Model</span> the type of the Model that owns this relationship\n     - **type** <span class=\"type\">String</span> the type name of the related Model\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.\n      Example\n      ```app/serializers/application.js\n     import JSONSerializer from '@ember-data/serializer/json';\n      export default class ApplicationSerializer extends JSONSerializer {\n        serialize(record, options) {\n        let json = {};\n         record.eachRelationship(function(name, descriptor) {\n          if (descriptor.kind === 'hasMany') {\n            let serializedHasManyName = name.toUpperCase() + '_IDS';\n            json[serializedHasManyName] = record.get(name).map(r => r.id);\n          }\n        });\n         return json;\n      }\n    }\n     ```\n      @method eachRelationship\n      @public\n     @param {Function} callback the callback to invoke\n     @param {any} binding the value to which the callback's `this` should be bound\n     */\n    eachRelationship(callback, binding) {\n      this.constructor.eachRelationship(callback, binding);\n    }\n    relationshipFor(name) {\n      return this.constructor.relationshipsByName.get(name);\n    }\n    inverseFor(name) {\n      return this.constructor.inverseFor(name, (0, _store.storeFor)(this));\n    }\n    eachAttribute(callback, binding) {\n      this.constructor.eachAttribute(callback, binding);\n    }\n    /*\n     These class methods below provide relationship\n     introspection abilities about relationships.\n      A note about the computed properties contained here:\n      **These properties are effectively sealed once called for the first time.**\n     To avoid repeatedly doing expensive iteration over a model's fields, these\n     values are computed once and then cached for the remainder of the runtime of\n     your application.\n      If your application needs to modify a class after its initial definition\n     (for example, using `reopen()` to add additional attributes), make sure you\n     do it before using your model with the store, which uses these properties\n     extensively.\n     */\n\n    /**\n     For a given relationship name, returns the model type of the relationship.\n      For example, if you define a model like this:\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment') comments;\n     }\n     ```\n      Calling `store.modelFor('post').typeForRelationship('comments', store)` will return `Comment`.\n      @method typeForRelationship\n      @public\n     @static\n     @param {String} name the name of the relationship\n     @param {store} store an instance of Store\n     @return {Model} the type of the relationship, or undefined\n     */\n    static typeForRelationship(name, store) {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const relationship = this.relationshipsByName.get(name);\n      return relationship && store.modelFor(relationship.type);\n    }\n    static get inverseMap() {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      return Object.create(null);\n    }\n\n    /**\n     Find the relationship which is the inverse of the one asked for.\n      For example, if you define models like this:\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n        @hasMany('message') comments;\n      }\n     ```\n      ```app/models/message.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class MessageModel extends Model {\n        @belongsTo('post') owner;\n      }\n     ```\n      ``` js\n     store.modelFor('post').inverseFor('comments', store) // { type: App.Message, name: 'owner', kind: 'belongsTo' }\n     store.modelFor('message').inverseFor('owner', store) // { type: App.Post, name: 'comments', kind: 'hasMany' }\n     ```\n      @method inverseFor\n      @public\n     @static\n     @param {String} name the name of the relationship\n     @param {Store} store\n     @return {Object} the inverse relationship, or null\n     */\n    static inverseFor(name, store) {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const inverseMap = this.inverseMap;\n      if (inverseMap[name]) {\n        return inverseMap[name];\n      } else {\n        const inverse = this._findInverseFor(name, store);\n        inverseMap[name] = inverse;\n        return inverse;\n      }\n    }\n\n    //Calculate the inverse, ignoring the cache\n    static _findInverseFor(name, store) {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const relationship = this.relationshipsByName.get(name);\n      const {\n        options\n      } = relationship;\n      const isPolymorphic = options.polymorphic;\n\n      //If inverse is manually specified to be null, like  `comments: hasMany('message', { inverse: null })`\n      const isExplicitInverseNull = options.inverse === null;\n      const isAbstractType = !isExplicitInverseNull && isPolymorphic && !store.getSchemaDefinitionService().doesTypeExist(relationship.type);\n      if (isExplicitInverseNull || isAbstractType) {\n        (true && !(!isPolymorphic || isExplicitInverseNull) && (0, _debug.assert)(`No schema for the abstract type '${relationship.type}' for the polymorphic relationship '${name}' on '${this.modelName}' was provided by the SchemaDefinitionService.`, !isPolymorphic || isExplicitInverseNull));\n        return null;\n      }\n      let fieldOnInverse, inverseKind, inverseRelationship, inverseOptions;\n      const inverseSchema = this.typeForRelationship(name, store);\n\n      // if the type does not exist and we are not polymorphic\n      //If inverse is specified manually, return the inverse\n      if (options.inverse !== undefined) {\n        fieldOnInverse = options.inverse;\n        inverseRelationship = inverseSchema && inverseSchema.relationshipsByName.get(fieldOnInverse);\n        (true && !(inverseRelationship) && (0, _debug.assert)(`We found no field named '${fieldOnInverse}' on the schema for '${inverseSchema.modelName}' to be the inverse of the '${name}' relationship on '${this.modelName}'. This is most likely due to a missing field on your model definition.`, inverseRelationship)); // TODO probably just return the whole inverse here\n        inverseKind = inverseRelationship.kind;\n        inverseOptions = inverseRelationship.options;\n      } else {\n        //No inverse was specified manually, we need to use a heuristic to guess one\n        if (relationship.type === relationship.parentModelName) {\n          (true && (0, _debug.warn)(`Detected a reflexive relationship named '${name}' on the schema for '${relationship.type}' without an inverse option. Look at https://guides.emberjs.com/current/models/relationships/#toc_reflexive-relations for how to explicitly specify inverses.`, false, {\n            id: 'ds.model.reflexive-relationship-without-inverse'\n          }));\n        }\n        let possibleRelationships = findPossibleInverses(this, inverseSchema, name);\n        if (possibleRelationships.length === 0) {\n          return null;\n        }\n        {\n          const filteredRelationships = possibleRelationships.filter(possibleRelationship => {\n            const optionsForRelationship = possibleRelationship.options;\n            return name === optionsForRelationship.inverse;\n          });\n          (true && !(filteredRelationships.length < 2) && (0, _debug.assert)(\"You defined the '\" + name + \"' relationship on \" + this + ', but you defined the inverse relationships of type ' + inverseSchema.toString() + ' multiple times. Look at https://guides.emberjs.com/current/models/relationships/#toc_explicit-inverses for how to explicitly specify inverses', filteredRelationships.length < 2));\n        }\n        const explicitRelationship = possibleRelationships.find(relationship => relationship.options.inverse === name);\n        if (explicitRelationship) {\n          possibleRelationships = [explicitRelationship];\n        }\n        (true && !(possibleRelationships.length === 1) && (0, _debug.assert)(\"You defined the '\" + name + \"' relationship on \" + this + ', but multiple possible inverse relationships of type ' + this + ' were found on ' + inverseSchema + '. Look at https://guides.emberjs.com/current/models/relationships/#toc_explicit-inverses for how to explicitly specify inverses', possibleRelationships.length === 1));\n        fieldOnInverse = possibleRelationships[0].name;\n        inverseKind = possibleRelationships[0].kind;\n        inverseOptions = possibleRelationships[0].options;\n      }\n\n      // ensure inverse is properly configured\n      {\n        if (isPolymorphic) {\n          (true && !(inverseOptions.as) && (0, _debug.assert)(`Relationships that satisfy polymorphic relationships MUST define which abstract-type they are satisfying using 'as'. The field '${fieldOnInverse}' on type '${inverseSchema.modelName}' is misconfigured.`, inverseOptions.as));\n          (true && !(!!inverseOptions.as && relationship.type === inverseOptions.as) && (0, _debug.assert)(`options.as should match the expected type of the polymorphic relationship. Expected field '${fieldOnInverse}' on type '${inverseSchema.modelName}' to specify '${relationship.type}' but found '${inverseOptions.as}'`, !!inverseOptions.as && relationship.type === inverseOptions.as));\n        }\n      }\n\n      // ensure we are properly configured\n      {\n        if (inverseOptions.polymorphic) {\n          (true && !(options.as) && (0, _debug.assert)(`Relationships that satisfy polymorphic relationships MUST define which abstract-type they are satisfying using 'as'. The field '${name}' on type '${this.modelName}' is misconfigured.`, options.as));\n          (true && !(!!options.as && inverseRelationship.type === options.as) && (0, _debug.assert)(`options.as should match the expected type of the polymorphic relationship. Expected field '${name}' on type '${this.modelName}' to specify '${inverseRelationship.type}' but found '${options.as}'`, !!options.as && inverseRelationship.type === options.as));\n        }\n      }\n      (true && !(inverseOptions.inverse !== null) && (0, _debug.assert)(`The ${inverseSchema.modelName}:${fieldOnInverse} relationship declares 'inverse: null', but it was resolved as the inverse for ${this.modelName}:${name}.`, inverseOptions.inverse !== null));\n      return {\n        type: inverseSchema,\n        name: fieldOnInverse,\n        kind: inverseKind,\n        options: inverseOptions\n      };\n    }\n\n    /**\n     The model's relationships as a map, keyed on the type of the\n     relationship. The value of each entry is an array containing a descriptor\n     for each relationship with that type, describing the name of the relationship\n     as well as the type.\n      For example, given the following model definition:\n      ```app/models/blog.js\n     import Model, { belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n        @hasMany('post') posts;\n      }\n     ```\n      This computed property would return a map describing these\n     relationships, like this:\n      ```javascript\n     import Blog from 'app/models/blog';\n     import User from 'app/models/user';\n     import Post from 'app/models/post';\n      let relationships = Blog.relationships;\n     relationships.user;\n     //=> [ { name: 'users', kind: 'hasMany' },\n     //     { name: 'owner', kind: 'belongsTo' } ]\n     relationships.post;\n     //=> [ { name: 'posts', kind: 'hasMany' } ]\n     ```\n      @property relationships\n      @public\n     @static\n     @type Map\n     @readOnly\n     */\n\n    static get relationships() {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const map = new Map();\n      const relationshipsByName = this.relationshipsByName;\n\n      // Loop through each computed property on the class\n      relationshipsByName.forEach(desc => {\n        const {\n          type\n        } = desc;\n        if (!map.has(type)) {\n          map.set(type, []);\n        }\n        map.get(type).push(desc);\n      });\n      return map;\n    }\n\n    /**\n     A hash containing lists of the model's relationships, grouped\n     by the relationship kind. For example, given a model with this\n     definition:\n      ```app/models/blog.js\n     import Model, { belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n         @hasMany('post') posts;\n      }\n     ```\n      This property would contain the following:\n      ```javascript\n     import Blog from 'app/models/blog';\n      let relationshipNames = Blog.relationshipNames;\n     relationshipNames.hasMany;\n     //=> ['users', 'posts']\n     relationshipNames.belongsTo;\n     //=> ['owner']\n     ```\n      @property relationshipNames\n      @public\n     @static\n     @type Object\n     @readOnly\n     */\n    static get relationshipNames() {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const names = {\n        hasMany: [],\n        belongsTo: []\n      };\n      this.eachComputedProperty((name, meta) => {\n        if (meta.kind === 'hasMany' || meta.kind === 'belongsTo') {\n          names[meta.kind].push(name);\n        }\n      });\n      return names;\n    }\n\n    /**\n     An array of types directly related to a model. Each type will be\n     included once, regardless of the number of relationships it has with\n     the model.\n      For example, given a model with this definition:\n      ```app/models/blog.js\n     import Model, { belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n         @hasMany('post') posts;\n      }\n     ```\n      This property would contain the following:\n      ```javascript\n     import Blog from 'app/models/blog';\n      let relatedTypes = Blog.relatedTypes');\n     //=> ['user', 'post']\n     ```\n      @property relatedTypes\n     @public\n     @static\n     @type Array\n     @readOnly\n     */\n    static get relatedTypes() {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const types = [];\n      const rels = this.relationshipsObject;\n      const relationships = Object.keys(rels);\n\n      // create an array of the unique types involved\n      // in relationships\n      for (let i = 0; i < relationships.length; i++) {\n        const name = relationships[i];\n        const meta = rels[name];\n        const modelName = meta.type;\n        if (types.indexOf(modelName) === -1) {\n          types.push(modelName);\n        }\n      }\n      return types;\n    }\n\n    /**\n     A map whose keys are the relationships of a model and whose values are\n     relationship descriptors.\n      For example, given a model with this\n     definition:\n      ```app/models/blog.js\n     import Model, { belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n         @hasMany('post') posts;\n      }\n     ```\n      This property would contain the following:\n      ```javascript\n     import Blog from 'app/models/blog';\n      let relationshipsByName = Blog.relationshipsByName;\n     relationshipsByName.users;\n     //=> { name: 'users', kind: 'hasMany', type: 'user', options: Object }\n     relationshipsByName.owner;\n     //=> { name: 'owner', kind: 'belongsTo', type: 'user', options: Object }\n     ```\n      @property relationshipsByName\n      @public\n     @static\n     @type Map\n     @readOnly\n     */\n    static get relationshipsByName() {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const map = new Map();\n      const rels = this.relationshipsObject;\n      const relationships = Object.keys(rels);\n      for (let i = 0; i < relationships.length; i++) {\n        const name = relationships[i];\n        const value = rels[name];\n        map.set(value.name, value);\n      }\n      return map;\n    }\n    static get relationshipsObject() {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const relationships = Object.create(null);\n      const modelName = this.modelName;\n      this.eachComputedProperty((name, meta) => {\n        if (meta.kind === 'hasMany' || meta.kind === 'belongsTo') {\n          // TODO deprecate key being here\n          meta.key = name;\n          meta.name = name;\n          meta.parentModelName = modelName;\n          relationships[name] = meta;\n          (true && !(!(meta.options.inverse === null && meta.options.as?.length > 0)) && (0, _debug.assert)(`You should not specify both options.as and options.inverse as null on ${modelName}.${meta.name}, as if there is no inverse field there is no abstract type to conform to. You may have intended for this relationship to be polymorphic, or you may have mistakenly set inverse to null.`, !(meta.options.inverse === null && meta.options.as?.length > 0)));\n        }\n      });\n      return relationships;\n    }\n\n    /**\n     A map whose keys are the fields of the model and whose values are strings\n     describing the kind of the field. A model's fields are the union of all of its\n     attributes and relationships.\n      For example:\n      ```app/models/blog.js\n     import Model, { attr, belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n         @hasMany('post') posts;\n         @attr('string') title;\n      }\n     ```\n      ```js\n     import Blog from 'app/models/blog'\n      let fields = Blog.fields;\n     fields.forEach(function(kind, field) {\n        // do thing\n      });\n      // prints:\n     // users, hasMany\n     // owner, belongsTo\n     // posts, hasMany\n     // title, attribute\n     ```\n      @property fields\n      @public\n     @static\n     @type Map\n     @readOnly\n     */\n    static get fields() {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const map = new Map();\n      this.eachComputedProperty((name, meta) => {\n        if (meta.kind === 'hasMany' || meta.kind === 'belongsTo') {\n          map.set(name, meta.kind);\n        } else if (meta.kind === 'attribute') {\n          map.set(name, 'attribute');\n        }\n      });\n      return map;\n    }\n\n    /**\n     Given a callback, iterates over each of the relationships in the model,\n     invoking the callback with the name of each relationship and its relationship\n     descriptor.\n      @method eachRelationship\n      @public\n     @static\n     @param {Function} callback the callback to invoke\n     @param {any} binding the value to which the callback's `this` should be bound\n     */\n    static eachRelationship(callback, binding) {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      this.relationshipsByName.forEach((relationship, name) => {\n        callback.call(binding, name, relationship);\n      });\n    }\n\n    /**\n     Given a callback, iterates over each of the types related to a model,\n     invoking the callback with the related type's class. Each type will be\n     returned just once, regardless of how many different relationships it has\n     with a model.\n      @method eachRelatedType\n      @public\n     @static\n     @param {Function} callback the callback to invoke\n     @param {any} binding the value to which the callback's `this` should be bound\n     */\n    static eachRelatedType(callback, binding) {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const relationshipTypes = this.relatedTypes;\n      for (let i = 0; i < relationshipTypes.length; i++) {\n        const type = relationshipTypes[i];\n        callback.call(binding, type);\n      }\n    }\n    static determineRelationshipType(knownSide, store) {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const knownKey = knownSide.name;\n      const knownKind = knownSide.kind;\n      const inverse = this.inverseFor(knownKey, store);\n      // let key;\n\n      if (!inverse) {\n        return knownKind === 'belongsTo' ? 'oneToNone' : 'manyToNone';\n      }\n\n      // key = inverse.name;\n      const otherKind = inverse.kind;\n      if (otherKind === 'belongsTo') {\n        return knownKind === 'belongsTo' ? 'oneToOne' : 'manyToOne';\n      } else {\n        return knownKind === 'belongsTo' ? 'oneToMany' : 'manyToMany';\n      }\n    }\n\n    /**\n     A map whose keys are the attributes of the model (properties\n     described by attr) and whose values are the meta object for the\n     property.\n      Example\n      ```app/models/person.js\n     import Model, { attr } from '@ember-data/model';\n      export default class PersonModel extends Model {\n        @attr('string') firstName;\n        @attr('string') lastName;\n        @attr('date') birthday;\n      }\n     ```\n      ```javascript\n     import Person from 'app/models/person'\n      let attributes = Person.attributes\n      attributes.forEach(function(meta, name) {\n        // do thing\n      });\n      // prints:\n     // firstName {type: \"string\", kind: 'attribute', options: Object, parentType: function, name: \"firstName\"}\n     // lastName {type: \"string\", kind: 'attribute', options: Object, parentType: function, name: \"lastName\"}\n     // birthday {type: \"date\", kind: 'attribute', options: Object, parentType: function, name: \"birthday\"}\n     ```\n      @property attributes\n      @public\n     @static\n     @type {Map}\n     @readOnly\n     */\n    static get attributes() {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const map = new Map();\n      this.eachComputedProperty((name, meta) => {\n        if (meta.kind === 'attribute') {\n          (true && !(name !== 'id') && (0, _debug.assert)(\"You may not set `id` as an attribute on your model. Please remove any lines that look like: `id: attr('<type>')` from \" + this.toString(), name !== 'id')); // TODO deprecate key being here\n          meta.key = name;\n          meta.name = name;\n          map.set(name, meta);\n        }\n      });\n      return map;\n    }\n\n    /**\n     A map whose keys are the attributes of the model (properties\n     described by attr) and whose values are type of transformation\n     applied to each attribute. This map does not include any\n     attributes that do not have an transformation type.\n      Example\n      ```app/models/person.js\n     import Model, { attr } from '@ember-data/model';\n      export default class PersonModel extends Model {\n        @attr firstName;\n        @attr('string') lastName;\n        @attr('date') birthday;\n      }\n     ```\n      ```javascript\n     import Person from 'app/models/person';\n      let transformedAttributes = Person.transformedAttributes\n      transformedAttributes.forEach(function(field, type) {\n        // do thing\n      });\n      // prints:\n     // lastName string\n     // birthday date\n     ```\n      @property transformedAttributes\n      @public\n     @static\n     @type {Map}\n     @readOnly\n     */\n    static get transformedAttributes() {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      const map = new Map();\n      this.eachAttribute((name, meta) => {\n        if (meta.type) {\n          map.set(name, meta.type);\n        }\n      });\n      return map;\n    }\n\n    /**\n     Iterates through the attributes of the model, calling the passed function on each\n     attribute.\n      The callback method you provide should have the following signature (all\n     parameters are optional):\n      ```javascript\n     function(name, meta);\n     ```\n      - `name` the name of the current property in the iteration\n     - `meta` the meta object for the attribute property in the iteration\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.\n      Example\n      ```javascript\n     import Model, { attr } from '@ember-data/model';\n      class PersonModel extends Model {\n        @attr('string') firstName;\n        @attr('string') lastName;\n        @attr('date') birthday;\n      }\n      PersonModel.eachAttribute(function(name, meta) {\n        // do thing\n      });\n      // prints:\n     // firstName {type: \"string\", kind: 'attribute', options: Object, parentType: function, name: \"firstName\"}\n     // lastName {type: \"string\", kind: 'attribute', options: Object, parentType: function, name: \"lastName\"}\n     // birthday {type: \"date\", kind: 'attribute', options: Object, parentType: function, name: \"birthday\"}\n     ```\n      @method eachAttribute\n      @public\n     @param {Function} callback The callback to execute\n     @param {Object} [binding] the value to which the callback's `this` should be bound\n     @static\n     */\n    static eachAttribute(callback, binding) {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      this.attributes.forEach((meta, name) => {\n        callback.call(binding, name, meta);\n      });\n    }\n\n    /**\n     Iterates through the transformedAttributes of the model, calling\n     the passed function on each attribute. Note the callback will not be\n     called for any attributes that do not have an transformation type.\n      The callback method you provide should have the following signature (all\n     parameters are optional):\n      ```javascript\n     function(name, type);\n     ```\n      - `name` the name of the current property in the iteration\n     - `type` a string containing the name of the type of transformed\n     applied to the attribute\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.\n      Example\n      ```javascript\n     import Model, { attr } from '@ember-data/model';\n      let Person = Model.extend({\n        firstName: attr(),\n        lastName: attr('string'),\n        birthday: attr('date')\n      });\n      Person.eachTransformedAttribute(function(name, type) {\n        // do thing\n      });\n      // prints:\n     // lastName string\n     // birthday date\n     ```\n      @method eachTransformedAttribute\n      @public\n     @param {Function} callback The callback to execute\n     @param {Object} [binding] the value to which the callback's `this` should be bound\n     @static\n     */\n    static eachTransformedAttribute(callback, binding) {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      this.transformedAttributes.forEach((type, name) => {\n        callback.call(binding, name, type);\n      });\n    }\n\n    /**\n     Returns the name of the model class.\n      @method toString\n      @public\n     @static\n     */\n    static toString() {\n      (true && !(this.modelName) && (0, _debug.assert)(`Accessing schema information on Models without looking up the model via the store is disallowed.`, this.modelName));\n      return `model:${this.modelName}`;\n    }\n  }, _class2.isModel = true, _class2.modelName = null, _class2), _applyDecoratedDescriptor(_class.prototype, \"isEmpty\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class.prototype, \"isEmpty\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class.prototype, \"isLoading\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isLoaded\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class.prototype, \"isLoaded\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hasDirtyAttributes\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class.prototype, \"hasDirtyAttributes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isSaving\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class.prototype, \"isSaving\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isDeleted\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class.prototype, \"isDeleted\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isNew\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class.prototype, \"isNew\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isValid\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class.prototype, \"isValid\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"dirtyType\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class.prototype, \"dirtyType\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isError\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class.prototype, \"isError\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"id\", [tagged], Object.getOwnPropertyDescriptor(_class.prototype, \"id\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"currentState\", [tagged], Object.getOwnPropertyDescriptor(_class.prototype, \"currentState\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"errors\", [computeOnce], Object.getOwnPropertyDescriptor(_class.prototype, \"errors\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"adapterError\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class.prototype, \"adapterError\"), _class.prototype), _applyDecoratedDescriptor(_class, \"inverseMap\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"inverseMap\"), _class), _applyDecoratedDescriptor(_class, \"relationships\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"relationships\"), _class), _applyDecoratedDescriptor(_class, \"relationshipNames\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"relationshipNames\"), _class), _applyDecoratedDescriptor(_class, \"relatedTypes\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"relatedTypes\"), _class), _applyDecoratedDescriptor(_class, \"relationshipsByName\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"relationshipsByName\"), _class), _applyDecoratedDescriptor(_class, \"relationshipsObject\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"relationshipsObject\"), _class), _applyDecoratedDescriptor(_class, \"fields\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"fields\"), _class), _applyDecoratedDescriptor(_class, \"attributes\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"attributes\"), _class), _applyDecoratedDescriptor(_class, \"transformedAttributes\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"transformedAttributes\"), _class), _class);\n  Model.prototype.save = save;\n  Model.prototype.destroyRecord = destroyRecord;\n  Model.prototype.unloadRecord = unloadRecord;\n  Model.prototype.hasMany = hasMany;\n  Model.prototype.belongsTo = belongsTo;\n  Model.prototype.serialize = serialize;\n  Model.prototype._createSnapshot = createSnapshot;\n  Model.prototype.deleteRecord = deleteRecord;\n  Model.prototype.changedAttributes = changedAttributes;\n  Model.prototype.rollbackAttributes = rollbackAttributes;\n  Model.prototype.reload = reload;\n  (0, _private2.defineSignal)(Model.prototype, 'isReloading', false);\n\n  // this is required to prevent `init` from passing\n  // the values initialized during create to `setUnknownProperty`\n  Model.prototype._createProps = null;\n  Model.prototype._secretInit = null;\n  {\n    /**\n     Provides info about the model for debugging purposes\n     by grouping the properties into more semantic groups.\n      Meant to be used by debugging tools such as the Chrome Ember Extension.\n      - Groups all attributes in \"Attributes\" group.\n     - Groups all belongsTo relationships in \"Belongs To\" group.\n     - Groups all hasMany relationships in \"Has Many\" group.\n     - Groups all flags in \"Flags\" group.\n     - Flags relationship CPs as expensive properties.\n      @method _debugInfo\n     @for Model\n     @private\n     */\n    Model.prototype._debugInfo = function () {\n      const relationships = {};\n      const expensiveProperties = [];\n      const identifier = (0, _store.recordIdentifierFor)(this);\n      const schema = this.store.getSchemaDefinitionService();\n      const attrDefs = schema.attributesDefinitionFor(identifier);\n      const relDefs = schema.relationshipsDefinitionFor(identifier);\n      const attributes = Object.keys(attrDefs);\n      attributes.unshift('id');\n      const groups = [{\n        name: 'Attributes',\n        properties: attributes,\n        expand: true\n      }];\n      Object.keys(relDefs).forEach(name => {\n        const relationship = relDefs[name];\n        let properties = relationships[relationship.kind];\n        if (properties === undefined) {\n          properties = relationships[relationship.kind] = [];\n          groups.push({\n            name: relationship.kind,\n            properties,\n            expand: true\n          });\n        }\n        properties.push(name);\n        expensiveProperties.push(name);\n      });\n      groups.push({\n        name: 'Flags',\n        properties: ['isLoaded', 'hasDirtyAttributes', 'isSaving', 'isDeleted', 'isError', 'isNew', 'isValid']\n      });\n      return {\n        propertyInfo: {\n          // include all other mixins / properties (not just the grouped ones)\n          includeOtherProperties: true,\n          groups: groups,\n          // don't pre-calculate unless cached\n          expensiveProperties: expensiveProperties\n        }\n      };\n    };\n  }\n  {\n    const lookupDescriptor = function lookupDescriptor(obj, keyName) {\n      let current = obj;\n      do {\n        const descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n        if (descriptor !== undefined) {\n          return descriptor;\n        }\n        current = Object.getPrototypeOf(current);\n      } while (current !== null);\n      return null;\n    };\n    Model.reopen({\n      init() {\n        this._super(...arguments);\n        const ourDescriptor = lookupDescriptor(Model.prototype, 'currentState');\n        const theirDescriptor = lookupDescriptor(this, 'currentState');\n        const realState = this.___recordState;\n        if (ourDescriptor.get !== theirDescriptor.get || realState !== this.currentState) {\n          throw new Error(`'currentState' is a reserved property name on instances of classes extending Model. Please choose a different property name for ${this.constructor.toString()}`);\n        }\n        const ID_DESCRIPTOR = lookupDescriptor(Model.prototype, 'id');\n        const idDesc = lookupDescriptor(this, 'id');\n        if (idDesc.get !== ID_DESCRIPTOR.get) {\n          throw new Error(`You may not set 'id' as an attribute on your model. Please remove any lines that look like: \\`id: attr('<type>')\\` from ${this.constructor.toString()}`);\n        }\n      }\n    });\n    Model.reopen = function deprecatedReopen() {\n      (true && !(false) && (0, _debug.assert)(`Model.reopen is deprecated. Use Foo extends Model to extend your class instead.`));\n    };\n    Model.reopenClass = function deprecatedReopenClass() {\n      (true && !(false) && (0, _debug.assert)(`Model.reopenClass is deprecated. Use Foo extends Model to add static methods and properties to your class instead.`));\n    };\n  }\n});","define(\"@ember-data/model/util-3DHZJC9h\", [\"exports\", \"@ember/debug\", \"@ember/string\"], function (_exports, _debug, _string) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.c = computedMacroWithOptionalParams;\n  _exports.n = normalizeModelName;\n  function isElementDescriptor(args) {\n    const [maybeTarget, maybeKey, maybeDesc] = args;\n    return (\n      // Ensure we have the right number of args\n      args.length === 3 && (\n      // Make sure the target is a class or object (prototype)\n      typeof maybeTarget === 'function' || typeof maybeTarget === 'object' && maybeTarget !== null) &&\n      // Make sure the key is a string\n      typeof maybeKey === 'string' && (\n      // Make sure the descriptor is the right shape\n      typeof maybeDesc === 'object' && maybeDesc !== null && 'enumerable' in maybeDesc && 'configurable' in maybeDesc ||\n      // TS compatibility\n      maybeDesc === undefined)\n    );\n  }\n  function computedMacroWithOptionalParams(fn) {\n    return (...maybeDesc) => isElementDescriptor(maybeDesc) ? fn()(...maybeDesc) : fn(...maybeDesc);\n  }\n  function normalizeModelName(type) {\n    {\n      const result = (0, _string.dasherize)(type);\n      (true && !(result === type) && (0, _debug.deprecate)(`The resource type '${type}' is not normalized. Update your application code to use '${result}' instead of '${type}'.`, result === type, {\n        id: 'ember-data:deprecate-non-strict-types',\n        until: '6.0',\n        for: 'ember-data',\n        since: {\n          available: '5.3',\n          enabled: '5.3'\n        }\n      }));\n      return result;\n    }\n    return type;\n  }\n});","define(\"@ember-data/request-utils/index\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.LifetimesService = void 0;\n  _exports.buildBaseURL = buildBaseURL;\n  _exports.buildQueryParams = buildQueryParams;\n  _exports.filterEmpty = filterEmpty;\n  _exports.parseCacheControl = parseCacheControl;\n  _exports.setBuildURLConfig = setBuildURLConfig;\n  _exports.sortQueryParams = sortQueryParams;\n  /**\n   * Simple utility function to assist in url building,\n   * query params, and other common request operations.\n   *\n   * These primitives may be used directly or composed\n   * by request builders to provide a consistent interface\n   * for building requests.\n   *\n   * For instance:\n   *\n   * ```ts\n   * import { buildBaseURL, buildQueryParams } from '@ember-data/request-utils';\n   *\n   * const baseURL = buildBaseURL({\n   *   host: 'https://api.example.com',\n   *   namespace: 'api/v1',\n   *   resourcePath: 'emberDevelopers',\n   *   op: 'query',\n   *   identifier: { type: 'ember-developer' }\n   * });\n   * const url = `${baseURL}?${buildQueryParams({ name: 'Chris', include:['pets'] })}`;\n   * // => 'https://api.example.com/api/v1/emberDevelopers?include=pets&name=Chris'\n   * ```\n   *\n   * This is useful, but not as useful as the REST request builder for query which is sugar\n   * over this (and more!):\n   *\n   * ```ts\n   * import { query } from '@ember-data/rest/request';\n   *\n   * const options = query('ember-developer', { name: 'Chris', include:['pets'] });\n   * // => { url: 'https://api.example.com/api/v1/emberDevelopers?include=pets&name=Chris' }\n   * // Note: options will also include other request options like headers, method, etc.\n   * ```\n   *\n   * @module @ember-data/request-utils\n   * @main @ember-data/request-utils\n   * @public\n   */\n\n  // prevents the final constructed object from needing to add\n  // host and namespace which are provided by the final consuming\n  // class to the prototype which can result in overwrite errors\n\n  const CONFIG = {\n    host: '',\n    namespace: ''\n  };\n\n  /**\n   * Sets the global configuration for `buildBaseURL`\n   * for host and namespace values for the application.\n   *\n   * These values may still be overridden by passing\n   * them to buildBaseURL directly.\n   *\n   * This method may be called as many times as needed.\n   * host values of `''` or `'/'` are equivalent.\n   *\n   * Except for the value of `/` as host, host should not\n   * end with `/`.\n   *\n   * namespace should not start or end with a `/`.\n   *\n   * ```ts\n   * type BuildURLConfig = {\n   *   host: string;\n   *   namespace: string'\n   * }\n   * ```\n   *\n   * Example:\n   *\n   * ```ts\n   * import { setBuildURLConfig } from '@ember-data/request-utils';\n   *\n   * setBuildURLConfig({\n   *   host: 'https://api.example.com',\n   *   namespace: 'api/v1'\n   * });\n   * ```\n   *\n   * @method setBuildURLConfig\n   * @static\n   * @public\n   * @for @ember-data/request-utils\n   * @param {BuildURLConfig} config\n   * @return void\n   */\n  function setBuildURLConfig(config) {\n    (true && !(config) && (0, _debug.assert)(`setBuildURLConfig: You must pass a config object`, config));\n    (true && !('host' in config || 'namespace' in config) && (0, _debug.assert)(`setBuildURLConfig: You must pass a config object with a 'host' or 'namespace' property`, 'host' in config || 'namespace' in config));\n    CONFIG.host = config.host || '';\n    CONFIG.namespace = config.namespace || '';\n    (true && !(CONFIG.host === '/' || !CONFIG.host.endsWith('/')) && (0, _debug.assert)(`buildBaseURL: host must NOT end with '/', received '${CONFIG.host}'`, CONFIG.host === '/' || !CONFIG.host.endsWith('/')));\n    (true && !(!CONFIG.namespace.startsWith('/')) && (0, _debug.assert)(`buildBaseURL: namespace must NOT start with '/', received '${CONFIG.namespace}'`, !CONFIG.namespace.startsWith('/')));\n    (true && !(!CONFIG.namespace.endsWith('/')) && (0, _debug.assert)(`buildBaseURL: namespace must NOT end with '/', received '${CONFIG.namespace}'`, !CONFIG.namespace.endsWith('/')));\n  }\n  const OPERATIONS_WITH_PRIMARY_RECORDS = new Set(['findRecord', 'findRelatedRecord', 'findRelatedCollection', 'updateRecord', 'deleteRecord']);\n  function isOperationWithPrimaryRecord(options) {\n    return 'op' in options && OPERATIONS_WITH_PRIMARY_RECORDS.has(options.op);\n  }\n  function hasResourcePath(options) {\n    return 'resourcePath' in options && typeof options.resourcePath === 'string' && options.resourcePath.length > 0;\n  }\n  function resourcePathForType(options) {\n    (true && !('op' in options && typeof options.op === 'string') && (0, _debug.assert)(`resourcePathForType: You must pass a valid op as part of options`, 'op' in options && typeof options.op === 'string'));\n    return options.op === 'findMany' ? options.identifiers[0].type : options.identifier.type;\n  }\n\n  /**\n   * Builds a URL for a request based on the provided options.\n   * Does not include support for building query params (see `buildQueryParams`)\n   * so that it may be composed cleanly with other query-params strategies.\n   *\n   * Usage:\n   *\n   * ```ts\n   * import { buildBaseURL } from '@ember-data/request-utils';\n   *\n   * const url = buildBaseURL({\n   *   host: 'https://api.example.com',\n   *   namespace: 'api/v1',\n   *   resourcePath: 'emberDevelopers',\n   *   op: 'query',\n   *   identifier: { type: 'ember-developer' }\n   * });\n   *\n   * // => 'https://api.example.com/api/v1/emberDevelopers'\n   * ```\n   *\n   * On the surface this may seem like a lot of work to do something simple, but\n   * it is designed to be composable with other utilities and interfaces that the\n   * average product engineer will never need to see or use.\n   *\n   * A few notes:\n   *\n   * - `resourcePath` is optional, but if it is not provided, `identifier.type` will be used.\n   * - `host` and `namespace` are optional, but if they are not provided, the values globally\n   *    configured via `setBuildURLConfig` will be used.\n   * - `op` is required and must be one of the following:\n   *   - 'findRecord' 'query' 'findMany' 'findRelatedCollection' 'findRelatedRecord'` 'createRecord' 'updateRecord' 'deleteRecord'\n   * - Depending on the value of `op`, `identifier` or `identifiers` will be required.\n   *\n   * @method buildBaseURL\n   * @static\n   * @public\n   * @for @ember-data/request-utils\n   * @param urlOptions\n   * @return string\n   */\n  function buildBaseURL(urlOptions) {\n    const options = Object.assign({\n      host: CONFIG.host,\n      namespace: CONFIG.namespace\n    }, urlOptions);\n    (true && !(hasResourcePath(options) || typeof options.op === 'string' && options.op.length > 0) && (0, _debug.assert)(`buildBaseURL: You must pass \\`op\\` as part of options`, hasResourcePath(options) || typeof options.op === 'string' && options.op.length > 0));\n    (true && !(hasResourcePath(options) || options.op === 'findMany' || options.identifier && typeof options.identifier === 'object') && (0, _debug.assert)(`buildBaseURL: You must pass \\`identifier\\` as part of options`, hasResourcePath(options) || options.op === 'findMany' || options.identifier && typeof options.identifier === 'object'));\n    (true && !(hasResourcePath(options) || options.op !== 'findMany' || options.identifiers && Array.isArray(options.identifiers) && options.identifiers.length > 0 && options.identifiers.every(i => i && typeof i === 'object')) && (0, _debug.assert)(`buildBaseURL: You must pass \\`identifiers\\` as part of options`, hasResourcePath(options) || options.op !== 'findMany' || options.identifiers && Array.isArray(options.identifiers) && options.identifiers.length > 0 && options.identifiers.every(i => i && typeof i === 'object')));\n    (true && !(hasResourcePath(options) || !isOperationWithPrimaryRecord(options) || typeof options.identifier.id === 'string' && options.identifier.id.length > 0) && (0, _debug.assert)(`buildBaseURL: You must pass valid \\`identifier\\` as part of options, expected 'id'`, hasResourcePath(options) || !isOperationWithPrimaryRecord(options) || typeof options.identifier.id === 'string' && options.identifier.id.length > 0));\n    (true && !(hasResourcePath(options) || options.op !== 'findMany' || options.identifiers.every(i => typeof i.id === 'string' && i.id.length > 0)) && (0, _debug.assert)(`buildBaseURL: You must pass \\`identifiers\\` as part of options`, hasResourcePath(options) || options.op !== 'findMany' || options.identifiers.every(i => typeof i.id === 'string' && i.id.length > 0)));\n    (true && !(hasResourcePath(options) || options.op === 'findMany' || typeof options.identifier.type === 'string' && options.identifier.type.length > 0) && (0, _debug.assert)(`buildBaseURL: You must pass valid \\`identifier\\` as part of options, expected 'type'`, hasResourcePath(options) || options.op === 'findMany' || typeof options.identifier.type === 'string' && options.identifier.type.length > 0));\n    (true && !(hasResourcePath(options) || options.op !== 'findMany' || typeof options.identifiers[0].type === 'string' && options.identifiers[0].type.length > 0) && (0, _debug.assert)(`buildBaseURL: You must pass valid \\`identifiers\\` as part of options, expected 'type'`, hasResourcePath(options) || options.op !== 'findMany' || typeof options.identifiers[0].type === 'string' && options.identifiers[0].type.length > 0)); // prettier-ignore\n    const idPath = isOperationWithPrimaryRecord(options) ? encodeURIComponent(options.identifier.id) : '';\n    const resourcePath = options.resourcePath || resourcePathForType(options);\n    const {\n      host,\n      namespace\n    } = options;\n    const fieldPath = 'fieldPath' in options ? options.fieldPath : '';\n    (true && !(hasResourcePath(options) || ['findRecord', 'query', 'findMany', 'findRelatedCollection', 'findRelatedRecord', 'createRecord', 'updateRecord', 'deleteRecord'].includes(options.op)) && (0, _debug.assert)(`buildBaseURL: You tried to build a url for a ${String('op' in options ? options.op + ' ' : '')}request to ${resourcePath} but resourcePath must be set or op must be one of \"${['findRecord', 'findRelatedRecord', 'findRelatedCollection', 'updateRecord', 'deleteRecord', 'createRecord', 'query', 'findMany'].join('\",\"')}\".`, hasResourcePath(options) || ['findRecord', 'query', 'findMany', 'findRelatedCollection', 'findRelatedRecord', 'createRecord', 'updateRecord', 'deleteRecord'].includes(options.op)));\n    (true && !(host === '/' || !host.endsWith('/')) && (0, _debug.assert)(`buildBaseURL: host must NOT end with '/', received '${host}'`, host === '/' || !host.endsWith('/')));\n    (true && !(!namespace.startsWith('/')) && (0, _debug.assert)(`buildBaseURL: namespace must NOT start with '/', received '${namespace}'`, !namespace.startsWith('/')));\n    (true && !(!namespace.endsWith('/')) && (0, _debug.assert)(`buildBaseURL: namespace must NOT end with '/', received '${namespace}'`, !namespace.endsWith('/')));\n    (true && !(!resourcePath.startsWith('/')) && (0, _debug.assert)(`buildBaseURL: resourcePath must NOT start with '/', received '${resourcePath}'`, !resourcePath.startsWith('/')));\n    (true && !(!resourcePath.endsWith('/')) && (0, _debug.assert)(`buildBaseURL: resourcePath must NOT end with '/', received '${resourcePath}'`, !resourcePath.endsWith('/')));\n    (true && !(!fieldPath.startsWith('/')) && (0, _debug.assert)(`buildBaseURL: fieldPath must NOT start with '/', received '${fieldPath}'`, !fieldPath.startsWith('/')));\n    (true && !(!fieldPath.endsWith('/')) && (0, _debug.assert)(`buildBaseURL: fieldPath must NOT end with '/', received '${fieldPath}'`, !fieldPath.endsWith('/')));\n    (true && !(!idPath.startsWith('/')) && (0, _debug.assert)(`buildBaseURL: idPath must NOT start with '/', received '${idPath}'`, !idPath.startsWith('/')));\n    (true && !(!idPath.endsWith('/')) && (0, _debug.assert)(`buildBaseURL: idPath must NOT end with '/', received '${idPath}'`, !idPath.endsWith('/')));\n    const hasHost = host !== '' && host !== '/';\n    const url = [hasHost ? host : '', namespace, resourcePath, idPath, fieldPath].filter(Boolean).join('/');\n    return hasHost ? url : `/${url}`;\n  }\n  const DEFAULT_QUERY_PARAMS_SERIALIZATION_OPTIONS = {\n    arrayFormat: 'comma'\n  };\n  function handleInclude(include) {\n    (true && !(typeof include === 'string' || Array.isArray(include)) && (0, _debug.assert)(`Expected include to be a string or array, got ${typeof include}`, typeof include === 'string' || Array.isArray(include)));\n    return typeof include === 'string' ? include.split(',') : include;\n  }\n\n  /**\n   * filter out keys of an object that have falsy values or point to empty arrays\n   * returning a new object with only those keys that have truthy values / non-empty arrays\n   *\n   * @method filterEmpty\n   * @static\n   * @public\n   * @for @ember-data/request-utils\n   * @param {Record<string, Serializable>} source object to filter keys with empty values from\n   * @return {Record<string, Serializable>} A new object with the keys that contained empty values removed\n   */\n  function filterEmpty(source) {\n    const result = {};\n    for (const key in source) {\n      const value = source[key];\n      // Allow `0` and `false` but filter falsy values that indicate \"empty\"\n      if (value !== undefined && value !== null && value !== '') {\n        if (!Array.isArray(value) || value.length > 0) {\n          result[key] = source[key];\n        }\n      }\n    }\n    return result;\n  }\n\n  /**\n   * Sorts query params by both key and value returning a new URLSearchParams\n   * object with the keys inserted in sorted order.\n   *\n   * Treats `included` specially, splicing it into an array if it is a string and sorting the array.\n   *\n   * Options:\n   * - arrayFormat: 'bracket' | 'indices' | 'repeat' | 'comma'\n   *\n   * 'bracket': appends [] to the key for every value e.g. `&ids[]=1&ids[]=2`\n   * 'indices': appends [i] to the key for every value e.g. `&ids[0]=1&ids[1]=2`\n   * 'repeat': appends the key for every value e.g. `&ids=1&ids=2`\n   * 'comma' (default): appends the key once with a comma separated list of values e.g. `&ids=1,2`\n   *\n   * @method sortQueryParams\n   * @static\n   * @public\n   * @for @ember-data/request-utils\n   * @param {URLSearchParams | object} params\n   * @param {object} options\n   * @return {URLSearchParams} A URLSearchParams with keys inserted in sorted order\n   */\n  function sortQueryParams(params, options) {\n    const opts = Object.assign({}, DEFAULT_QUERY_PARAMS_SERIALIZATION_OPTIONS, options);\n    const paramsIsObject = !(params instanceof URLSearchParams);\n    const urlParams = new URLSearchParams();\n    const dictionaryParams = paramsIsObject ? params : {};\n    if (!paramsIsObject) {\n      params.forEach((value, key) => {\n        const hasExisting = key in dictionaryParams;\n        if (!hasExisting) {\n          dictionaryParams[key] = value;\n        } else {\n          const existingValue = dictionaryParams[key];\n          if (Array.isArray(existingValue)) {\n            existingValue.push(value);\n          } else {\n            dictionaryParams[key] = [existingValue, value];\n          }\n        }\n      });\n    }\n    if ('include' in dictionaryParams) {\n      dictionaryParams.include = handleInclude(dictionaryParams.include);\n    }\n    const sortedKeys = Object.keys(dictionaryParams).sort();\n    sortedKeys.forEach(key => {\n      const value = dictionaryParams[key];\n      if (Array.isArray(value)) {\n        value.sort();\n        switch (opts.arrayFormat) {\n          case 'indices':\n            value.forEach((v, i) => {\n              urlParams.append(`${key}[${i}]`, String(v));\n            });\n            return;\n          case 'bracket':\n            value.forEach(v => {\n              urlParams.append(`${key}[]`, String(v));\n            });\n            return;\n          case 'repeat':\n            value.forEach(v => {\n              urlParams.append(key, String(v));\n            });\n            return;\n          case 'comma':\n          default:\n            urlParams.append(key, value.join(','));\n            return;\n        }\n      } else {\n        urlParams.append(key, String(value));\n      }\n    });\n    return urlParams;\n  }\n\n  /**\n   * Sorts query params by both key and value, returning a query params string\n   *\n   * Treats `included` specially, splicing it into an array if it is a string and sorting the array.\n   *\n   * Options:\n   * - arrayFormat: 'bracket' | 'indices' | 'repeat' | 'comma'\n   *\n   * 'bracket': appends [] to the key for every value e.g. `ids[]=1&ids[]=2`\n   * 'indices': appends [i] to the key for every value e.g. `ids[0]=1&ids[1]=2`\n   * 'repeat': appends the key for every value e.g. `ids=1&ids=2`\n   * 'comma' (default): appends the key once with a comma separated list of values e.g. `ids=1,2`\n   *\n   * @method buildQueryParams\n   * @static\n   * @public\n   * @for @ember-data/request-utils\n   * @param {URLSearchParams | object} params\n   * @param {object} [options]\n   * @return {string} A sorted query params string without the leading `?`\n   */\n  function buildQueryParams(params, options) {\n    return sortQueryParams(params, options).toString();\n  }\n  const NUMERIC_KEYS = new Set(['max-age', 's-maxage', 'stale-if-error', 'stale-while-revalidate']);\n\n  /**\n   *  Parses a string Cache-Control header value into an object with the following structure:\n   *\n   * ```ts\n   * interface CacheControlValue {\n   *   immutable?: boolean;\n   *   'max-age'?: number;\n   *   'must-revalidate'?: boolean;\n   *   'must-understand'?: boolean;\n   *   'no-cache'?: boolean;\n   *   'no-store'?: boolean;\n   *   'no-transform'?: boolean;\n   *   'only-if-cached'?: boolean;\n   *   private?: boolean;\n   *   'proxy-revalidate'?: boolean;\n   *   public?: boolean;\n   *   's-maxage'?: number;\n   *   'stale-if-error'?: number;\n   *   'stale-while-revalidate'?: number;\n   * }\n   * ```\n   * @method parseCacheControl\n   * @static\n   * @public\n   * @for @ember-data/request-utils\n   * @param {string} header\n   * @return {CacheControlValue}\n   */\n  function parseCacheControl(header) {\n    let key = '';\n    let value = '';\n    let isParsingKey = true;\n    const cacheControlValue = {};\n    function parseCacheControlValue(stringToParse) {\n      const parsedValue = Number.parseInt(stringToParse);\n      (true && !(!Number.isNaN(parsedValue)) && (0, _debug.assert)(`Invalid Cache-Control value, expected a number but got - ${stringToParse}`, !Number.isNaN(parsedValue)));\n      return parsedValue;\n    }\n    for (let i = 0; i < header.length; i++) {\n      const char = header.charAt(i);\n      if (char === ',') {\n        (true && !(!isParsingKey || !NUMERIC_KEYS.has(key)) && (0, _debug.assert)(`Invalid Cache-Control value, expected a value`, !isParsingKey || !NUMERIC_KEYS.has(key)));\n        (true && !(i === 0 || header.charAt(i - 1) !== '=') && (0, _debug.assert)(`Invalid Cache-Control value, expected a value after \"=\" but got \",\"`, i === 0 || header.charAt(i - 1) !== '='));\n        isParsingKey = true;\n        // @ts-expect-error TS incorrectly thinks that optional keys must have a type that includes undefined\n        cacheControlValue[key] = NUMERIC_KEYS.has(key) ? parseCacheControlValue(value) : true;\n        key = '';\n        value = '';\n        continue;\n      } else if (char === '=') {\n        (true && !(i + 1 !== header.length) && (0, _debug.assert)(`Invalid Cache-Control value, expected a value after \"=\"`, i + 1 !== header.length));\n        isParsingKey = false;\n      } else if (char === ' ' || char === `\\t` || char === `\\n`) {\n        continue;\n      } else if (isParsingKey) {\n        key += char;\n      } else {\n        value += char;\n      }\n      if (i === header.length - 1) {\n        // @ts-expect-error TS incorrectly thinks that optional keys must have a type that includes undefined\n        cacheControlValue[key] = NUMERIC_KEYS.has(key) ? parseCacheControlValue(value) : true;\n      }\n    }\n    return cacheControlValue;\n  }\n  function isStale(headers, expirationTime) {\n    // const age = headers.get('age');\n    // const cacheControl = parseCacheControl(headers.get('cache-control') || '');\n    // const expires = headers.get('expires');\n    // const lastModified = headers.get('last-modified');\n    const date = headers.get('date');\n    if (!date) {\n      return true;\n    }\n    const time = new Date(date).getTime();\n    const now = Date.now();\n    const deadline = time + expirationTime;\n    const result = now > deadline;\n    return result;\n  }\n  /**\n   * A basic LifetimesService that can be added to the Store service.\n   *\n   * Determines staleness based on time since the request was last received from the API\n   * using the `date` header.\n   *\n   * Invalidates any request for which `cacheOptions.types` was provided when a createRecord\n   * request for that type is successful.\n   *\n   * This allows the Store's CacheHandler to determine if a request is expired and\n   * should be refetched upon next request.\n   *\n   * The `Fetch` handler provided by `@ember-data/request/fetch` will automatically\n   * add the `date` header to responses if it is not present.\n   *\n   * Note: Date headers do not have millisecond precision, so expiration times should\n   * generally be larger than 1000ms.\n   *\n   * Usage:\n   *\n   * ```ts\n   * import { LifetimesService } from '@ember-data/request-utils';\n   * import DataStore from '@ember-data/store';\n   *\n   * // ...\n   *\n   * export class Store extends DataStore {\n   *   constructor(args) {\n   *     super(args);\n   *     this.lifetimes = new LifetimesService({ apiCacheSoftExpires: 30_000, apiCacheHardExpires: 60_000 });\n   *   }\n   * }\n   * ```\n   *\n   * @class LifetimesService\n   * @public\n   * @module @ember-data/request-utils\n   */\n  class LifetimesService {\n    _getStore(store) {\n      let set = this._stores.get(store);\n      if (!set) {\n        set = {\n          invalidated: new Set(),\n          types: new Map()\n        };\n        this._stores.set(store, set);\n      }\n      return set;\n    }\n    constructor(config) {\n      this._stores = new WeakMap();\n      const _config = arguments.length === 1 ? config : arguments[1];\n      (true && !(arguments.length === 1) && (0, _debug.deprecate)(`Passing a Store to the LifetimesService is deprecated, please pass only a config instead.`, arguments.length === 1, {\n        id: 'ember-data:request-utils:lifetimes-service-store-arg',\n        since: {\n          enabled: '5.4',\n          available: '5.4'\n        },\n        for: '@ember-data/request-utils',\n        until: '6.0'\n      }));\n      (true && !(_config) && (0, _debug.assert)(`You must pass a config to the LifetimesService`, _config));\n      (true && !(typeof _config.apiCacheSoftExpires === 'number') && (0, _debug.assert)(`You must pass a apiCacheSoftExpires to the LifetimesService`, typeof _config.apiCacheSoftExpires === 'number'));\n      (true && !(typeof _config.apiCacheHardExpires === 'number') && (0, _debug.assert)(`You must pass a apiCacheHardExpires to the LifetimesService`, typeof _config.apiCacheHardExpires === 'number'));\n      this.config = _config;\n    }\n\n    /**\n     * Invalidate a request by its identifier for a given store instance.\n     *\n     * While the store argument may seem redundant, the lifetimes service\n     * is designed to be shared across multiple stores / forks\n     * of the store.\n     *\n     * ```ts\n     * store.lifetimes.invalidateRequest(store, identifier);\n     * ```\n     *\n     * @method invalidateRequest\n     * @public\n     * @param {StableDocumentIdentifier} identifier\n     * @param {Store} store\n     */\n    invalidateRequest(identifier, store) {\n      this._getStore(store).invalidated.add(identifier.lid);\n    }\n\n    /**\n     * Invalidate all requests associated to a specific type\n     * for a given store instance.\n     *\n     * While the store argument may seem redundant, the lifetimes service\n     * is designed to be shared across multiple stores / forks\n     * of the store.\n     *\n     * This invalidation is done automatically when using this service\n     * for both the CacheHandler and the LegacyNetworkHandler.\n     *\n     * ```ts\n     * store.lifetimes.invalidateRequestsForType(store, 'person');\n     * ```\n     *\n     * @method invalidateRequestsForType\n     * @public\n     * @param {string} type\n     * @param {Store} store\n     */\n    invalidateRequestsForType(type, store) {\n      const storeCache = this._getStore(store);\n      const set = storeCache.types.get(type);\n      if (set) {\n        set.forEach(id => {\n          storeCache.invalidated.add(id);\n        });\n      }\n    }\n\n    /**\n     * Invoked when a request has been fulfilled from the configured request handlers.\n     * This is invoked by the CacheHandler for both foreground and background requests\n     * once the cache has been updated.\n     *\n     * Note, this is invoked by the CacheHandler regardless of whether\n     * the request has a cache-key.\n     *\n     * This method should not be invoked directly by consumers.\n     *\n     * @method didRequest\n     * @public\n     * @param {ImmutableRequestInfo} request\n     * @param {ImmutableResponse} response\n     * @param {Store} store\n     * @param {StableDocumentIdentifier | null} identifier\n     * @return {void}\n     */\n    didRequest(request, response, identifier, store) {\n      // if this is a successful createRecord request, invalidate the cacheKey for the type\n      if (request.op === 'createRecord') {\n        const statusNumber = response?.status ?? 0;\n        if (statusNumber >= 200 && statusNumber < 400) {\n          const types = new Set(request.records?.map(r => r.type));\n          types.forEach(type => {\n            this.invalidateRequestsForType(type, store);\n          });\n        }\n\n        // add this document's cacheKey to a map for all associated types\n        // it is recommended to only use this for queries\n      } else if (identifier && request.cacheOptions?.types?.length) {\n        const storeCache = this._getStore(store);\n        request.cacheOptions?.types.forEach(type => {\n          const set = storeCache.types.get(type);\n          if (set) {\n            set.add(identifier.lid);\n            storeCache.invalidated.delete(identifier.lid);\n          } else {\n            storeCache.types.set(type, new Set([identifier.lid]));\n          }\n        });\n      }\n    }\n\n    /**\n     * Invoked to determine if the request may be fulfilled from cache\n     * if possible.\n     *\n     * Note, this is only invoked by the CacheHandler if the request has\n     * a cache-key.\n     *\n     * If no cache entry is found or the entry is hard expired,\n     * the request will be fulfilled from the configured request handlers\n     * and the cache will be updated before returning the response.\n     *\n     * @method isHardExpired\n     * @public\n     * @param {StableDocumentIdentifier} identifier\n     * @param {Store} store\n     * @return {boolean} true if the request is considered hard expired\n     */\n    isHardExpired(identifier, store) {\n      // if we are explicitly invalidated, we are hard expired\n      const storeCache = this._getStore(store);\n      if (storeCache.invalidated.has(identifier.lid)) {\n        return true;\n      }\n      const cache = store.cache;\n      const cached = cache.peekRequest(identifier);\n      return !cached || !cached.response || isStale(cached.response.headers, this.config.apiCacheHardExpires);\n    }\n\n    /**\n     * Invoked if `isHardExpired` is false to determine if the request\n     * should be update behind the scenes if cache data is already available.\n     *\n     * Note, this is only invoked by the CacheHandler if the request has\n     * a cache-key.\n     *\n     * If true, the request will be fulfilled from cache while a backgrounded\n     * request is made to update the cache via the configured request handlers.\n     *\n     * @method isSoftExpired\n     * @public\n     * @param {StableDocumentIdentifier} identifier\n     * @param {Store} store\n     * @return {boolean} true if the request is considered soft expired\n     */\n    isSoftExpired(identifier, store) {\n      const cache = store.cache;\n      const cached = cache.peekRequest(identifier);\n      return !cached || !cached.response || isStale(cached.response.headers, this.config.apiCacheSoftExpires);\n    }\n  }\n  _exports.LifetimesService = LifetimesService;\n});","define(\"@ember-data/request/context-g9X123os\", [\"exports\", \"@warp-drive/core-types/request\"], function (_exports, _request) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._ = _classPrivateFieldBase;\n  _exports.a = assertValidRequest;\n  _exports.b = _classPrivateFieldKey;\n  _exports.c = cloneResponseProperties;\n  _exports.d = createDeferred;\n  _exports.e = executeNextHandler;\n  _exports.u = upgradePromise;\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    return receiver;\n  }\n  var id = 0;\n  function _classPrivateFieldKey(name) {\n    return \"__private_\" + id++ + \"_\" + name;\n  }\n  const BODY_TYPES = {\n    type: 'string',\n    klass: ['Blob', 'ArrayBuffer', 'TypedArray', 'DataView', 'FormData', 'URLSearchParams', 'ReadableStream']\n  };\n  const ValidKeys = new Map([['records', 'array'], ['data', 'json'], ['body', BODY_TYPES], ['disableTestWaiter', 'boolean'], ['options', 'object'], ['cacheOptions', 'object'], ['op', 'string'], ['store', 'object'], ['url', 'string'], ['cache', ['default', 'force-cache', 'no-cache', 'no-store', 'only-if-cached', 'reload']], ['credentials', ['include', 'omit', 'same-origin']], ['destination', ['', 'object', 'audio', 'audioworklet', 'document', 'embed', 'font', 'frame', 'iframe', 'image', 'manifest', 'paintworklet', 'report', 'script', 'sharedworker', 'style', 'track', 'video', 'worker', 'xslt']], ['headers', 'headers'], ['integrity', 'string'], ['keepalive', 'boolean'], ['method', ['GET', 'PUT', 'PATCH', 'DELETE', 'POST', 'OPTIONS']], ['mode', ['same-origin', 'cors', 'navigate', 'no-cors']], ['redirect', ['error', 'follow', 'manual']], ['referrer', 'string'], ['signal', 'AbortSignal'], ['controller', 'AbortController'], ['referrerPolicy', ['', 'same-origin', 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'strict-origin', 'strict-origin-when-cross-origin', 'unsafe-url']]]);\n  const IS_FROZEN = Symbol('FROZEN');\n  const IS_COLLECTION = Symbol.for('Collection');\n  function freezeHeaders(headers) {\n    headers.delete = headers.set = headers.append = () => {\n      throw new Error(`Cannot Mutate Immutatable Headers, use headers.clone to get a copy`);\n    };\n    upgradeHeaders(headers);\n    return headers;\n  }\n  function deepFreeze(value) {\n    if (value && value[IS_FROZEN]) {\n      return value;\n    }\n    const _type = typeof value;\n    switch (_type) {\n      case 'boolean':\n      case 'string':\n      case 'number':\n      case 'symbol':\n      case 'undefined':\n      case 'bigint':\n        return value;\n      case 'function':\n        throw new Error(`Cannot deep-freeze a function`);\n      case 'object':\n        {\n          const _niceType = niceTypeOf(value);\n          switch (_niceType) {\n            case 'array':\n              {\n                if (value[IS_COLLECTION]) {\n                  return value;\n                }\n                const arr = value.map(deepFreeze);\n                arr[IS_FROZEN] = true;\n                return Object.freeze(arr);\n              }\n            case 'null':\n              return value;\n            case 'object':\n              Object.keys(value).forEach(key => {\n                try {\n                  value[key] = deepFreeze(value[key]);\n                } catch {\n                  // continue\n                }\n              });\n              value[IS_FROZEN] = true;\n              return Object.freeze(value);\n            case 'headers':\n              return freezeHeaders(value);\n            case 'Collection':\n            case 'Store':\n            case 'AbortSignal':\n              return value;\n            case 'date':\n            case 'map':\n            case 'set':\n            case 'error':\n            case 'stream':\n            default:\n              // eslint-disable-next-line no-console\n              // console.log(`Cannot deep-freeze ${_niceType}`);\n              return value;\n          }\n        }\n    }\n  }\n  function isMaybeContext(request) {\n    if (request && typeof request === 'object') {\n      const keys = Object.keys(request);\n      if (keys.length === 1 && keys[0] === 'request') {\n        return true;\n      }\n    }\n    return false;\n  }\n  function niceTypeOf(v) {\n    if (v === null) {\n      return 'null';\n    }\n    if (typeof v === 'string') {\n      return v ? 'non-empty-string' : 'empty-string';\n    }\n    if (!v) {\n      return typeof v;\n    }\n    if (Array.isArray(v)) {\n      return 'array';\n    }\n    if (v instanceof Date) {\n      return 'date';\n    }\n    if (v instanceof Map) {\n      return 'map';\n    }\n    if (v instanceof Set) {\n      return 'set';\n    }\n    if (v instanceof Error) {\n      return 'error';\n    }\n    if (v instanceof ReadableStream || v instanceof WritableStream || v instanceof TransformStream) {\n      return 'stream';\n    }\n    if (v instanceof Headers) {\n      return 'headers';\n    }\n    if (typeof v === 'object' && v.constructor && v.constructor.name !== 'Object') {\n      return v.constructor.name;\n    }\n    return typeof v;\n  }\n  function validateKey(key, value, errors) {\n    const schema = ValidKeys.get(key);\n    if (!schema && !IgnoredKeys.has(key)) {\n      errors.push(`InvalidKey: '${key}'`);\n      return;\n    }\n    if (schema) {\n      if (schema === BODY_TYPES) {\n        if (typeof value === 'string' || value instanceof ReadableStream) {\n          return;\n        }\n        let type = niceTypeOf(value);\n        if (schema.klass.includes(type)) {\n          return;\n        }\n        errors.push(`InvalidValue: key 'body' should be a string or one of '${schema.klass.join(\"', '\")}', received ${'<a value of type ' + niceTypeOf(value) + '>'}`);\n        return;\n      }\n      if (Array.isArray(schema)) {\n        if (!schema.includes(value)) {\n          errors.push(`InvalidValue: key ${key} should be a one of '${schema.join(\"', '\")}', received ${typeof value === 'string' ? value : '<a value of type ' + niceTypeOf(value) + '>'}`);\n        }\n        return;\n      } else if (schema === 'json') {\n        try {\n          JSON.stringify(value);\n        } catch (e) {\n          errors.push(`InvalidValue: key ${key} should be a JSON serializable value, but failed to serialize with Error - ${e.message}`);\n        }\n        return;\n      } else if (schema === 'headers') {\n        if (!(value instanceof Headers)) {\n          errors.push(`InvalidValue: key ${key} should be an instance of Headers, received ${niceTypeOf(value)}`);\n        }\n        return;\n      } else if (schema === 'record') {\n        const _type = typeof value;\n        // record must extend plain object or Object.create(null)\n        if (!value || _type !== 'object' || value.constructor && value.constructor !== Object) {\n          errors.push(`InvalidValue: key ${key} should be a dictionary of string keys to string values, received ${niceTypeOf(value)}`);\n          return;\n        }\n        const keys = Object.keys(value);\n        keys.forEach(k => {\n          let v = value[k];\n          if (typeof k !== 'string') {\n            errors.push(`\\tThe key ${String(k)} on ${key} should be a string key`);\n          } else if (typeof v !== 'string') {\n            errors.push(`\\tThe value of ${key}.${k} should be a string not ${niceTypeOf(v)}`);\n          }\n        });\n        return;\n      } else if (schema === 'string') {\n        if (typeof value !== 'string' || value.length === 0) {\n          errors.push(`InvalidValue: key ${key} should be a non-empty string, received ${typeof value === 'string' ? \"''\" : typeof value}`);\n        }\n        return;\n      } else if (schema === 'object') {\n        if (!value || Array.isArray(value) || typeof value !== 'object') {\n          errors.push(`InvalidValue: key ${key} should be an object`);\n        }\n        return;\n      } else if (schema === 'boolean') {\n        if (typeof value !== 'boolean') {\n          errors.push(`InvalidValue: key ${key} should be a boolean, received ${typeof value}`);\n        }\n        return;\n      } else if (schema === 'array') {\n        if (!Array.isArray(value)) {\n          errors.push(`InvalidValue: key ${key} should be an array, received ${typeof value}`);\n        }\n        return;\n      }\n    }\n  }\n  const IgnoredKeys = new Set([]);\n  function assertValidRequest(request, isTopLevel) {\n    {\n      // handle basic shape\n      if (!request) {\n        throw new Error(`Expected ${isTopLevel ? 'RequestManager.request' : 'next'}(<request>) to be called with a request, but none was provided.`);\n      }\n      if (Array.isArray(request) || typeof request !== 'object') {\n        throw new Error(`The \\`request\\` passed to \\`${isTopLevel ? 'RequestManager.request' : 'next'}(<request>)\\` should be an object, received \\`${niceTypeOf(request)}\\``);\n      }\n      if (Object.keys(request).length === 0) {\n        throw new Error(`The \\`request\\` passed to \\`${isTopLevel ? 'RequestManager.request' : 'next'}(<request>)\\` was empty (\\`{}\\`). Requests need at least one valid key.`);\n      }\n\n      // handle accidentally passing context entirely\n      if (request instanceof Context) {\n        throw new Error(`Expected a request passed to \\`${isTopLevel ? 'RequestManager.request' : 'next'}(<request>)\\` but received the previous handler's context instead`);\n      }\n      // handle Object.assign({}, context);\n      if (isMaybeContext(request)) {\n        throw new Error(`Expected a request passed to \\`${isTopLevel ? 'RequestManager.request' : 'next'}(<request>)\\` but received an object with a request key instead.`);\n      }\n\n      // handle schema\n      const keys = Object.keys(request);\n      const validationErrors = [];\n      const isLegacyRequest = Boolean('op' in request && !request.url);\n      keys.forEach(key => {\n        if (isLegacyRequest && key === 'data') {\n          return;\n        }\n        validateKey(key, request[key], validationErrors);\n      });\n      if (validationErrors.length) {\n        const error = new Error(`Invalid Request passed to \\`${isTopLevel ? 'RequestManager.request' : 'next'}(<request>)\\`.\\n\\nThe following issues were found:\\n\\n\\t${validationErrors.join('\\n\\t')}`);\n        error.errors = validationErrors;\n        throw error;\n      }\n    }\n  }\n  function curryFuture(owner, inbound, outbound) {\n    owner.setStream(inbound.getStream());\n    inbound.then(doc => {\n      const document = {\n        [_request.STRUCTURED]: true,\n        request: owner.request,\n        response: doc.response,\n        content: doc.content\n      };\n      outbound.resolve(document);\n    }, error => {\n      if (isDoc(error)) {\n        owner.setStream(owner.god.stream);\n      }\n      if (!error || !(error instanceof Error)) {\n        try {\n          throw new Error(error ? error : `Request Rejected with an Unknown Error`);\n        } catch (e) {\n          if (error && typeof error === 'object') {\n            Object.assign(e, error);\n            e.message = error.message || `Request Rejected with an Unknown Error`;\n          }\n          error = e;\n        }\n      }\n      error[_request.STRUCTURED] = true;\n      error.request = owner.request;\n      error.response = owner.getResponse();\n      error.error = error.error || error.message;\n      outbound.reject(error);\n    });\n    return outbound.promise;\n  }\n  function isDoc(doc) {\n    return doc && doc[_request.STRUCTURED] === true;\n  }\n  function enhanceReason(reason) {\n    return new DOMException(reason || 'The user aborted a request.', 'AbortError');\n  }\n  function handleOutcome(owner, inbound, outbound) {\n    inbound.then(content => {\n      if (owner.controller.signal.aborted) {\n        // the next function did not respect the signal, we handle it here\n        outbound.reject(enhanceReason(owner.controller.signal.reason));\n        return;\n      }\n      if (isDoc(content)) {\n        owner.setStream(owner.god.stream);\n        content = content.content;\n      }\n      const document = {\n        [_request.STRUCTURED]: true,\n        request: owner.request,\n        response: owner.getResponse(),\n        content\n      };\n      outbound.resolve(document);\n    }, error => {\n      if (isDoc(error)) {\n        owner.setStream(owner.god.stream);\n      }\n      if (!error) {\n        try {\n          throw new Error(`Request Rejected with an Unknown Error`);\n        } catch (e) {\n          error = e;\n        }\n      }\n      error[_request.STRUCTURED] = true;\n      error.request = owner.request;\n      error.response = owner.getResponse();\n      error.error = error.error || error.message;\n      outbound.reject(error);\n    });\n    return outbound.promise;\n  }\n  function executeNextHandler(wares, request, i, god) {\n    {\n      if (i === wares.length) {\n        throw new Error(`No handler was able to handle this request.`);\n      }\n      assertValidRequest(request, false);\n    }\n    const owner = new ContextOwner(request, god);\n    function next(r) {\n      owner.nextCalled++;\n      return executeNextHandler(wares, r, i + 1, god);\n    }\n    const context = new Context(owner);\n    let outcome;\n    try {\n      outcome = wares[i].request(context, next);\n      {\n        if (!outcome || !(outcome instanceof Promise) && !(typeof outcome === 'object' && 'then' in outcome)) {\n          // eslint-disable-next-line no-console\n          console.log({\n            request,\n            handler: wares[i],\n            outcome\n          });\n          if (outcome === undefined) {\n            throw new Error(`Expected handler.request to return a promise, instead received undefined.`);\n          }\n          throw new Error(`Expected handler.request to return a promise, instead received a synchronous value.`);\n        }\n      }\n    } catch (e) {\n      outcome = Promise.reject(e);\n    }\n    const future = createFuture(owner);\n    if (isFuture(outcome)) {\n      return curryFuture(owner, outcome, future);\n    }\n    return handleOutcome(owner, outcome, future);\n  }\n  function isFuture(maybe) {\n    return Boolean(maybe && maybe instanceof Promise && maybe[_request.IS_FUTURE] === true);\n  }\n  function createDeferred() {\n    let resolve;\n    let reject;\n    const promise = new Promise((res, rej) => {\n      resolve = res;\n      reject = rej;\n    });\n    return {\n      resolve,\n      reject,\n      promise\n    };\n  }\n  function upgradePromise(promise, future) {\n    promise[_request.IS_FUTURE] = true;\n    // eslint-disable-next-line @typescript-eslint/unbound-method\n    promise.getStream = future.getStream;\n    // eslint-disable-next-line @typescript-eslint/unbound-method\n    promise.abort = future.abort;\n    // eslint-disable-next-line @typescript-eslint/unbound-method\n    promise.onFinalize = future.onFinalize;\n    return promise;\n  }\n  function createFuture(owner) {\n    const deferred = createDeferred();\n    let {\n      promise\n    } = deferred;\n    let cbs;\n    promise = promise.finally(() => {\n      owner.resolveStream();\n      if (cbs) {\n        cbs.forEach(cb => cb());\n      }\n    });\n    promise.onFinalize = fn => {\n      cbs = cbs || [];\n      cbs.push(fn);\n    };\n    promise[_request.IS_FUTURE] = true;\n    promise.getStream = () => {\n      return owner.getStream();\n    };\n    promise.abort = reason => {\n      owner.abort(enhanceReason(reason));\n    };\n    deferred.promise = promise;\n    return deferred;\n  }\n  function upgradeHeaders(headers) {\n    headers.clone = () => {\n      return new Headers(headers);\n    };\n    headers.toJSON = () => {\n      return Array.from(headers);\n    };\n    return headers;\n  }\n  function cloneResponseProperties(response) {\n    const {\n      headers,\n      ok,\n      redirected,\n      status,\n      statusText,\n      type,\n      url\n    } = response;\n    upgradeHeaders(headers);\n    return {\n      headers: headers,\n      ok,\n      redirected,\n      status,\n      statusText,\n      type,\n      url\n    };\n  }\n  class ContextOwner {\n    constructor(request, god) {\n      this.hasSetStream = false;\n      this.hasSetResponse = false;\n      this.hasSubscribers = false;\n      this.stream = createDeferred();\n      this.response = null;\n      this.nextCalled = 0;\n      this.requestId = god.id;\n      this.controller = request.controller || god.controller;\n      if (request.controller) {\n        if (request.controller !== god.controller) {\n          god.controller.signal.addEventListener('abort', () => {\n            this.controller.abort(god.controller.signal.reason);\n          });\n        }\n        delete request.controller;\n      }\n      let enhancedRequest = Object.assign({\n        signal: this.controller.signal\n      }, request);\n      {\n        if (!request?.cacheOptions?.[_request.SkipCache]) {\n          request = deepFreeze(request);\n          enhancedRequest = deepFreeze(enhancedRequest);\n        }\n      }\n      this.enhancedRequest = enhancedRequest;\n      this.request = request;\n      this.god = god;\n      this.stream.promise = this.stream.promise.then(stream => {\n        if (this.god.stream === stream && this.hasSubscribers) {\n          this.god.stream = null;\n        }\n        return stream;\n      });\n    }\n    getResponse() {\n      if (this.hasSetResponse) {\n        return this.response;\n      }\n      if (this.nextCalled === 1) {\n        return this.god.response;\n      }\n      return null;\n    }\n    getStream() {\n      this.hasSubscribers = true;\n      return this.stream.promise;\n    }\n    abort(reason) {\n      this.controller.abort(reason);\n    }\n    setStream(stream) {\n      if (!this.hasSetStream) {\n        this.hasSetStream = true;\n        if (!(stream instanceof Promise)) {\n          this.god.stream = stream;\n        }\n        // @ts-expect-error\n        this.stream.resolve(stream);\n      }\n    }\n    resolveStream() {\n      this.setStream(this.nextCalled === 1 ? this.god.stream : null);\n    }\n    setResponse(response) {\n      if (this.hasSetResponse) {\n        {\n          throw new Error(`Cannot setResponse when a response has already been set`);\n        }\n        return;\n      }\n      this.hasSetResponse = true;\n      if (response instanceof Response) {\n        let responseData = cloneResponseProperties(response);\n        {\n          responseData = deepFreeze(responseData);\n        }\n        this.response = responseData;\n        this.god.response = responseData;\n      } else {\n        this.response = response;\n        this.god.response = response;\n      }\n    }\n  }\n  var _owner = /*#__PURE__*/_classPrivateFieldKey(\"owner\");\n  class Context {\n    constructor(owner) {\n      Object.defineProperty(this, _owner, {\n        writable: true,\n        value: void 0\n      });\n      this.id = owner.requestId;\n      _classPrivateFieldBase(this, _owner)[_owner] = owner;\n      this.request = owner.enhancedRequest;\n    }\n    setStream(stream) {\n      _classPrivateFieldBase(this, _owner)[_owner].setStream(stream);\n    }\n    setResponse(response) {\n      _classPrivateFieldBase(this, _owner)[_owner].setResponse(response);\n    }\n  }\n});","define(\"@ember-data/request/fetch\", [\"exports\", \"@ember-data/request/context-g9X123os\"], function (_exports, _contextG9X123os) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * A basic Fetch Handler which converts a request into a\n   * `fetch` call presuming the response to be `json`.\n   *\n   * ```ts\n   * import Fetch from '@ember-data/request/fetch';\n   *\n   * manager.use([Fetch]);\n   * ```\n   *\n   * @module @ember-data/request/fetch\n   * @main @ember-data/request/fetch\n   */\n  // Lazily close over fetch to avoid breaking Mirage\n  const _fetch = typeof fetch !== 'undefined' ? (...args) => fetch(...args) : typeof FastBoot !== 'undefined' ? (...args) => FastBoot.require('node-fetch')(...args) : () => {\n    throw new Error('No Fetch Implementation Found');\n  };\n\n  // clones a response in a way that should still\n  // allow it to stream\n  function cloneResponse(response, overrides) {\n    const props = (0, _contextG9X123os.c)(response);\n    return new Response(response.body, Object.assign(props, overrides));\n  }\n  let IS_MAYBE_MIRAGE = () => false;\n  {\n    IS_MAYBE_MIRAGE = () => Boolean(typeof window !== 'undefined' && window.server?.pretender);\n  }\n  const MUTATION_OPS = new Set(['updateRecord', 'createRecord', 'deleteRecord']);\n  const ERROR_STATUS_CODE_FOR = new Map([[400, 'Bad Request'], [401, 'Unauthorized'], [402, 'Payment Required'], [403, 'Forbidden'], [404, 'Not Found'], [405, 'Method Not Allowed'], [406, 'Not Acceptable'], [407, 'Proxy Authentication Required'], [408, 'Request Timeout'], [409, 'Conflict'], [410, 'Gone'], [411, 'Length Required'], [412, 'Precondition Failed'], [413, 'Payload Too Large'], [414, 'URI Too Long'], [415, 'Unsupported Media Type'], [416, 'Range Not Satisfiable'], [417, 'Expectation Failed'], [419, 'Page Expired'], [420, 'Enhance Your Calm'], [421, 'Misdirected Request'], [422, 'Unprocessable Entity'], [423, 'Locked'], [424, 'Failed Dependency'], [425, 'Too Early'], [426, 'Upgrade Required'], [428, 'Precondition Required'], [429, 'Too Many Requests'], [430, 'Request Header Fields Too Large'], [431, 'Request Header Fields Too Large'], [450, 'Blocked By Windows Parental Controls'], [451, 'Unavailable For Legal Reasons'], [500, 'Internal Server Error'], [501, 'Not Implemented'], [502, 'Bad Gateway'], [503, 'Service Unavailable'], [504, 'Gateway Timeout'], [505, 'HTTP Version Not Supported'], [506, 'Variant Also Negotiates'], [507, 'Insufficient Storage'], [508, 'Loop Detected'], [509, 'Bandwidth Limit Exceeded'], [510, 'Not Extended'], [511, 'Network Authentication Required']]);\n\n  /**\n   * A basic handler which converts a request into a\n   * `fetch` call presuming the response to be `json`.\n   *\n   * ```ts\n   * import Fetch from '@ember-data/request/fetch';\n   *\n   * manager.use([Fetch]);\n   * ```\n   *\n   * @class Fetch\n   * @public\n   */\n  const Fetch = _exports.default = {\n    async request(context) {\n      let response;\n      try {\n        response = await _fetch(context.request.url, context.request);\n      } catch (e) {\n        if (e instanceof DOMException && e.name === 'AbortError') {\n          e.statusText = 'Aborted';\n          e.status = 20;\n          e.isRequestError = true;\n        } else {\n          e.statusText = 'Unknown Network Error';\n          e.status = 0;\n          e.isRequestError = true;\n        }\n        throw e;\n      }\n      const isError = !response.ok || response.status >= 400;\n      const op = context.request.op;\n      const isMutationOp = Boolean(op && MUTATION_OPS.has(op));\n      if (!isError && !isMutationOp && response.status !== 204 && !response.headers.has('date')) {\n        if (IS_MAYBE_MIRAGE()) {\n          response.headers.set('date', new Date().toUTCString());\n        } else {\n          const headers = new Headers(response.headers);\n          headers.set('date', new Date().toUTCString());\n          response = cloneResponse(response, {\n            headers\n          });\n        }\n      }\n      context.setResponse(response);\n\n      // if we are an error, we will want to throw\n      if (isError) {\n        const text = await response.text();\n        let errorPayload;\n        try {\n          errorPayload = JSON.parse(text);\n        } catch {\n          // void;\n        }\n        // attempt errors discovery\n        const errors = Array.isArray(errorPayload) ? errorPayload : isDict(errorPayload) && Array.isArray(errorPayload.errors) ? errorPayload.errors : null;\n        const statusText = response.statusText || ERROR_STATUS_CODE_FOR.get(response.status) || 'Unknown Request Error';\n        const msg = `[${response.status} ${statusText}] ${context.request.method ?? 'GET'} (${response.type}) - ${response.url}`;\n        const error = errors ? new AggregateError(errors, msg) : new Error(msg);\n        error.status = response.status;\n        error.statusText = statusText;\n        error.isRequestError = true;\n        error.code = error.status;\n        error.name = error.statusText.replaceAll(' ', '') + 'Error';\n        error.content = errorPayload;\n        throw error;\n      } else {\n        return response.status === 204 ? null : response.json();\n      }\n    }\n  };\n  function isDict(v) {\n    return v !== null && typeof v === 'object';\n  }\n});","define(\"@ember-data/request/index\", [\"exports\", \"@ember-data/request/context-g9X123os\", \"@embroider/macros/es-compat2\"], function (_exports, _contextG9X123os, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"createDeferred\", {\n    enumerable: true,\n    get: function () {\n      return _contextG9X123os.d;\n    }\n  });\n  _exports.default = void 0;\n  let REQ_ID = 0;\n  /**\n   * ```js\n   * import RequestManager from '@ember-data/request';\n   * ```\n   *\n   * A RequestManager provides a request/response flow in which configured\n   * handlers are successively given the opportunity to handle, modify, or\n   * pass-along a request.\n   *\n   * ```ts\n   * interface RequestManager {\n   *   request<T>(req: RequestInfo): Future<T>;\n   * }\n   * ```\n   *\n   * For example:\n   *\n   * ```ts\n   * import RequestManager from '@ember-data/request';\n   * import Fetch from '@ember-data/request/fetch';\n   * import Auth from 'ember-simple-auth/ember-data-handler';\n   * import Config from './config';\n   *\n   * const { apiUrl } = Config;\n   *\n   * // ... create manager\n   * const manager = new RequestManager();\n   * manager.use([Auth, Fetch]);\n   *\n   * // ... execute a request\n   * const response = await manager.request({\n   *   url: `${apiUrl}/users`\n   * });\n   * ```\n   *\n   * ### Futures\n   *\n   * The return value of `manager.request` is a `Future`, which allows\n   * access to limited information about the request while it is still\n   * pending and fulfills with the final state when the request completes.\n   *\n   * A `Future` is cancellable via `abort`.\n   *\n   * Handlers may optionally expose a `ReadableStream` to the `Future` for\n   * streaming data; however, when doing so the future should not resolve\n   * until the response stream is fully read.\n   *\n   * ```ts\n   * interface Future<T> extends Promise<StructuredDocument<T>> {\n   *   abort(): void;\n   *\n   *   async getStream(): ReadableStream | null;\n   * }\n   * ```\n   *\n   * ### StructuredDocuments\n   *\n   * A Future resolves with a `StructuredDataDocument` or rejects with a `StructuredErrorDocument`.\n   *\n   * ```ts\n   * interface StructuredDataDocument<T> {\n   *   request: ImmutableRequestInfo;\n   *   response: ImmutableResponseInfo;\n   *   content: T;\n   * }\n   * interface StructuredErrorDocument extends Error {\n   *   request: ImmutableRequestInfo;\n   *   response: ImmutableResponseInfo;\n   *   error: string | object;\n   * }\n   * type StructuredDocument<T> = StructuredDataDocument<T> | StructuredErrorDocument;\n   * ```\n   *\n   * @class RequestManager\n   * @public\n   */\n  var _handlers = /*#__PURE__*/(0, _contextG9X123os.b)(\"handlers\");\n  class RequestManager {\n    constructor(options) {\n      Object.defineProperty(this, _handlers, {\n        writable: true,\n        value: []\n      });\n      Object.assign(this, options);\n      this._pending = new Map();\n    }\n\n    /**\n     * Register a handler to use for primary cache intercept.\n     *\n     * Only one such handler may exist. If using the same\n     * RequestManager as the Store instance the Store\n     * registers itself as a Cache handler.\n     *\n     * @method useCache\n     * @public\n     * @param {Handler[]} cacheHandler\n     * @return {void}\n     */\n    useCache(cacheHandler) {\n      {\n        if (this._hasCacheHandler) {\n          throw new Error(`\\`RequestManager.useCache(<handler>)\\` May only be invoked once.`);\n        }\n        if (Object.isFrozen((0, _contextG9X123os._)(this, _handlers)[_handlers])) {\n          throw new Error(`\\`RequestManager.useCache(<handler>)\\` May only be invoked prior to any request having been made.`);\n        }\n        this._hasCacheHandler = true;\n      }\n      (0, _contextG9X123os._)(this, _handlers)[_handlers].unshift(cacheHandler);\n    }\n\n    /**\n     * Register handler(s) to use when a request is issued.\n     *\n     * Handlers will be invoked in the order they are registered.\n     * Each Handler is given the opportunity to handle the request,\n     * curry the request, or pass along a modified request.\n     *\n     * @method use\n     * @public\n     * @param {Handler[]} newHandlers\n     * @return {void}\n     */\n    use(newHandlers) {\n      const handlers = (0, _contextG9X123os._)(this, _handlers)[_handlers];\n      {\n        if (Object.isFrozen(handlers)) {\n          throw new Error(`Cannot add a Handler to a RequestManager after a request has been made`);\n        }\n        if (!Array.isArray(newHandlers)) {\n          throw new Error(`\\`RequestManager.use(<Handler[]>)\\` expects an array of handlers, but was called with \\`${typeof newHandlers}\\``);\n        }\n        newHandlers.forEach((handler, index) => {\n          if (!handler || typeof handler !== 'object' || typeof handler.request !== 'function') {\n            throw new Error(`\\`RequestManager.use(<Handler[]>)\\` expected to receive an array of handler objects with request methods, by the handler at index ${index} does not conform.`);\n          }\n        });\n      }\n      handlers.push(...newHandlers);\n    }\n\n    /**\n     * Issue a Request.\n     *\n     * Returns a Future that fulfills with a StructuredDocument\n     *\n     * @method request\n     * @public\n     * @param {RequestInfo} request\n     * @return {Future}\n     */\n    request(request) {\n      const handlers = (0, _contextG9X123os._)(this, _handlers)[_handlers];\n      {\n        if (!Object.isFrozen(handlers)) {\n          Object.freeze(handlers);\n        }\n        (0, _contextG9X123os.a)(request, true);\n      }\n      const controller = request.controller || new AbortController();\n      if (request.controller) {\n        delete request.controller;\n      }\n      const promise = (0, _contextG9X123os.e)(handlers, request, 0, {\n        controller,\n        response: null,\n        stream: null,\n        id: REQ_ID++\n      });\n      {\n        if (!request.disableTestWaiter) {\n          const {\n            waitForPromise\n          } = (0, _esCompat.default)(require(\"@ember/test-waiters\"));\n          const newPromise = waitForPromise(promise);\n          return (0, _contextG9X123os.u)(newPromise, promise);\n        }\n      }\n      return promise;\n    }\n    static create(options) {\n      return new this(options);\n    }\n  }\n  _exports.default = RequestManager;\n});","define(\"@ember-data/serializer/-private\", [\"exports\", \"@ember-data/serializer/embedded-records-mixin-HTw8JJT1\", \"@ember-data/serializer/string-A02hFTMo\", \"@ember-data/serializer/utils-N1ERF6HN\"], function (_exports, _embeddedRecordsMixinHTw8JJT, _stringA02hFTMo, _utilsN1ERF6HN) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"BooleanTransform\", {\n    enumerable: true,\n    get: function () {\n      return _stringA02hFTMo.B;\n    }\n  });\n  Object.defineProperty(_exports, \"DateTransform\", {\n    enumerable: true,\n    get: function () {\n      return _stringA02hFTMo.D;\n    }\n  });\n  Object.defineProperty(_exports, \"EmbeddedRecordsMixin\", {\n    enumerable: true,\n    get: function () {\n      return _embeddedRecordsMixinHTw8JJT.e;\n    }\n  });\n  Object.defineProperty(_exports, \"NumberTransform\", {\n    enumerable: true,\n    get: function () {\n      return _stringA02hFTMo.N;\n    }\n  });\n  Object.defineProperty(_exports, \"StringTransform\", {\n    enumerable: true,\n    get: function () {\n      return _stringA02hFTMo.S;\n    }\n  });\n  Object.defineProperty(_exports, \"Transform\", {\n    enumerable: true,\n    get: function () {\n      return _stringA02hFTMo.T;\n    }\n  });\n  Object.defineProperty(_exports, \"coerceId\", {\n    enumerable: true,\n    get: function () {\n      return _utilsN1ERF6HN.c;\n    }\n  });\n});","define(\"@ember-data/serializer/embedded-records-mixin-HTw8JJT1\", [\"exports\", \"@ember/debug\", \"@ember/object/mixin\", \"@ember/string\"], function (_exports, _debug, _mixin, _string) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.e = void 0;\n  /**\n    @module @ember-data/serializer/rest\n  */\n\n  /**\n    ## Using Embedded Records\n  \n    `EmbeddedRecordsMixin` supports serializing embedded records.\n  \n    To set up embedded records, include the mixin when extending a serializer,\n    then define and configure embedded (model) relationships.\n  \n    Note that embedded records will serialize with the serializer for their model instead of the serializer in which they are defined.\n  \n    Note also that this mixin does not work with JSONAPISerializer because the JSON:API specification does not describe how to format embedded resources.\n  \n    Below is an example of a per-type serializer (`post` type).\n  \n    ```app/serializers/post.js\n    import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n  \n    export default class PostSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n      attrs = {\n        author: { embedded: 'always' },\n        comments: { serialize: 'ids' }\n      }\n    }\n    ```\n    Note that this use of `{ embedded: 'always' }` is unrelated to\n    the `{ embedded: 'always' }` that is defined as an option on `attr` as part of\n    defining a model while working with the `ActiveModelSerializer`.  Nevertheless,\n    using `{ embedded: 'always' }` as an option to `attr` is not a valid way to set up\n    embedded records.\n  \n    The `attrs` option for a resource `{ embedded: 'always' }` is shorthand for:\n  \n    ```js\n    {\n      serialize: 'records',\n      deserialize: 'records'\n    }\n    ```\n  \n    ### Configuring Attrs\n  \n    A resource's `attrs` option may be set to use `ids`, `records` or false for the\n    `serialize`  and `deserialize` settings.\n  \n    The `attrs` property can be set on the `ApplicationSerializer` or a per-type\n    serializer.\n  \n    In the case where embedded JSON is expected while extracting a payload (reading)\n    the setting is `deserialize: 'records'`, there is no need to use `ids` when\n    extracting as that is the default behaviour without this mixin if you are using\n    the vanilla `EmbeddedRecordsMixin`. Likewise, to embed JSON in the payload while\n    serializing `serialize: 'records'` is the setting to use. There is an option of\n    not embedding JSON in the serialized payload by using `serialize: 'ids'`. If you\n    do not want the relationship sent at all, you can use `serialize: false`.\n  \n  \n    ### EmbeddedRecordsMixin defaults\n    If you do not overwrite `attrs` for a specific relationship, the `EmbeddedRecordsMixin`\n    will behave in the following way:\n  \n    BelongsTo: `{ serialize: 'id', deserialize: 'id' }`\n    HasMany:   `{ serialize: false, deserialize: 'ids' }`\n  \n    ### Model Relationships\n  \n    Embedded records must have a model defined to be extracted and serialized. Note that\n    when defining any relationships on your model such as `belongsTo` and `hasMany`, you\n    should not both specify `async: true` and also indicate through the serializer's\n    `attrs` attribute that the related model should be embedded for deserialization.\n    If a model is declared embedded for deserialization (`embedded: 'always'` or `deserialize: 'records'`),\n    then do not use `async: true`.\n  \n    To successfully extract and serialize embedded records the model relationships\n    must be set up correctly. See the\n    [defining relationships](https://guides.emberjs.com/current/models/relationships)\n    section of the **Defining Models** guide page.\n  \n    Records without an `id` property are not considered embedded records, model\n    instances must have an `id` property to be used with Ember Data.\n  \n    ### Example JSON payloads, Models and Serializers\n  \n    **When customizing a serializer it is important to grok what the customizations\n    are. Please read the docs for the methods this mixin provides, in case you need\n    to modify it to fit your specific needs.**\n  \n    For example, review the docs for each method of this mixin:\n    * [normalize](/ember-data/release/classes/EmbeddedRecordsMixin/methods/normalize?anchor=normalize)\n    * [serializeBelongsTo](/ember-data/release/classes/EmbeddedRecordsMixin/methods/serializeBelongsTo?anchor=serializeBelongsTo)\n    * [serializeHasMany](/ember-data/release/classes/EmbeddedRecordsMixin/methods/serializeHasMany?anchor=serializeHasMany)\n  \n    @class EmbeddedRecordsMixin\n    @public\n  */\n  var embeddedRecordsMixin = _exports.e = _mixin.default.create({\n    /**\n      Normalize the record and recursively normalize/extract all the embedded records\n      while pushing them into the store as they are encountered\n       A payload with an attr configured for embedded records needs to be extracted:\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"comments\": [{\n            \"id\": \"1\",\n            \"body\": \"Rails is unagi\"\n          }, {\n            \"id\": \"2\",\n            \"body\": \"Omakase O_o\"\n          }]\n        }\n      }\n      ```\n     @method normalize\n      @public\n     @param {Model} typeClass\n     @param {Object} hash to be normalized\n     @param {String} prop the hash has been referenced by\n     @return {Object} the normalized hash\n    **/\n    normalize(typeClass, hash, prop) {\n      const normalizedHash = this._super(typeClass, hash, prop);\n      return this._extractEmbeddedRecords(this, this.store, typeClass, normalizedHash);\n    },\n    keyForRelationship(key, typeClass, method) {\n      if (method === 'serialize' && this.hasSerializeRecordsOption(key) || method === 'deserialize' && this.hasDeserializeRecordsOption(key)) {\n        return this.keyForAttribute(key, method);\n      } else {\n        return this._super(key, typeClass, method) || key;\n      }\n    },\n    /**\n      Serialize `belongsTo` relationship when it is configured as an embedded object.\n       This example of an author model belongs to a post model:\n       ```js\n      import Model, { attr, belongsTo } from '@ember-data/model';\n       Post = Model.extend({\n        title:    attr('string'),\n        body:     attr('string'),\n        author:   belongsTo('author')\n      });\n       Author = Model.extend({\n        name:     attr('string'),\n        post:     belongsTo('post')\n      });\n      ```\n       Use a custom (type) serializer for the post model to configure embedded author\n       ```app/serializers/post.js\n      import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n       export default class PostSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n        attrs = {\n          author: { embedded: 'always' }\n        }\n      }\n      ```\n       A payload with an attribute configured for embedded records can serialize\n      the records together under the root attribute's payload:\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"author\": {\n            \"id\": \"2\"\n            \"name\": \"dhh\"\n          }\n        }\n      }\n      ```\n       @method serializeBelongsTo\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeBelongsTo(snapshot, json, relationship) {\n      const attr = relationship.name;\n      if (this.noSerializeOptionSpecified(attr)) {\n        this._super(snapshot, json, relationship);\n        return;\n      }\n      const includeIds = this.hasSerializeIdsOption(attr);\n      const includeRecords = this.hasSerializeRecordsOption(attr);\n      const embeddedSnapshot = snapshot.belongsTo(attr);\n      if (includeIds) {\n        const schema = this.store.modelFor(snapshot.modelName);\n        let serializedKey = this._getMappedKey(relationship.name, schema);\n        if (serializedKey === relationship.name && this.keyForRelationship) {\n          serializedKey = this.keyForRelationship(relationship.name, relationship.kind, 'serialize');\n        }\n        if (!embeddedSnapshot) {\n          json[serializedKey] = null;\n        } else {\n          json[serializedKey] = embeddedSnapshot.id;\n          if (relationship.options.polymorphic) {\n            this.serializePolymorphicType(snapshot, json, relationship);\n          }\n        }\n      } else if (includeRecords) {\n        this._serializeEmbeddedBelongsTo(snapshot, json, relationship);\n      }\n    },\n    _serializeEmbeddedBelongsTo(snapshot, json, relationship) {\n      const embeddedSnapshot = snapshot.belongsTo(relationship.name);\n      const schema = this.store.modelFor(snapshot.modelName);\n      let serializedKey = this._getMappedKey(relationship.name, schema);\n      if (serializedKey === relationship.name && this.keyForRelationship) {\n        serializedKey = this.keyForRelationship(relationship.name, relationship.kind, 'serialize');\n      }\n      if (!embeddedSnapshot) {\n        json[serializedKey] = null;\n      } else {\n        json[serializedKey] = embeddedSnapshot.serialize({\n          includeId: true\n        });\n        this.removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, json[serializedKey]);\n        if (relationship.options.polymorphic) {\n          this.serializePolymorphicType(snapshot, json, relationship);\n        }\n      }\n    },\n    /**\n      Serializes `hasMany` relationships when it is configured as embedded objects.\n       This example of a post model has many comments:\n       ```js\n      import Model, { attr, belongsTo, hasMany } from '@ember-data/model';\n       Post = Model.extend({\n        title:    attr('string'),\n        body:     attr('string'),\n        comments: hasMany('comment')\n      });\n       Comment = Model.extend({\n        body:     attr('string'),\n        post:     belongsTo('post')\n      });\n      ```\n       Use a custom (type) serializer for the post model to configure embedded comments\n       ```app/serializers/post.js\n      import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n       export default class PostSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n        attrs = {\n          comments: { embedded: 'always' }\n        }\n      }\n      ```\n       A payload with an attribute configured for embedded records can serialize\n      the records together under the root attribute's payload:\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"body\": \"I want this for my ORM, I want that for my template language...\"\n          \"comments\": [{\n            \"id\": \"1\",\n            \"body\": \"Rails is unagi\"\n          }, {\n            \"id\": \"2\",\n            \"body\": \"Omakase O_o\"\n          }]\n        }\n      }\n      ```\n       The attrs options object can use more specific instruction for extracting and\n      serializing. When serializing, an option to embed `ids`, `ids-and-types` or `records` can be set.\n      When extracting the only option is `records`.\n       So `{ embedded: 'always' }` is shorthand for:\n      `{ serialize: 'records', deserialize: 'records' }`\n       To embed the `ids` for a related object (using a hasMany relationship):\n       ```app/serializers/post.js\n      import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n       export default class PostSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n        attrs = {\n          comments: { serialize: 'ids', deserialize: 'records' }\n        }\n      }\n      ```\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"body\": \"I want this for my ORM, I want that for my template language...\"\n          \"comments\": [\"1\", \"2\"]\n        }\n      }\n      ```\n       To embed the relationship as a collection of objects with `id` and `type` keys, set\n      `ids-and-types` for the related object.\n       This is particularly useful for polymorphic relationships where records don't share\n      the same table and the `id` is not enough information.\n       For example having a user that has many pets:\n       ```js\n      User = Model.extend({\n        name: attr('string'),\n        pets: hasMany('pet', { polymorphic: true })\n      });\n       Pet = Model.extend({\n        name: attr('string'),\n      });\n       Cat = Pet.extend({\n        // ...\n      });\n       Parrot = Pet.extend({\n        // ...\n      });\n      ```\n       ```app/serializers/user.js\n      import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n       export default class UserSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n        attrs = {\n          pets: { serialize: 'ids-and-types', deserialize: 'records' }\n        }\n      }\n      ```\n       ```js\n      {\n        \"user\": {\n          \"id\": \"1\"\n          \"name\": \"Bertin Osborne\",\n          \"pets\": [\n            { \"id\": \"1\", \"type\": \"Cat\" },\n            { \"id\": \"1\", \"type\": \"Parrot\"}\n          ]\n        }\n      }\n      ```\n       @method serializeHasMany\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeHasMany(snapshot, json, relationship) {\n      const attr = relationship.name;\n      if (this.noSerializeOptionSpecified(attr)) {\n        this._super(snapshot, json, relationship);\n        return;\n      }\n      if (this.hasSerializeIdsOption(attr)) {\n        const schema = this.store.modelFor(snapshot.modelName);\n        let serializedKey = this._getMappedKey(relationship.name, schema);\n        if (serializedKey === relationship.name && this.keyForRelationship) {\n          serializedKey = this.keyForRelationship(relationship.name, relationship.kind, 'serialize');\n        }\n        json[serializedKey] = snapshot.hasMany(attr, {\n          ids: true\n        });\n      } else if (this.hasSerializeRecordsOption(attr)) {\n        this._serializeEmbeddedHasMany(snapshot, json, relationship);\n      } else {\n        if (this.hasSerializeIdsAndTypesOption(attr)) {\n          this._serializeHasManyAsIdsAndTypes(snapshot, json, relationship);\n        }\n      }\n    },\n    /*\n      Serializes a hasMany relationship as an array of objects containing only `id` and `type`\n      keys.\n      This has its use case on polymorphic hasMany relationships where the server is not storing\n      all records in the same table using STI, and therefore the `id` is not enough information\n       TODO: Make the default in Ember-data 3.0??\n    */\n    _serializeHasManyAsIdsAndTypes(snapshot, json, relationship) {\n      const serializedKey = this.keyForAttribute(relationship.name, 'serialize');\n      const hasMany = snapshot.hasMany(relationship.name) || [];\n      json[serializedKey] = hasMany.map(function (recordSnapshot) {\n        //\n        // I'm sure I'm being utterly naive here. Probably id is a configurable property and\n        // type too, and the modelName has to be normalized somehow.\n        //\n        return {\n          id: recordSnapshot.id,\n          type: recordSnapshot.modelName\n        };\n      });\n    },\n    _serializeEmbeddedHasMany(snapshot, json, relationship) {\n      const schema = this.store.modelFor(snapshot.modelName);\n      let serializedKey = this._getMappedKey(relationship.name, schema);\n      if (serializedKey === relationship.name && this.keyForRelationship) {\n        serializedKey = this.keyForRelationship(relationship.name, relationship.kind, 'serialize');\n      }\n      (true && (0, _debug.warn)(`The embedded relationship '${serializedKey}' is undefined for '${snapshot.modelName}' with id '${snapshot.id}'. Please include it in your original payload.`, typeof snapshot.hasMany(relationship.name) !== 'undefined', {\n        id: 'ds.serializer.embedded-relationship-undefined'\n      }));\n      json[serializedKey] = this._generateSerializedHasMany(snapshot, relationship);\n    },\n    /*\n      Returns an array of embedded records serialized to JSON\n    */\n    _generateSerializedHasMany(snapshot, relationship) {\n      const hasMany = snapshot.hasMany(relationship.name) || [];\n      const ret = new Array(hasMany.length);\n      for (let i = 0; i < hasMany.length; i++) {\n        const embeddedSnapshot = hasMany[i];\n        const embeddedJson = embeddedSnapshot.serialize({\n          includeId: true\n        });\n        this.removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, embeddedJson);\n        ret[i] = embeddedJson;\n      }\n      return ret;\n    },\n    /**\n      When serializing an embedded record, modify the property (in the `JSON` payload)\n      that refers to the parent record (foreign key for the relationship).\n       Serializing a `belongsTo` relationship removes the property that refers to the\n      parent record\n       Serializing a `hasMany` relationship does not remove the property that refers to\n      the parent record.\n       @method removeEmbeddedForeignKey\n      @public\n      @param {Snapshot} snapshot\n      @param {Snapshot} embeddedSnapshot\n      @param {Object} relationship\n      @param {Object} json\n    */\n    removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, json) {\n      if (relationship.kind === 'belongsTo') {\n        const schema = this.store.modelFor(snapshot.modelName);\n        const parentRecord = schema.inverseFor(relationship.name, this.store);\n        if (parentRecord) {\n          const name = parentRecord.name;\n          const embeddedSerializer = this.store.serializerFor(embeddedSnapshot.modelName);\n          const parentKey = embeddedSerializer.keyForRelationship(name, parentRecord.kind, 'deserialize');\n          if (parentKey) {\n            delete json[parentKey];\n          }\n        }\n      } /*else if (relationship.kind === 'hasMany') {\n        return;\n        }*/\n    },\n    // checks config for attrs option to embedded (always) - serialize and deserialize\n    hasEmbeddedAlwaysOption(attr) {\n      const option = this.attrsOption(attr);\n      return option && option.embedded === 'always';\n    },\n    // checks config for attrs option to serialize ids\n    hasSerializeRecordsOption(attr) {\n      const alwaysEmbed = this.hasEmbeddedAlwaysOption(attr);\n      const option = this.attrsOption(attr);\n      return alwaysEmbed || option && option.serialize === 'records';\n    },\n    // checks config for attrs option to serialize records\n    hasSerializeIdsOption(attr) {\n      const option = this.attrsOption(attr);\n      return option && (option.serialize === 'ids' || option.serialize === 'id');\n    },\n    // checks config for attrs option to serialize records as objects containing id and types\n    hasSerializeIdsAndTypesOption(attr) {\n      const option = this.attrsOption(attr);\n      return option && (option.serialize === 'ids-and-types' || option.serialize === 'id-and-type');\n    },\n    // checks config for attrs option to serialize records\n    noSerializeOptionSpecified(attr) {\n      const option = this.attrsOption(attr);\n      return !(option && (option.serialize || option.embedded));\n    },\n    // checks config for attrs option to deserialize records\n    // a defined option object for a resource is treated the same as\n    // `deserialize: 'records'`\n    hasDeserializeRecordsOption(attr) {\n      const alwaysEmbed = this.hasEmbeddedAlwaysOption(attr);\n      const option = this.attrsOption(attr);\n      return alwaysEmbed || option && option.deserialize === 'records';\n    },\n    attrsOption(attr) {\n      const attrs = this.attrs;\n      return attrs && (attrs[(0, _string.camelize)(attr)] || attrs[attr]);\n    },\n    /**\n     @method _extractEmbeddedRecords\n     @private\n    */\n    _extractEmbeddedRecords(serializer, store, typeClass, partial) {\n      typeClass.eachRelationship((key, relationship) => {\n        if (serializer.hasDeserializeRecordsOption(key)) {\n          if (relationship.kind === 'hasMany') {\n            this._extractEmbeddedHasMany(store, key, partial, relationship);\n          }\n          if (relationship.kind === 'belongsTo') {\n            this._extractEmbeddedBelongsTo(store, key, partial, relationship);\n          }\n        }\n      });\n      return partial;\n    },\n    /**\n     @method _extractEmbeddedHasMany\n     @private\n    */\n    _extractEmbeddedHasMany(store, key, hash, relationshipMeta) {\n      const relationshipHash = hash.data?.relationships?.[key]?.data;\n      if (!relationshipHash) {\n        return;\n      }\n      const hasMany = new Array(relationshipHash.length);\n      for (let i = 0; i < relationshipHash.length; i++) {\n        const item = relationshipHash[i];\n        const {\n          data,\n          included\n        } = this._normalizeEmbeddedRelationship(store, relationshipMeta, item);\n        hash.included = hash.included || [];\n        hash.included.push(data);\n        if (included) {\n          hash.included = hash.included.concat(included);\n        }\n        hasMany[i] = {\n          id: data.id,\n          type: data.type\n        };\n      }\n      const relationship = {\n        data: hasMany\n      };\n      hash.data.relationships[key] = relationship;\n    },\n    /**\n     @method _extractEmbeddedBelongsTo\n     @private\n    */\n    _extractEmbeddedBelongsTo(store, key, hash, relationshipMeta) {\n      const relationshipHash = hash.data?.relationships?.[key]?.data;\n      if (!relationshipHash) {\n        return;\n      }\n      const {\n        data,\n        included\n      } = this._normalizeEmbeddedRelationship(store, relationshipMeta, relationshipHash);\n      hash.included = hash.included || [];\n      hash.included.push(data);\n      if (included) {\n        hash.included = hash.included.concat(included);\n      }\n      const belongsTo = {\n        id: data.id,\n        type: data.type\n      };\n      const relationship = {\n        data: belongsTo\n      };\n      hash.data.relationships[key] = relationship;\n    },\n    /**\n     @method _normalizeEmbeddedRelationship\n     @private\n    */\n    _normalizeEmbeddedRelationship(store, relationshipMeta, relationshipHash) {\n      let modelName = relationshipMeta.type;\n      if (relationshipMeta.options.polymorphic) {\n        modelName = relationshipHash.type;\n      }\n      const modelClass = store.modelFor(modelName);\n      const serializer = store.serializerFor(modelName);\n      return serializer.normalize(modelClass, relationshipHash, null);\n    },\n    isEmbeddedRecordsMixin: true\n  });\n});","define(\"@ember-data/serializer/index\", [\"exports\", \"@ember/object\", \"@ember/service\"], function (_exports, _object, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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  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    if ('value' in desc || desc.initializer) {\n      desc.writable = true;\n    }\n    desc = decorators.slice().reverse().reduce(function (desc, decorator) {\n      return decorator(target, property, desc) || desc;\n    }, desc);\n    if (context && desc.initializer !== void 0) {\n      desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n      desc.initializer = undefined;\n    }\n    if (desc.initializer === void 0) {\n      Object.defineProperty(target, property, desc);\n      desc = null;\n    }\n    return desc;\n  }\n  var _class2, _descriptor;\n  /**\n    > ⚠️ CAUTION you likely want the docs for [<Interface> Serializer](/ember-data/release/classes/%3CInterface%3E%20Serializer)\n    > as extending this abstract class is unnecessary.\n  \n    `Serializer` is an abstract base class that you may override in your\n    application to customize it for your backend. The minimum set of methods\n    that you should implement is:\n  \n      * `normalizeResponse()`\n      * `serialize()`\n  \n    And you can optionally override the following methods:\n  \n      * `normalize()`\n  \n    For an example implementation, see\n    [JSONSerializer](JSONSerializer), the included JSON serializer.\n  \n    @class Serializer\n    @public\n    @extends Ember.EmberObject\n  */\n  let _class = _exports.default = (_class2 = class _class2 extends _object.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n    }\n    /**\n      The `store` property is the application's `store` that contains\n      all records. It can be used to look up serializers for other model\n      types that may be nested inside the payload response.\n       Example:\n       ```js\n      Serializer.extend({\n        extractRelationship(relationshipModelName, relationshipHash) {\n          let modelClass = this.store.modelFor(relationshipModelName);\n          let relationshipSerializer = this.store.serializerFor(relationshipModelName);\n          return relationshipSerializer.normalize(modelClass, relationshipHash);\n        }\n      });\n      ```\n       @property store\n      @type {Store}\n      @public\n    */\n\n    /**\n      The `normalizeResponse` method is used to normalize a payload from the\n      server to a JSON-API Document.\n       http://jsonapi.org/format/#document-structure\n       Example:\n       ```js\n      Serializer.extend({\n        normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n          if (requestType === 'findRecord') {\n            return this.normalize(primaryModelClass, payload);\n          } else {\n            return payload.reduce(function(documentHash, item) {\n              let { data, included } = this.normalize(primaryModelClass, item);\n              documentHash.included.push(...included);\n              documentHash.data.push(data);\n              return documentHash;\n            }, { data: [], included: [] })\n          }\n        }\n      });\n      ```\n       @since 1.13.0\n      @method normalizeResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n\n    /**\n      The `serialize` method is used when a record is saved in order to convert\n      the record into the form that your external data source expects.\n       `serialize` takes an optional `options` hash with a single option:\n       - `includeId`: If this is `true`, `serialize` should include the ID\n        in the serialized object it builds.\n       Example:\n       ```js\n      Serializer.extend({\n        serialize(snapshot, options) {\n          let json = {\n            id: snapshot.id\n          };\n           snapshot.eachAttribute((key, attribute) => {\n            json[key] = snapshot.attr(key);\n          });\n           snapshot.eachRelationship((key, relationship) => {\n            if (relationship.kind === 'belongsTo') {\n              json[key] = snapshot.belongsTo(key, { id: true });\n            } else if (relationship.kind === 'hasMany') {\n              json[key] = snapshot.hasMany(key, { ids: true });\n            }\n          });\n           return json;\n        },\n      });\n      ```\n       @method serialize\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} [options]\n      @return {Object}\n    */\n\n    /**\n      The `normalize` method is used to convert a payload received from your\n      external data source into the normalized form `store.push()` expects. You\n      should override this method, munge the hash and return the normalized\n      payload.\n       Example:\n       ```js\n      Serializer.extend({\n        normalize(modelClass, resourceHash) {\n          let data = {\n            id:            resourceHash.id,\n            type:          modelClass.modelName,\n            attributes:    resourceHash\n          };\n          return { data: data };\n        }\n      })\n      ```\n       @method normalize\n      @public\n      @param {Model} typeClass\n      @param {Object} hash\n      @return {Object}\n    */\n    normalize(_typeClass, hash) {\n      return hash;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2);\n});","define(\"@ember-data/serializer/json-api\", [\"exports\", \"@ember/debug\", \"@ember/string\", \"ember-inflector\", \"@ember-data/serializer/json\"], function (_exports, _debug, _string, _emberInflector, _json) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * @module @ember-data/serializer/json-api\n   */\n  const JSONAPISerializer = _exports.default = _json.default.extend({\n    /**\n      @method _normalizeDocumentHelper\n      @param {Object} documentHash\n      @return {Object}\n      @private\n    */\n    _normalizeDocumentHelper(documentHash) {\n      if (Array.isArray(documentHash.data)) {\n        const ret = new Array(documentHash.data.length);\n        for (let i = 0; i < documentHash.data.length; i++) {\n          const data = documentHash.data[i];\n          ret[i] = this._normalizeResourceHelper(data);\n        }\n        documentHash.data = ret;\n      } else if (documentHash.data && typeof documentHash.data === 'object') {\n        documentHash.data = this._normalizeResourceHelper(documentHash.data);\n      }\n      if (Array.isArray(documentHash.included)) {\n        const ret = new Array();\n        for (let i = 0; i < documentHash.included.length; i++) {\n          const included = documentHash.included[i];\n          const normalized = this._normalizeResourceHelper(included);\n          if (normalized !== null) {\n            // can be null when unknown type is encountered\n            ret.push(normalized);\n          }\n        }\n        documentHash.included = ret;\n      }\n      return documentHash;\n    },\n    /**\n      @method _normalizeRelationshipDataHelper\n      @param {Object} relationshipDataHash\n      @return {Object}\n      @private\n    */\n    _normalizeRelationshipDataHelper(relationshipDataHash) {\n      relationshipDataHash.type = this.modelNameFromPayloadKey(relationshipDataHash.type);\n      return relationshipDataHash;\n    },\n    /**\n      @method _normalizeResourceHelper\n      @param {Object} resourceHash\n      @return {Object}\n      @private\n    */\n    _normalizeResourceHelper(resourceHash) {\n      (true && !(resourceHash.type) && (0, _debug.assert)(this.warnMessageForUndefinedType(), resourceHash.type));\n      const modelName = this.modelNameFromPayloadKey(resourceHash.type);\n      if (!this.store.getSchemaDefinitionService().doesTypeExist(modelName)) {\n        (true && (0, _debug.warn)(this.warnMessageNoModelForType(modelName, resourceHash.type, 'modelNameFromPayloadKey'), false, {\n          id: 'ds.serializer.model-for-type-missing'\n        }));\n        return null;\n      }\n      const modelClass = this.store.modelFor(modelName);\n      const serializer = this.store.serializerFor(modelName);\n      const {\n        data\n      } = serializer.normalize(modelClass, resourceHash);\n      return data;\n    },\n    /**\n      Normalize some data and push it into the store.\n       @method pushPayload\n      @public\n      @param {Store} store\n      @param {Object} payload\n    */\n    pushPayload(store, payload) {\n      const normalizedPayload = this._normalizeDocumentHelper(payload);\n      store.push(normalizedPayload);\n    },\n    /**\n      @method _normalizeResponse\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @param {Boolean} isSingle\n      @return {Object} JSON-API Document\n      @private\n    */\n    _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      const normalizedPayload = this._normalizeDocumentHelper(payload);\n      return normalizedPayload;\n    },\n    normalizeQueryRecordResponse() {\n      const normalized = this._super(...arguments);\n      (true && !(!Array.isArray(normalized.data)) && (0, _debug.assert)('Expected the primary data returned by the serializer for a `queryRecord` response to be a single object but instead it was an array.', !Array.isArray(normalized.data)));\n      return normalized;\n    },\n    extractAttributes(modelClass, resourceHash) {\n      const attributes = {};\n      if (resourceHash.attributes) {\n        modelClass.eachAttribute(key => {\n          const attributeKey = this.keyForAttribute(key, 'deserialize');\n          if (resourceHash.attributes[attributeKey] !== undefined) {\n            attributes[key] = resourceHash.attributes[attributeKey];\n          }\n          {\n            if (resourceHash.attributes[attributeKey] === undefined && resourceHash.attributes[key] !== undefined) {\n              (true && !(false) && (0, _debug.assert)(`Your payload for '${modelClass.modelName}' contains '${key}', but your serializer is setup to look for '${attributeKey}'. This is most likely because Ember Data's JSON API serializer dasherizes attribute keys by default. You should subclass JSONAPISerializer and implement 'keyForAttribute(key) { return key; }' to prevent Ember Data from customizing your attribute keys.`, false));\n            }\n          }\n        });\n      }\n      return attributes;\n    },\n    /**\n       Returns a relationship formatted as a JSON-API \"relationship object\".\n        http://jsonapi.org/format/#document-resource-object-relationships\n        @method extractRelationship\n      @public\n       @param {Object} relationshipHash\n       @return {Object}\n    */\n    extractRelationship(relationshipHash) {\n      if (Array.isArray(relationshipHash.data)) {\n        const ret = new Array(relationshipHash.data.length);\n        for (let i = 0; i < relationshipHash.data.length; i++) {\n          const data = relationshipHash.data[i];\n          ret[i] = this._normalizeRelationshipDataHelper(data);\n        }\n        relationshipHash.data = ret;\n      } else if (relationshipHash.data && typeof relationshipHash.data === 'object') {\n        relationshipHash.data = this._normalizeRelationshipDataHelper(relationshipHash.data);\n      }\n      return relationshipHash;\n    },\n    /**\n       Returns the resource's relationships formatted as a JSON-API \"relationships object\".\n        http://jsonapi.org/format/#document-resource-object-relationships\n        @method extractRelationships\n      @public\n       @param {Object} modelClass\n       @param {Object} resourceHash\n       @return {Object}\n    */\n    extractRelationships(modelClass, resourceHash) {\n      const relationships = {};\n      if (resourceHash.relationships) {\n        modelClass.eachRelationship((key, relationshipMeta) => {\n          const relationshipKey = this.keyForRelationship(key, relationshipMeta.kind, 'deserialize');\n          if (resourceHash.relationships[relationshipKey] !== undefined) {\n            const relationshipHash = resourceHash.relationships[relationshipKey];\n            relationships[key] = this.extractRelationship(relationshipHash);\n          }\n          {\n            if (resourceHash.relationships[relationshipKey] === undefined && resourceHash.relationships[key] !== undefined) {\n              (true && !(false) && (0, _debug.assert)(`Your payload for '${modelClass.modelName}' contains '${key}', but your serializer is setup to look for '${relationshipKey}'. This is most likely because Ember Data's JSON API serializer dasherizes relationship keys by default. You should subclass JSONAPISerializer and implement 'keyForRelationship(key) { return key; }' to prevent Ember Data from customizing your relationship keys.`, false));\n            }\n          }\n        });\n      }\n      return relationships;\n    },\n    /**\n      @method _extractType\n      @param {Model} modelClass\n      @param {Object} resourceHash\n      @return {String}\n      @private\n    */\n    _extractType(modelClass, resourceHash) {\n      return this.modelNameFromPayloadKey(resourceHash.type);\n    },\n    /**\n      Dasherizes and singularizes the model name in the payload to match\n      the format Ember Data uses internally for the model name.\n       For example the key `posts` would be converted to `post` and the\n      key `studentAssesments` would be converted to `student-assesment`.\n       @method modelNameFromPayloadKey\n      @public\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    modelNameFromPayloadKey(key) {\n      return (0, _string.dasherize)((0, _emberInflector.singularize)(key));\n    },\n    /**\n      Converts the model name to a pluralized version of the model name.\n       For example `post` would be converted to `posts` and\n      `student-assesment` would be converted to `student-assesments`.\n       @method payloadKeyFromModelName\n      @public\n      @param {String} modelName\n      @return {String}\n    */\n    payloadKeyFromModelName(modelName) {\n      return (0, _emberInflector.pluralize)(modelName);\n    },\n    normalize(modelClass, resourceHash) {\n      if (resourceHash.attributes) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash.attributes);\n      }\n      if (resourceHash.relationships) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash.relationships);\n      }\n      const data = {\n        id: this.extractId(modelClass, resourceHash),\n        type: this._extractType(modelClass, resourceHash),\n        attributes: this.extractAttributes(modelClass, resourceHash),\n        relationships: this.extractRelationships(modelClass, resourceHash)\n      };\n      this.applyTransforms(modelClass, data.attributes);\n      return {\n        data\n      };\n    },\n    /**\n      `keyForAttribute` can be used to define rules for how to convert an\n      attribute name in your model to a key in your JSON.\n      By default `JSONAPISerializer` follows the format used on the examples of\n      http://jsonapi.org/format and uses dashes as the word separator in the JSON\n      attribute keys.\n       This behaviour can be easily customized by extending this method.\n       Example\n       ```app/serializers/application.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n      import { dasherize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends JSONAPISerializer {\n        keyForAttribute(attr, method) {\n          return dasherize(attr).toUpperCase();\n        }\n      }\n      ```\n       @method keyForAttribute\n      @public\n      @param {String} key\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForAttribute(key, method) {\n      return (0, _string.dasherize)(key);\n    },\n    /**\n     `keyForRelationship` can be used to define a custom key when\n     serializing and deserializing relationship properties.\n     By default `JSONAPISerializer` follows the format used on the examples of\n     http://jsonapi.org/format and uses dashes as word separators in\n     relationship properties.\n      This behaviour can be easily customized by extending this method.\n      Example\n       ```app/serializers/post.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n      import { underscore } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends JSONAPISerializer {\n        keyForRelationship(key, relationship, method) {\n          return underscore(key);\n        }\n      }\n      ```\n     @method keyForRelationship\n      @public\n     @param {String} key\n     @param {String} typeClass\n     @param {String} method\n     @return {String} normalized key\n    */\n    keyForRelationship(key, typeClass, method) {\n      return (0, _string.dasherize)(key);\n    },\n    /**\n      Called when a record is saved in order to convert the\n      record into JSON.\n       For example, consider this model:\n       ```app/models/comment.js\n      import Model, { attr, belongsTo } from '@ember-data/model';\n       export default class CommentModel extends Model {\n        @attr title;\n        @attr body;\n         @belongsTo('user', { async: false, inverse: null })\n        author;\n      }\n      ```\n       The default serialization would create a JSON-API resource object like:\n       ```javascript\n      {\n        \"data\": {\n          \"type\": \"comments\",\n          \"attributes\": {\n            \"title\": \"Rails is unagi\",\n            \"body\": \"Rails? Omakase? O_O\",\n          },\n          \"relationships\": {\n            \"author\": {\n              \"data\": {\n                \"id\": \"12\",\n                \"type\": \"users\"\n              }\n            }\n          }\n        }\n      }\n      ```\n       By default, attributes are passed through as-is, unless\n      you specified an attribute type (`attr('date')`). If\n      you specify a transform, the JavaScript value will be\n      serialized when inserted into the attributes hash.\n       Belongs-to relationships are converted into JSON-API\n      resource identifier objects.\n       ## IDs\n       `serialize` takes an options hash with a single option:\n      `includeId`. If this option is `true`, `serialize` will,\n      by default include the ID in the JSON object it builds.\n       The JSONAPIAdapter passes in `includeId: true` when serializing a record\n      for `createRecord` or `updateRecord`.\n       ## Customization\n       Your server may expect data in a different format than the\n      built-in serialization format.\n       In that case, you can implement `serialize` yourself and\n      return data formatted to match your API's expectations, or override\n      the invoked adapter method and do the serialization in the adapter directly\n      by using the provided snapshot.\n       If your API's format differs greatly from the JSON:API spec, you should\n      consider authoring your own adapter and serializer instead of extending\n      this class.\n       ```app/serializers/post.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n       export default class PostSerializer extends JSONAPISerializer {\n        serialize(snapshot, options) {\n          let json = {\n            POST_TTL: snapshot.attr('title'),\n            POST_BDY: snapshot.attr('body'),\n            POST_CMS: snapshot.hasMany('comments', { ids: true })\n          };\n           if (options.includeId) {\n            json.POST_ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n      ```\n       ## Customizing an App-Wide Serializer\n       If you want to define a serializer for your entire\n      application, you'll probably want to use `eachAttribute`\n      and `eachRelationship` on the record.\n       ```app/serializers/application.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n      import { underscore, singularize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends JSONAPISerializer {\n        serialize(snapshot, options) {\n          let json = {};\n           snapshot.eachAttribute((name) => {\n            json[serverAttributeName(name)] = snapshot.attr(name);\n          });\n           snapshot.eachRelationship((name, relationship) => {\n            if (relationship.kind === 'hasMany') {\n              json[serverHasManyName(name)] = snapshot.hasMany(name, { ids: true });\n            }\n          });\n           if (options.includeId) {\n            json.ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n       function serverAttributeName(attribute) {\n        return underscore(attribute).toUpperCase();\n      }\n       function serverHasManyName(name) {\n        return serverAttributeName(singularize(name)) + '_IDS';\n      }\n      ```\n       This serializer will generate JSON that looks like this:\n       ```javascript\n      {\n        \"TITLE\": \"Rails is omakase\",\n        \"BODY\": \"Yep. Omakase.\",\n        \"COMMENT_IDS\": [ \"1\", \"2\", \"3\" ]\n      }\n      ```\n       ## Tweaking the Default Formatting\n       If you just want to do some small tweaks on the default JSON:API formatted response,\n      you can call `super.serialize` first and make the tweaks\n      on the returned object.\n       ```app/serializers/post.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n       export default class PostSerializer extends JSONAPISerializer {\n        serialize(snapshot, options) {\n          let json = super.serialize(...arguments);\n           json.data.attributes.subject = json.data.attributes.title;\n          delete json.data.attributes.title;\n           return json;\n        }\n      }\n      ```\n       @method serialize\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize(snapshot, options) {\n      const data = this._super(...arguments);\n      data.type = this.payloadKeyFromModelName(snapshot.modelName);\n      return {\n        data\n      };\n    },\n    serializeAttribute(snapshot, json, key, attribute) {\n      const type = attribute.type;\n      if (this._canSerialize(key)) {\n        json.attributes = json.attributes || {};\n        let value = snapshot.attr(key);\n        if (type) {\n          const transform = this.transformFor(type);\n          value = transform.serialize(value, attribute.options);\n        }\n        const schema = this.store.modelFor(snapshot.modelName);\n        let payloadKey = this._getMappedKey(key, schema);\n        if (payloadKey === key) {\n          payloadKey = this.keyForAttribute(key, 'serialize');\n        }\n        json.attributes[payloadKey] = value;\n      }\n    },\n    serializeBelongsTo(snapshot, json, relationship) {\n      const name = relationship.name;\n      if (this._canSerialize(name)) {\n        const belongsTo = snapshot.belongsTo(name);\n        const belongsToIsNotNew = belongsTo && !belongsTo.isNew;\n        if (belongsTo === null || belongsToIsNotNew) {\n          json.relationships = json.relationships || {};\n          const schema = this.store.modelFor(snapshot.modelName);\n          let payloadKey = this._getMappedKey(name, schema);\n          if (payloadKey === name) {\n            payloadKey = this.keyForRelationship(name, 'belongsTo', 'serialize');\n          }\n          let data = null;\n          if (belongsTo) {\n            const payloadType = this.payloadKeyFromModelName(belongsTo.modelName);\n            data = {\n              type: payloadType,\n              id: belongsTo.id\n            };\n          }\n          json.relationships[payloadKey] = {\n            data\n          };\n        }\n      }\n    },\n    serializeHasMany(snapshot, json, relationship) {\n      const name = relationship.name;\n      if (this.shouldSerializeHasMany(snapshot, name, relationship)) {\n        const hasMany = snapshot.hasMany(name);\n        if (hasMany !== undefined) {\n          json.relationships = json.relationships || {};\n          const schema = this.store.modelFor(snapshot.modelName);\n          let payloadKey = this._getMappedKey(name, schema);\n          if (payloadKey === name && this.keyForRelationship) {\n            payloadKey = this.keyForRelationship(name, 'hasMany', 'serialize');\n          }\n\n          // only serialize has many relationships that are not new\n          const nonNewHasMany = hasMany.filter(item => !item.isNew);\n          const data = new Array(nonNewHasMany.length);\n          for (let i = 0; i < nonNewHasMany.length; i++) {\n            const item = hasMany[i];\n            const payloadType = this.payloadKeyFromModelName(item.modelName);\n            data[i] = {\n              type: payloadType,\n              id: item.id\n            };\n          }\n          json.relationships[payloadKey] = {\n            data\n          };\n        }\n      }\n    }\n  });\n  {\n    JSONAPISerializer.reopen({\n      init(...args) {\n        this._super(...args);\n        (true && !(!this.isEmbeddedRecordsMixin || this.isEmbeddedRecordsMixinCompatible === true) && (0, _debug.assert)(`You've used the EmbeddedRecordsMixin in ${this.toString()} which is not fully compatible with the JSON:API specification. Please confirm that this works for your specific API and add \\`this.isEmbeddedRecordsMixinCompatible = true\\` to your serializer.`, !this.isEmbeddedRecordsMixin || this.isEmbeddedRecordsMixinCompatible === true));\n        const constructor = this.constructor;\n        (true && (0, _debug.warn)(`You've defined 'extractMeta' in ${constructor.toString()} which is not used for serializers extending JSONAPISerializer. Read more at https://api.emberjs.com/ember-data/release/classes/JSONAPISerializer on how to customize meta when using JSON API.`, this.extractMeta === _json.default.prototype.extractMeta, {\n          id: 'ds.serializer.json-api.extractMeta'\n        }));\n      },\n      warnMessageForUndefinedType() {\n        return 'Encountered a resource object with an undefined type (resolved resource using ' + this.constructor.toString() + ')';\n      },\n      warnMessageNoModelForType(modelName, originalType, usedLookup) {\n        return `Encountered a resource object with type \"${originalType}\", but no model was found for model name \"${modelName}\" (resolved model name using '${this.constructor.toString()}.${usedLookup}(\"${originalType}\")').`;\n      }\n    });\n  }\n});","define(\"@ember-data/serializer/json\", [\"exports\", \"@ember/application\", \"@ember/debug\", \"@ember/string\", \"ember-inflector\", \"@ember-data/serializer/index\", \"@ember-data/serializer/utils-N1ERF6HN\"], function (_exports, _application, _debug, _string, _emberInflector, _index, _utilsN1ERF6HN) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * @module @ember-data/serializer/json\n   */\n  const SOURCE_POINTER_REGEXP = /^\\/?data\\/(attributes|relationships)\\/(.*)/;\n  const SOURCE_POINTER_PRIMARY_REGEXP = /^\\/?data/;\n  const PRIMARY_ATTRIBUTE_KEY = 'base';\n\n  /**\n   * <blockquote style=\"margin: 1em; padding: .1em 1em .1em 1em; border-left: solid 1em #E34C32; background: #e0e0e0;\">\n    <p>\n      ⚠️ <strong>This is LEGACY documentation</strong> for a feature that is no longer encouraged to be used.\n      If starting a new app or thinking of implementing a new adapter, consider writing a\n      <a href=\"/ember-data/release/classes/%3CInterface%3E%20Handler\">Handler</a> instead to be used with the <a href=\"https://github.com/emberjs/data/tree/main/packages/request#readme\">RequestManager</a>\n    </p>\n    </blockquote>\n  \n    In EmberData a Serializer is used to serialize and deserialize\n    records when they are transferred in and out of an external source.\n    This process involves normalizing property names, transforming\n    attribute values and serializing relationships.\n  \n    By default, EmberData uses and recommends the `JSONAPISerializer`.\n  \n    `JSONSerializer` is useful for simpler or legacy backends that may\n    not support the http://jsonapi.org/ spec.\n  \n    For example, given the following `User` model and JSON payload:\n  \n    ```app/models/user.js\n    import Model, { attr, belongsTo, hasMany } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @hasMany('user') friends;\n      @belongsTo('location') house;\n  \n      @attr('string') name;\n    }\n    ```\n  \n    ```js\n    {\n      id: 1,\n      name: 'Sebastian',\n      friends: [3, 4],\n      links: {\n        house: '/houses/lefkada'\n      }\n    }\n    ```\n  \n    `JSONSerializer` will normalize the JSON payload to the JSON API format that the\n    Ember Data store expects.\n  \n    You can customize how JSONSerializer processes its payload by passing options in\n    the `attrs` hash or by subclassing the `JSONSerializer` and overriding hooks:\n  \n      - To customize how a single record is normalized, use the `normalize` hook.\n      - To customize how `JSONSerializer` normalizes the whole server response, use the\n        `normalizeResponse` hook.\n      - To customize how `JSONSerializer` normalizes a specific response from the server,\n        use one of the many specific `normalizeResponse` hooks.\n      - To customize how `JSONSerializer` normalizes your id, attributes or relationships,\n        use the `extractId`, `extractAttributes` and `extractRelationships` hooks.\n  \n    The `JSONSerializer` normalization process follows these steps:\n  \n      1. `normalizeResponse`\n          - entry method to the serializer.\n      2. `normalizeCreateRecordResponse`\n          - a `normalizeResponse` for a specific operation is called.\n      3. `normalizeSingleResponse`|`normalizeArrayResponse`\n          - for methods like `createRecord` we expect a single record back, while for methods like `findAll` we expect multiple records back.\n      4. `normalize`\n          - `normalizeArrayResponse` iterates and calls `normalize` for each of its records while `normalizeSingle`\n            calls it once. This is the method you most likely want to subclass.\n      5. `extractId` | `extractAttributes` | `extractRelationships`\n          - `normalize` delegates to these methods to\n            turn the record payload into the JSON API format.\n  \n    @main @ember-data/serializer/json\n    @class JSONSerializer\n    @public\n    @extends Serializer\n  */\n  const JSONSerializer = _exports.default = _index.default.extend({\n    /**\n      The `primaryKey` is used when serializing and deserializing\n      data. Ember Data always uses the `id` property to store the id of\n      the record. The external source may not always follow this\n      convention. In these cases it is useful to override the\n      `primaryKey` property to match the `primaryKey` of your external\n      store.\n       Example\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class ApplicationSerializer extends JSONSerializer {\n        primaryKey = '_id'\n      }\n      ```\n       @property primaryKey\n      @type {String}\n      @public\n      @default 'id'\n    */\n    primaryKey: 'id',\n    /**\n      The `attrs` object can be used to declare a simple mapping between\n      property names on `Model` records and payload keys in the\n      serialized JSON object representing the record. An object with the\n      property `key` can also be used to designate the attribute's key on\n      the response payload.\n       Example\n       ```app/models/person.js\n      import Model, { attr } from '@ember-data/model';\n       export default class PersonModel extends Model {\n        @attr('string') firstName;\n        @attr('string') lastName;\n        @attr('string') occupation;\n        @attr('boolean') admin;\n      }\n      ```\n       ```app/serializers/person.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PersonSerializer extends JSONSerializer {\n        attrs = {\n          admin: 'is_admin',\n          occupation: { key: 'career' }\n        }\n      }\n      ```\n       You can also remove attributes and relationships by setting the `serialize`\n      key to `false` in your mapping object.\n       Example\n       ```app/serializers/person.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        attrs = {\n          admin: { serialize: false },\n          occupation: { key: 'career' }\n        }\n      }\n      ```\n       When serialized:\n       ```javascript\n      {\n        \"firstName\": \"Harry\",\n        \"lastName\": \"Houdini\",\n        \"career\": \"magician\"\n      }\n      ```\n       Note that the `admin` is now not included in the payload.\n       Setting `serialize` to `true` enforces serialization for hasMany\n      relationships even if it's neither a many-to-many nor many-to-none\n      relationship.\n       @property attrs\n      @public\n      @type {Object}\n    */\n    mergedProperties: ['attrs'],\n    /**\n     Given a subclass of `Model` and a JSON object this method will\n     iterate through each attribute of the `Model` and invoke the\n     `Transform#deserialize` method on the matching property of the\n     JSON object.  This method is typically called after the\n     serializer's `normalize` method.\n      @method applyTransforms\n     @private\n     @param {Model} typeClass\n     @param {Object} data The data to transform\n     @return {Object} data The transformed data object\n    */\n    applyTransforms(typeClass, data) {\n      const attributes = typeClass.attributes;\n      typeClass.eachTransformedAttribute((key, typeClass) => {\n        if (data[key] === undefined) {\n          return;\n        }\n        const transform = this.transformFor(typeClass);\n        const transformMeta = attributes.get(key);\n        data[key] = transform.deserialize(data[key], transformMeta.options);\n      });\n      return data;\n    },\n    /**\n      The `normalizeResponse` method is used to normalize a payload from the\n      server to a JSON-API Document.\n       http://jsonapi.org/format/#document-structure\n       This method delegates to a more specific normalize method based on\n      the `requestType`.\n       To override this method with a custom one, make sure to call\n      `return super.normalizeResponse(store, primaryModelClass, payload, id, requestType)` with your\n      pre-processed data.\n       Here's an example of using `normalizeResponse` manually:\n       ```javascript\n      socket.on('message', function(message) {\n        let data = message.data;\n        let modelClass = store.modelFor(data.modelName);\n        let serializer = store.serializerFor(data.modelName);\n        let normalized = serializer.normalizeSingleResponse(store, modelClass, data, data.id);\n         store.push(normalized);\n      });\n      ```\n       @since 1.13.0\n      @method normalizeResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n      switch (requestType) {\n        case 'findRecord':\n          return this.normalizeFindRecordResponse(...arguments);\n        case 'queryRecord':\n          return this.normalizeQueryRecordResponse(...arguments);\n        case 'findAll':\n          return this.normalizeFindAllResponse(...arguments);\n        case 'findBelongsTo':\n          return this.normalizeFindBelongsToResponse(...arguments);\n        case 'findHasMany':\n          return this.normalizeFindHasManyResponse(...arguments);\n        case 'findMany':\n          return this.normalizeFindManyResponse(...arguments);\n        case 'query':\n          return this.normalizeQueryResponse(...arguments);\n        case 'createRecord':\n          return this.normalizeCreateRecordResponse(...arguments);\n        case 'deleteRecord':\n          return this.normalizeDeleteRecordResponse(...arguments);\n        case 'updateRecord':\n          return this.normalizeUpdateRecordResponse(...arguments);\n      }\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findRecord`\n       @since 1.13.0\n      @method normalizeFindRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `queryRecord`\n       @since 1.13.0\n      @method normalizeQueryRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeQueryRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findAll`\n       @since 1.13.0\n      @method normalizeFindAllResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindAllResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findBelongsTo`\n       @since 1.13.0\n      @method normalizeFindBelongsToResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindBelongsToResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findHasMany`\n       @since 1.13.0\n      @method normalizeFindHasManyResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindHasManyResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findMany`\n       @since 1.13.0\n      @method normalizeFindManyResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindManyResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `query`\n       @since 1.13.0\n      @method normalizeQueryResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeQueryResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `createRecord`\n       @since 1.13.0\n      @method normalizeCreateRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeCreateRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `deleteRecord`\n       @since 1.13.0\n      @method normalizeDeleteRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeDeleteRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `updateRecord`\n       @since 1.13.0\n      @method normalizeUpdateRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeUpdateRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse(...arguments);\n    },\n    /**\n      normalizeUpdateRecordResponse, normalizeCreateRecordResponse and\n      normalizeDeleteRecordResponse delegate to this method by default.\n       @since 1.13.0\n      @method normalizeSaveResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeSaveResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse(...arguments);\n    },\n    /**\n      normalizeQueryResponse and normalizeFindRecordResponse delegate to this\n      method by default.\n       @since 1.13.0\n      @method normalizeSingleResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeSingleResponse(store, primaryModelClass, payload, id, requestType) {\n      return this._normalizeResponse(store, primaryModelClass, payload, id, requestType, true);\n    },\n    /**\n      normalizeQueryResponse, normalizeFindManyResponse, and normalizeFindHasManyResponse delegate\n      to this method by default.\n       @since 1.13.0\n      @method normalizeArrayResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeArrayResponse(store, primaryModelClass, payload, id, requestType) {\n      return this._normalizeResponse(store, primaryModelClass, payload, id, requestType, false);\n    },\n    /**\n      @method _normalizeResponse\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @param {Boolean} isSingle\n      @return {Object} JSON-API Document\n      @private\n    */\n    _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      const documentHash = {\n        data: null,\n        included: []\n      };\n      const meta = this.extractMeta(store, primaryModelClass, payload);\n      if (meta) {\n        (true && !(typeof meta === 'object') && (0, _debug.assert)('The `meta` returned from `extractMeta` has to be an object, not \"' + typeof meta + '\".', typeof meta === 'object'));\n        documentHash.meta = meta;\n      }\n      if (isSingle) {\n        const {\n          data,\n          included\n        } = this.normalize(primaryModelClass, payload);\n        documentHash.data = data;\n        if (included) {\n          documentHash.included = included;\n        }\n      } else {\n        const ret = new Array(payload.length);\n        for (let i = 0, l = payload.length; i < l; i++) {\n          const item = payload[i];\n          const {\n            data,\n            included\n          } = this.normalize(primaryModelClass, item);\n          if (included) {\n            documentHash.included = documentHash.included.concat(included);\n          }\n          ret[i] = data;\n        }\n        documentHash.data = ret;\n      }\n      return documentHash;\n    },\n    /**\n      Normalizes a part of the JSON payload returned by\n      the server. You should override this method, munge the hash\n      and call super if you have generic normalization to do.\n       It takes the type of the record that is being normalized\n      (as a Model class), the property where the hash was\n      originally found, and the hash to normalize.\n       You can use this method, for example, to normalize underscored keys to camelized\n      or other general-purpose normalizations.\n       Example\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n      import { underscore } from '<app-name>/utils/string-utils';\n      import { get } from '@ember/object';\n       export default class ApplicationSerializer extends JSONSerializer {\n        normalize(typeClass, hash) {\n          let fields = typeClass.fields;\n           fields.forEach(function(type, field) {\n            let payloadField = underscore(field);\n            if (field === payloadField) { return; }\n             hash[field] = hash[payloadField];\n            delete hash[payloadField];\n          });\n           return super.normalize(...arguments);\n        }\n      }\n      ```\n       @method normalize\n      @public\n      @param {Model} typeClass\n      @param {Object} hash\n      @return {Object}\n    */\n    normalize(modelClass, resourceHash) {\n      let data = null;\n      if (resourceHash) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash);\n        if (typeof resourceHash.links === 'object') {\n          this.normalizeUsingDeclaredMapping(modelClass, resourceHash.links);\n        }\n        data = {\n          id: this.extractId(modelClass, resourceHash),\n          type: modelClass.modelName,\n          attributes: this.extractAttributes(modelClass, resourceHash),\n          relationships: this.extractRelationships(modelClass, resourceHash)\n        };\n        this.applyTransforms(modelClass, data.attributes);\n      }\n      return {\n        data\n      };\n    },\n    /**\n      Returns the resource's ID.\n       @method extractId\n      @public\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {String}\n    */\n    extractId(modelClass, resourceHash) {\n      const primaryKey = this.primaryKey;\n      const id = resourceHash[primaryKey];\n      return (0, _utilsN1ERF6HN.c)(id);\n    },\n    /**\n      Returns the resource's attributes formatted as a JSON-API \"attributes object\".\n       http://jsonapi.org/format/#document-resource-object-attributes\n       @method extractAttributes\n      @public\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {Object}\n    */\n    extractAttributes(modelClass, resourceHash) {\n      let attributeKey;\n      const attributes = {};\n      modelClass.eachAttribute(key => {\n        attributeKey = this.keyForAttribute(key, 'deserialize');\n        if (resourceHash[attributeKey] !== undefined) {\n          attributes[key] = resourceHash[attributeKey];\n        }\n      });\n      return attributes;\n    },\n    /**\n      Returns a relationship formatted as a JSON-API \"relationship object\".\n       http://jsonapi.org/format/#document-resource-object-relationships\n       @method extractRelationship\n      @public\n      @param {Object} relationshipModelName\n      @param {Object} relationshipHash\n      @return {Object}\n    */\n    extractRelationship(relationshipModelName, relationshipHash) {\n      if (!relationshipHash) {\n        return null;\n      }\n      /*\n        When `relationshipHash` is an object it usually means that the relationship\n        is polymorphic. It could however also be embedded resources that the\n        EmbeddedRecordsMixin has be able to process.\n      */\n      if (relationshipHash && typeof relationshipHash === 'object' && !Array.isArray(relationshipHash)) {\n        if (relationshipHash.id) {\n          relationshipHash.id = (0, _utilsN1ERF6HN.c)(relationshipHash.id);\n        }\n        const modelClass = this.store.modelFor(relationshipModelName);\n        if (relationshipHash.type && !modelClass.fields.has('type')) {\n          relationshipHash.type = this.modelNameFromPayloadKey(relationshipHash.type);\n        }\n        return relationshipHash;\n      }\n      return {\n        id: (0, _utilsN1ERF6HN.c)(relationshipHash),\n        type: (0, _string.dasherize)((0, _emberInflector.singularize)(relationshipModelName))\n      };\n    },\n    /**\n      Returns a polymorphic relationship formatted as a JSON-API \"relationship object\".\n       http://jsonapi.org/format/#document-resource-object-relationships\n       `relationshipOptions` is a hash which contains more information about the\n      polymorphic relationship which should be extracted:\n        - `resourceHash` complete hash of the resource the relationship should be\n          extracted from\n        - `relationshipKey` key under which the value for the relationship is\n          extracted from the resourceHash\n        - `relationshipMeta` meta information about the relationship\n       @method extractPolymorphicRelationship\n      @public\n      @param {Object} relationshipModelName\n      @param {Object} relationshipHash\n      @param {Object} relationshipOptions\n      @return {Object}\n    */\n    extractPolymorphicRelationship(relationshipModelName, relationshipHash, relationshipOptions) {\n      return this.extractRelationship(relationshipModelName, relationshipHash);\n    },\n    /**\n      Returns the resource's relationships formatted as a JSON-API \"relationships object\".\n       http://jsonapi.org/format/#document-resource-object-relationships\n       @method extractRelationships\n      @public\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {Object}\n    */\n    extractRelationships(modelClass, resourceHash) {\n      const relationships = {};\n      modelClass.eachRelationship((key, relationshipMeta) => {\n        let relationship = null;\n        const relationshipKey = this.keyForRelationship(key, relationshipMeta.kind, 'deserialize');\n        if (resourceHash[relationshipKey] !== undefined) {\n          let data = null;\n          const relationshipHash = resourceHash[relationshipKey];\n          if (relationshipMeta.kind === 'belongsTo') {\n            if (relationshipMeta.options.polymorphic) {\n              // extracting a polymorphic belongsTo may need more information\n              // than the type and the hash (which might only be an id) for the\n              // relationship, hence we pass the key, resource and\n              // relationshipMeta too\n              data = this.extractPolymorphicRelationship(relationshipMeta.type, relationshipHash, {\n                key,\n                resourceHash,\n                relationshipMeta\n              });\n            } else {\n              data = this.extractRelationship(relationshipMeta.type, relationshipHash);\n            }\n          } else if (relationshipMeta.kind === 'hasMany') {\n            if (relationshipHash) {\n              data = new Array(relationshipHash.length);\n              if (relationshipMeta.options.polymorphic) {\n                for (let i = 0, l = relationshipHash.length; i < l; i++) {\n                  const item = relationshipHash[i];\n                  data[i] = this.extractPolymorphicRelationship(relationshipMeta.type, item, {\n                    key,\n                    resourceHash,\n                    relationshipMeta\n                  });\n                }\n              } else {\n                for (let i = 0, l = relationshipHash.length; i < l; i++) {\n                  const item = relationshipHash[i];\n                  data[i] = this.extractRelationship(relationshipMeta.type, item);\n                }\n              }\n            }\n          }\n          relationship = {\n            data\n          };\n        }\n        const linkKey = this.keyForLink(key, relationshipMeta.kind);\n        if (resourceHash.links && resourceHash.links[linkKey] !== undefined) {\n          const related = resourceHash.links[linkKey];\n          relationship = relationship || {};\n          relationship.links = {\n            related\n          };\n        }\n        if (relationship) {\n          relationships[key] = relationship;\n        }\n      });\n      return relationships;\n    },\n    /**\n      Dasherizes the model name in the payload\n       @method modelNameFromPayloadKey\n      @public\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    modelNameFromPayloadKey(key) {\n      return (0, _string.dasherize)((0, _emberInflector.singularize)(key));\n    },\n    /**\n      @method normalizeRelationships\n      @private\n    */\n    normalizeRelationships(typeClass, hash) {\n      let payloadKey;\n      if (this.keyForRelationship) {\n        typeClass.eachRelationship((key, relationship) => {\n          payloadKey = this.keyForRelationship(key, relationship.kind, 'deserialize');\n          if (key === payloadKey) {\n            return;\n          }\n          if (hash[payloadKey] === undefined) {\n            return;\n          }\n          hash[key] = hash[payloadKey];\n          delete hash[payloadKey];\n        });\n      }\n    },\n    /**\n      @method normalizeUsingDeclaredMapping\n      @private\n    */\n    normalizeUsingDeclaredMapping(modelClass, hash) {\n      const attrs = this.attrs;\n      let normalizedKey;\n      let payloadKey;\n      if (attrs) {\n        for (const key in attrs) {\n          normalizedKey = payloadKey = this._getMappedKey(key, modelClass);\n          if (hash[payloadKey] === undefined) {\n            continue;\n          }\n          if (modelClass.attributes.has(key)) {\n            normalizedKey = this.keyForAttribute(key, 'deserialize');\n          }\n          if (modelClass.relationshipsByName.has(key)) {\n            normalizedKey = this.keyForRelationship(key, modelClass, 'deserialize');\n          }\n          if (payloadKey !== normalizedKey) {\n            hash[normalizedKey] = hash[payloadKey];\n            delete hash[payloadKey];\n          }\n        }\n      }\n    },\n    /**\n      Looks up the property key that was set by the custom `attr` mapping\n      passed to the serializer.\n       @method _getMappedKey\n      @private\n      @param {String} key\n      @return {String} key\n    */\n    _getMappedKey(key, modelClass) {\n      (true && (0, _debug.warn)('There is no attribute or relationship with the name `' + key + '` on `' + modelClass.modelName + '`. Check your serializers attrs hash.', modelClass.attributes.has(key) || modelClass.relationshipsByName.has(key), {\n        id: 'ds.serializer.no-mapped-attrs-key'\n      }));\n      const attrs = this.attrs;\n      let mappedKey;\n      if (attrs && attrs[key]) {\n        mappedKey = attrs[key];\n        //We need to account for both the { title: 'post_title' } and\n        //{ title: { key: 'post_title' }} forms\n        if (mappedKey.key) {\n          mappedKey = mappedKey.key;\n        }\n        if (typeof mappedKey === 'string') {\n          key = mappedKey;\n        }\n      }\n      return key;\n    },\n    /**\n      Check attrs.key.serialize property to inform if the `key`\n      can be serialized\n       @method _canSerialize\n      @private\n      @param {String} key\n      @return {boolean} true if the key can be serialized\n    */\n    _canSerialize(key) {\n      const attrs = this.attrs;\n      return !attrs || !attrs[key] || attrs[key].serialize !== false;\n    },\n    /**\n      When attrs.key.serialize is set to true then\n      it takes priority over the other checks and the related\n      attribute/relationship will be serialized\n       @method _mustSerialize\n      @private\n      @param {String} key\n      @return {boolean} true if the key must be serialized\n    */\n    _mustSerialize(key) {\n      const attrs = this.attrs;\n      return attrs && attrs[key] && attrs[key].serialize === true;\n    },\n    /**\n      Check if the given hasMany relationship should be serialized\n       By default only many-to-many and many-to-none relationships are serialized.\n      This could be configured per relationship by Serializer's `attrs` object.\n       @method shouldSerializeHasMany\n      @public\n      @param {Snapshot} snapshot\n      @param {String} key\n      @param {RelationshipSchema} relationship\n      @return {boolean} true if the hasMany relationship should be serialized\n    */\n    shouldSerializeHasMany(snapshot, key, relationship) {\n      const schema = this.store.modelFor(snapshot.modelName);\n      const relationshipType = schema.determineRelationshipType(relationship, this.store);\n      if (this._mustSerialize(key)) {\n        return true;\n      }\n      return this._canSerialize(key) && (relationshipType === 'manyToNone' || relationshipType === 'manyToMany');\n    },\n    // SERIALIZE\n    /**\n      Called when a record is saved in order to convert the\n      record into JSON.\n       By default, it creates a JSON object with a key for\n      each attribute and belongsTo relationship.\n       For example, consider this model:\n       ```app/models/comment.js\n      import Model, { attr, belongsTo } from '@ember-data/model';\n       export default class CommentModel extends Model {\n        @attr title;\n        @attr body;\n         @belongsTo('user') author;\n      }\n      ```\n       The default serialization would create a JSON object like:\n       ```javascript\n      {\n        \"title\": \"Rails is unagi\",\n        \"body\": \"Rails? Omakase? O_O\",\n        \"author\": 12\n      }\n      ```\n       By default, attributes are passed through as-is, unless\n      you specified an attribute type (`attr('date')`). If\n      you specify a transform, the JavaScript value will be\n      serialized when inserted into the JSON hash.\n       By default, belongs-to relationships are converted into\n      IDs when inserted into the JSON hash.\n       ## IDs\n       `serialize` takes an options hash with a single option:\n      `includeId`. If this option is `true`, `serialize` will,\n      by default include the ID in the JSON object it builds.\n       The adapter passes in `includeId: true` when serializing\n      a record for `createRecord`, but not for `updateRecord`.\n       ## Customization\n       Your server may expect a different JSON format than the\n      built-in serialization format.\n       In that case, you can implement `serialize` yourself and\n      return a JSON hash of your choosing.\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        serialize(snapshot, options) {\n          let json = {\n            POST_TTL: snapshot.attr('title'),\n            POST_BDY: snapshot.attr('body'),\n            POST_CMS: snapshot.hasMany('comments', { ids: true })\n          };\n           if (options.includeId) {\n            json.POST_ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n      ```\n       ## Customizing an App-Wide Serializer\n       If you want to define a serializer for your entire\n      application, you'll probably want to use `eachAttribute`\n      and `eachRelationship` on the record.\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n      import { singularize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends JSONSerializer {\n        serialize(snapshot, options) {\n          let json = {};\n           snapshot.eachAttribute((name) => {\n            json[serverAttributeName(name)] = snapshot.attr(name);\n          });\n           snapshot.eachRelationship((name, relationship) => {\n            if (relationship.kind === 'hasMany') {\n              json[serverHasManyName(name)] = snapshot.hasMany(name, { ids: true });\n            }\n          });\n           if (options.includeId) {\n            json.ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n       function serverAttributeName(attribute) {\n        return attribute.underscore().toUpperCase();\n      }\n       function serverHasManyName(name) {\n        return serverAttributeName(singularize(name)) + \"_IDS\";\n      }\n      ```\n       This serializer will generate JSON that looks like this:\n       ```javascript\n      {\n        \"TITLE\": \"Rails is omakase\",\n        \"BODY\": \"Yep. Omakase.\",\n        \"COMMENT_IDS\": [ \"1\", \"2\", \"3\" ]\n      }\n      ```\n       ## Tweaking the Default JSON\n       If you just want to do some small tweaks on the default JSON,\n      you can call `super.serialize` first and make the tweaks on\n      the returned JSON.\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        serialize(snapshot, options) {\n          let json = super.serialize(...arguments);\n           json.subject = json.title;\n          delete json.title;\n           return json;\n        }\n      }\n      ```\n       @method serialize\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize(snapshot, options) {\n      const json = {};\n      if (options && options.includeId) {\n        const id = snapshot.id;\n        if (id) {\n          json[this.primaryKey] = id;\n        }\n      }\n      snapshot.eachAttribute((key, attribute) => {\n        this.serializeAttribute(snapshot, json, key, attribute);\n      });\n      snapshot.eachRelationship((key, relationship) => {\n        if (relationship.kind === 'belongsTo') {\n          this.serializeBelongsTo(snapshot, json, relationship);\n        } else if (relationship.kind === 'hasMany') {\n          this.serializeHasMany(snapshot, json, relationship);\n        }\n      });\n      return json;\n    },\n    /**\n      You can use this method to customize how a serialized record is added to the complete\n      JSON hash to be sent to the server. By default the JSON Serializer does not namespace\n      the payload and just sends the raw serialized JSON object.\n      If your server expects namespaced keys, you should consider using the RESTSerializer.\n      Otherwise you can override this method to customize how the record is added to the hash.\n      The hash property should be modified by reference.\n       For example, your server may expect underscored root objects.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n      import { decamelize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serializeIntoHash(data, type, snapshot, options) {\n          let root = decamelize(type.modelName);\n          data[root] = this.serialize(snapshot, options);\n        }\n      }\n      ```\n       @method serializeIntoHash\n      @public\n      @param {Object} hash\n      @param {Model} typeClass\n      @param {Snapshot} snapshot\n      @param {Object} options\n    */\n    serializeIntoHash(hash, typeClass, snapshot, options) {\n      Object.assign(hash, this.serialize(snapshot, options));\n    },\n    /**\n      `serializeAttribute` can be used to customize how `attr`\n      properties are serialized\n       For example if you wanted to ensure all your attributes were always\n      serialized as properties on an `attributes` object you could\n      write:\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class ApplicationSerializer extends JSONSerializer {\n        serializeAttribute(snapshot, json, key, attributes) {\n          json.attributes = json.attributes || {};\n          super.serializeAttribute(snapshot, json.attributes, key, attributes);\n        }\n      }\n      ```\n       @method serializeAttribute\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {String} key\n      @param {Object} attribute\n    */\n    serializeAttribute(snapshot, json, key, attribute) {\n      if (this._canSerialize(key)) {\n        const type = attribute.type;\n        let value = snapshot.attr(key);\n        if (type) {\n          const transform = this.transformFor(type);\n          value = transform.serialize(value, attribute.options);\n        }\n\n        // if provided, use the mapping provided by `attrs` in\n        // the serializer\n        const schema = this.store.modelFor(snapshot.modelName);\n        let payloadKey = this._getMappedKey(key, schema);\n        if (payloadKey === key && this.keyForAttribute) {\n          payloadKey = this.keyForAttribute(key, 'serialize');\n        }\n        json[payloadKey] = value;\n      }\n    },\n    /**\n      `serializeBelongsTo` can be used to customize how `belongsTo`\n      properties are serialized.\n       Example\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        serializeBelongsTo(snapshot, json, relationship) {\n          let key = relationship.name;\n          let belongsTo = snapshot.belongsTo(key);\n           key = this.keyForRelationship ? this.keyForRelationship(key, \"belongsTo\", \"serialize\") : key;\n           json[key] = !belongsTo ? null : belongsTo.record.toJSON();\n        }\n      }\n      ```\n       @method serializeBelongsTo\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeBelongsTo(snapshot, json, relationship) {\n      const name = relationship.name;\n      if (this._canSerialize(name)) {\n        const belongsToId = snapshot.belongsTo(name, {\n          id: true\n        });\n\n        // if provided, use the mapping provided by `attrs` in\n        // the serializer\n        const schema = this.store.modelFor(snapshot.modelName);\n        let payloadKey = this._getMappedKey(name, schema);\n        if (payloadKey === name && this.keyForRelationship) {\n          payloadKey = this.keyForRelationship(name, 'belongsTo', 'serialize');\n        }\n\n        //Need to check whether the id is there for new&async records\n        if (!belongsToId) {\n          json[payloadKey] = null;\n        } else {\n          json[payloadKey] = belongsToId;\n        }\n        if (relationship.options.polymorphic) {\n          this.serializePolymorphicType(snapshot, json, relationship);\n        }\n      }\n    },\n    /**\n     `serializeHasMany` can be used to customize how `hasMany`\n     properties are serialized.\n      Example\n      ```app/serializers/post.js\n     import JSONSerializer from '@ember-data/serializer/json';\n      export default class PostSerializer extends JSONSerializer {\n       serializeHasMany(snapshot, json, relationship) {\n         let key = relationship.name;\n         if (key === 'comments') {\n           return;\n         } else {\n           super.serializeHasMany(...arguments);\n         }\n       }\n     }\n     ```\n      @method serializeHasMany\n      @public\n     @param {Snapshot} snapshot\n     @param {Object} json\n     @param {Object} relationship\n    */\n    serializeHasMany(snapshot, json, relationship) {\n      const name = relationship.name;\n      if (this.shouldSerializeHasMany(snapshot, name, relationship)) {\n        const hasMany = snapshot.hasMany(name, {\n          ids: true\n        });\n        if (hasMany !== undefined) {\n          // if provided, use the mapping provided by `attrs` in\n          // the serializer\n          const schema = this.store.modelFor(snapshot.modelName);\n          let payloadKey = this._getMappedKey(name, schema);\n          if (payloadKey === name && this.keyForRelationship) {\n            payloadKey = this.keyForRelationship(name, 'hasMany', 'serialize');\n          }\n          json[payloadKey] = hasMany;\n          // TODO support for polymorphic manyToNone and manyToMany relationships\n        }\n      }\n    },\n    /**\n      You can use this method to customize how polymorphic objects are\n      serialized. Objects are considered to be polymorphic if\n      `{ polymorphic: true }` is pass as the second argument to the\n      `belongsTo` function.\n       Example\n       ```app/serializers/comment.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class CommentSerializer extends JSONSerializer {\n        serializePolymorphicType(snapshot, json, relationship) {\n          let key = relationship.name;\n          let belongsTo = snapshot.belongsTo(key);\n           key = this.keyForAttribute ? this.keyForAttribute(key, 'serialize') : key;\n           if (!belongsTo) {\n            json[key + '_type'] = null;\n          } else {\n            json[key + '_type'] = belongsTo.modelName;\n          }\n        }\n      }\n      ```\n       @method serializePolymorphicType\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializePolymorphicType() {},\n    /**\n      `extractMeta` is used to deserialize any meta information in the\n      adapter payload. By default Ember Data expects meta information to\n      be located on the `meta` property of the payload object.\n       Example\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        extractMeta(store, typeClass, payload) {\n          if (payload && payload.hasOwnProperty('_pagination')) {\n            let meta = payload._pagination;\n            delete payload._pagination;\n            return meta;\n          }\n        }\n      }\n      ```\n       @method extractMeta\n      @public\n      @param {Store} store\n      @param {Model} modelClass\n      @param {Object} payload\n    */\n    extractMeta(store, modelClass, payload) {\n      if (payload && payload['meta'] !== undefined) {\n        const meta = payload.meta;\n        delete payload.meta;\n        return meta;\n      }\n    },\n    /**\n      `extractErrors` is used to extract model errors when a call\n      to `Model#save` fails with an `InvalidError`. By default\n      Ember Data expects error information to be located on the `errors`\n      property of the payload object.\n       This serializer expects this `errors` object to be an Array similar\n      to the following, compliant with the https://jsonapi.org/format/#errors specification:\n       ```js\n      {\n        \"errors\": [\n          {\n            \"detail\": \"This username is already taken!\",\n            \"source\": {\n              \"pointer\": \"data/attributes/username\"\n            }\n          }, {\n            \"detail\": \"Doesn't look like a valid email.\",\n            \"source\": {\n              \"pointer\": \"data/attributes/email\"\n            }\n          }\n        ]\n      }\n      ```\n       The key `detail` provides a textual description of the problem.\n      Alternatively, the key `title` can be used for the same purpose.\n       The nested keys `source.pointer` detail which specific element\n      of the request data was invalid.\n       Note that JSON-API also allows for object-level errors to be placed\n      in an object with pointer `data`, signifying that the problem\n      cannot be traced to a specific attribute:\n       ```javascript\n      {\n        \"errors\": [\n          {\n            \"detail\": \"Some generic non property error message\",\n            \"source\": {\n              \"pointer\": \"data\"\n            }\n          }\n        ]\n      }\n      ```\n       When turn into a `Errors` object, you can read these errors\n      through the property `base`:\n       ```handlebars\n      {{#each @model.errors.base as |error|}}\n        <div class=\"error\">\n          {{error.message}}\n        </div>\n      {{/each}}\n      ```\n       Example of alternative implementation, overriding the default\n      behavior to deal with a different format of errors:\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        extractErrors(store, typeClass, payload, id) {\n          if (payload && typeof payload === 'object' && payload._problems) {\n            payload = payload._problems;\n            this.normalizeErrors(typeClass, payload);\n          }\n          return payload;\n        }\n      }\n      ```\n       @method extractErrors\n      @public\n      @param {Store} store\n      @param {Model} typeClass\n      @param {Object} payload\n      @param {(String|Number)} id\n      @return {Object} json The deserialized errors\n    */\n    extractErrors(store, typeClass, payload, id) {\n      if (payload && typeof payload === 'object' && payload.errors) {\n        // the default assumption is that errors is already in JSON:API format\n        const extracted = {};\n        payload.errors.forEach(error => {\n          if (error.source && error.source.pointer) {\n            let key = error.source.pointer.match(SOURCE_POINTER_REGEXP);\n            if (key) {\n              key = key[2];\n            } else if (error.source.pointer.search(SOURCE_POINTER_PRIMARY_REGEXP) !== -1) {\n              key = PRIMARY_ATTRIBUTE_KEY;\n            }\n            if (key) {\n              extracted[key] = extracted[key] || [];\n              extracted[key].push(error.detail || error.title);\n            }\n          }\n        });\n\n        // if the user has an attrs hash, convert keys using it\n        this.normalizeUsingDeclaredMapping(typeClass, extracted);\n\n        // for each attr and relationship, make sure that we use\n        // the normalized key\n        typeClass.eachAttribute(name => {\n          const key = this.keyForAttribute(name, 'deserialize');\n          if (key !== name && extracted[key] !== undefined) {\n            extracted[name] = extracted[key];\n            delete extracted[key];\n          }\n        });\n        typeClass.eachRelationship(name => {\n          const key = this.keyForRelationship(name, 'deserialize');\n          if (key !== name && extracted[key] !== undefined) {\n            extracted[name] = extracted[key];\n            delete extracted[key];\n          }\n        });\n        return extracted;\n      }\n      return payload;\n    },\n    /**\n      `keyForAttribute` can be used to define rules for how to convert an\n      attribute name in your model to a key in your JSON.\n       Example\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n      import { underscore } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends JSONSerializer {\n        keyForAttribute(attr, method) {\n          return underscore(attr).toUpperCase();\n        }\n      }\n      ```\n       @method keyForAttribute\n      @public\n      @param {String} key\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForAttribute(key, method) {\n      return key;\n    },\n    /**\n      `keyForRelationship` can be used to define a custom key when\n      serializing and deserializing relationship properties. By default\n      `JSONSerializer` does not provide an implementation of this method.\n       Example\n         ```app/serializers/post.js\n        import JSONSerializer from '@ember-data/serializer/json';\n        import { underscore } from '<app-name>/utils/string-utils';\n         export default class PostSerializer extends JSONSerializer {\n          keyForRelationship(key, relationship, method) {\n            return `rel_${underscore(key)}`;\n          }\n        }\n        ```\n       @method keyForRelationship\n      @public\n      @param {String} key\n      @param {String} typeClass\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForRelationship(key, typeClass, method) {\n      return key;\n    },\n    /**\n     `keyForLink` can be used to define a custom key when deserializing link\n     properties.\n      @method keyForLink\n      @public\n     @param {String} key\n     @param {String} kind `belongsTo` or `hasMany`\n     @return {String} normalized key\n    */\n    keyForLink(key, kind) {\n      return key;\n    },\n    // HELPERS\n\n    /**\n     @method transformFor\n     @private\n     @param {String} attributeType\n     @param {Boolean} skipAssertion\n     @return {Transform} transform\n    */\n    transformFor(attributeType, skipAssertion) {\n      const transform = (0, _application.getOwner)(this).lookup('transform:' + attributeType);\n      (true && !(skipAssertion || !!transform) && (0, _debug.assert)(`Unable to find the transform for \\`attr('${attributeType}')\\``, skipAssertion || !!transform));\n      return transform;\n    }\n  });\n});","define(\"@ember-data/serializer/rest\", [\"exports\", \"@ember/debug\", \"@ember/string\", \"ember-inflector\", \"@ember-data/serializer/embedded-records-mixin-HTw8JJT1\", \"@ember-data/serializer/utils-N1ERF6HN\", \"@ember-data/serializer/json\"], function (_exports, _debug, _string, _emberInflector, _embeddedRecordsMixinHTw8JJT, _utilsN1ERF6HN, _json) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"EmbeddedRecordsMixin\", {\n    enumerable: true,\n    get: function () {\n      return _embeddedRecordsMixinHTw8JJT.e;\n    }\n  });\n  _exports.default = void 0;\n  /**\n   * @module @ember-data/serializer/rest\n   */\n  function makeArray(value) {\n    return Array.isArray(value) ? value : [value];\n  }\n\n  /**\n   * <blockquote style=\"margin: 1em; padding: .1em 1em .1em 1em; border-left: solid 1em #E34C32; background: #e0e0e0;\">\n    <p>\n      ⚠️ <strong>This is LEGACY documentation</strong> for a feature that is no longer encouraged to be used.\n      If starting a new app or thinking of implementing a new adapter, consider writing a\n      <a href=\"/ember-data/release/classes/%3CInterface%3E%20Handler\">Handler</a> instead to be used with the <a href=\"https://github.com/emberjs/data/tree/main/packages/request#readme\">RequestManager</a>\n    </p>\n    </blockquote>\n  \n    Normally, applications will use the `RESTSerializer` by implementing\n    the `normalize` method.\n  \n    This allows you to do whatever kind of munging you need and is\n    especially useful if your server is inconsistent and you need to\n    do munging differently for many different kinds of responses.\n  \n    See the `normalize` documentation for more information.\n  \n    ## Across the Board Normalization\n  \n    There are also a number of hooks that you might find useful to define\n    across-the-board rules for your payload. These rules will be useful\n    if your server is consistent, or if you're building an adapter for\n    an infrastructure service, like Firebase, and want to encode service\n    conventions.\n  \n    For example, if all of your keys are underscored and all-caps, but\n    otherwise consistent with the names you use in your models, you\n    can implement across-the-board rules for how to convert an attribute\n    name in your model to a key in your JSON.\n  \n    ```app/serializers/application.js\n    import RESTSerializer from '@ember-data/serializer/rest';\n    import { underscore } from '<app-name>/utils/string-utils';\n  \n    export default class ApplicationSerializer extends RESTSerializer {\n      keyForAttribute(attr, method) {\n        return underscore(attr).toUpperCase();\n      }\n    }\n    ```\n  \n    You can also implement `keyForRelationship`, which takes the name\n    of the relationship as the first parameter, the kind of\n    relationship (`hasMany` or `belongsTo`) as the second parameter, and\n    the method (`serialize` or `deserialize`) as the third parameter.\n  \n    @class RESTSerializer\n    @main @ember-data/serializer/rest\n    @public\n    @extends JSONSerializer\n  */\n  const RESTSerializer = _exports.default = _json.default.extend({\n    /**\n     `keyForPolymorphicType` can be used to define a custom key when\n     serializing and deserializing a polymorphic type. By default, the\n     returned key is `${key}Type`.\n      Example\n       ```app/serializers/post.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        keyForPolymorphicType(key, relationship) {\n          let relationshipKey = this.keyForRelationship(key);\n           return 'type-' + relationshipKey;\n        }\n      }\n      ```\n      @method keyForPolymorphicType\n      @public\n     @param {String} key\n     @param {String} typeClass\n     @param {String} method\n     @return {String} normalized key\n    */\n    keyForPolymorphicType(key, typeClass, method) {\n      const relationshipKey = this.keyForRelationship(key);\n      return `${relationshipKey}Type`;\n    },\n    /**\n      Normalizes a part of the JSON payload returned by\n      the server. You should override this method, munge the hash\n      and call super if you have generic normalization to do.\n       It takes the type of the record that is being normalized\n      (as a Model class), the property where the hash was\n      originally found, and the hash to normalize.\n       For example, if you have a payload that looks like this:\n       ```js\n      {\n        \"post\": {\n          \"id\": 1,\n          \"title\": \"Rails is omakase\",\n          \"comments\": [ 1, 2 ]\n        },\n        \"comments\": [{\n          \"id\": 1,\n          \"body\": \"FIRST\"\n        }, {\n          \"id\": 2,\n          \"body\": \"Rails is unagi\"\n        }]\n      }\n      ```\n       The `normalize` method will be called three times:\n       * With `App.Post`, `\"posts\"` and `{ id: 1, title: \"Rails is omakase\", ... }`\n      * With `App.Comment`, `\"comments\"` and `{ id: 1, body: \"FIRST\" }`\n      * With `App.Comment`, `\"comments\"` and `{ id: 2, body: \"Rails is unagi\" }`\n       You can use this method, for example, to normalize underscored keys to camelized\n      or other general-purpose normalizations. You will only need to implement\n      `normalize` and manipulate the payload as desired.\n       For example, if the `IDs` under `\"comments\"` are provided as `_id` instead of\n      `id`, you can specify how to normalize just the comments:\n       ```app/serializers/post.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        normalize(model, hash, prop) {\n          if (prop === 'comments') {\n            hash.id = hash._id;\n            delete hash._id;\n          }\n           return super.normalize(...arguments);\n        }\n      }\n      ```\n       On each call to the `normalize` method, the third parameter (`prop`) is always\n      one of the keys that were in the original payload or in the result of another\n      normalization as `normalizeResponse`.\n       @method normalize\n      @public\n      @param {Model} modelClass\n      @param {Object} resourceHash\n      @param {String} prop\n      @return {Object}\n    */\n\n    /**\n      Normalizes an array of resource payloads and returns a JSON-API Document\n      with primary data and, if any, included data as `{ data, included }`.\n       @method _normalizeArray\n      @param {Store} store\n      @param {String} modelName\n      @param {Object} arrayHash\n      @param {String} prop\n      @return {Object}\n      @private\n    */\n    _normalizeArray(store, modelName, arrayHash, prop) {\n      const documentHash = {\n        data: [],\n        included: []\n      };\n      const modelClass = store.modelFor(modelName);\n      const serializer = store.serializerFor(modelName);\n      makeArray(arrayHash).forEach(hash => {\n        const {\n          data,\n          included\n        } = this._normalizePolymorphicRecord(store, hash, prop, modelClass, serializer);\n        documentHash.data.push(data);\n        if (included) {\n          documentHash.included = documentHash.included.concat(included);\n        }\n      });\n      return documentHash;\n    },\n    _normalizePolymorphicRecord(store, hash, prop, primaryModelClass, primarySerializer) {\n      let serializer = primarySerializer;\n      let modelClass = primaryModelClass;\n      const primaryHasTypeAttribute = primaryModelClass.fields.has('type');\n      if (!primaryHasTypeAttribute && hash.type) {\n        // Support polymorphic records in async relationships\n        const modelName = this.modelNameFromPayloadKey(hash.type);\n        if (store.getSchemaDefinitionService().doesTypeExist(modelName)) {\n          serializer = store.serializerFor(modelName);\n          modelClass = store.modelFor(modelName);\n        }\n      }\n      return serializer.normalize(modelClass, hash, prop);\n    },\n    /**\n      @method _normalizeResponse\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @param {Boolean} isSingle\n      @return {Object} JSON-API Document\n      @private\n    */\n    _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      const documentHash = {\n        data: null,\n        included: []\n      };\n      const meta = this.extractMeta(store, primaryModelClass, payload);\n      if (meta) {\n        (true && !(typeof meta === 'object') && (0, _debug.assert)('The `meta` returned from `extractMeta` has to be an object, not \"' + typeof meta + '\".', typeof meta === 'object'));\n        documentHash.meta = meta;\n      }\n      const keys = Object.keys(payload);\n      for (var i = 0, length = keys.length; i < length; i++) {\n        var prop = keys[i];\n        var modelName = prop;\n        var forcedSecondary = false;\n\n        /*\n          If you want to provide sideloaded records of the same type that the\n          primary data you can do that by prefixing the key with `_`.\n           Example\n           ```\n          {\n            users: [\n              { id: 1, title: 'Tom', manager: 3 },\n              { id: 2, title: 'Yehuda', manager: 3 }\n            ],\n            _users: [\n              { id: 3, title: 'Tomster' }\n            ]\n          }\n          ```\n           This forces `_users` to be added to `included` instead of `data`.\n         */\n        if (prop.charAt(0) === '_') {\n          forcedSecondary = true;\n          modelName = prop.substr(1);\n        }\n        var typeName = this.modelNameFromPayloadKey(modelName);\n        if (!store.getSchemaDefinitionService().doesTypeExist(typeName)) {\n          (true && (0, _debug.warn)(this.warnMessageNoModelForKey(modelName, typeName), false, {\n            id: 'ds.serializer.model-for-key-missing'\n          }));\n          continue;\n        }\n        var isPrimary = !forcedSecondary && this.isPrimaryType(store, typeName, primaryModelClass);\n        var value = payload[prop];\n        if (value === null) {\n          continue;\n        }\n        (true && !(!(requestType === 'queryRecord' && isPrimary && Array.isArray(value))) && (0, _debug.assert)('The adapter returned an array for the primary data of a `queryRecord` response. `queryRecord` should return a single record.', !(requestType === 'queryRecord' && isPrimary && Array.isArray(value))));\n        /*\n          Support primary data as an object instead of an array.\n           Example\n           ```\n          {\n            user: { id: 1, title: 'Tom', manager: 3 }\n          }\n          ```\n         */\n        if (isPrimary && !Array.isArray(value)) {\n          const {\n            data,\n            included\n          } = this._normalizePolymorphicRecord(store, value, prop, primaryModelClass, this);\n          documentHash.data = data;\n          if (included) {\n            documentHash.included = documentHash.included.concat(included);\n          }\n          continue;\n        }\n        const {\n          data,\n          included\n        } = this._normalizeArray(store, typeName, value, prop);\n        if (included) {\n          documentHash.included = documentHash.included.concat(included);\n        }\n        if (isSingle) {\n          data.forEach(resource => {\n            /*\n              Figures out if this is the primary record or not.\n               It's either:\n               1. The record with the same ID as the original request\n              2. If it's a newly created record without an ID, the first record\n                 in the array\n             */\n            const isUpdatedRecord = isPrimary && (0, _utilsN1ERF6HN.c)(resource.id) === id;\n            const isFirstCreatedRecord = isPrimary && !id && !documentHash.data;\n            if (isFirstCreatedRecord || isUpdatedRecord) {\n              documentHash.data = resource;\n            } else {\n              documentHash.included.push(resource);\n            }\n          });\n        } else {\n          if (isPrimary) {\n            documentHash.data = data;\n          } else {\n            if (data) {\n              documentHash.included = documentHash.included.concat(data);\n            }\n          }\n        }\n      }\n      return documentHash;\n    },\n    isPrimaryType(store, modelName, primaryModelClass) {\n      return (0, _string.dasherize)(modelName) === primaryModelClass.modelName;\n    },\n    /**\n      This method allows you to push a payload containing top-level\n      collections of records organized per type.\n       ```js\n      {\n        \"posts\": [{\n          \"id\": \"1\",\n          \"title\": \"Rails is omakase\",\n          \"author\", \"1\",\n          \"comments\": [ \"1\" ]\n        }],\n        \"comments\": [{\n          \"id\": \"1\",\n          \"body\": \"FIRST\"\n        }],\n        \"users\": [{\n          \"id\": \"1\",\n          \"name\": \"@d2h\"\n        }]\n      }\n      ```\n       It will first normalize the payload, so you can use this to push\n      in data streaming in from your server structured the same way\n      that fetches and saves are structured.\n       @method pushPayload\n      @public\n      @param {Store} store\n      @param {Object} payload\n    */\n    pushPayload(store, payload) {\n      const documentHash = {\n        data: [],\n        included: []\n      };\n      for (var prop in payload) {\n        var modelName = this.modelNameFromPayloadKey(prop);\n        if (!store.getSchemaDefinitionService().doesTypeExist(modelName)) {\n          (true && (0, _debug.warn)(this.warnMessageNoModelForKey(prop, modelName), false, {\n            id: 'ds.serializer.model-for-key-missing'\n          }));\n          continue;\n        }\n        var type = store.modelFor(modelName);\n        var typeSerializer = store.serializerFor(type.modelName);\n        makeArray(payload[prop]).forEach(hash => {\n          const {\n            data,\n            included\n          } = typeSerializer.normalize(type, hash, prop);\n          documentHash.data.push(data);\n          if (included) {\n            documentHash.included = documentHash.included.concat(included);\n          }\n        });\n      }\n      store.push(documentHash);\n    },\n    /**\n      This method is used to convert each JSON root key in the payload\n      into a modelName that it can use to look up the appropriate model for\n      that part of the payload.\n       For example, your server may send a model name that does not correspond with\n      the name of the model in your app. Let's take a look at an example model,\n      and an example payload:\n       ```app/models/post.js\n      import Model from '@ember-data/model';\n       export default class Post extends Model {}\n      ```\n       ```javascript\n        {\n          \"blog/post\": {\n            \"id\": \"1\n          }\n        }\n      ```\n       Ember Data is going to normalize the payload's root key for the modelName. As a result,\n      it will try to look up the \"blog/post\" model. Since we don't have a model called \"blog/post\"\n      (or a file called app/models/blog/post.js in ember-cli), Ember Data will throw an error\n      because it cannot find the \"blog/post\" model.\n       Since we want to remove this namespace, we can define a serializer for the application that will\n      remove \"blog/\" from the payload key whenver it's encountered by Ember Data:\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        modelNameFromPayloadKey(payloadKey) {\n          if (payloadKey === 'blog/post') {\n            return super.modelNameFromPayloadKey(payloadKey.replace('blog/', ''));\n          } else {\n           return super.modelNameFromPayloadKey(payloadKey);\n          }\n        }\n      }\n      ```\n       After refreshing, Ember Data will appropriately look up the \"post\" model.\n       By default the modelName for a model is its\n      name in dasherized form. This means that a payload key like \"blogPost\" would be\n      normalized to \"blog-post\" when Ember Data looks up the model. Usually, Ember Data\n      can use the correct inflection to do this for you. Most of the time, you won't\n      need to override `modelNameFromPayloadKey` for this purpose.\n       @method modelNameFromPayloadKey\n      @public\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    modelNameFromPayloadKey(key) {\n      return (0, _string.dasherize)((0, _emberInflector.singularize)(key));\n    },\n    // SERIALIZE\n\n    /**\n      Called when a record is saved in order to convert the\n      record into JSON.\n       By default, it creates a JSON object with a key for\n      each attribute and belongsTo relationship.\n       For example, consider this model:\n       ```app/models/comment.js\n      import Model, { attr, belongsTo } from '@ember-data/model';\n       export default class Comment extends Model {\n        @attr title\n        @attr body\n         @belongsTo('user') author\n      }\n      ```\n       The default serialization would create a JSON object like:\n       ```js\n      {\n        \"title\": \"Rails is unagi\",\n        \"body\": \"Rails? Omakase? O_O\",\n        \"author\": 12\n      }\n      ```\n       By default, attributes are passed through as-is, unless\n      you specified an attribute type (`attr('date')`). If\n      you specify a transform, the JavaScript value will be\n      serialized when inserted into the JSON hash.\n       By default, belongs-to relationships are converted into\n      IDs when inserted into the JSON hash.\n       ## IDs\n       `serialize` takes an options hash with a single option:\n      `includeId`. If this option is `true`, `serialize` will,\n      by default include the ID in the JSON object it builds.\n       The adapter passes in `includeId: true` when serializing\n      a record for `createRecord`, but not for `updateRecord`.\n       ## Customization\n       Your server may expect a different JSON format than the\n      built-in serialization format.\n       In that case, you can implement `serialize` yourself and\n      return a JSON hash of your choosing.\n       ```app/serializers/post.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serialize(snapshot, options) {\n          let json = {\n            POST_TTL: snapshot.attr('title'),\n            POST_BDY: snapshot.attr('body'),\n            POST_CMS: snapshot.hasMany('comments', { ids: true })\n          };\n           if (options.includeId) {\n            json.POST_ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n      ```\n       ## Customizing an App-Wide Serializer\n       If you want to define a serializer for your entire\n      application, you'll probably want to use `eachAttribute`\n      and `eachRelationship` on the record.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n      import { pluralize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serialize(snapshot, options) {\n          let json = {};\n           snapshot.eachAttribute(function(name) {\n            json[serverAttributeName(name)] = snapshot.attr(name);\n          });\n           snapshot.eachRelationship(function(name, relationship) {\n            if (relationship.kind === 'hasMany') {\n              json[serverHasManyName(name)] = snapshot.hasMany(name, { ids: true });\n            }\n          });\n           if (options.includeId) {\n            json.ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n       function serverAttributeName(attribute) {\n        return attribute.underscore().toUpperCase();\n      }\n       function serverHasManyName(name) {\n        return serverAttributeName(singularize(name)) + \"_IDS\";\n      }\n      ```\n       This serializer will generate JSON that looks like this:\n       ```js\n      {\n        \"TITLE\": \"Rails is omakase\",\n        \"BODY\": \"Yep. Omakase.\",\n        \"COMMENT_IDS\": [ 1, 2, 3 ]\n      }\n      ```\n       ## Tweaking the Default JSON\n       If you just want to do some small tweaks on the default JSON,\n      you can call super first and make the tweaks on the returned\n      JSON.\n       ```app/serializers/post.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serialize(snapshot, options) {\n          let json = super.serialize(snapshot, options);\n           json.subject = json.title;\n          delete json.title;\n           return json;\n        }\n      }\n      ```\n       @method serialize\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize(snapshot, options) {\n      return this._super(...arguments);\n    },\n    /**\n      You can use this method to customize the root keys serialized into the JSON.\n      The hash property should be modified by reference (possibly using something like _.extend)\n      By default the REST Serializer sends the modelName of a model, which is a camelized\n      version of the name.\n       For example, your server may expect underscored root objects.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n      import { decamelize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serializeIntoHash(data, type, record, options) {\n          let root = decamelize(type.modelName);\n          data[root] = this.serialize(record, options);\n        }\n      }\n      ```\n       @method serializeIntoHash\n      @public\n      @param {Object} hash\n      @param {Model} typeClass\n      @param {Snapshot} snapshot\n      @param {Object} options\n    */\n    serializeIntoHash(hash, typeClass, snapshot, options) {\n      const normalizedRootKey = this.payloadKeyFromModelName(typeClass.modelName);\n      hash[normalizedRootKey] = this.serialize(snapshot, options);\n    },\n    /**\n      You can use `payloadKeyFromModelName` to override the root key for an outgoing\n      request. By default, the RESTSerializer returns a camelized version of the\n      model's name.\n       For a model called TacoParty, its `modelName` would be the string `taco-party`. The RESTSerializer\n      will send it to the server with `tacoParty` as the root key in the JSON payload:\n       ```js\n      {\n        \"tacoParty\": {\n          \"id\": \"1\",\n          \"location\": \"Matthew Beale's House\"\n        }\n      }\n      ```\n       For example, your server may expect dasherized root objects:\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n      import { dasherize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends RESTSerializer {\n        payloadKeyFromModelName(modelName) {\n          return dasherize(modelName);\n        }\n      }\n      ```\n       Given a `TacoParty` model, calling `save` on it would produce an outgoing\n      request like:\n       ```js\n      {\n        \"taco-party\": {\n          \"id\": \"1\",\n          \"location\": \"Matthew Beale's House\"\n        }\n      }\n      ```\n       @method payloadKeyFromModelName\n      @public\n      @param {String} modelName\n      @return {String}\n    */\n    payloadKeyFromModelName(modelName) {\n      return (0, _string.camelize)(modelName);\n    },\n    /**\n      You can use this method to customize how polymorphic objects are serialized.\n      By default the REST Serializer creates the key by appending `Type` to\n      the attribute and value from the model's camelcased model name.\n       @method serializePolymorphicType\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializePolymorphicType(snapshot, json, relationship) {\n      const name = relationship.name;\n      const typeKey = this.keyForPolymorphicType(name, relationship.type, 'serialize');\n      const belongsTo = snapshot.belongsTo(name);\n      if (!belongsTo) {\n        json[typeKey] = null;\n      } else {\n        json[typeKey] = (0, _string.camelize)(belongsTo.modelName);\n      }\n    },\n    /**\n      You can use this method to customize how a polymorphic relationship should\n      be extracted.\n       @method extractPolymorphicRelationship\n      @public\n      @param {Object} relationshipType\n      @param {Object} relationshipHash\n      @param {Object} relationshipOptions\n      @return {Object}\n     */\n    extractPolymorphicRelationship(relationshipType, relationshipHash, relationshipOptions) {\n      const {\n        key,\n        resourceHash,\n        relationshipMeta\n      } = relationshipOptions;\n\n      // A polymorphic belongsTo relationship can be present in the payload\n      // either in the form where the `id` and the `type` are given:\n      //\n      //   {\n      //     message: { id: 1, type: 'post' }\n      //   }\n      //\n      // or by the `id` and a `<relationship>Type` attribute:\n      //\n      //   {\n      //     message: 1,\n      //     messageType: 'post'\n      //   }\n      //\n      // The next code checks if the latter case is present and returns the\n      // corresponding JSON-API representation. The former case is handled within\n      // the base class JSONSerializer.\n      const isPolymorphic = relationshipMeta.options.polymorphic;\n      const typeProperty = this.keyForPolymorphicType(key, relationshipType, 'deserialize');\n      if (isPolymorphic && resourceHash[typeProperty] !== undefined && typeof relationshipHash !== 'object') {\n        const type = this.modelNameFromPayloadKey(resourceHash[typeProperty]);\n        return {\n          id: (0, _utilsN1ERF6HN.c)(relationshipHash),\n          type: type\n        };\n      }\n      return this._super(...arguments);\n    }\n  });\n  {\n    RESTSerializer.reopen({\n      warnMessageNoModelForKey(prop, typeKey) {\n        return 'Encountered \"' + prop + '\" in payload, but no model was found for model name \"' + typeKey + '\" (resolved model name using ' + this.constructor.toString() + '.modelNameFromPayloadKey(\"' + prop + '\"))';\n      }\n    });\n  }\n});","define(\"@ember-data/serializer/string-A02hFTMo\", [\"exports\", \"@ember/object\"], function (_exports, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.T = _exports.S = _exports.N = _exports.D = _exports.B = void 0;\n  /**\n    @module @ember-data/serializer\n  */\n\n  /**\n    The `Transform` class is used to serialize and deserialize model\n    attributes when they are saved or loaded from an\n    adapter. Subclassing `Transform` is useful for creating custom\n    attributes. All subclasses of `Transform` must implement a\n    `serialize` and a `deserialize` method.\n  \n    Example\n  \n    ```app/transforms/temperature.js\n  \n    // Converts centigrade in the JSON to fahrenheit in the app\n    export default class TemperatureTransform {\n      deserialize(serialized, options) {\n        return (serialized *  1.8) + 32;\n      }\n  \n      serialize(deserialized, options) {\n        return (deserialized - 32) / 1.8;\n      }\n  \n      static create() {\n        return new this();\n      }\n    }\n    ```\n  \n    Usage\n  \n    ```app/models/requirement.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class RequirementModel extends Model {\n      @attr('string') name;\n      @attr('temperature') temperature;\n    }\n    ```\n  \n    The options passed into the `attr` function when the attribute is\n    declared on the model is also available in the transform.\n  \n    ```app/models/post.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @attr('string') title;\n      @attr('markdown', {\n        markdown: {\n          gfm: false,\n          sanitize: true\n        }\n      })\n      markdown;\n    }\n    ```\n  \n    ```app/transforms/markdown.js\n    export default class MarkdownTransform {\n      serialize(deserialized, options) {\n        return deserialized.raw;\n      }\n  \n      deserialize(serialized, options) {\n        let markdownOptions = options.markdown || {};\n  \n        return marked(serialized, markdownOptions);\n      }\n  \n      static create() {\n        return new this();\n      }\n    }\n    ```\n  \n    @class Transform\n    @public\n   */\n  /**\n    When given a deserialized value from a record attribute this\n    method must return the serialized value.\n  \n    Example\n  \n    ```javascript\n    serialize(deserialized, options) {\n      return deserialized ? null : Number(deserialized);\n    }\n    ```\n  \n    @method serialize\n    @public\n    @param deserialized The deserialized value\n    @param options hash of options passed to `attr`\n    @return The serialized value\n  */\n  /**\n    When given a serialized value from a JSON object this method must\n    return the deserialized value for the record attribute.\n  \n    Example\n  \n    ```javascript\n    deserialize(serialized, options) {\n      return empty(serialized) ? null : Number(serialized);\n    }\n    ```\n  \n    @method deserialize\n    @public\n    @param serialized The serialized value\n    @param options hash of options passed to `attr`\n    @return The deserialized value\n  */\n\n  const Transform = _exports.T = _object.default;\n\n  /**\n    @module @ember-data/serializer\n  */\n\n  /**\n    The `BooleanTransform` class is used to serialize and deserialize\n    boolean attributes on Ember Data record objects. This transform is\n    used when `boolean` is passed as the type parameter to the\n    [attr](/ember-data/release/functions/@ember-data%2Fmodel/attr) function.\n  \n    Usage\n  \n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @attr('boolean') isAdmin;\n      @attr('string') name;\n      @attr('string') email;\n    }\n    ```\n  \n    By default, the boolean transform only allows for values of `true` or\n    `false`. You can opt into allowing `null` values for\n    boolean attributes via `attr('boolean', { allowNull: true })`\n  \n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @attr('string') email;\n      @attr('string') username;\n      @attr('boolean', { allowNull: true }) wantsWeeklyEmail;\n    }\n    ```\n  \n    @class BooleanTransform\n    @public\n   */\n  class BooleanTransform {\n    deserialize(serialized, options) {\n      if ((serialized === null || serialized === undefined) && options?.allowNull === true) {\n        return null;\n      }\n      if (typeof serialized === 'boolean') {\n        return serialized;\n      } else if (typeof serialized === 'string') {\n        return /^(true|t|1)$/i.test(serialized);\n      } else if (typeof serialized === 'number') {\n        return serialized === 1;\n      } else {\n        return false;\n      }\n    }\n    serialize(deserialized, options) {\n      if ((deserialized === null || deserialized === undefined) && options?.allowNull === true) {\n        return null;\n      }\n      return Boolean(deserialized);\n    }\n    static create() {\n      return new this();\n    }\n  }\n\n  /**\n    @module @ember-data/serializer\n  */\n\n  /**\n   The `DateTransform` class is used to serialize and deserialize\n   date attributes on Ember Data record objects. This transform is used\n   when `date` is passed as the type parameter to the\n   [attr](/ember-data/release/functions/@ember-data%2Fmodel/attr) function. It uses the [`ISO 8601`](https://en.wikipedia.org/wiki/ISO_8601)\n   standard.\n  \n   ```app/models/score.js\n   import Model, { attr, belongsTo } from '@ember-data/model';\n  \n   export default class ScoreModel extends Model {\n      @attr('number') value;\n      @belongsTo('player') player;\n      @attr('date') date;\n    }\n   ```\n  \n   @class DateTransform\n    @public\n   */\n  _exports.B = BooleanTransform;\n  class DateTransform {\n    deserialize(serialized, _options) {\n      if (typeof serialized === 'string') {\n        let offset = serialized.indexOf('+');\n        if (offset !== -1 && serialized.length - 5 === offset) {\n          offset += 3;\n          return new Date(serialized.slice(0, offset) + ':' + serialized.slice(offset));\n        }\n        return new Date(serialized);\n      } else if (typeof serialized === 'number') {\n        return new Date(serialized);\n      } else if (serialized === null || serialized === undefined) {\n        // if the value is null return null\n        // if the value is not present in the data return undefined\n        return serialized;\n      } else {\n        return null;\n      }\n    }\n    serialize(date, _options) {\n      // @ts-expect-error isNaN accepts date as it is coercible\n      if (date instanceof Date && !isNaN(date)) {\n        return date.toISOString();\n      } else {\n        return null;\n      }\n    }\n    static create() {\n      return new this();\n    }\n  }\n\n  /**\n    @module @ember-data/serializer\n  */\n  _exports.D = DateTransform;\n  function isNumber(value) {\n    return value === value && value !== Infinity && value !== -Infinity;\n  }\n\n  /**\n    The `NumberTransform` class is used to serialize and deserialize\n    numeric attributes on Ember Data record objects. This transform is\n    used when `number` is passed as the type parameter to the\n    [attr](/ember-data/release/functions/@ember-data%2Fmodel/attr) function.\n  \n    Usage\n  \n    ```app/models/score.js\n    import Model, { attr, belongsTo } from '@ember-data/model';\n  \n    export default class ScoreModel extends Model {\n      @attr('number') value;\n      @belongsTo('player') player;\n      @attr('date') date;\n    }\n    ```\n  \n    @class NumberTransform\n    @public\n   */\n  class NumberTransform {\n    deserialize(serialized, _options) {\n      if (serialized === '' || serialized === null || serialized === undefined) {\n        return null;\n      } else {\n        const transformed = Number(serialized);\n        return isNumber(transformed) ? transformed : null;\n      }\n    }\n    serialize(deserialized, _options) {\n      if (deserialized === '' || deserialized === null || deserialized === undefined) {\n        return null;\n      } else {\n        const transformed = Number(deserialized);\n        return isNumber(transformed) ? transformed : null;\n      }\n    }\n    static create() {\n      return new this();\n    }\n  }\n\n  /**\n    @module @ember-data/serializer\n  */\n\n  /**\n    The `StringTransform` class is used to serialize and deserialize\n    string attributes on Ember Data record objects. This transform is\n    used when `string` is passed as the type parameter to the\n    [attr](/ember-data/release/functions/@ember-data%2Fmodel/attr) function.\n  \n    Usage\n  \n    ```app/models/user.js\n    import Model, { attr, belongsTo } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @attr('boolean') isAdmin;\n      @attr('string') name;\n      @attr('string') email;\n    }\n    ```\n  \n    @class StringTransform\n    @public\n   */\n  _exports.N = NumberTransform;\n  class StringTransform {\n    deserialize(serialized, _options) {\n      return !serialized && serialized !== '' ? null : String(serialized);\n    }\n    serialize(deserialized, _options) {\n      return !deserialized && deserialized !== '' ? null : String(deserialized);\n    }\n    static create() {\n      return new this();\n    }\n  }\n  _exports.S = StringTransform;\n});","define(\"@ember-data/serializer/transform\", [\"exports\", \"@ember-data/serializer/string-A02hFTMo\"], function (_exports, _stringA02hFTMo) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"BooleanTransform\", {\n    enumerable: true,\n    get: function () {\n      return _stringA02hFTMo.B;\n    }\n  });\n  Object.defineProperty(_exports, \"DateTransform\", {\n    enumerable: true,\n    get: function () {\n      return _stringA02hFTMo.D;\n    }\n  });\n  Object.defineProperty(_exports, \"NumberTransform\", {\n    enumerable: true,\n    get: function () {\n      return _stringA02hFTMo.N;\n    }\n  });\n  Object.defineProperty(_exports, \"StringTransform\", {\n    enumerable: true,\n    get: function () {\n      return _stringA02hFTMo.S;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _stringA02hFTMo.T;\n    }\n  });\n});","define(\"@ember-data/serializer/utils-N1ERF6HN\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.c = coerceId;\n  function coerceId(id) {\n    if (id === null || id === undefined || id === '') {\n      return null;\n    } else if (typeof id === 'string') {\n      return id;\n    } else if (typeof id === 'symbol') {\n      return id.toString();\n    } else {\n      return String(id);\n    }\n  }\n});","define(\"@ember-data/store/-private\", [\"exports\", \"@ember-data/store/cache-handler-XLbbNJdo\"], function (_exports, _cacheHandlerXLbbNJdo) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"ARRAY_SIGNAL\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.A;\n    }\n  });\n  Object.defineProperty(_exports, \"AdapterPopulatedRecordArray\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.f;\n    }\n  });\n  Object.defineProperty(_exports, \"CacheHandler\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.C;\n    }\n  });\n  Object.defineProperty(_exports, \"IdentifierArray\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.I;\n    }\n  });\n  Object.defineProperty(_exports, \"MUTATE\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.M;\n    }\n  });\n  Object.defineProperty(_exports, \"RecordArray\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.I;\n    }\n  });\n  Object.defineProperty(_exports, \"RecordArrayManager\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.R;\n    }\n  });\n  Object.defineProperty(_exports, \"SOURCE\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.g;\n    }\n  });\n  Object.defineProperty(_exports, \"Store\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.S;\n    }\n  });\n  Object.defineProperty(_exports, \"StoreMap\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.l;\n    }\n  });\n  Object.defineProperty(_exports, \"_clearCaches\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo._;\n    }\n  });\n  Object.defineProperty(_exports, \"_deprecatingNormalize\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.o;\n    }\n  });\n  Object.defineProperty(_exports, \"coerceId\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.e;\n    }\n  });\n  Object.defineProperty(_exports, \"fastPush\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.h;\n    }\n  });\n  Object.defineProperty(_exports, \"isStableIdentifier\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.i;\n    }\n  });\n  Object.defineProperty(_exports, \"notifyArray\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.n;\n    }\n  });\n  Object.defineProperty(_exports, \"peekCache\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.p;\n    }\n  });\n  Object.defineProperty(_exports, \"recordIdentifierFor\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.r;\n    }\n  });\n  Object.defineProperty(_exports, \"removeRecordDataFor\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.j;\n    }\n  });\n  Object.defineProperty(_exports, \"setCacheFor\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.m;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierForgetMethod\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.c;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierGenerationMethod\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.a;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierResetMethod\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.d;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierUpdateMethod\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.b;\n    }\n  });\n  Object.defineProperty(_exports, \"setRecordIdentifier\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.k;\n    }\n  });\n  Object.defineProperty(_exports, \"storeFor\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.s;\n    }\n  });\n});","define(\"@ember-data/store/cache-handler-XLbbNJdo\", [\"exports\", \"@ember/debug\", \"@ember/object\", \"@warp-drive/core-types/request\", \"@warp-drive/core-types/identifier\", \"@ember/string\", \"@ember-data/tracking/-private\", \"@ember/runloop\", \"@ember-data/tracking\"], function (_exports, _debug, _object, _request3, _identifier, _string, _private, _runloop, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.S = _exports.R = _exports.M = _exports.I = _exports.C = _exports.A = void 0;\n  _exports._ = _clearCaches;\n  _exports.a = setIdentifierGenerationMethod;\n  _exports.b = setIdentifierUpdateMethod;\n  _exports.c = setIdentifierForgetMethod;\n  _exports.d = setIdentifierResetMethod;\n  _exports.e = coerceId;\n  _exports.g = _exports.f = void 0;\n  _exports.h = fastPush;\n  _exports.i = isStableIdentifier;\n  _exports.j = removeRecordDataFor;\n  _exports.k = setRecordIdentifier;\n  _exports.l = void 0;\n  _exports.m = setCacheFor;\n  _exports.n = notifyArray;\n  _exports.o = normalizeModelName;\n  _exports.p = peekCache;\n  _exports.r = recordIdentifierFor;\n  _exports.s = storeFor;\n  /**\n    @module @ember-data/store\n  */\n\n  function coerceId(id) {\n    {\n      let normalized;\n      if (id === null || id === undefined || id === '') {\n        normalized = null;\n      } else {\n        normalized = String(id);\n      }\n      (true && !(normalized === id) && (0, _debug.deprecate)(`The resource id '<${typeof id}> ${String(id)} ' is not normalized. Update your application code to use '${JSON.stringify(normalized)}' instead.`, normalized === id, {\n        id: 'ember-data:deprecate-non-strict-id',\n        until: '6.0',\n        for: 'ember-data',\n        since: {\n          available: '5.3',\n          enabled: '5.3'\n        }\n      }));\n      return normalized;\n    }\n    (true && !(id === null || typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Resource IDs must be a non-empty string or null. Received '${String(id)}'.`, id === null || typeof id === 'string' && id.length > 0));\n    return id;\n  }\n  function ensureStringId(id) {\n    let normalized = null;\n    if (typeof id === 'string') {\n      normalized = id.length > 0 ? id : null;\n    } else if (typeof id === 'number' && !isNaN(id)) {\n      normalized = String(id);\n    }\n    (true && !(normalized !== null) && (0, _debug.assert)(`Expected id to be a string or number, received ${String(id)}`, normalized !== null));\n    return normalized;\n  }\n  function normalizeModelName(type) {\n    {\n      const result = (0, _string.dasherize)(type);\n      (true && !(result === type) && (0, _debug.deprecate)(`The resource type '${type}' is not normalized. Update your application code to use '${result}' instead of '${type}'.`, result === type, {\n        id: 'ember-data:deprecate-non-strict-types',\n        until: '6.0',\n        for: 'ember-data',\n        since: {\n          available: '5.3',\n          enabled: '5.3'\n        }\n      }));\n      return result;\n    }\n    return type;\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  function installPolyfill() {\n    const isFastBoot = typeof FastBoot !== 'undefined';\n    const CRYPTO = isFastBoot ? FastBoot.require('crypto') : window.crypto;\n    if (!CRYPTO.randomUUID) {\n      // we might be able to optimize this by requesting more bytes than we need at a time\n      const rng = function () {\n        // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n        const rnds8 = new Uint8Array(16);\n        if (!CRYPTO.getRandomValues && !isFastBoot) {\n          throw new Error(`Unable to generate bytes for UUID`);\n        }\n        return CRYPTO.getRandomValues ? CRYPTO.getRandomValues(rnds8) : CRYPTO.randomFillSync(rnds8);\n      };\n\n      /*\n       * Convert array of 16 byte values to UUID string format of the form:\n       * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n       */\n      const byteToHex = [];\n      for (let i = 0; i < 256; ++i) {\n        byteToHex[i] = (i + 0x100).toString(16).substr(1);\n      }\n      const bytesToUuid = function (buf) {\n        const bth = byteToHex;\n        // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n        return [bth[buf[0]], bth[buf[1]], bth[buf[2]], bth[buf[3]], '-', bth[buf[4]], bth[buf[5]], '-', bth[buf[6]], bth[buf[7]], '-', bth[buf[8]], bth[buf[9]], '-', bth[buf[10]], bth[buf[11]], bth[buf[12]], bth[buf[13]], bth[buf[14]], bth[buf[15]]].join('');\n      };\n      CRYPTO.randomUUID = function uuidv4() {\n        const rnds = rng();\n\n        // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n        rnds[6] = rnds[6] & 0x0f | 0x40;\n        rnds[8] = rnds[8] & 0x3f | 0x80;\n        return bytesToUuid(rnds);\n      };\n    }\n  }\n  function isResource(resource) {\n    return Boolean(resource && typeof resource === 'object');\n  }\n  function hasProp(resource, prop) {\n    return Boolean(isResource(resource) && prop in resource && typeof resource[prop] === 'string' && resource[prop].length);\n  }\n  function hasLid(resource) {\n    return hasProp(resource, 'lid');\n  }\n  function hasId(resource) {\n    return hasProp(resource, 'id') || Boolean(isResource(resource) && 'id' in resource && typeof resource.id === 'number');\n  }\n  function hasType(resource) {\n    return hasProp(resource, 'type');\n  }\n\n  /**\n    @module @ember-data/store\n  */\n  const IDENTIFIERS = new Set();\n  const DOCUMENTS = new Set();\n  function isStableIdentifier(identifier) {\n    return identifier[_identifier.CACHE_OWNER] !== undefined || IDENTIFIERS.has(identifier);\n  }\n  function isDocumentIdentifier(identifier) {\n    return DOCUMENTS.has(identifier);\n  }\n  const isFastBoot = typeof FastBoot !== 'undefined';\n  const _crypto = isFastBoot ? FastBoot.require('crypto') : window.crypto;\n  function uuidv4() {\n    (true && !(typeof _crypto.randomUUID === 'function') && (0, _debug.assert)('crypto.randomUUID needs to be avaliable. Some browsers incorrectly disallow it in insecure contexts. You maybe want to enable the polyfill: https://github.com/emberjs/data#randomuuid-polyfill', typeof _crypto.randomUUID === 'function'));\n    return _crypto.randomUUID();\n  }\n  function freeze(obj) {\n    if (typeof Object.freeze === 'function') {\n      return Object.freeze(obj);\n    }\n    return obj;\n  }\n\n  // type IdentifierTypeLookup = { all: Set<StableRecordIdentifier>; id: Map<string, StableRecordIdentifier> };\n  // type IdentifiersByType = Map<string, IdentifierTypeLookup>;\n\n  let configuredForgetMethod;\n  let configuredGenerationMethod;\n  let configuredResetMethod;\n  let configuredUpdateMethod;\n  function setIdentifierGenerationMethod(method) {\n    configuredGenerationMethod = method;\n  }\n  function setIdentifierUpdateMethod(method) {\n    configuredUpdateMethod = method;\n  }\n  function setIdentifierForgetMethod(method) {\n    configuredForgetMethod = method;\n  }\n  function setIdentifierResetMethod(method) {\n    configuredResetMethod = method;\n  }\n\n  // Map<type, Map<id, lid>>\n\n  const NEW_IDENTIFIERS = new Map();\n  let IDENTIFIER_CACHE_ID = 0;\n  function updateTypeIdMapping(typeMap, identifier, id) {\n    let idMap = typeMap.get(identifier.type);\n    if (!idMap) {\n      idMap = new Map();\n      typeMap.set(identifier.type, idMap);\n    }\n    idMap.set(id, identifier.lid);\n  }\n  function defaultUpdateMethod(identifier, data, bucket) {\n    if (bucket === 'record') {\n      (true && !(isStableIdentifier(identifier)) && (0, _debug.assert)(`Expected identifier to be a StableRecordIdentifier`, isStableIdentifier(identifier)));\n      if (!identifier.id && hasId(data)) {\n        updateTypeIdMapping(NEW_IDENTIFIERS, identifier, data.id);\n      }\n    }\n  }\n  function defaultKeyInfoMethod(resource, known) {\n    // TODO RFC something to make this configurable\n    const id = hasId(resource) ? coerceId(resource.id) : null;\n    const type = hasType(resource) ? normalizeModelName(resource.type) : known ? known.type : null;\n    (true && !(type) && (0, _debug.assert)(`Expected keyInfoForResource to provide a type for the resource`, type));\n    return {\n      type,\n      id\n    };\n  }\n  function defaultGenerationMethod(data, bucket) {\n    if (bucket === 'record') {\n      if (hasLid(data)) {\n        return data.lid;\n      }\n      (true && !(hasType(data)) && (0, _debug.assert)(`Cannot generate an identifier for a resource without a type`, hasType(data)));\n      if (hasId(data)) {\n        const type = normalizeModelName(data.type);\n        const lid = NEW_IDENTIFIERS.get(type)?.get(data.id);\n        return lid || `@lid:${type}-${data.id}`;\n      }\n      return uuidv4();\n    } else if (bucket === 'document') {\n      if (!data.url) {\n        return null;\n      }\n      if (!data.method || data.method.toUpperCase() === 'GET') {\n        return data.url;\n      }\n      return null;\n    }\n    (true && !(false) && (0, _debug.assert)(`Unknown bucket ${bucket}`, false));\n  }\n  function defaultEmptyCallback(...args) {}\n  function defaultMergeMethod(a, _b, _c) {\n    return a;\n  }\n  let DEBUG_MAP;\n  {\n    DEBUG_MAP = new WeakMap();\n  }\n\n  /**\n   * Each instance of {Store} receives a unique instance of a IdentifierCache.\n   *\n   * This cache is responsible for assigning or retrieving the unique identify\n   * for arbitrary resource data encountered by the store. Data representing\n   * a unique resource or record should always be represented by the same\n   * identifier.\n   *\n   * It can be configured by consuming applications.\n   *\n   * @class IdentifierCache\n     @public\n   */\n  class IdentifierCache {\n    constructor() {\n      // we cache the user configuredGenerationMethod at init because it must\n      // be configured prior and is not allowed to be changed\n      this._generate = configuredGenerationMethod || defaultGenerationMethod;\n      this._update = configuredUpdateMethod || defaultUpdateMethod;\n      this._forget = configuredForgetMethod || defaultEmptyCallback;\n      this._reset = configuredResetMethod || defaultEmptyCallback;\n      this._merge = defaultMergeMethod;\n      this._keyInfoForResource = defaultKeyInfoMethod;\n      this._isDefaultConfig = !configuredGenerationMethod;\n      this._id = IDENTIFIER_CACHE_ID++;\n      this._cache = {\n        resources: new Map(),\n        resourcesByType: Object.create(null),\n        documents: new Map(),\n        polymorphicLidBackMap: new Map()\n      };\n    }\n\n    /**\n     * Internal hook to allow management of merge conflicts with identifiers.\n     *\n     * we allow late binding of this private internal merge so that\n     * the cache can insert itself here to handle elimination of duplicates\n     *\n     * @method __configureMerge\n     * @private\n     */\n    __configureMerge(method) {\n      this._merge = method || defaultMergeMethod;\n    }\n    upgradeIdentifier(resource) {\n      return this._getRecordIdentifier(resource, 2);\n    }\n\n    /**\n     * @method _getRecordIdentifier\n     * @private\n     */\n\n    _getRecordIdentifier(resource, shouldGenerate) {\n      // short circuit if we're already the stable version\n      if (isStableIdentifier(resource)) {\n        {\n          // TODO should we instead just treat this case as a new generation skipping the short circuit?\n          if (!this._cache.resources.has(resource.lid) || this._cache.resources.get(resource.lid) !== resource) {\n            throw new Error(`The supplied identifier ${JSON.stringify(resource)} does not belong to this store instance`);\n          }\n        }\n        return resource;\n      }\n\n      // the resource is unknown, ask the application to identify this data for us\n      const lid = this._generate(resource, 'record');\n      let identifier = /*#__NOINLINE__*/getIdentifierFromLid(this._cache, lid, resource);\n      if (identifier !== null) {\n        return identifier;\n      }\n      if (shouldGenerate === 0) {\n        return;\n      }\n\n      // if we still don't have an identifier, time to generate one\n      if (shouldGenerate === 2) {\n        resource.lid = lid;\n        resource[_identifier.CACHE_OWNER] = this._id;\n        identifier = /*#__NOINLINE__*/makeStableRecordIdentifier(resource, 'record', false);\n      } else {\n        // we lie a bit here as a memory optimization\n        const keyInfo = this._keyInfoForResource(resource, null);\n        keyInfo.lid = lid;\n        keyInfo[_identifier.CACHE_OWNER] = this._id;\n        identifier = /*#__NOINLINE__*/makeStableRecordIdentifier(keyInfo, 'record', false);\n      }\n      addResourceToCache(this._cache, identifier);\n      return identifier;\n    }\n\n    /**\n     * allows us to peek without generating when needed\n     * useful for the \"create\" case when we need to see if\n     * we are accidentally overwritting something\n     *\n     * @method peekRecordIdentifier\n     * @param resource\n     * @return {StableRecordIdentifier | undefined}\n     * @private\n     */\n    peekRecordIdentifier(resource) {\n      return this._getRecordIdentifier(resource, 0);\n    }\n\n    /**\n      Returns the DocumentIdentifier for the given Request, creates one if it does not yet exist.\n      Returns `null` if the request does not have a `cacheKey` or `url`.\n       @method getOrCreateDocumentIdentifier\n      @param request\n      @return {StableDocumentIdentifier | null}\n      @public\n    */\n    getOrCreateDocumentIdentifier(request) {\n      let cacheKey = request.cacheOptions?.key;\n      if (!cacheKey) {\n        cacheKey = this._generate(request, 'document');\n      }\n      if (!cacheKey) {\n        return null;\n      }\n      let identifier = this._cache.documents.get(cacheKey);\n      if (identifier === undefined) {\n        identifier = {\n          lid: cacheKey\n        };\n        {\n          Object.freeze(identifier);\n        }\n        DOCUMENTS.add(identifier);\n        this._cache.documents.set(cacheKey, identifier);\n      }\n      return identifier;\n    }\n\n    /**\n      Returns the Identifier for the given Resource, creates one if it does not yet exist.\n       Specifically this means that we:\n       - validate the `id` `type` and `lid` combo against known identifiers\n      - return an object with an `lid` that is stable (repeated calls with the same\n        `id` + `type` or `lid` will return the same `lid` value)\n      - this referential stability of the object itself is guaranteed\n       @method getOrCreateRecordIdentifier\n      @param resource\n      @return {StableRecordIdentifier}\n      @public\n    */\n    getOrCreateRecordIdentifier(resource) {\n      return this._getRecordIdentifier(resource, 1);\n    }\n\n    /**\n     Returns a new Identifier for the supplied data. Call this method to generate\n     an identifier when a new resource is being created local to the client and\n     potentially does not have an `id`.\n      Delegates generation to the user supplied `GenerateMethod` if one has been provided\n     with the signature `generateMethod({ type }, 'record')`.\n      @method createIdentifierForNewRecord\n     @param data\n     @return {StableRecordIdentifier}\n     @public\n    */\n    createIdentifierForNewRecord(data) {\n      const newLid = this._generate(data, 'record');\n      const identifier = /*#__NOINLINE__*/makeStableRecordIdentifier({\n        id: data.id || null,\n        type: data.type,\n        lid: newLid,\n        [_identifier.CACHE_OWNER]: this._id\n      }, 'record', true);\n\n      // populate our unique table\n      {\n        if (this._cache.resources.has(identifier.lid)) {\n          throw new Error(`The lid generated for the new record is not unique as it matches an existing identifier`);\n        }\n      }\n\n      /*#__NOINLINE__*/\n      addResourceToCache(this._cache, identifier);\n      return identifier;\n    }\n\n    /**\n     Provides the opportunity to update secondary lookup tables for existing identifiers\n     Called after an identifier created with `createIdentifierForNewRecord` has been\n     committed.\n      Assigned `id` to an `Identifier` if `id` has not previously existed; however,\n     attempting to change the `id` or calling update without providing an `id` when\n     one is missing will throw an error.\n       - sets `id` (if `id` was previously `null`)\n      - `lid` and `type` MUST NOT be altered post creation\n       If a merge occurs, it is possible the returned identifier does not match the originally\n      provided identifier. In this case the abandoned identifier will go through the usual\n      `forgetRecordIdentifier` codepaths.\n       @method updateRecordIdentifier\n      @param identifierObject\n      @param data\n      @return {StableRecordIdentifier}\n      @public\n    */\n    updateRecordIdentifier(identifierObject, data) {\n      let identifier = this.getOrCreateRecordIdentifier(identifierObject);\n      const keyInfo = this._keyInfoForResource(data, identifier);\n      let existingIdentifier = /*#__NOINLINE__*/detectMerge(this._cache, keyInfo, identifier, data);\n      const hadLid = hasLid(data);\n      if (!existingIdentifier) {\n        // If the incoming type does not match the identifier type, we need to create an identifier for the incoming\n        // data so we can merge the incoming data with the existing identifier, see #7325 and #7363\n        if (identifier.type !== keyInfo.type) {\n          if (hadLid) {\n            // Strip the lid to ensure we force a new identifier creation\n            delete data.lid;\n          }\n          existingIdentifier = this.getOrCreateRecordIdentifier(data);\n        }\n      }\n      if (existingIdentifier) {\n        const generatedIdentifier = identifier;\n        identifier = this._mergeRecordIdentifiers(keyInfo, generatedIdentifier, existingIdentifier, data);\n\n        // make sure that the `lid` on the data we are processing matches the lid we kept\n        if (hadLid) {\n          data.lid = identifier.lid;\n        }\n      }\n      const id = identifier.id;\n      /*#__NOINLINE__*/\n      performRecordIdentifierUpdate(identifier, keyInfo, data, this._update);\n      const newId = identifier.id;\n\n      // add to our own secondary lookup table\n      if (id !== newId && newId !== null) {\n        const typeSet = this._cache.resourcesByType[identifier.type];\n        (true && !(typeSet) && (0, _debug.assert)(`Expected to find a typeSet for ${identifier.type}`, typeSet));\n        typeSet.id.set(newId, identifier);\n        if (id !== null) {\n          typeSet.id.delete(id);\n        }\n      }\n      return identifier;\n    }\n\n    /**\n     * @method _mergeRecordIdentifiers\n     * @private\n     */\n    _mergeRecordIdentifiers(keyInfo, identifier, existingIdentifier, data) {\n      (true && !(hasId(keyInfo)) && (0, _debug.assert)(`Expected keyInfo to contain an id`, hasId(keyInfo))); // delegate determining which identifier to keep to the configured MergeMethod\n      const kept = this._merge(identifier, existingIdentifier, data);\n      const abandoned = kept === identifier ? existingIdentifier : identifier;\n\n      // get any backreferences before forgetting this identifier, as it will be removed from the cache\n      // and we will no longer be able to find them\n      const abandonedBackReferences = this._cache.polymorphicLidBackMap.get(abandoned.lid);\n      // delete the backreferences for the abandoned identifier so that forgetRecordIdentifier\n      // does not try to remove them.\n      if (abandonedBackReferences) this._cache.polymorphicLidBackMap.delete(abandoned.lid);\n\n      // cleanup the identifier we no longer need\n      this.forgetRecordIdentifier(abandoned);\n\n      // ensure a secondary cache entry for the original lid for the abandoned identifier\n      this._cache.resources.set(abandoned.lid, kept);\n\n      // backReferences let us know which other identifiers are pointing at this identifier\n      // so we can delete them later if we forget this identifier\n      const keptBackReferences = this._cache.polymorphicLidBackMap.get(kept.lid) ?? [];\n      keptBackReferences.push(abandoned.lid);\n\n      // update the backreferences from the abandoned identifier to be for the kept identifier\n      if (abandonedBackReferences) {\n        abandonedBackReferences.forEach(lid => {\n          keptBackReferences.push(lid);\n          this._cache.resources.set(lid, kept);\n        });\n      }\n      this._cache.polymorphicLidBackMap.set(kept.lid, keptBackReferences);\n      return kept;\n    }\n\n    /**\n     Provides the opportunity to eliminate an identifier from secondary lookup tables\n     as well as eliminates it from ember-data's own lookup tables and book keeping.\n      Useful when a record has been deleted and the deletion has been persisted and\n     we do not care about the record anymore. Especially useful when an `id` of a\n     deleted record might be reused later for a new record.\n      @method forgetRecordIdentifier\n     @param identifierObject\n     @public\n    */\n    forgetRecordIdentifier(identifierObject) {\n      const identifier = this.getOrCreateRecordIdentifier(identifierObject);\n      const typeSet = this._cache.resourcesByType[identifier.type];\n      (true && !(typeSet) && (0, _debug.assert)(`Expected to find a typeSet for ${identifier.type}`, typeSet));\n      if (identifier.id !== null) {\n        typeSet.id.delete(identifier.id);\n      }\n      this._cache.resources.delete(identifier.lid);\n      typeSet.lid.delete(identifier.lid);\n      const backReferences = this._cache.polymorphicLidBackMap.get(identifier.lid);\n      if (backReferences) {\n        backReferences.forEach(lid => {\n          this._cache.resources.delete(lid);\n        });\n        this._cache.polymorphicLidBackMap.delete(identifier.lid);\n      }\n      {\n        identifier[_identifier.DEBUG_STALE_CACHE_OWNER] = identifier[_identifier.CACHE_OWNER];\n      }\n      identifier[_identifier.CACHE_OWNER] = undefined;\n      IDENTIFIERS.delete(identifier);\n      this._forget(identifier, 'record');\n    }\n    destroy() {\n      NEW_IDENTIFIERS.clear();\n      this._cache.documents.forEach(identifier => {\n        DOCUMENTS.delete(identifier);\n      });\n      this._reset();\n    }\n  }\n  function makeStableRecordIdentifier(recordIdentifier, bucket, clientOriginated) {\n    IDENTIFIERS.add(recordIdentifier);\n    {\n      // we enforce immutability in dev\n      //  but preserve our ability to do controlled updates to the reference\n      let wrapper = {\n        get lid() {\n          return recordIdentifier.lid;\n        },\n        get id() {\n          return recordIdentifier.id;\n        },\n        get type() {\n          return recordIdentifier.type;\n        },\n        get [_identifier.CACHE_OWNER]() {\n          return recordIdentifier[_identifier.CACHE_OWNER];\n        },\n        set [_identifier.CACHE_OWNER](value) {\n          recordIdentifier[_identifier.CACHE_OWNER] = value;\n        },\n        get [_identifier.DEBUG_STALE_CACHE_OWNER]() {\n          return recordIdentifier[_identifier.DEBUG_STALE_CACHE_OWNER];\n        },\n        set [_identifier.DEBUG_STALE_CACHE_OWNER](value) {\n          recordIdentifier[_identifier.DEBUG_STALE_CACHE_OWNER] = value;\n        }\n      };\n      Object.defineProperty(wrapper, 'toString', {\n        enumerable: false,\n        value: () => {\n          const {\n            type,\n            id,\n            lid\n          } = recordIdentifier;\n          return `${clientOriginated ? '[CLIENT_ORIGINATED] ' : ''}${String(type)}:${String(id)} (${lid})`;\n        }\n      });\n      Object.defineProperty(wrapper, 'toJSON', {\n        enumerable: false,\n        value: () => {\n          const {\n            type,\n            id,\n            lid\n          } = recordIdentifier;\n          return {\n            type,\n            id,\n            lid\n          };\n        }\n      });\n      wrapper[_identifier.DEBUG_CLIENT_ORIGINATED] = clientOriginated;\n      wrapper[_identifier.DEBUG_IDENTIFIER_BUCKET] = bucket;\n      IDENTIFIERS.add(wrapper);\n      DEBUG_MAP.set(wrapper, recordIdentifier);\n      wrapper = freeze(wrapper);\n      return wrapper;\n    }\n    return recordIdentifier;\n  }\n  function performRecordIdentifierUpdate(identifier, keyInfo, data, updateFn) {\n    {\n      const {\n        id,\n        type\n      } = keyInfo;\n\n      // get the mutable instance behind our proxy wrapper\n      const wrapper = identifier;\n      identifier = DEBUG_MAP.get(wrapper);\n      if (hasLid(data)) {\n        const lid = data.lid;\n        if (lid !== identifier.lid) {\n          throw new Error(`The 'lid' for a RecordIdentifier cannot be updated once it has been created. Attempted to set lid for '${wrapper.lid}' to '${lid}'.`);\n        }\n      }\n      if (id && identifier.id !== null && identifier.id !== id) {\n        // here we warn and ignore, as this may be a mistake, but we allow the user\n        // to have multiple cache-keys pointing at a single lid so we cannot error\n        (true && (0, _debug.warn)(`The 'id' for a RecordIdentifier should not be updated once it has been set. Attempted to set id for '${wrapper.lid}' to '${id}'.`, false, {\n          id: 'ember-data:multiple-ids-for-identifier'\n        }));\n      }\n\n      // TODO consider just ignoring here to allow flexible polymorphic support\n      if (type && type !== identifier.type) {\n        throw new Error(`The 'type' for a RecordIdentifier cannot be updated once it has been set. Attempted to set type for '${wrapper.lid}' to '${type}'.`);\n      }\n      updateFn(wrapper, data, 'record');\n    }\n\n    // upgrade the ID, this is a \"one time only\" ability\n    // for the multiple-cache-key scenario we \"could\"\n    // use a heuristic to guess the best id for display\n    // (usually when `data.id` is available and `data.attributes` is not)\n    if (data.id !== undefined) {\n      identifier.id = coerceId(data.id);\n    }\n  }\n  function detectMerge(cache, keyInfo, identifier, data) {\n    const newId = keyInfo.id;\n    const {\n      id,\n      type,\n      lid\n    } = identifier;\n    const typeSet = cache.resourcesByType[identifier.type];\n\n    // if the IDs are present but do not match\n    // then check if we have an existing identifier\n    // for the newer ID.\n    if (id !== null && id !== newId && newId !== null) {\n      const existingIdentifier = typeSet && typeSet.id.get(newId);\n      return existingIdentifier !== undefined ? existingIdentifier : false;\n    } else {\n      const newType = keyInfo.type;\n\n      // If the ids and type are the same but lid is not the same, we should trigger a merge of the identifiers\n      // we trigger a merge of the identifiers\n      // though probably we should just throw an error here\n      if (id !== null && id === newId && newType === type && hasLid(data) && data.lid !== lid) {\n        return getIdentifierFromLid(cache, data.lid, data) || false;\n\n        // If the lids are the same, and ids are the same, but types are different we should trigger a merge of the identifiers\n      } else if (id !== null && id === newId && newType && newType !== type && hasLid(data) && data.lid === lid) {\n        const newTypeSet = cache.resourcesByType[newType];\n        const existingIdentifier = newTypeSet && newTypeSet.id.get(newId);\n        return existingIdentifier !== undefined ? existingIdentifier : false;\n      }\n    }\n    return false;\n  }\n  function getIdentifierFromLid(cache, lid, resource) {\n    const identifier = cache.resources.get(lid);\n    return identifier || null;\n  }\n  function addResourceToCache(cache, identifier) {\n    cache.resources.set(identifier.lid, identifier);\n    let typeSet = cache.resourcesByType[identifier.type];\n    if (!typeSet) {\n      typeSet = {\n        lid: new Map(),\n        id: new Map()\n      };\n      cache.resourcesByType[identifier.type] = typeSet;\n    }\n    typeSet.lid.set(identifier.lid, identifier);\n    if (identifier.id) {\n      typeSet.id.set(identifier.id, identifier);\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n     A `RecordReference` is a low-level API that allows users and\n     addon authors to perform meta-operations on a record.\n  \n     @class RecordReference\n     @public\n  */\n  class RecordReference {\n    constructor(store, identifier) {\n      // unsubscribe token given to us by the notification manager\n      this.___token = void 0;\n      this.___identifier = void 0;\n      this.store = store;\n      this.___identifier = identifier;\n      this.___token = store.notifications.subscribe(identifier, (_, bucket, notifiedKey) => {\n        if (bucket === 'identity' || bucket === 'attributes' && notifiedKey === 'id') {\n          this._ref++;\n        }\n      });\n    }\n    destroy() {\n      this.store.notifications.unsubscribe(this.___token);\n    }\n    get type() {\n      return this.identifier().type;\n    }\n\n    /**\n       The `id` of the record that this reference refers to.\n        Together, the `type` and `id` properties form a composite key for\n       the identity map.\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        userRef.id(); // '1'\n       ```\n        @method id\n      @public\n       @return {String} The id of the record.\n    */\n    id() {\n      this._ref; // consume the tracked prop\n      return this.___identifier.id;\n    }\n\n    /**\n       The `identifier` of the record that this reference refers to.\n        Together, the `type` and `id` properties form a composite key for\n       the identity map.\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        userRef.identifier(); // '1'\n       ```\n        @method identifier\n      @public\n       @return {String} The identifier of the record.\n    */\n    identifier() {\n      return this.___identifier;\n    }\n\n    /**\n       How the reference will be looked up when it is loaded. Currently\n       this always returns `identity` to signify that a record will be\n       loaded by its `type` and `id`.\n        Example\n        ```javascript\n       const userRef = store.getReference('user', 1);\n        userRef.remoteType(); // 'identity'\n       ```\n        @method remoteType\n       @public\n       @return {String} 'identity'\n    */\n    remoteType() {\n      return 'identity';\n    }\n\n    /**\n      This API allows you to provide a reference with new data. The\n      simplest usage of this API is similar to `store.push`: you provide a\n      normalized hash of data and the object represented by the reference\n      will update.\n       If you pass a promise to `push`, Ember Data will not ask the adapter\n      for the data if another attempt to fetch it is made in the\n      interim. When the promise resolves, the underlying object is updated\n      with the new data, and the promise returned by *this function* is resolved\n      with that object.\n       For example, `recordReference.push(promise)` will be resolved with a\n      record.\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        // provide data for reference\n       userRef.push({\n         data: {\n           id: \"1\",\n           type: \"user\",\n           attributes: {\n             username: \"@user\"\n           }\n         }\n       }).then(function(user) {\n         userRef.value() === user;\n       });\n       ```\n       @method push\n      @public\n      @param objectOrPromise a JSON:API ResourceDocument or a promise resolving to one\n      @return a promise for the value (record or relationship)\n    */\n    push(objectOrPromise) {\n      // TODO @deprecate pushing unresolved payloads\n      return Promise.resolve(objectOrPromise).then(data => {\n        return this.store.push(data);\n      });\n    }\n\n    /**\n      If the entity referred to by the reference is already loaded, it is\n      present as `reference.value`. Otherwise the value returned by this function\n      is `null`.\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        userRef.value(); // user\n       ```\n        @method value\n      @public\n       @return {Model} the record for this RecordReference\n    */\n    value() {\n      return this.store.peekRecord(this.___identifier);\n    }\n\n    /**\n       Triggers a fetch for the backing entity based on its `remoteType`\n       (see `remoteType` definitions per reference type).\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        // load user (via store.find)\n       userRef.load().then(...)\n       ```\n        @method load\n      @public\n       @return {Promise<record>} the record for this RecordReference\n    */\n    load() {\n      const id = this.id();\n      if (id !== null) {\n        return this.store.findRecord(this.type, id);\n      }\n      (true && !(false) && (0, _debug.assert)(`Unable to fetch record of type ${this.type} without an id`));\n    }\n\n    /**\n       Reloads the record if it is already loaded. If the record is not\n       loaded it will load the record via `store.findRecord`\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        // or trigger a reload\n       userRef.reload().then(...)\n       ```\n        @method reload\n      @public\n       @return {Promise<record>} the record for this RecordReference\n    */\n    reload() {\n      const id = this.id();\n      if (id !== null) {\n        return this.store.findRecord(this.type, id, {\n          reload: true\n        });\n      }\n      (true && !(false) && (0, _debug.assert)(`Unable to fetch record of type ${this.type} without an id`));\n    }\n  }\n  (0, _private.defineSignal)(RecordReference.prototype, '_ref');\n\n  /**\n    @module @ember-data/store\n  */\n\n  class CacheCapabilitiesManager {\n    constructor(_store) {\n      this._store = _store;\n      this._willNotify = false;\n      this._pendingNotifies = new Map();\n    }\n    get identifierCache() {\n      return this._store.identifierCache;\n    }\n    _scheduleNotification(identifier, key) {\n      let pending = this._pendingNotifies.get(identifier);\n      if (!pending) {\n        pending = new Set();\n        this._pendingNotifies.set(identifier, pending);\n      }\n      pending.add(key);\n      if (this._willNotify === true) {\n        return;\n      }\n      this._willNotify = true;\n      // it's possible a cache adhoc notifies us,\n      // in which case we sync flush\n      if (this._store._cbs) {\n        this._store._schedule('notify', () => this._flushNotifications());\n      } else {\n        // TODO @runspired determine if relationship mutations should schedule\n        // into join/run vs immediate flush\n        this._flushNotifications();\n      }\n    }\n    _flushNotifications() {\n      if (this._willNotify === false) {\n        return;\n      }\n      const pending = this._pendingNotifies;\n      this._pendingNotifies = new Map();\n      this._willNotify = false;\n      pending.forEach((set, identifier) => {\n        set.forEach(key => {\n          this._store.notifications.notify(identifier, 'relationships', key);\n        });\n      });\n    }\n    notifyChange(identifier, namespace, key) {\n      (true && !(isStableIdentifier(identifier) || isDocumentIdentifier(identifier)) && (0, _debug.assert)(`Expected a stable identifier`, isStableIdentifier(identifier) || isDocumentIdentifier(identifier))); // TODO do we still get value from this?\n      if (namespace === 'relationships' && key) {\n        this._scheduleNotification(identifier, key);\n        return;\n      }\n\n      // @ts-expect-error\n      this._store.notifications.notify(identifier, namespace, key);\n    }\n    getSchemaDefinitionService() {\n      return this._store.getSchemaDefinitionService();\n    }\n    get schema() {\n      return this._store.schema;\n    }\n    setRecordId(identifier, id) {\n      (true && !(isStableIdentifier(identifier)) && (0, _debug.assert)(`Expected a stable identifier`, isStableIdentifier(identifier)));\n      this._store._instanceCache.setRecordId(identifier, id);\n    }\n    hasRecord(identifier) {\n      return Boolean(this._store._instanceCache.peek(identifier));\n    }\n    disconnectRecord(identifier) {\n      (true && !(isStableIdentifier(identifier)) && (0, _debug.assert)(`Expected a stable identifier`, isStableIdentifier(identifier)));\n      this._store._instanceCache.disconnect(identifier);\n      this._pendingNotifies.delete(identifier);\n    }\n  }\n\n  /*\n   * Returns the Cache instance associated with a given\n   * Model or Identifier\n   */\n\n  const CacheForIdentifierCache = new Map();\n  function setCacheFor(identifier, cache) {\n    (true && !(!CacheForIdentifierCache.has(identifier) || CacheForIdentifierCache.get(identifier) === cache) && (0, _debug.assert)(`Illegal set of identifier`, !CacheForIdentifierCache.has(identifier) || CacheForIdentifierCache.get(identifier) === cache));\n    CacheForIdentifierCache.set(identifier, cache);\n  }\n  function removeRecordDataFor(identifier) {\n    CacheForIdentifierCache.delete(identifier);\n  }\n  function peekCache(instance) {\n    if (CacheForIdentifierCache.has(instance)) {\n      return CacheForIdentifierCache.get(instance);\n    }\n    return null;\n  }\n  function isDestroyable(record) {\n    return Boolean(record && typeof record === 'object' && typeof record.destroy === 'function');\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  const RecordCache = new Map();\n  function peekRecordIdentifier(record) {\n    return RecordCache.get(record);\n  }\n\n  /**\n    Retrieves the unique referentially-stable [RecordIdentifier](/ember-data/release/classes/StableRecordIdentifier)\n    assigned to the given record instance.\n    ```js\n    import { recordIdentifierFor } from \"@ember-data/store\";\n    // ... gain access to a record, for instance with peekRecord or findRecord\n    const record = store.peekRecord(\"user\", \"1\");\n    // get the identifier for the record (see docs for StableRecordIdentifier)\n    const identifier = recordIdentifierFor(record);\n    // access the identifier's properties.\n    const { id, type, lid } = identifier;\n    ```\n    @method recordIdentifierFor\n    @public\n    @static\n    @for @ember-data/store\n    @param {Object} record a record instance previously obstained from the store.\n    @return {StableRecordIdentifier}\n   */\n  function recordIdentifierFor(record) {\n    (true && !(RecordCache.has(record)) && (0, _debug.assert)(`${String(record)} is not a record instantiated by @ember-data/store`, RecordCache.has(record)));\n    return RecordCache.get(record);\n  }\n  function setRecordIdentifier(record, identifier) {\n    {\n      if (RecordCache.has(record) && RecordCache.get(record) !== identifier) {\n        throw new Error(`${String(record)} was already assigned an identifier`);\n      }\n    }\n\n    /*\n    It would be nice to do a reverse check here that an identifier has not\n    previously been assigned a record; however, unload + rematerialization\n    prevents us from having a great way of doing so when CustomRecordClasses\n    don't necessarily give us access to a `isDestroyed` for dematerialized\n    instance.\n    */\n\n    RecordCache.set(record, identifier);\n  }\n  const StoreMap = _exports.l = new Map();\n  function storeFor(record) {\n    const store = StoreMap.get(record);\n    (true && !(store) && (0, _debug.assert)(`A record in a disconnected state cannot utilize the store. This typically means the record has been destroyed, most commonly by unloading it.`, store));\n    return store;\n  }\n  class InstanceCache {\n    constructor(store) {\n      this.__instances = {\n        record: new Map(),\n        reference: new WeakMap()\n      };\n      this.store = store;\n      this._storeWrapper = new CacheCapabilitiesManager(this.store);\n      store.identifierCache.__configureMerge((identifier, matchedIdentifier, resourceData) => {\n        let keptIdentifier = identifier;\n        if (identifier.id !== matchedIdentifier.id) {\n          // @ts-expect-error TODO this needs to be fixed\n          keptIdentifier = 'id' in resourceData && identifier.id === resourceData.id ? identifier : matchedIdentifier;\n        } else if (identifier.type !== matchedIdentifier.type) {\n          keptIdentifier =\n          // @ts-expect-error TODO this needs to be fixed\n          'type' in resourceData && identifier.type === resourceData.type ? identifier : matchedIdentifier;\n        }\n        const staleIdentifier = identifier === keptIdentifier ? matchedIdentifier : identifier;\n\n        // check for duplicate entities\n        const keptHasRecord = this.__instances.record.has(keptIdentifier);\n        const staleHasRecord = this.__instances.record.has(staleIdentifier);\n\n        // we cannot merge entities when both have records\n        // (this may not be strictly true, we could probably swap the cache data the record points at)\n        if (keptHasRecord && staleHasRecord) {\n          // TODO we probably don't need to throw these errors anymore\n          // we can probably just \"swap\" what data source the abandoned\n          // record points at so long as\n          // it itself is not retained by the store in any way.\n          // @ts-expect-error TODO this needs to be fixed\n          if ('id' in resourceData) {\n            throw new Error(`Failed to update the 'id' for the RecordIdentifier '${identifier.type}:${String(identifier.id)} (${identifier.lid})' to '${String(resourceData.id)}', because that id is already in use by '${matchedIdentifier.type}:${String(matchedIdentifier.id)} (${matchedIdentifier.lid})'`);\n          }\n          (true && !(false) && (0, _debug.assert)(`Failed to update the RecordIdentifier '${identifier.type}:${String(identifier.id)} (${identifier.lid})' to merge with the detected duplicate identifier '${matchedIdentifier.type}:${String(matchedIdentifier.id)} (${String(matchedIdentifier.lid)})'`));\n        }\n        this.store.cache.patch({\n          op: 'mergeIdentifiers',\n          record: staleIdentifier,\n          value: keptIdentifier\n        });\n\n        /*\n        TODO @runspired consider adding this to make polymorphism even nicer\n        if (identifier.type !== matchedIdentifier.type) {\n        this.store._graph?.registerPolymorphicType(identifier.type, matchedIdentifier.type);\n        }\n        */\n\n        this.unloadRecord(staleIdentifier);\n        return keptIdentifier;\n      });\n    }\n    peek(identifier) {\n      return this.__instances.record.get(identifier);\n    }\n    getRecord(identifier, properties) {\n      let record = this.__instances.record.get(identifier);\n      if (!record) {\n        (true && !(!this.store.isDestroying && !this.store.isDestroyed) && (0, _debug.assert)(`Cannot create a new record instance while the store is being destroyed`, !this.store.isDestroying && !this.store.isDestroyed));\n        const cache = this.store.cache;\n        setCacheFor(identifier, cache);\n        record = this.store.instantiateRecord(identifier, properties || {});\n        setRecordIdentifier(record, identifier);\n        setCacheFor(record, cache);\n        StoreMap.set(record, this.store);\n        this.__instances.record.set(identifier, record);\n      }\n      return record;\n    }\n    getReference(identifier) {\n      const cache = this.__instances.reference;\n      let reference = cache.get(identifier);\n      if (!reference) {\n        reference = new RecordReference(this.store, identifier);\n        cache.set(identifier, reference);\n      }\n      return reference;\n    }\n    recordIsLoaded(identifier, filterDeleted = false) {\n      const cache = this.cache;\n      if (!cache) {\n        return false;\n      }\n      const isNew = cache.isNew(identifier);\n      const isEmpty = cache.isEmpty(identifier);\n\n      // if we are new we must consider ourselves loaded\n      if (isNew) {\n        return !cache.isDeleted(identifier);\n      }\n      // even if we have a past request, if we are now empty we are not loaded\n      // typically this is true after an unloadRecord call\n\n      // if we are not empty, not new && we have a fulfilled request then we are loaded\n      // we should consider allowing for something to be loaded that is simply \"not empty\".\n      // which is how RecordState currently handles this case; however, RecordState is buggy\n      // in that it does not account for unloading.\n      return filterDeleted && cache.isDeletionCommitted(identifier) ? false : !isEmpty;\n    }\n    disconnect(identifier) {\n      const record = this.__instances.record.get(identifier);\n      (true && !(!isDestroyable(record) || record.isDestroyed || record.isDestroying) && (0, _debug.assert)('Cannot destroy record while it is still materialized', !isDestroyable(record) || record.isDestroyed || record.isDestroying));\n      this.store._graph?.remove(identifier);\n      this.store.identifierCache.forgetRecordIdentifier(identifier);\n      removeRecordDataFor(identifier);\n      this.store._requestCache._clearEntries(identifier);\n    }\n    unloadRecord(identifier) {\n      {\n        const requests = this.store.getRequestStateService().getPendingRequestsForRecord(identifier);\n        if (requests.some(req => {\n          return req.type === 'mutation';\n        })) {\n          (true && !(false) && (0, _debug.assert)(`You can only unload a record which is not inFlight. '${String(identifier)}'`));\n        }\n      }\n      // TODO is this join still necessary?\n      this.store._join(() => {\n        const record = this.__instances.record.get(identifier);\n        const cache = this.cache;\n        if (record) {\n          this.store.teardownRecord(record);\n          this.__instances.record.delete(identifier);\n          StoreMap.delete(record);\n          RecordCache.delete(record);\n          removeRecordDataFor(record);\n        }\n        if (cache) {\n          cache.unloadRecord(identifier);\n          removeRecordDataFor(identifier);\n        } else {\n          this.disconnect(identifier);\n        }\n        this.store._requestCache._clearEntries(identifier);\n      });\n    }\n    clear(type) {\n      const cache = this.store.identifierCache._cache;\n      if (type === undefined) {\n        // it would be cool if we could just de-ref cache here\n        // but probably would require WeakRef models to do so.\n        cache.resources.forEach(identifier => {\n          this.unloadRecord(identifier);\n        });\n      } else {\n        const typeCache = cache.resourcesByType;\n        const identifiers = typeCache[type]?.lid;\n        if (identifiers) {\n          identifiers.forEach(identifier => {\n            // if (rds.has(identifier)) {\n            this.unloadRecord(identifier);\n            // }\n            // TODO we don't remove the identifier, should we?\n          });\n        }\n      }\n    }\n\n    // TODO this should move into something coordinating operations\n    setRecordId(identifier, id) {\n      const {\n        type,\n        lid\n      } = identifier;\n      const oldId = identifier.id;\n\n      // ID absolutely can't be missing if the oldID is empty (missing Id in response for a new record)\n      (true && !(!(id === null && oldId === null)) && (0, _debug.assert)(`'${type}' was saved to the server, but the response does not have an id and your record does not either.`, !(id === null && oldId === null))); // ID absolutely can't be different than oldID if oldID is not null\n      // TODO this assertion and restriction may not strictly be needed in the identifiers world\n      (true && !(!(oldId !== null && id !== oldId)) && (0, _debug.assert)(`Cannot update the id for '${type}:${lid}' from '${String(oldId)}' to '${id}'.`, !(oldId !== null && id !== oldId))); // ID can be null if oldID is not null (altered ID in response for a record)\n      // however, this is more than likely a developer error.\n      if (oldId !== null && id === null) {\n        (true && (0, _debug.warn)(`Your ${type} record was saved to the server, but the response does not have an id.`, !(oldId !== null && id === null)));\n        return;\n      }\n      const existingIdentifier = this.store.identifierCache.peekRecordIdentifier({\n        type,\n        id\n      });\n      (true && !(!existingIdentifier || existingIdentifier === identifier) && (0, _debug.assert)(`'${type}' was saved to the server, but the response returned the new id '${id}', which has already been used with another record.'`, !existingIdentifier || existingIdentifier === identifier));\n      if (identifier.id === null) {\n        // TODO potentially this needs to handle merged result\n        this.store.identifierCache.updateRecordIdentifier(identifier, {\n          type,\n          id\n        });\n      }\n\n      // TODO update resource cache if needed ?\n      // TODO handle consequences of identifier merge for notifications\n      this.store.notifications.notify(identifier, 'identity');\n    }\n  }\n  function _resourceIsFullDeleted(identifier, cache) {\n    return cache.isDeletionCommitted(identifier) || cache.isNew(identifier) && cache.isDeleted(identifier);\n  }\n  function resourceIsFullyDeleted(instanceCache, identifier) {\n    const cache = instanceCache.cache;\n    return !cache || _resourceIsFullDeleted(identifier, cache);\n  }\n\n  /*\n      When a find request is triggered on the store, the user can optionally pass in\n      attributes and relationships to be preloaded. These are meant to behave as if they\n      came back from the server, except the user obtained them out of band and is informing\n      the store of their existence. The most common use case is for supporting client side\n      nested URLs, such as `/posts/1/comments/2` so the user can do\n      `store.findRecord('comment', 2, { preload: { post: 1 } })` without having to fetch the post.\n  \n      Preloaded data can be attributes and relationships passed in either as IDs or as actual\n      models.\n    */\n\n  function preloadData(store, identifier, preload) {\n    const jsonPayload = {};\n    //TODO(Igor) consider the polymorphic case\n    const schemas = store.getSchemaDefinitionService();\n    const relationships = schemas.relationshipsDefinitionFor(identifier);\n    Object.keys(preload).forEach(key => {\n      const preloadValue = preload[key];\n      const relationshipMeta = relationships[key];\n      if (relationshipMeta) {\n        if (!jsonPayload.relationships) {\n          jsonPayload.relationships = {};\n        }\n        jsonPayload.relationships[key] = preloadRelationship(relationshipMeta, preloadValue);\n      } else {\n        if (!jsonPayload.attributes) {\n          jsonPayload.attributes = {};\n        }\n        jsonPayload.attributes[key] = preloadValue;\n      }\n    });\n    const cache = store.cache;\n    const hasRecord = Boolean(store._instanceCache.peek(identifier));\n    cache.upsert(identifier, jsonPayload, hasRecord);\n  }\n  function preloadRelationship(schema, preloadValue) {\n    const relatedType = schema.type;\n    if (schema.kind === 'hasMany') {\n      (true && !(Array.isArray(preloadValue)) && (0, _debug.assert)('You need to pass in an array to set a hasMany property on a record', Array.isArray(preloadValue)));\n      return {\n        data: preloadValue.map(value => _convertPreloadRelationshipToJSON(value, relatedType))\n      };\n    }\n    (true && !(!Array.isArray(preloadValue)) && (0, _debug.assert)('You should not pass in an array to set a belongsTo property on a record', !Array.isArray(preloadValue)));\n    return {\n      data: preloadValue ? _convertPreloadRelationshipToJSON(preloadValue, relatedType) : null\n    };\n  }\n\n  /*\n    findRecord('user', '1', { preload: { friends: ['1'] }});\n    findRecord('user', '1', { preload: { friends: [record] }});\n  */\n  function _convertPreloadRelationshipToJSON(value, type) {\n    if (typeof value === 'string' || typeof value === 'number') {\n      return {\n        type,\n        id: ensureStringId(value)\n      };\n    }\n    // TODO if not a record instance assert it's an identifier\n    // and allow identifiers to be used\n    return recordIdentifierFor(value);\n  }\n  function _clearCaches() {\n    RecordCache.clear();\n    StoreMap.clear();\n    CacheForIdentifierCache.clear();\n  }\n\n  // if modelFor turns out to be a bottleneck we should replace with a Map\n  // and clear it during store teardown.\n  const AvailableShims = new WeakMap();\n  function getShimClass(store, modelName) {\n    let shims = AvailableShims.get(store);\n    if (!shims) {\n      shims = Object.create(null);\n      AvailableShims.set(store, shims);\n    }\n    let shim = shims[modelName];\n    if (shim === undefined) {\n      shim = shims[modelName] = new ShimModelClass(store, modelName);\n    }\n    return shim;\n  }\n  function mapFromHash(hash) {\n    const map = new Map();\n    for (const i in hash) {\n      if (Object.prototype.hasOwnProperty.call(hash, i)) {\n        map.set(i, hash[i]);\n      }\n    }\n    return map;\n  }\n\n  // Mimics the static apis of @ember-data/model\n  class ShimModelClass {\n    constructor(store, modelName) {\n      this.__store = store;\n      this.modelName = modelName;\n    }\n    get fields() {\n      const attrs = this.__store.getSchemaDefinitionService().attributesDefinitionFor({\n        type: this.modelName\n      });\n      const relationships = this.__store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type: this.modelName\n      });\n      const fields = new Map();\n      Object.keys(attrs).forEach(key => fields.set(key, 'attribute'));\n      Object.keys(relationships).forEach(key => fields.set(key, relationships[key].kind));\n      return fields;\n    }\n    get attributes() {\n      const attrs = this.__store.getSchemaDefinitionService().attributesDefinitionFor({\n        type: this.modelName\n      });\n      return mapFromHash(attrs);\n    }\n    get relationshipsByName() {\n      const relationships = this.__store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type: this.modelName\n      });\n      return mapFromHash(relationships);\n    }\n    eachAttribute(callback, binding) {\n      const attrDefs = this.__store.getSchemaDefinitionService().attributesDefinitionFor({\n        type: this.modelName\n      });\n      Object.keys(attrDefs).forEach(key => {\n        callback.call(binding, key, attrDefs[key]);\n      });\n    }\n    eachRelationship(callback, binding) {\n      const relationshipDefs = this.__store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type: this.modelName\n      });\n      Object.keys(relationshipDefs).forEach(key => {\n        callback.call(binding, key, relationshipDefs[key]);\n      });\n    }\n    eachTransformedAttribute(callback, binding) {\n      const attrDefs = this.__store.getSchemaDefinitionService().attributesDefinitionFor({\n        type: this.modelName\n      });\n      Object.keys(attrDefs).forEach(key => {\n        if (attrDefs[key].type) {\n          callback.call(binding, key, attrDefs[key].type);\n        }\n      });\n    }\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    return receiver;\n  }\n  var id = 0;\n  function _classPrivateFieldKey(name) {\n    return \"__private_\" + id++ + \"_\" + name;\n  }\n  var _cache = /*#__PURE__*/_classPrivateFieldKey(\"cache\");\n  /**\n   * The CacheManager wraps a Cache enforcing that only\n   * the public API surface area is exposed.\n   *\n   * Hence, it is the value of `Store.cache`, wrapping\n   * the cache instance returned by `Store.createCache`.\n   *\n   * It handles translating between cache versions when\n   * necessary, for instance when a Store is configured\n   * to use both a v1 and a v2 cache depending on some\n   * heuristic.\n   *\n   * Starting with the v2 spec, the cache is designed such\n   * that it must be implemented as a singleton.\n   *\n   * @class CacheManager\n   * @public\n   */\n  class CacheManager {\n    constructor(cache) {\n      this.version = '2';\n      Object.defineProperty(this, _cache, {\n        writable: true,\n        value: void 0\n      });\n      _classPrivateFieldBase(this, _cache)[_cache] = cache;\n    }\n\n    // Cache Management\n    // ================\n\n    /**\n     * Cache the response to a request\n     *\n     * Unlike `store.push` which has UPSERT\n     * semantics, `put` has `replace` semantics similar to\n     * the `http` method `PUT`\n     *\n     * the individually cacheable\n     * e resource data it may contain\n     * should upsert, but the document data surrounding it should\n     * fully replace any existing information\n     *\n     * Note that in order to support inserting arbitrary data\n     * to the cache that did not originate from a request `put`\n     * should expect to sometimes encounter a document with only\n     * a `content` member and therefor must not assume the existence\n     * of `request` and `response` on the document.\n     *\n     * @method put\n     * @param {StructuredDocument} doc\n     * @return {ResourceDocument}\n     * @public\n     */\n    put(doc) {\n      return _classPrivateFieldBase(this, _cache)[_cache].put(doc);\n    }\n\n    /**\n     * Perform an operation on the cache to update the remote state.\n     *\n     * Note: currently the only valid operation is a MergeOperation\n     * which occurs when a collision of identifiers is detected.\n     *\n     * @method patch\n     * @public\n     * @param op the operation to perform\n     * @return {void}\n     */\n    patch(op) {\n      _classPrivateFieldBase(this, _cache)[_cache].patch(op);\n    }\n\n    /**\n     * Update resource data with a local mutation. Currently supports operations\n     * on relationships only.\n     *\n     * @method mutate\n     * @public\n     * @param mutation\n     */\n    mutate(mutation) {\n      _classPrivateFieldBase(this, _cache)[_cache].mutate(mutation);\n    }\n\n    /**\n     * Peek resource data from the Cache.\n     *\n     * In development, if the return value\n     * is JSON the return value\n     * will be deep-cloned and deep-frozen\n     * to prevent mutation thereby enforcing cache\n     * Immutability.\n     *\n     * This form of peek is useful for implementations\n     * that want to feed raw-data from cache to the UI\n     * or which want to interact with a blob of data\n     * directly from the presentation cache.\n     *\n     * An implementation might want to do this because\n     * de-referencing records which read from their own\n     * blob is generally safer because the record does\n     * not require retaining connections to the Store\n     * and Cache to present data on a per-field basis.\n     *\n     * This generally takes the place of `getAttr` as\n     * an API and may even take the place of `getRelationship`\n     * depending on implementation specifics, though this\n     * latter usage is less recommended due to the advantages\n     * of the Graph handling necessary entanglements and\n     * notifications for relational data.\n     *\n     * @method peek\n     * @public\n     * @param {StableRecordIdentifier | StableDocumentIdentifier} identifier\n     * @return {ResourceDocument | ResourceBlob | null} the known resource data\n     */\n\n    peek(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].peek(identifier);\n    }\n\n    /**\n     * Peek the Cache for the existing request data associated with\n     * a cacheable request\n     *\n     * @method peekRequest\n     * @param {StableDocumentIdentifier}\n     * @return {StableDocumentIdentifier | null}\n     * @public\n     */\n    peekRequest(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].peekRequest(identifier);\n    }\n\n    /**\n     * Push resource data from a remote source into the cache for this identifier\n     *\n     * @method upsert\n     * @public\n     * @param identifier\n     * @param data\n     * @param hasRecord\n     * @return {void | string[]} if `hasRecord` is true then calculated key changes should be returned\n     */\n    upsert(identifier, data, hasRecord) {\n      return _classPrivateFieldBase(this, _cache)[_cache].upsert(identifier, data, hasRecord);\n    }\n\n    // Cache Forking Support\n    // =====================\n\n    /**\n     * Create a fork of the cache from the current state.\n     *\n     * Applications should typically not call this method themselves,\n     * preferring instead to fork at the Store level, which will\n     * utilize this method to fork the cache.\n     *\n     * @method fork\n     * @public\n     * @return Promise<Cache>\n     */\n    fork() {\n      return _classPrivateFieldBase(this, _cache)[_cache].fork();\n    }\n\n    /**\n     * Merge a fork back into a parent Cache.\n     *\n     * Applications should typically not call this method themselves,\n     * preferring instead to merge at the Store level, which will\n     * utilize this method to merge the caches.\n     *\n     * @method merge\n     * @param {Cache} cache\n     * @public\n     * @return Promise<void>\n     */\n    merge(cache) {\n      return _classPrivateFieldBase(this, _cache)[_cache].merge(cache);\n    }\n\n    /**\n     * Generate the list of changes applied to all\n     * record in the store.\n     *\n     * Each individual resource or document that has\n     * been mutated should be described as an individual\n     * `Change` entry in the returned array.\n     *\n     * A `Change` is described by an object containing up to\n     * three properties: (1) the `identifier` of the entity that\n     * changed; (2) the `op` code of that change being one of\n     * `upsert` or `remove`, and if the op is `upsert` a `patch`\n     * containing the data to merge into the cache for the given\n     * entity.\n     *\n     * This `patch` is opaque to the Store but should be understood\n     * by the Cache and may expect to be utilized by an Adapter\n     * when generating data during a `save` operation.\n     *\n     * It is generally recommended that the `patch` contain only\n     * the updated state, ignoring fields that are unchanged\n     *\n     * ```ts\n     * interface Change {\n     *  identifier: StableRecordIdentifier | StableDocumentIdentifier;\n     *  op: 'upsert' | 'remove';\n     *  patch?: unknown;\n     * }\n     * ```\n     *\n     * @method diff\n     * @public\n     */\n    diff() {\n      return _classPrivateFieldBase(this, _cache)[_cache].diff();\n    }\n\n    // SSR Support\n    // ===========\n\n    /**\n     * Serialize the entire contents of the Cache into a Stream\n     * which may be fed back into a new instance of the same Cache\n     * via `cache.hydrate`.\n     *\n     * @method dump\n     * @return {Promise<ReadableStream>}\n     * @public\n     */\n    dump() {\n      return _classPrivateFieldBase(this, _cache)[_cache].dump();\n    }\n\n    /**\n     * hydrate a Cache from a Stream with content previously serialized\n     * from another instance of the same Cache, resolving when hydration\n     * is complete.\n     *\n     * This method should expect to be called both in the context of restoring\n     * the Cache during application rehydration after SSR **AND** at unknown\n     * times during the lifetime of an already booted application when it is\n     * desired to bulk-load additional information into the cache. This latter\n     * behavior supports optimizing pre/fetching of data for route transitions\n     * via data-only SSR modes.\n     *\n     * @method hydrate\n     * @param {ReadableStream} stream\n     * @return {Promise<void>}\n     * @public\n     */\n    hydrate(stream) {\n      return _classPrivateFieldBase(this, _cache)[_cache].hydrate(stream);\n    }\n\n    // Cache\n    // =====\n\n    // Resource Support\n    // ================\n\n    /**\n     * [LIFECYCLE] Signal to the cache that a new record has been instantiated on the client\n     *\n     * It returns properties from options that should be set on the record during the create\n     * process. This return value behavior is deprecated.\n     *\n     * @method clientDidCreate\n     * @public\n     * @param identifier\n     * @param options\n     */\n    clientDidCreate(identifier, options) {\n      return _classPrivateFieldBase(this, _cache)[_cache].clientDidCreate(identifier, options);\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that a resource\n     * will be part of a save transaction.\n     *\n     * @method willCommit\n     * @public\n     * @param identifier\n     */\n    willCommit(identifier, context) {\n      _classPrivateFieldBase(this, _cache)[_cache].willCommit(identifier, context);\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that a resource\n     * was successfully updated as part of a save transaction.\n     *\n     * @method didCommit\n     * @public\n     * @param identifier\n     * @param data\n     */\n    didCommit(identifier, result) {\n      return _classPrivateFieldBase(this, _cache)[_cache].didCommit(identifier, result);\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that a resource\n     * was update via a save transaction failed.\n     *\n     * @method commitWasRejected\n     * @public\n     * @param identifier\n     * @param errors\n     */\n    commitWasRejected(identifier, errors) {\n      _classPrivateFieldBase(this, _cache)[_cache].commitWasRejected(identifier, errors);\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that all data for a resource\n     * should be cleared.\n     *\n     * @method unloadRecord\n     * @public\n     * @param identifier\n     */\n    unloadRecord(identifier) {\n      _classPrivateFieldBase(this, _cache)[_cache].unloadRecord(identifier);\n    }\n\n    // Granular Resource Data APIs\n    // ===========================\n\n    /**\n     * Retrieve the data for an attribute from the cache\n     *\n     * @method getAttr\n     * @public\n     * @param identifier\n     * @param propertyName\n     * @return {unknown}\n     */\n    getAttr(identifier, propertyName) {\n      return _classPrivateFieldBase(this, _cache)[_cache].getAttr(identifier, propertyName);\n    }\n\n    /**\n     * Mutate the data for an attribute in the cache\n     *\n     * @method setAttr\n     * @public\n     * @param identifier\n     * @param propertyName\n     * @param value\n     */\n    setAttr(identifier, propertyName, value) {\n      _classPrivateFieldBase(this, _cache)[_cache].setAttr(identifier, propertyName, value);\n    }\n\n    /**\n     * Query the cache for the changed attributes of a resource.\n     *\n     * @method changedAttrs\n     * @public\n     * @param identifier\n     * @return\n     */\n    changedAttrs(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].changedAttrs(identifier);\n    }\n\n    /**\n     * Query the cache for whether any mutated attributes exist\n     *\n     * @method hasChangedAttrs\n     * @public\n     * @param identifier\n     * @return {boolean}\n     */\n    hasChangedAttrs(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].hasChangedAttrs(identifier);\n    }\n\n    /**\n     * Tell the cache to discard any uncommitted mutations to attributes\n     *\n     * @method rollbackAttrs\n     * @public\n     * @param identifier\n     * @return the names of attributes that were restored\n     */\n    rollbackAttrs(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].rollbackAttrs(identifier);\n    }\n\n    // Relationships\n    // =============\n\n    /**\n     * Query the cache for the changes to relationships of a resource.\n     *\n     * Returns a map of relationship names to RelationshipDiff objects.\n     *\n     * ```ts\n     * type RelationshipDiff =\n    | {\n        kind: 'collection';\n        remoteState: StableRecordIdentifier[];\n        additions: Set<StableRecordIdentifier>;\n        removals: Set<StableRecordIdentifier>;\n        localState: StableRecordIdentifier[];\n        reordered: boolean;\n      }\n    | {\n        kind: 'resource';\n        remoteState: StableRecordIdentifier | null;\n        localState: StableRecordIdentifier | null;\n      };\n      ```\n     *\n     * @method changedRelationships\n     * @public\n     * @param {StableRecordIdentifier} identifier\n     * @return {Map<string, RelationshipDiff>}\n     */\n    changedRelationships(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].changedRelationships(identifier);\n    }\n\n    /**\n     * Query the cache for whether any mutated attributes exist\n     *\n     * @method hasChangedRelationships\n     * @public\n     * @param {StableRecordIdentifier} identifier\n     * @return {boolean}\n     */\n    hasChangedRelationships(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].hasChangedRelationships(identifier);\n    }\n\n    /**\n     * Tell the cache to discard any uncommitted mutations to relationships.\n     *\n     * This will also discard the change on any appropriate inverses.\n     *\n     * This method is a candidate to become a mutation\n     *\n     * @method rollbackRelationships\n     * @public\n     * @param {StableRecordIdentifier} identifier\n     * @return {string[]} the names of relationships that were restored\n     */\n    rollbackRelationships(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].rollbackRelationships(identifier);\n    }\n\n    /**\n     * Query the cache for the current state of a relationship property\n     *\n     * @method getRelationship\n     * @public\n     * @param identifier\n     * @param propertyName\n     * @return resource relationship object\n     */\n    getRelationship(identifier, propertyName) {\n      return _classPrivateFieldBase(this, _cache)[_cache].getRelationship(identifier, propertyName);\n    }\n\n    // Resource State\n    // ===============\n\n    /**\n     * Update the cache state for the given resource to be marked as locally deleted,\n     * or remove such a mark.\n     *\n     * @method setIsDeleted\n     * @public\n     * @param identifier\n     * @param isDeleted\n     */\n    setIsDeleted(identifier, isDeleted) {\n      _classPrivateFieldBase(this, _cache)[_cache].setIsDeleted(identifier, isDeleted);\n    }\n\n    /**\n     * Query the cache for any validation errors applicable to the given resource.\n     *\n     * @method getErrors\n     * @public\n     * @param identifier\n     * @return\n     */\n    getErrors(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].getErrors(identifier);\n    }\n\n    /**\n     * Query the cache for whether a given resource has any available data\n     *\n     * @method isEmpty\n     * @public\n     * @param identifier\n     * @return {boolean}\n     */\n    isEmpty(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].isEmpty(identifier);\n    }\n\n    /**\n     * Query the cache for whether a given resource was created locally and not\n     * yet persisted.\n     *\n     * @method isNew\n     * @public\n     * @param identifier\n     * @return {boolean}\n     */\n    isNew(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].isNew(identifier);\n    }\n\n    /**\n     * Query the cache for whether a given resource is marked as deleted (but not\n     * necessarily persisted yet).\n     *\n     * @method isDeleted\n     * @public\n     * @param identifier\n     * @return {boolean}\n     */\n    isDeleted(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].isDeleted(identifier);\n    }\n\n    /**\n     * Query the cache for whether a given resource has been deleted and that deletion\n     * has also been persisted.\n     *\n     * @method isDeletionCommitted\n     * @public\n     * @param identifier\n     * @return {boolean}\n     */\n    isDeletionCommitted(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].isDeletionCommitted(identifier);\n    }\n  }\n\n  /**\n   * @module @ember-data/store\n   */\n  let tokenId = 0;\n  const CacheOperations = new Set(['added', 'removed', 'state', 'updated']);\n  function isCacheOperationValue(value) {\n    return CacheOperations.has(value);\n  }\n  function runLoopIsFlushing() {\n    //@ts-expect-error\n    return !!_runloop._backburner.currentInstance && _runloop._backburner._autorun !== true;\n  }\n  function _unsubscribe(tokens, token, cache) {\n    const identifier = tokens.get(token);\n    if (identifier) {\n      tokens.delete(token);\n      const map = cache.get(identifier);\n      map?.delete(token);\n    }\n  }\n\n  /**\n   * The NotificationManager provides the ability to subscribe to\n   * changes to Cache state.\n   *\n   * This Feature is what allows EmberData to create subscriptions that\n   * work with any framework or change-notification system.\n   *\n   * @class NotificationManager\n   * @public\n   */\n  class NotificationManager {\n    constructor(store) {\n      this.store = store;\n      this.isDestroyed = false;\n      this._buffered = new Map();\n      this._hasFlush = false;\n      this._cache = new Map();\n      this._tokens = new Map();\n    }\n\n    /**\n     * Subscribe to changes for a given resource identifier, resource addition/removal, or document addition/removal.\n     *\n     * ```ts\n     * export type CacheOperation = 'added' | 'removed' | 'updated' | 'state';\n     *\n     * export interface NotificationCallback {\n     *   (identifier: StableRecordIdentifier, notificationType: 'attributes' | 'relationships', key?: string): void;\n     *   (identifier: StableRecordIdentifier, notificationType: 'errors' | 'meta' | 'identity' | 'state'): void;\n     *   (identifier: StableRecordIdentifier, notificationType: NotificationType, key?: string): void;\n     * }\n     * export interface ResourceOperationCallback {\n     *   // resource updates\n     *   (identifier: StableRecordIdentifier, notificationType: CacheOperation): void;\n     * }\n     * export interface DocumentOperationCallback {\n     *   // document updates\n     *   (identifier: StableDocumentIdentifier, notificationType: CacheOperation): void;\n     * }\n     * ```\n     *\n     * @method subscribe\n     * @public\n     * @param {StableDocumentIdentifier | StableRecordIdentifier | 'resource' | 'document'} identifier\n     * @param {NotificationCallback | ResourceOperationCallback | DocumentOperationCallback} callback\n     * @return {UnsubscribeToken} an opaque token to be used with unsubscribe\n     */\n\n    subscribe(identifier, callback) {\n      (true && !(identifier === 'resource' || identifier === 'document' || isStableIdentifier(identifier) || isDocumentIdentifier(identifier)) && (0, _debug.assert)(`Expected to receive a stable Identifier to subscribe to`, identifier === 'resource' || identifier === 'document' || isStableIdentifier(identifier) || isDocumentIdentifier(identifier)));\n      let map = this._cache.get(identifier);\n      if (!map) {\n        map = new Map();\n        this._cache.set(identifier, map);\n      }\n      const unsubToken = {\n        _tokenRef: tokenId++\n      };\n      map.set(unsubToken, callback);\n      this._tokens.set(unsubToken, identifier);\n      return unsubToken;\n    }\n\n    /**\n     * remove a previous subscription\n     *\n     * @method unsubscribe\n     * @public\n     * @param {UnsubscribeToken} token\n     */\n    unsubscribe(token) {\n      if (!this.isDestroyed) {\n        _unsubscribe(this._tokens, token, this._cache);\n      }\n    }\n\n    /**\n     * Custom Caches and Application Code should not call this method directly.\n     *\n     * @method notify\n     * @param identifier\n     * @param value\n     * @param key\n     * @return {Boolean} whether a notification was delivered to any subscribers\n     * @private\n     */\n\n    notify(identifier, value, key) {\n      (true && !(!key || value === 'attributes' || value === 'relationships') && (0, _debug.assert)(`Notify does not accept a key argument for the namespace '${value}'. Received key '${key || ''}'.`, !key || value === 'attributes' || value === 'relationships'));\n      if (!isStableIdentifier(identifier) && !isDocumentIdentifier(identifier)) {\n        return false;\n      }\n      const hasSubscribers = Boolean(this._cache.get(identifier)?.size);\n      if (isCacheOperationValue(value) || hasSubscribers) {\n        let buffer = this._buffered.get(identifier);\n        if (!buffer) {\n          buffer = [];\n          this._buffered.set(identifier, buffer);\n        }\n        buffer.push([value, key]);\n        this._scheduleNotify();\n      }\n      return hasSubscribers;\n    }\n    _onNextFlush(cb) {\n      this._onFlushCB = cb;\n    }\n    _scheduleNotify() {\n      const asyncFlush = this.store._enableAsyncFlush;\n      if (this._hasFlush) {\n        if (asyncFlush !== false && !runLoopIsFlushing()) {\n          return;\n        }\n      }\n      if (asyncFlush && !runLoopIsFlushing()) {\n        this._hasFlush = true;\n        return;\n      }\n      this._flush();\n    }\n    _flush() {\n      if (this._buffered.size) {\n        this._buffered.forEach((states, identifier) => {\n          states.forEach(args => {\n            // @ts-expect-error\n            this._flushNotification(identifier, args[0], args[1]);\n          });\n        });\n        this._buffered = new Map();\n      }\n      this._hasFlush = false;\n      this._onFlushCB?.();\n      this._onFlushCB = undefined;\n    }\n    _flushNotification(identifier, value, key) {\n      // TODO for documents this will need to switch based on Identifier kind\n      if (isCacheOperationValue(value)) {\n        const callbackMap = this._cache.get(isDocumentIdentifier(identifier) ? 'document' : 'resource');\n        if (callbackMap) {\n          callbackMap.forEach(cb => {\n            cb(identifier, value);\n          });\n        }\n      }\n      const callbackMap = this._cache.get(identifier);\n      if (!callbackMap || !callbackMap.size) {\n        return false;\n      }\n      callbackMap.forEach(cb => {\n        // @ts-expect-error overload doesn't narrow within body\n        cb(identifier, value, key);\n      });\n      return true;\n    }\n    destroy() {\n      this.isDestroyed = true;\n      this._tokens.clear();\n      this._cache.clear();\n    }\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    if ('value' in desc || desc.initializer) {\n      desc.writable = true;\n    }\n    desc = decorators.slice().reverse().reduce(function (desc, decorator) {\n      return decorator(target, property, desc) || desc;\n    }, desc);\n    if (context && desc.initializer !== void 0) {\n      desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n      desc.initializer = undefined;\n    }\n    if (desc.initializer === void 0) {\n      Object.defineProperty(target, property, desc);\n      desc = null;\n    }\n    return desc;\n  }\n  var _class;\n  const ARRAY_GETTER_METHODS = new Set([Symbol.iterator, 'concat', 'entries', 'every', 'fill', 'filter', 'find', 'findIndex', 'flat', 'flatMap', 'forEach', 'includes', 'indexOf', 'join', 'keys', 'lastIndexOf', 'map', 'reduce', 'reduceRight', 'slice', 'some', 'values']);\n  const ARRAY_SETTER_METHODS = new Set(['push', 'pop', 'unshift', 'shift', 'splice', 'sort']);\n  const SYNC_PROPS = new Set(['[]', 'length', 'links', 'meta']);\n  function isArrayGetter(prop) {\n    return ARRAY_GETTER_METHODS.has(prop);\n  }\n  function isArraySetter(prop) {\n    return ARRAY_SETTER_METHODS.has(prop);\n  }\n  function isSelfProp(self, prop) {\n    return prop in self;\n  }\n  const ARRAY_SIGNAL = _exports.A = Symbol('#signal');\n  const SOURCE = _exports.g = Symbol('#source');\n  const MUTATE = _exports.M = Symbol('#update');\n  const NOTIFY = Symbol('#notify');\n  const IS_COLLECTION = Symbol.for('Collection');\n  function notifyArray(arr) {\n    (0, _private.addToTransaction)(arr[ARRAY_SIGNAL]);\n  }\n  function convertToInt(prop) {\n    if (typeof prop === 'symbol') return null;\n    const num = Number(prop);\n    if (isNaN(num)) return null;\n    return num % 1 === 0 ? num : null;\n  }\n  function safeForEach(instance, arr, store, callback, target) {\n    if (target === undefined) {\n      target = null;\n    }\n    // clone to prevent mutation\n    arr = arr.slice();\n    (true && !(typeof callback === 'function') && (0, _debug.assert)('`forEach` expects a function as first argument.', typeof callback === 'function')); // because we retrieveLatest above we need not worry if array is mutated during iteration\n    // by unloadRecord/rollbackAttributes\n    // push/add/removeObject may still be problematic\n    // but this is a more traditionally expected forEach bug.\n    const length = arr.length; // we need to access length to ensure we are consumed\n\n    for (let index = 0; index < length; index++) {\n      callback.call(target, store._instanceCache.getRecord(arr[index]), index, instance);\n    }\n    return instance;\n  }\n\n  /**\n    A record array is an array that contains records of a certain type (or modelName).\n    The record array materializes records as needed when they are retrieved for the first\n    time. You should not create record arrays yourself. Instead, an instance of\n    `RecordArray` or its subclasses will be returned by your application's store\n    in response to queries.\n  \n    This class should not be imported and instantiated by consuming applications.\n  \n    @class RecordArray\n    @public\n  */\n  let IdentifierArray = _exports.I = (_class = class IdentifierArray {\n    [NOTIFY]() {\n      notifyArray(this);\n    }\n\n    /**\n      The store that created this record array.\n       @property store\n      @private\n      @type Store\n      */\n\n    destroy(clear) {\n      this.isDestroying = !clear;\n      // changing the reference breaks the Proxy\n      // this[SOURCE] = [];\n      this[SOURCE].length = 0;\n      this[NOTIFY]();\n      this.isDestroyed = !clear;\n    }\n\n    // length must be on self for proxied methods to work properly\n    get length() {\n      return this[SOURCE].length;\n    }\n    set length(value) {\n      this[SOURCE].length = value;\n    }\n    constructor(options) {\n      /**\n        The flag to signal a `RecordArray` is currently loading data.\n        Example\n        ```javascript\n        let people = store.peekAll('person');\n        people.isUpdating; // false\n        people.update();\n        people.isUpdating; // true\n        ```\n        @property isUpdating\n        @public\n        @type Boolean\n      */\n      this.isLoaded = true;\n      this.isDestroying = false;\n      this.isDestroyed = false;\n      this._updatingPromise = null;\n      this[IS_COLLECTION] = true;\n      this[SOURCE] = void 0;\n      // eslint-disable-next-line @typescript-eslint/no-this-alias\n      const self = this;\n      this.modelName = options.type;\n      this.store = options.store;\n      this._manager = options.manager;\n      this[SOURCE] = options.identifiers;\n      this[ARRAY_SIGNAL] = (0, _private.createSignal)(this, 'length');\n      const store = options.store;\n      const boundFns = new Map();\n      const _SIGNAL = this[ARRAY_SIGNAL];\n      const PrivateState = {\n        links: options.links || null,\n        meta: options.meta || null\n      };\n      let transaction = false;\n\n      // when a mutation occurs\n      // we track all mutations within the call\n      // and forward them as one\n\n      const proxy = new Proxy(this[SOURCE], {\n        get(target, prop, receiver) {\n          const index = convertToInt(prop);\n          if (_SIGNAL.shouldReset && (index !== null || SYNC_PROPS.has(prop) || isArrayGetter(prop))) {\n            options.manager._syncArray(receiver);\n            _SIGNAL.t = false;\n            _SIGNAL.shouldReset = false;\n          }\n          if (index !== null) {\n            const identifier = target[index];\n            if (!transaction) {\n              (0, _private.subscribe)(_SIGNAL);\n            }\n            return identifier && store._instanceCache.getRecord(identifier);\n          }\n          if (prop === 'meta') return (0, _private.subscribe)(_SIGNAL), PrivateState.meta;\n          if (prop === 'links') return (0, _private.subscribe)(_SIGNAL), PrivateState.links;\n          if (prop === '[]') return (0, _private.subscribe)(_SIGNAL), receiver;\n          if (isArrayGetter(prop)) {\n            let fn = boundFns.get(prop);\n            if (fn === undefined) {\n              if (prop === 'forEach') {\n                fn = function () {\n                  (0, _private.subscribe)(_SIGNAL);\n                  transaction = true;\n                  const result = safeForEach(receiver, target, store, arguments[0], arguments[1]);\n                  transaction = false;\n                  return result;\n                };\n              } else {\n                fn = function () {\n                  (0, _private.subscribe)(_SIGNAL);\n                  // array functions must run through Reflect to work properly\n                  // binding via other means will not work.\n                  transaction = true;\n                  const result = Reflect.apply(target[prop], receiver, arguments);\n                  transaction = false;\n                  return result;\n                };\n              }\n              boundFns.set(prop, fn);\n            }\n            return fn;\n          }\n          if (isArraySetter(prop)) {\n            let fn = boundFns.get(prop);\n            if (fn === undefined) {\n              fn = function () {\n                // array functions must run through Reflect to work properly\n                // binding via other means will not work.\n                if (!options.allowMutation) {\n                  (true && !(options.allowMutation) && (0, _debug.assert)(`Mutating this array of records via ${String(prop)} is not allowed.`, options.allowMutation));\n                  return;\n                }\n                const args = Array.prototype.slice.call(arguments);\n                (true && !(!transaction) && (0, _debug.assert)(`Cannot start a new array transaction while a previous transaction is underway`, !transaction));\n                transaction = true;\n                const result = self[MUTATE](target, receiver, prop, args, _SIGNAL);\n                transaction = false;\n                return result;\n              };\n              boundFns.set(prop, fn);\n            }\n            return fn;\n          }\n          if (isSelfProp(self, prop)) {\n            if (prop === NOTIFY || prop === ARRAY_SIGNAL || prop === SOURCE) {\n              return self[prop];\n            }\n            let fn = boundFns.get(prop);\n            if (fn) return fn;\n            const outcome = self[prop];\n            if (typeof outcome === 'function') {\n              fn = function () {\n                (0, _private.subscribe)(_SIGNAL);\n                // array functions must run through Reflect to work properly\n                // binding via other means will not work.\n                return Reflect.apply(outcome, receiver, arguments);\n              };\n              boundFns.set(prop, fn);\n              return fn;\n            }\n            return (0, _private.subscribe)(_SIGNAL), outcome;\n          }\n          return target[prop];\n        },\n        // FIXME: Should this get a generic like get above?\n        set(target, prop, value, receiver) {\n          if (prop === 'length') {\n            if (!transaction && value === 0) {\n              transaction = true;\n              self[MUTATE](target, receiver, 'length 0', [], _SIGNAL);\n              transaction = false;\n              return true;\n            } else if (transaction) {\n              return Reflect.set(target, prop, value);\n            } else {\n              (true && !(false) && (0, _debug.assert)(`unexpected length set`));\n            }\n          }\n          if (prop === 'links') {\n            PrivateState.links = value || null;\n            return true;\n          }\n          if (prop === 'meta') {\n            PrivateState.meta = value || null;\n            return true;\n          }\n          const index = convertToInt(prop);\n\n          // we do not allow \"holey\" arrays and so if the index is\n          // greater than length then we will disallow setting it.\n          // however, there is a special case for \"unshift\" with more than\n          // one item being inserted since current items will be moved to the\n          // new indices first.\n          // we \"loosely\" detect this by just checking whether we are in\n          // a transaction.\n          if (index === null || index > target.length) {\n            if (index !== null && transaction) {\n              const identifier = recordIdentifierFor(value);\n              (true && !(isStableIdentifier(identifier)) && (0, _debug.assert)(`Cannot set index ${index} past the end of the array.`, isStableIdentifier(identifier)));\n              target[index] = identifier;\n              return true;\n            } else if (isSelfProp(self, prop)) {\n              self[prop] = value;\n              return true;\n            }\n            return false;\n          }\n          if (!options.allowMutation) {\n            (true && !(options.allowMutation) && (0, _debug.assert)(`Mutating ${String(prop)} on this RecordArray is not allowed.`, options.allowMutation));\n            return false;\n          }\n          const original = target[index];\n          const newIdentifier = extractIdentifierFromRecord$1(value);\n          target[index] = newIdentifier;\n          (true && !(isStableIdentifier(newIdentifier)) && (0, _debug.assert)(`Expected a record`, isStableIdentifier(newIdentifier))); // We generate \"transactions\" whenever a setter method on the array\n          // is called and might bulk update multiple array cells. Fundamentally,\n          // all array operations decompose into individual cell replacements.\n          // e.g. a push is really a \"replace cell at next index with new value\"\n          // or a splice is \"shift all values left/right by X and set out of new\n          // bounds cells to undefined\"\n          //\n          // so, if we are in a transaction, then this is not a user generated change\n          // but one generated by a setter method. In this case we want to only apply\n          // the change to the target array and not call the MUTATE method.\n          // If there is no transaction though, then this means the user themselves has\n          // directly changed the value of a specific index and we need to thus generate\n          // a mutation for that change.\n          // e.g. \"arr.push(newVal)\" is handled by a \"addToRelatedRecords\" mutation within\n          // a transaction.\n          // while \"arr[arr.length] = newVal;\" is handled by this replace cell code path.\n          if (!transaction) {\n            self[MUTATE](target, receiver, 'replace cell', [index, original, newIdentifier], _SIGNAL);\n          } else {\n            target[index] = newIdentifier;\n          }\n          return true;\n        },\n        deleteProperty(target, prop) {\n          (true && !(transaction) && (0, _debug.assert)(`Deleting keys on managed arrays is disallowed`, transaction));\n          if (!transaction) {\n            return false;\n          }\n          return Reflect.deleteProperty(target, prop);\n        },\n        getPrototypeOf() {\n          return IdentifierArray.prototype;\n        }\n      });\n      (0, _private.createArrayTags)(proxy, _SIGNAL);\n      this[NOTIFY] = this[NOTIFY].bind(proxy);\n      return proxy;\n    }\n\n    /**\n      Used to get the latest version of all of the records in this array\n      from the adapter.\n       Example\n       ```javascript\n      let people = store.peekAll('person');\n      people.isUpdating; // false\n       people.update().then(function() {\n        people.isUpdating; // false\n      });\n       people.isUpdating; // true\n      ```\n       @method update\n      @public\n    */\n    update() {\n      if (this.isUpdating) {\n        return this._updatingPromise;\n      }\n      this.isUpdating = true;\n      const updatingPromise = this._update();\n      void updatingPromise.finally(() => {\n        this._updatingPromise = null;\n        if (this.isDestroying || this.isDestroyed) {\n          return;\n        }\n        this.isUpdating = false;\n      });\n      this._updatingPromise = updatingPromise;\n      return updatingPromise;\n    }\n\n    /*\n      Update this RecordArray and return a promise which resolves once the update\n      is finished.\n     */\n    _update() {\n      (true && !(this.modelName) && (0, _debug.assert)(`_update cannot be used with this array`, this.modelName));\n      return this.store.findAll(this.modelName, {\n        reload: true\n      });\n    }\n\n    // TODO deprecate\n    /**\n      Saves all of the records in the `RecordArray`.\n       Example\n       ```javascript\n      let messages = store.peekAll('message');\n      messages.forEach(function(message) {\n        message.hasBeenSeen = true;\n      });\n      messages.save();\n      ```\n       @method save\n      @public\n      @return {Promise<IdentifierArray>} promise\n    */\n    save() {\n      const promise = Promise.all(this.map(record => this.store.saveRecord(record))).then(() => this);\n      return promise;\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"length\", [_tracking.compat], Object.getOwnPropertyDescriptor(_class.prototype, \"length\"), _class.prototype), _class); // this will error if someone tries to call\n  // A(identifierArray) since it is not configurable\n  // which is preferable to the `meta` override we used\n  // before which required importing all of Ember\n  const desc = {\n    enumerable: true,\n    configurable: false,\n    get: function () {\n      return this;\n    }\n  };\n  (0, _tracking.compat)(desc);\n  Object.defineProperty(IdentifierArray.prototype, '[]', desc);\n  (0, _private.defineSignal)(IdentifierArray.prototype, 'isUpdating', false);\n  class Collection extends IdentifierArray {\n    constructor(options) {\n      super(options);\n      this.query = null;\n      this.query = options.query || null;\n      this.isLoaded = options.isLoaded || false;\n    }\n    _update() {\n      const {\n        store,\n        query\n      } = this;\n\n      // TODO save options from initial request?\n      (true && !(this.modelName) && (0, _debug.assert)(`update cannot be used with this array`, this.modelName));\n      (true && !(query) && (0, _debug.assert)(`update cannot be used with no query`, query));\n      const promise = store.query(this.modelName, query, {\n        _recordArray: this\n      });\n      return promise;\n    }\n    destroy(clear) {\n      super.destroy(clear);\n      this._manager._managed.delete(this);\n      this._manager._pending.delete(this);\n    }\n  }\n  // trick the proxy \"in\" check\n  _exports.f = Collection;\n  Collection.prototype.query = null;\n\n  // Ensure instanceof works correctly\n  // Object.setPrototypeOf(IdentifierArray.prototype, Array.prototype);\n\n  function assertRecordPassedToHasMany(record) {\n    (true && !(function () {\n      try {\n        recordIdentifierFor(record);\n        return true;\n      } catch {\n        return false;\n      }\n    }()) && (0, _debug.assert)(`All elements of a hasMany relationship must be instances of Model, you passed $${typeof record}`, function () {\n      try {\n        recordIdentifierFor(record);\n        return true;\n      } catch {\n        return false;\n      }\n    }()));\n  }\n  function extractIdentifierFromRecord$1(record) {\n    if (!record) {\n      return null;\n    }\n    assertRecordPassedToHasMany(record);\n    return recordIdentifierFor(record);\n  }\n\n  /**\n    @module @ember-data/store\n  */\n  const FAKE_ARR = {};\n  const SLICE_BATCH_SIZE = 1200;\n  /**\n   * This is a clever optimization.\n   *\n   * clever optimizations rarely stand the test of time, so if you're\n   * ever curious or think something better is possible please benchmark\n   * and discuss. The benchmark for this at the time of writing is in\n   * `scripts/benchmark-push.js`\n   *\n   * This approach turns out to be 150x faster in Chrome and node than\n   * simply using push or concat. It's highly susceptible to the specifics\n   * of the batch size, and may require tuning.\n   *\n   * Clever optimizations should always come with a `why`. This optimization\n   * exists for two reasons.\n   *\n   * 1) array.push(...objects) and Array.prototype.push.apply(arr, objects)\n   *   are susceptible to stack overflows. The size of objects at which this\n   *   occurs varies by environment, browser, and current stack depth and memory\n   *   pressure; however, it occurs in all browsers in fairly pristine conditions\n   *   somewhere around 125k to 200k elements. Since EmberData regularly encounters\n   *   arrays larger than this in size, we cannot use push.\n   *\n   * 2) `array.concat` or simply setting the array to a new reference is often an\n   *   easier approach; however, native Proxy to an array cannot swap it's target array\n   *   and attempts at juggling multiple array sources have proven to be victim to a number\n   *   of browser implementation bugs. Should these bugs be addressed then we could\n   *   simplify to using `concat`, however, do note this is currently 150x faster\n   *   than concat, and due to the overloaded signature of concat will likely always\n   *   be faster.\n   *\n   * Sincerely,\n   *   - runspired (Chris Thoburn) 08/21/2022\n   *\n   * @function fastPush\n   * @internal\n   * @param target the array to push into\n   * @param source the items to push into target\n   */\n  function fastPush(target, source) {\n    let startLength = 0;\n    const newLength = source.length;\n    while (newLength - startLength > SLICE_BATCH_SIZE) {\n      // eslint-disable-next-line prefer-spread\n      target.push.apply(target, source.slice(startLength, startLength + SLICE_BATCH_SIZE));\n      startLength += SLICE_BATCH_SIZE;\n    }\n    // eslint-disable-next-line prefer-spread\n    target.push.apply(target, source.slice(startLength));\n  }\n  /**\n    @class RecordArrayManager\n    @internal\n  */\n  class RecordArrayManager {\n    constructor(options) {\n      this.store = options.store;\n      this.isDestroying = false;\n      this.isDestroyed = false;\n      this._live = new Map();\n      this._managed = new Set();\n      this._pending = new Map();\n      this._staged = new Map();\n      this._keyedArrays = new Map();\n      this._identifiers = new Map();\n      this._set = new Map();\n      this._visibilitySet = new Map();\n      this._subscription = this.store.notifications.subscribe('resource', (identifier, type) => {\n        if (type === 'added') {\n          this._visibilitySet.set(identifier, true);\n          this.identifierAdded(identifier);\n        } else if (type === 'removed') {\n          this._visibilitySet.set(identifier, false);\n          this.identifierRemoved(identifier);\n        } else if (type === 'state') {\n          this.identifierChanged(identifier);\n        }\n      });\n    }\n    _syncArray(array) {\n      const pending = this._pending.get(array);\n      if (!pending || this.isDestroying || this.isDestroyed) {\n        return;\n      }\n      sync(array, pending, this._set.get(array));\n      this._pending.delete(array);\n    }\n\n    /**\n      Get the `RecordArray` for a modelName, which contains all loaded records of\n      given modelName.\n       @method liveArrayFor\n      @internal\n      @param {String} modelName\n      @return {RecordArray}\n    */\n    liveArrayFor(type) {\n      let array = this._live.get(type);\n      const identifiers = [];\n      const staged = this._staged.get(type);\n      if (staged) {\n        staged.forEach((value, key) => {\n          if (value === 'add') {\n            identifiers.push(key);\n          }\n        });\n        this._staged.delete(type);\n      }\n      if (!array) {\n        array = new IdentifierArray({\n          type,\n          identifiers,\n          store: this.store,\n          allowMutation: false,\n          manager: this\n        });\n        this._live.set(type, array);\n        this._set.set(array, new Set(identifiers));\n      }\n      return array;\n    }\n    createArray(config) {\n      const options = {\n        type: config.type,\n        links: config.doc?.links || null,\n        meta: config.doc?.meta || null,\n        query: config.query || null,\n        identifiers: config.identifiers || [],\n        isLoaded: !!config.identifiers?.length,\n        allowMutation: false,\n        store: this.store,\n        manager: this\n      };\n      const array = new Collection(options);\n      this._managed.add(array);\n      this._set.set(array, new Set(options.identifiers || []));\n      if (config.identifiers) {\n        associate(this._identifiers, array, config.identifiers);\n      }\n      return array;\n    }\n    dirtyArray(array, delta) {\n      if (array === FAKE_ARR) {\n        return;\n      }\n      const tag = array[ARRAY_SIGNAL];\n      if (!tag.shouldReset) {\n        tag.shouldReset = true;\n        (0, _private.addTransactionCB)(array[NOTIFY]);\n      } else if (delta > 0 && !tag.t) {\n        (0, _private.addTransactionCB)(array[NOTIFY]);\n      }\n    }\n    _getPendingFor(identifier, includeManaged, isRemove) {\n      if (this.isDestroying || this.isDestroyed) {\n        return;\n      }\n      const liveArray = this._live.get(identifier.type);\n      const allPending = this._pending;\n      const pending = new Map();\n      if (includeManaged) {\n        const managed = this._identifiers.get(identifier);\n        if (managed) {\n          managed.forEach(arr => {\n            let changes = allPending.get(arr);\n            if (!changes) {\n              changes = new Map();\n              allPending.set(arr, changes);\n            }\n            pending.set(arr, changes);\n          });\n        }\n      }\n\n      // during unloadAll we can ignore removes since we've already\n      // cleared the array.\n      if (liveArray && liveArray[SOURCE].length === 0 && isRemove) {\n        const pendingLive = allPending.get(liveArray);\n        if (!pendingLive || pendingLive.size === 0) {\n          return pending;\n        }\n      }\n      if (!liveArray) {\n        // start building a changeset for when we eventually\n        // do have a live array\n        let changes = this._staged.get(identifier.type);\n        if (!changes) {\n          changes = new Map();\n          this._staged.set(identifier.type, changes);\n        }\n        pending.set(FAKE_ARR, changes);\n      } else {\n        let changes = allPending.get(liveArray);\n        if (!changes) {\n          changes = new Map();\n          allPending.set(liveArray, changes);\n        }\n        pending.set(liveArray, changes);\n      }\n      return pending;\n    }\n    populateManagedArray(array, identifiers, payload) {\n      this._pending.delete(array);\n      const source = array[SOURCE];\n      const old = source.slice();\n      source.length = 0;\n      fastPush(source, identifiers);\n      this._set.set(array, new Set(identifiers));\n      notifyArray(array);\n      array.meta = payload.meta || null;\n      array.links = payload.links || null;\n      array.isLoaded = true;\n      disassociate(this._identifiers, array, old);\n      associate(this._identifiers, array, identifiers);\n    }\n    identifierAdded(identifier) {\n      const changeSets = this._getPendingFor(identifier, false);\n      if (changeSets) {\n        changeSets.forEach((changes, array) => {\n          const existing = changes.get(identifier);\n          if (existing === 'del') {\n            changes.delete(identifier);\n          } else {\n            changes.set(identifier, 'add');\n            this.dirtyArray(array, changes.size);\n          }\n        });\n      }\n    }\n    identifierRemoved(identifier) {\n      const changeSets = this._getPendingFor(identifier, true, true);\n      if (changeSets) {\n        changeSets.forEach((changes, array) => {\n          const existing = changes.get(identifier);\n          if (existing === 'add') {\n            changes.delete(identifier);\n          } else {\n            changes.set(identifier, 'del');\n            this.dirtyArray(array, changes.size);\n          }\n        });\n      }\n    }\n    identifierChanged(identifier) {\n      const newState = this.store._instanceCache.recordIsLoaded(identifier, true);\n\n      // if the change matches the most recent direct added/removed\n      // state, then we can ignore it\n      if (this._visibilitySet.get(identifier) === newState) {\n        return;\n      }\n      if (newState) {\n        this.identifierAdded(identifier);\n      } else {\n        this.identifierRemoved(identifier);\n      }\n    }\n    clear(isClear = true) {\n      this._live.forEach(array => array.destroy(isClear));\n      this._managed.forEach(array => array.destroy(isClear));\n      this._managed.clear();\n      this._identifiers.clear();\n      this._pending.clear();\n      this._set.forEach(set => set.clear());\n      this._visibilitySet.clear();\n    }\n    destroy() {\n      this.isDestroying = true;\n      this.clear(false);\n      this._live.clear();\n      this.isDestroyed = true;\n      this.store.notifications.unsubscribe(this._subscription);\n    }\n  }\n  _exports.R = RecordArrayManager;\n  function associate(ArraysCache, array, identifiers) {\n    for (let i = 0; i < identifiers.length; i++) {\n      const identifier = identifiers[i];\n      let cache = ArraysCache.get(identifier);\n      if (!cache) {\n        cache = new Set();\n        ArraysCache.set(identifier, cache);\n      }\n      cache.add(array);\n    }\n  }\n  function disassociate(ArraysCache, array, identifiers) {\n    for (let i = 0; i < identifiers.length; i++) {\n      disassociateIdentifier(ArraysCache, array, identifiers[i]);\n    }\n  }\n  function disassociateIdentifier(ArraysCache, array, identifier) {\n    const cache = ArraysCache.get(identifier);\n    if (cache) {\n      cache.delete(array);\n    }\n  }\n  function sync(array, changes, arraySet) {\n    const state = array[SOURCE];\n    const adds = [];\n    const removes = [];\n    changes.forEach((value, key) => {\n      if (value === 'add') {\n        // likely we want to keep a Set along-side\n        if (arraySet.has(key)) {\n          return;\n        }\n        adds.push(key);\n        arraySet.add(key);\n      } else {\n        if (arraySet.has(key)) {\n          removes.push(key);\n          arraySet.delete(key);\n        }\n      }\n    });\n    if (removes.length) {\n      if (removes.length === state.length) {\n        state.length = 0;\n        // changing the reference breaks the Proxy\n        // state = array[SOURCE] = [];\n      } else {\n        removes.forEach(i => {\n          const index = state.indexOf(i);\n          if (index !== -1) {\n            state.splice(index, 1);\n            arraySet.delete(i);\n          }\n        });\n      }\n    }\n    if (adds.length) {\n      fastPush(state, adds);\n      // changing the reference breaks the Proxy\n      // else we could do this\n      /*\n      if (state.length === 0) {\n        array[SOURCE] = adds;\n      } else {\n        array[SOURCE] = state.concat(adds);\n      }\n      */\n    }\n  }\n\n  /**\n   * @module @ember-data/store\n   */\n  const Touching = Symbol('touching');\n  const RequestPromise = Symbol('promise');\n  const EMPTY_ARR = Object.freeze([]);\n  function hasRecordIdentifier(op) {\n    return 'recordIdentifier' in op;\n  }\n\n  /**\n   * The RequestStateService is used to track the state of requests\n   * for fetching or updating known resource identifies that are inflight.\n   *\n   * @class RequestStateService\n   * @public\n   */\n  class RequestStateService {\n    constructor(store) {\n      this._pending = new Map();\n      this._done = new Map();\n      this._subscriptions = new Map();\n      this._toFlush = [];\n      this._store = void 0;\n      this._store = store;\n    }\n    _clearEntries(identifier) {\n      this._done.delete(identifier);\n    }\n    _enqueue(promise, queryRequest) {\n      const query = queryRequest.data[0];\n      if (hasRecordIdentifier(query)) {\n        const identifier = query.recordIdentifier;\n        const type = query.op === 'saveRecord' ? 'mutation' : 'query';\n        if (!this._pending.has(identifier)) {\n          this._pending.set(identifier, []);\n        }\n        const request = {\n          state: 'pending',\n          request: queryRequest,\n          type\n        };\n        request[Touching] = [query.recordIdentifier];\n        request[RequestPromise] = promise;\n        this._pending.get(identifier).push(request);\n        this._triggerSubscriptions(request);\n        return promise.then(result => {\n          this._dequeue(identifier, request);\n          const finalizedRequest = {\n            state: 'fulfilled',\n            request: queryRequest,\n            type,\n            response: {\n              data: result\n            }\n          };\n          finalizedRequest[Touching] = request[Touching];\n          this._addDone(finalizedRequest);\n          this._triggerSubscriptions(finalizedRequest);\n          return result;\n        }, error => {\n          this._dequeue(identifier, request);\n          const finalizedRequest = {\n            state: 'rejected',\n            request: queryRequest,\n            type,\n            response: {\n              data: error\n            }\n          };\n          finalizedRequest[Touching] = request[Touching];\n          this._addDone(finalizedRequest);\n          this._triggerSubscriptions(finalizedRequest);\n          throw error;\n        });\n      }\n      (true && !(false) && (0, _debug.assert)(`Expected a well formed  query`));\n    }\n    _triggerSubscriptions(req) {\n      if (req.state === 'pending') {\n        this._flushRequest(req);\n        return;\n      }\n      this._toFlush.push(req);\n      if (this._toFlush.length === 1) {\n        this._store.notifications._onNextFlush(() => {\n          this._flush();\n        });\n      }\n    }\n    _flush() {\n      this._toFlush.forEach(req => {\n        this._flushRequest(req);\n      });\n      this._toFlush = [];\n    }\n    _flushRequest(req) {\n      req[Touching].forEach(identifier => {\n        const subscriptions = this._subscriptions.get(identifier);\n        if (subscriptions) {\n          subscriptions.forEach(callback => callback(req));\n        }\n      });\n    }\n    _dequeue(identifier, request) {\n      const pending = this._pending.get(identifier);\n      this._pending.set(identifier, pending.filter(req => req !== request));\n    }\n    _addDone(request) {\n      request[Touching].forEach(identifier => {\n        // TODO add support for multiple\n        const requestDataOp = request.request.data[0].op;\n        let requests = this._done.get(identifier);\n        if (requests) {\n          requests = requests.filter(req => {\n            // TODO add support for multiple\n            let data;\n            if (Array.isArray(req.request.data)) {\n              data = req.request.data[0];\n            } else {\n              data = req.request.data;\n            }\n            return data.op !== requestDataOp;\n          });\n        }\n        requests = requests || [];\n        requests.push(request);\n        this._done.set(identifier, requests);\n      });\n    }\n\n    /**\n     * Subscribe to requests for a given resource identity.\n     *\n     * The callback will receive the current state of the request.\n     *\n     * ```ts\n     * interface RequestState {\n     *   state: 'pending' | 'fulfilled' | 'rejected';\n     *   type: 'query' | 'mutation';\n     *   request: Request;\n     *   response?: { data: unknown };\n     * }\n     * ```\n     *\n     * Note: It should be considered dangerous to use this API for more than simple\n     * state derivation or debugging. The `request` and `response` properties are poorly\n     * spec'd and may change unexpectedly when shifting what Handlers are in use or how\n     * requests are issued from the Store.\n     *\n     * We expect to revisit this API in the near future as we continue to refine the\n     * RequestManager ergonomics, as a simpler but more powerful direct integration\n     * with the RequestManager for these purposes is likely to be a better long-term\n     * design.\n     *\n     * @method subscribeForRecord\n     * @public\n     * @param {StableRecordIdentifier} identifier\n     * @param {(state: RequestState) => void} callback\n     */\n    subscribeForRecord(identifier, callback) {\n      let subscriptions = this._subscriptions.get(identifier);\n      if (!subscriptions) {\n        subscriptions = [];\n        this._subscriptions.set(identifier, subscriptions);\n      }\n      subscriptions.push(callback);\n    }\n\n    /**\n     * Retrieve all active requests for a given resource identity.\n     *\n     * @method getPendingRequestsForRecord\n     * @public\n     * @param {StableRecordIdentifier} identifier\n     * @return {RequestState[]} an array of request states for any pending requests for the given identifier\n     */\n    getPendingRequestsForRecord(identifier) {\n      return this._pending.get(identifier) || EMPTY_ARR;\n    }\n\n    /**\n     * Retrieve the last completed request for a given resource identity.\n     *\n     * @method getLastRequestForRecord\n     * @public\n     * @param {StableRecordIdentifier} identifier\n     * @return {RequestState | null} the state of the most recent request for the given identifier\n     */\n    getLastRequestForRecord(identifier) {\n      const requests = this._done.get(identifier);\n      if (requests) {\n        return requests[requests.length - 1];\n      }\n      return null;\n    }\n  }\n  function isNonEmptyString(str) {\n    return Boolean(str && typeof str === 'string');\n  }\n  function constructResource(type, id, lid) {\n    if (typeof type === 'object' && type !== null) {\n      const resource = type;\n      if (isStableIdentifier(resource)) {\n        return resource;\n      }\n      if ('id' in resource) {\n        resource.id = coerceId(resource.id);\n      }\n      (true && !('id' in resource && isNonEmptyString(resource.id) || isNonEmptyString(resource.lid)) && (0, _debug.assert)('Expected either id or lid to be a valid string', 'id' in resource && isNonEmptyString(resource.id) || isNonEmptyString(resource.lid)));\n      (true && !(!('id' in resource) || typeof resource.type === 'string') && (0, _debug.assert)('if id is present, the type must be a string', !('id' in resource) || typeof resource.type === 'string'));\n      return resource;\n    } else {\n      const trueId = coerceId(id);\n      if (!isNonEmptyString(trueId)) {\n        if (isNonEmptyString(lid)) {\n          return {\n            lid\n          };\n        }\n        throw new Error('Expected either id or lid to be a valid string');\n      }\n      (true && !(typeof type === 'string') && (0, _debug.assert)('type must be a string', typeof type === 'string'));\n      if (isNonEmptyString(lid)) {\n        return {\n          type,\n          id: trueId,\n          lid\n        };\n      }\n      return {\n        type,\n        id: trueId\n      };\n    }\n  }\n\n  /**\n    @module @ember-data/store\n   */\n  // this import location is deprecated but breaks in 4.8 and older\n\n  /**\n   * A Store coordinates interaction between your application, a [Cache](https://api.emberjs.com/ember-data/release/classes/%3CInterface%3E%20Cache),\n   * and sources of data (such as your API or a local persistence layer)\n   * accessed via a [RequestManager](https://github.com/emberjs/data/tree/main/packages/request).\n   *\n   * ```app/services/store.js\n   * import Store from '@ember-data/store';\n   *\n   * export default class extends Store {}\n   * ```\n   *\n   * Most Ember applications will only have a single `Store` configured as a Service\n   * in this manner. However, setting up multiple stores is possible, including using\n   * each as a unique service.\n   *\n  \n    @class Store\n    @public\n  */\n\n  // @ts-expect-error\n\n  class Store extends _object.default {\n    /**\n     * Provides access to the NotificationManager associated\n     * with this Store instance.\n     *\n     * The NotificationManager can be used to subscribe to\n     * changes to the cache.\n     *\n     * @property {NotificationManager} notifications\n     * @public\n     */\n\n    /**\n     * Provides access to the SchemaService instance\n     * for this Store instance.\n     *\n     * The SchemaService can be used to query for\n     * information about the schema of a resource.\n     *\n     * @property {SchemaService} schema\n     * @public\n     */\n    get schema() {\n      return this.getSchemaDefinitionService();\n    }\n\n    /**\n     * Provides access to the IdentifierCache instance\n     * for this store.\n     *\n     * The IdentifierCache can be used to generate or\n     * retrieve a stable unique identifier for any resource.\n     *\n     * @property {IdentifierCache} identifierCache\n     * @public\n     */\n\n    /**\n     * Provides access to the requestManager instance associated\n     * with this Store instance.\n     *\n     * When using `ember-data` this property is automatically\n     * set to an instance of `RequestManager`. When not using `ember-data`\n     * you must configure this property yourself, either by declaring\n     * it as a service or by initializing it.\n     *\n     * ```ts\n     * import Store, { CacheHandler } from '@ember-data/store';\n     * import RequestManager from '@ember-data/request';\n     * import Fetch from '@ember/data/request/fetch';\n     *\n     * class extends Store {\n     *   constructor() {\n     *     super(...arguments);\n     *     this.requestManager = new RequestManager();\n     *     this.requestManager.use([Fetch]);\n     *     this.requestManager.useCache(CacheHandler);\n     *   }\n     * }\n     * ```\n     *\n     * @public\n     * @property {RequestManager} requestManager\n     */\n\n    /**\n     * A Property which an App may set to provide a Lifetimes Service\n     * to control when a cached request becomes stale.\n     *\n     * Note, when defined, these methods will only be invoked if a\n     * cache key exists for the request, either because the request\n     * contains `cacheOptions.key` or because the [IdentifierCache](/ember-data/release/classes/IdentifierCache)\n     * was able to generate a key for the request using the configured\n     * [generation method](/ember-data/release/functions/@ember-data%2Fstore/setIdentifierGenerationMethod).\n     *\n     * `isSoftExpired` will only be invoked if `isHardExpired` returns `false`.\n     *\n     * ```ts\n     * store.lifetimes = {\n     *   // make the request and ignore the current cache state\n     *   isHardExpired(identifier: StableDocumentIdentifier): boolean {\n     *     return false;\n     *   }\n     *\n     *   // make the request in the background if true, return cache state\n     *   isSoftExpired(identifier: StableDocumentIdentifier): boolean {\n     *     return false;\n     *   }\n     * }\n     * ```\n     *\n     * @public\n     * @property {LivetimesService|undefined} lifetimes\n     */\n\n    // Private\n\n    // DEBUG-only properties\n\n    get isDestroying() {\n      return this._isDestroying;\n    }\n    set isDestroying(value) {\n      this._isDestroying = value;\n    }\n    get isDestroyed() {\n      return this._isDestroyed;\n    }\n    set isDestroyed(value) {\n      this._isDestroyed = value;\n    }\n\n    /**\n      @method init\n      @private\n    */\n    constructor(createArgs) {\n      // @ts-expect-error ember-source types improperly expect createArgs to be `Owner`\n      super(createArgs);\n      Object.assign(this, createArgs);\n      this.identifierCache = new IdentifierCache();\n      this.notifications = new NotificationManager(this);\n\n      // private but maybe useful to be here, somewhat intimate\n      this.recordArrayManager = new RecordArrayManager({\n        store: this\n      });\n\n      // private\n      this._requestCache = new RequestStateService(this);\n      this._instanceCache = new InstanceCache(this);\n      this._documentCache = new Map();\n      this.isDestroying = false;\n      this.isDestroyed = false;\n    }\n    _run(cb) {\n      (true && !(!this._cbs) && (0, _debug.assert)(`EmberData should never encounter a nested run`, !this._cbs));\n      const _cbs = this._cbs = {};\n      {\n        try {\n          cb();\n          if (_cbs.coalesce) {\n            _cbs.coalesce();\n          }\n          if (_cbs.sync) {\n            _cbs.sync();\n          }\n          if (_cbs.notify) {\n            _cbs.notify();\n          }\n        } finally {\n          this._cbs = null;\n        }\n      }\n    }\n    _join(cb) {\n      if (this._cbs) {\n        cb();\n      } else {\n        this._run(cb);\n      }\n    }\n    _schedule(name, cb) {\n      (true && !(!!this._cbs) && (0, _debug.assert)(`EmberData expects to schedule only when there is an active run`, !!this._cbs));\n      (true && !(!this._cbs[name]) && (0, _debug.assert)(`EmberData expects only one flush per queue name, cannot schedule ${name}`, !this._cbs[name]));\n      this._cbs[name] = cb;\n    }\n\n    /**\n     * Retrieve the RequestStateService instance\n     * associated with this Store.\n     *\n     * This can be used to query the status of requests\n     * that have been initiated for a given identifier.\n     *\n     * @method getRequestStateService\n     * @return {RequestStateService}\n     * @public\n     */\n    getRequestStateService() {\n      return this._requestCache;\n    }\n    _getAllPending() {\n      {\n        const all = [];\n        const pending = this._requestCache._pending;\n        pending.forEach(requests => {\n          all.push(...requests.map(v => v[RequestPromise]));\n        });\n        this.requestManager._pending.forEach(v => all.push(v));\n        const promise = Promise.allSettled(all);\n        promise.length = all.length;\n        return promise;\n      }\n    }\n\n    /**\n     * Issue a request via the configured RequestManager,\n     * inserting the response into the cache and handing\n     * back a Future which resolves to a ResponseDocument\n     *\n     * ## Cache Keys\n     *\n     * Only GET requests with a url or requests with an explicit\n     * cache key (`cacheOptions.key`) will have the request result\n     * and document cached.\n     *\n     * The cache key used is `requestConfig.cacheOptions.key`\n     * if present, falling back to `requestconfig.url`.\n     *\n     * Params are not serialized as part of the cache-key, so\n     * either ensure they are already in the url or utilize\n     * `requestConfig.cacheOptions.key`. For queries issued\n     * via the `POST` method `requestConfig.cacheOptions.key`\n     * MUST be supplied for the document to be cached.\n     *\n     * ## Requesting Without a Cache Key\n     *\n     * Resource data within the request is always updated in the cache,\n     * regardless of whether a cache key is present for the request.\n     *\n     * ## Fulfilling From Cache\n     *\n     * When a cache-key is determined, the request may fulfill\n     * from cache provided the cache is not stale.\n     *\n     * Cache staleness is determined by the configured LifetimesService\n     * with priority given to the `cacheOptions.reload` and\n     * `cacheOptions.backgroundReload` on the request if present.\n     *\n     * If the cache data has soft expired or the request asks for a background\n     * reload, the request will fulfill from cache if possible and\n     * make a non-blocking request in the background to update the cache.\n     *\n     * If the cache data has hard expired or the request asks for a reload,\n     * the request will not fulfill from cache and will make a blocking\n     * request to update the cache.\n     *\n     * ## The Response\n     *\n     * The primary difference between `requestManager.request` and `store.request`\n     * is that `store.request` will attempt to hydrate the response content into\n     * a response Document containing RecordInstances.\n     *\n     * @method request\n     * @param {StoreRequestInput} requestConfig\n     * @return {Future}\n     * @public\n     */\n    request(requestConfig) {\n      // we lazily set the cache handler when we issue the first request\n      // because constructor doesn't allow for this to run after\n      // the user has had the chance to set the prop.\n      const opts = {\n        store: this,\n        [_request3.EnableHydration]: true\n      };\n      if (requestConfig.records) {\n        const identifierCache = this.identifierCache;\n        opts.records = requestConfig.records.map(r => identifierCache.getOrCreateRecordIdentifier(r));\n      }\n      {\n        if (this.DISABLE_WAITER) {\n          opts.disableTestWaiter = typeof requestConfig.disableTestWaiter === 'boolean' ? requestConfig.disableTestWaiter : true;\n        }\n      }\n      const future = this.requestManager.request(Object.assign(requestConfig, opts));\n      future.onFinalize(() => {\n        // skip flush for legacy belongsTo\n        if (requestConfig.op === 'findBelongsTo' && !requestConfig.url) {\n          return;\n        }\n        this.notifications._flush();\n      });\n      return future;\n    }\n\n    /**\n     * A hook which an app or addon may implement. Called when\n     * the Store is attempting to create a Record Instance for\n     * a resource.\n     *\n     * This hook can be used to select or instantiate any desired\n     * mechanism of presentating cache data to the ui for access\n     * mutation, and interaction.\n     *\n     * @method instantiateRecord (hook)\n     * @param identifier\n     * @param createRecordArgs\n     * @param recordDataFor deprecated use this.cache\n     * @param notificationManager deprecated use this.notifications\n     * @return A record instance\n     * @public\n     */\n\n    /**\n     * A hook which an app or addon may implement. Called when\n     * the Store is destroying a Record Instance. This hook should\n     * be used to teardown any custom record instances instantiated\n     * with `instantiateRecord`.\n     *\n     * @method teardownRecord (hook)\n     * @public\n     * @param record\n     */\n\n    /**\n     * Provides access to the SchemaDefinitionService instance\n     * for this Store instance.\n     *\n     * The SchemaDefinitionService can be used to query for\n     * information about the schema of a resource.\n     *\n     * @method getSchemaDefinitionService\n     * @public\n     */\n    getSchemaDefinitionService() {\n      (true && !(this._schema) && (0, _debug.assert)(`You must registerSchemaDefinitionService with the store to use custom model classes`, this._schema));\n      return this._schema;\n    }\n\n    /**\n     * DEPRECATED - Use `registerSchema` instead.\n     *\n     * Allows an app to register a custom SchemaService\n     * for use when information about a resource's schema needs\n     * to be queried.\n     *\n     * This method can only be called more than once, but only one schema\n     * definition service may exist. Therefore if you wish to chain services\n     * you must lookup the existing service and close over it with the new\n     * service by accessing `store.schema` prior to registration.\n     *\n     * For Example:\n     *\n     * ```ts\n     * import Store from '@ember-data/store';\n     *\n     * class SchemaDelegator {\n     *   constructor(schema) {\n     *     this._schema = schema;\n     *   }\n     *\n     *   doesTypeExist(type: string): boolean {\n     *     if (AbstractSchemas.has(type)) {\n     *       return true;\n     *     }\n     *     return this._schema.doesTypeExist(type);\n     *   }\n     *\n     *   attributesDefinitionFor(identifier: RecordIdentifier | { type: string }): AttributesSchema {\n     *     return this._schema.attributesDefinitionFor(identifier);\n     *   }\n     *\n     *   relationshipsDefinitionFor(identifier: RecordIdentifier | { type: string }): RelationshipsSchema {\n     *     const schema = AbstractSchemas.get(identifier.type);\n     *     return schema || this._schema.relationshipsDefinitionFor(identifier);\n     *   }\n     * }\n     *\n     * export default class extends Store {\n     *   constructor(...args) {\n     *     super(...args);\n     *\n     *     const schema = this.schema;\n     *     this.registerSchemaDefinitionService(new SchemaDelegator(schema));\n     *   }\n     * }\n     * ```\n     *\n     * @method registerSchemaDefinitionService\n     * @param {SchemaService} schema\n     * @deprecated\n     * @public\n     */\n    registerSchemaDefinitionService(schema) {\n      this._schema = schema;\n    }\n    /**\n     * Allows an app to register a custom SchemaService\n     * for use when information about a resource's schema needs\n     * to be queried.\n     *\n     * This method can only be called more than once, but only one schema\n     * definition service may exist. Therefore if you wish to chain services\n     * you must lookup the existing service and close over it with the new\n     * service by accessing `store.schema` prior to registration.\n     *\n     * For Example:\n     *\n     * ```ts\n     * import Store from '@ember-data/store';\n     *\n     * class SchemaDelegator {\n     *   constructor(schema) {\n     *     this._schema = schema;\n     *   }\n     *\n     *   doesTypeExist(type: string): boolean {\n     *     if (AbstractSchemas.has(type)) {\n     *       return true;\n     *     }\n     *     return this._schema.doesTypeExist(type);\n     *   }\n     *\n     *   attributesDefinitionFor(identifier: RecordIdentifier | { type: string }): AttributesSchema {\n     *     return this._schema.attributesDefinitionFor(identifier);\n     *   }\n     *\n     *   relationshipsDefinitionFor(identifier: RecordIdentifier | { type: string }): RelationshipsSchema {\n     *     const schema = AbstractSchemas.get(identifier.type);\n     *     return schema || this._schema.relationshipsDefinitionFor(identifier);\n     *   }\n     * }\n     *\n     * export default class extends Store {\n     *   constructor(...args) {\n     *     super(...args);\n     *\n     *     const schema = this.schema;\n     *     this.registerSchema(new SchemaDelegator(schema));\n     *   }\n     * }\n     * ```\n     *\n     * @method registerSchema\n     * @param {SchemaService} schema\n     * @public\n     */\n    registerSchema(schema) {\n      this._schema = schema;\n    }\n\n    /**\n      Returns the schema for a particular `modelName`.\n       When used with Model from @ember-data/model the return is the model class,\n      but this is not guaranteed.\n       If looking to query attribute or relationship information it is\n      recommended to use `getSchemaDefinitionService` instead. This method\n      should be considered legacy and exists primarily to continue to support\n      Adapter/Serializer APIs which expect it's return value in their method\n      signatures.\n       The class of a model might be useful if you want to get a list of all the\n      relationship names of the model, see\n      [`relationshipNames`](/ember-data/release/classes/Model?anchor=relationshipNames)\n      for example.\n       @method modelFor\n      @public\n      @param {String} type\n      @return {ModelSchema}\n      */\n    // TODO @deprecate in favor of schema APIs, requires adapter/serializer overhaul or replacement\n\n    modelFor(type) {\n      {\n        assertDestroyedStoreOnly(this, 'modelFor');\n      }\n      (true && !(typeof type === 'string' && type.length) && (0, _debug.assert)(`You need to pass <type> to the store's modelFor method`, typeof type === 'string' && type.length));\n      (true && !(this.getSchemaDefinitionService().doesTypeExist(type)) && (0, _debug.assert)(`No model was found for '${type}' and no schema handles the type`, this.getSchemaDefinitionService().doesTypeExist(type)));\n      return getShimClass(this, type);\n    }\n\n    /**\n      Create a new record in the current store. The properties passed\n      to this method are set on the newly created record.\n       To create a new instance of a `Post`:\n       ```js\n      store.createRecord('post', {\n        title: 'Ember is awesome!'\n      });\n      ```\n       To create a new instance of a `Post` that has a relationship with a `User` record:\n       ```js\n      let user = this.store.peekRecord('user', 1);\n      store.createRecord('post', {\n        title: 'Ember is awesome!',\n        user: user\n      });\n      ```\n       @method createRecord\n      @public\n      @param {String} modelName\n      @param {Object} inputProperties a hash of properties to set on the\n        newly created record.\n      @return {Model} record\n    */\n    createRecord(modelName, inputProperties) {\n      {\n        assertDestroyingStore(this, 'createRecord');\n      }\n      (true && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's createRecord method`, modelName));\n      (true && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string')); // This is wrapped in a `run.join` so that in test environments users do not need to manually wrap\n      //   calls to `createRecord`. The run loop usage here is because we batch the joining and updating\n      //   of record-arrays via ember's run loop, not our own.\n      //\n      //   to remove this, we would need to move to a new `async` API.\n      let record;\n      this._join(() => {\n        const normalizedModelName = normalizeModelName(modelName);\n        const properties = {\n          ...inputProperties\n        };\n\n        // If the passed properties do not include a primary key,\n        // give the adapter an opportunity to generate one. Typically,\n        // client-side ID generators will use something like uuid.js\n        // to avoid conflicts.\n\n        if (properties.id === null || properties.id === undefined) {\n          const adapter = this.adapterFor?.(modelName, true);\n          if (adapter && adapter.generateIdForRecord) {\n            properties.id = adapter.generateIdForRecord(this, modelName, properties);\n          } else {\n            properties.id = null;\n          }\n        }\n\n        // Coerce ID to a string\n        properties.id = coerceId(properties.id);\n        const resource = {\n          type: normalizedModelName,\n          id: properties.id\n        };\n        if (resource.id) {\n          const identifier = this.identifierCache.peekRecordIdentifier(resource);\n          (true && !(!identifier) && (0, _debug.assert)(`The id ${String(properties.id)} has already been used with another '${normalizedModelName}' record.`, !identifier));\n        }\n        const identifier = this.identifierCache.createIdentifierForNewRecord(resource);\n        const cache = this.cache;\n        const createOptions = normalizeProperties(this, identifier, properties);\n        const resultProps = cache.clientDidCreate(identifier, createOptions);\n        record = this._instanceCache.getRecord(identifier, resultProps);\n      });\n      return record;\n    }\n\n    /**\n      For symmetry, a record can be deleted via the store.\n       Example\n       ```javascript\n      let post = store.createRecord('post', {\n        title: 'Ember is awesome!'\n      });\n       store.deleteRecord(post);\n      ```\n       @method deleteRecord\n      @public\n      @param {Model} record\n    */\n    deleteRecord(record) {\n      {\n        assertDestroyingStore(this, 'deleteRecord');\n      }\n      const identifier = peekRecordIdentifier(record);\n      const cache = this.cache;\n      (true && !(identifier) && (0, _debug.assert)(`expected the record to be connected to a cache`, identifier));\n      this._join(() => {\n        cache.setIsDeleted(identifier, true);\n        if (cache.isNew(identifier)) {\n          this._instanceCache.unloadRecord(identifier);\n        }\n      });\n    }\n\n    /**\n      For symmetry, a record can be unloaded via the store.\n      This will cause the record to be destroyed and freed up for garbage collection.\n       Example\n       ```javascript\n      store.findRecord('post', 1).then(function(post) {\n        store.unloadRecord(post);\n      });\n      ```\n       @method unloadRecord\n      @public\n      @param {Model} record\n    */\n    unloadRecord(record) {\n      {\n        assertDestroyingStore(this, 'unloadRecord');\n      }\n      const identifier = peekRecordIdentifier(record);\n      if (identifier) {\n        this._instanceCache.unloadRecord(identifier);\n      }\n    }\n\n    /**\n      This method returns a record for a given identifier or type and id combination.\n       The `findRecord` method will always resolve its promise with the same\n      object for a given identifier or type and `id`.\n       The `findRecord` method will always return a **promise** that will be\n      resolved with the record.\n       **Example 1**\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model({ post_id }) {\n          return this.store.findRecord('post', post_id);\n        }\n      }\n      ```\n       **Example 2**\n       `findRecord` can be called with a single identifier argument instead of the combination\n      of `type` (modelName) and `id` as separate arguments. You may recognize this combo as\n      the typical pairing from [JSON:API](https://jsonapi.org/format/#document-resource-object-identification)\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model({ post_id: id }) {\n          return this.store.findRecord({ type: 'post', id });\n        }\n      }\n      ```\n       **Example 3**\n       If you have previously received an lid via an Identifier for this record, and the record\n      has already been assigned an id, you can find the record again using just the lid.\n       ```app/routes/post.js\n      store.findRecord({ lid });\n      ```\n       If the record is not yet available, the store will ask the adapter's `findRecord`\n      method to retrieve and supply the necessary data. If the record is already present\n      in the store, it depends on the reload behavior _when_ the returned promise\n      resolves.\n       ### Preloading\n       You can optionally `preload` specific attributes and relationships that you know of\n      by passing them via the passed `options`.\n       For example, if your Ember route looks like `/posts/1/comments/2` and your API route\n      for the comment also looks like `/posts/1/comments/2` if you want to fetch the comment\n      without also fetching the post you can pass in the post to the `findRecord` call:\n       ```app/routes/post-comments.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model({ post_id, comment_id: id }) {\n          return this.store.findRecord({ type: 'comment', id, { preload: { post: post_id }} });\n        }\n      }\n      ```\n       In your adapter you can then access this id without triggering a network request via the\n      snapshot:\n       ```app/adapters/application.js\n      export default class Adapter {\n         findRecord(store, schema, id, snapshot) {\n          let type = schema.modelName;\n           if (type === 'comment')\n            let postId = snapshot.belongsTo('post', { id: true });\n             return fetch(`./posts/${postId}/comments/${id}`)\n              .then(response => response.json())\n          }\n        }\n         static create() {\n          return new this();\n        }\n      }\n      ```\n       This could also be achieved by supplying the post id to the adapter via the adapterOptions\n      property on the options hash.\n       ```app/routes/post-comments.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model({ post_id, comment_id: id }) {\n          return this.store.findRecord({ type: 'comment', id, { adapterOptions: { post: post_id }} });\n        }\n      }\n      ```\n       ```app/adapters/application.js\n      export default class Adapter {\n        findRecord(store, schema, id, snapshot) {\n          let type = schema.modelName;\n           if (type === 'comment')\n            let postId = snapshot.adapterOptions.post;\n             return fetch(`./posts/${postId}/comments/${id}`)\n              .then(response => response.json())\n          }\n        }\n         static create() {\n          return new this();\n        }\n      }\n      ```\n       If you have access to the post model you can also pass the model itself to preload:\n       ```javascript\n      let post = await store.findRecord('post', 1);\n      let comment = await store.findRecord('comment', 2, { post: myPostModel });\n      ```\n       ### Reloading\n       The reload behavior is configured either via the passed `options` hash or\n      the result of the adapter's `shouldReloadRecord`.\n       If `{ reload: true }` is passed or `adapter.shouldReloadRecord` evaluates\n      to `true`, then the returned promise resolves once the adapter returns\n      data, regardless if the requested record is already in the store:\n       ```js\n      store.push({\n        data: {\n          id: 1,\n          type: 'post',\n          revision: 1\n        }\n      });\n       // adapter#findRecord resolves with\n      // [\n      //   {\n      //     id: 1,\n      //     type: 'post',\n      //     revision: 2\n      //   }\n      // ]\n      store.findRecord('post', 1, { reload: true }).then(function(post) {\n        post.revision; // 2\n      });\n      ```\n       If no reload is indicated via the above mentioned ways, then the promise\n      immediately resolves with the cached version in the store.\n       ### Background Reloading\n       Optionally, if `adapter.shouldBackgroundReloadRecord` evaluates to `true`,\n      then a background reload is started, which updates the records' data, once\n      it is available:\n       ```js\n      // app/adapters/post.js\n      import ApplicationAdapter from \"./application\";\n       export default class PostAdapter extends ApplicationAdapter {\n        shouldReloadRecord(store, snapshot) {\n          return false;\n        },\n         shouldBackgroundReloadRecord(store, snapshot) {\n          return true;\n        }\n      });\n       // ...\n       store.push({\n        data: {\n          id: 1,\n          type: 'post',\n          revision: 1\n        }\n      });\n       let blogPost = store.findRecord('post', 1).then(function(post) {\n        post.revision; // 1\n      });\n       // later, once adapter#findRecord resolved with\n      // [\n      //   {\n      //     id: 1,\n      //     type: 'post',\n      //     revision: 2\n      //   }\n      // ]\n       blogPost.revision; // 2\n      ```\n       If you would like to force or prevent background reloading, you can set a\n      boolean value for `backgroundReload` in the options object for\n      `findRecord`.\n       ```app/routes/post/edit.js\n      import Route from '@ember/routing/route';\n       export default class PostEditRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { backgroundReload: false });\n        }\n      }\n      ```\n       If you pass an object on the `adapterOptions` property of the options\n      argument it will be passed to your adapter via the snapshot\n       ```app/routes/post/edit.js\n      import Route from '@ember/routing/route';\n       export default class PostEditRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id, {\n            adapterOptions: { subscribe: false }\n          });\n        }\n      }\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default class PostAdapter extends MyCustomAdapter {\n        findRecord(store, type, id, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      }\n      ```\n       See [peekRecord](../methods/peekRecord?anchor=peekRecord) to get the cached version of a record.\n       ### Retrieving Related Model Records\n       If you use an adapter such as Ember's default\n      [`JSONAPIAdapter`](/ember-data/release/classes/JSONAPIAdapter)\n      that supports the [JSON API specification](http://jsonapi.org/) and if your server\n      endpoint supports the use of an\n      ['include' query parameter](http://jsonapi.org/format/#fetching-includes),\n      you can use `findRecord()` or `findAll()` to automatically retrieve additional records related to\n      the one you request by supplying an `include` parameter in the `options` object.\n       For example, given a `post` model that has a `hasMany` relationship with a `comment`\n      model, when we retrieve a specific post we can have the server also return that post's\n      comments in the same request:\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, { include: 'comments' });\n        }\n      }\n      ```\n       ```app/adapters/application.js\n      export default class Adapter {\n        findRecord(store, schema, id, snapshot) {\n          let type = schema.modelName;\n           if (type === 'post')\n            let includes = snapshot.adapterOptions.include;\n             return fetch(`./posts/${postId}?include=${includes}`)\n              .then(response => response.json())\n          }\n        }\n         static create() {\n          return new this();\n        }\n      }\n      ```\n       In this case, the post's comments would then be available in your template as\n      `model.comments`.\n       Multiple relationships can be requested using an `include` parameter consisting of a\n      comma-separated list (without white-space) while nested relationships can be specified\n      using a dot-separated sequence of relationship names. So to request both the post's\n      comments and the authors of those comments the request would look like this:\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, { include: 'comments,comments.author' });\n        }\n      }\n      ```\n       ### Retrieving Specific Fields by Type\n       If your server endpoint supports the use of a ['fields' query parameter](https://jsonapi.org/format/#fetching-sparse-fieldsets),\n      you can use pass those fields through to your server.  At this point in time, this requires a few manual steps on your part.\n       1. Implement `buildQuery` in your adapter.\n       ```app/adapters/application.js\n      buildQuery(snapshot) {\n        let query = super.buildQuery(...arguments);\n         let { fields } = snapshot.adapterOptions;\n         if (fields) {\n          query.fields = fields;\n        }\n         return query;\n      }\n      ```\n       2. Then pass through the applicable fields to your `findRecord` request.\n       Given a `post` model with attributes body, title, publishDate and meta, you can retrieve a filtered list of attributes.\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n      export default Route.extend({\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { adapterOptions: { fields: { post: 'body,title' } });\n        }\n      });\n      ```\n       Moreover, you can filter attributes on related models as well. If a `post` has a `belongsTo` relationship to a user,\n      just include the relationship key and attributes.\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n      export default Route.extend({\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { adapterOptions: { fields: { post: 'body,title', user: 'name,email' } });\n        }\n      });\n      ```\n       @since 1.13.0\n      @method findRecord\n      @public\n      @param {String|object} modelName - either a string representing the modelName or a ResourceIdentifier object containing both the type (a string) and the id (a string) for the record or an lid (a string) of an existing record\n      @param {(String|Integer|Object)} id - optional object with options for the request only if the first param is a ResourceIdentifier, else the string id of the record to be retrieved\n      @param {Object} [options] - if the first param is a string this will be the optional options for the request. See examples for available options.\n      @return {Promise} promise\n    */\n\n    findRecord(resource, id, options) {\n      {\n        assertDestroyingStore(this, 'findRecord');\n      }\n      (true && !(resource) && (0, _debug.assert)(`You need to pass a modelName or resource identifier as the first argument to the store's findRecord method`, resource));\n      if (isMaybeIdentifier(resource)) {\n        options = id;\n      } else {\n        (true && !(typeof resource === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${resource}`, typeof resource === 'string'));\n        const type = normalizeModelName(resource);\n        const normalizedId = ensureStringId(id);\n        resource = constructResource(type, normalizedId);\n      }\n      const identifier = this.identifierCache.getOrCreateRecordIdentifier(resource);\n      options = options || {};\n      if (options.preload) {\n        // force reload if we preload to ensure we don't resolve the promise\n        // until we are complete, else we will end up background-reloading\n        // even for initial load.\n        if (!this._instanceCache.recordIsLoaded(identifier)) {\n          options.reload = true;\n        }\n        this._join(() => {\n          preloadData(this, identifier, options.preload);\n        });\n      }\n      const promise = this.request({\n        op: 'findRecord',\n        data: {\n          record: identifier,\n          options\n        },\n        cacheOptions: {\n          [_request3.SkipCache]: true\n        }\n      });\n      return promise.then(document => {\n        return document.content;\n      });\n    }\n\n    /**\n      Get the reference for the specified record.\n       Example\n       ```javascript\n      let userRef = store.getReference('user', 1);\n       // check if the user is loaded\n      let isLoaded = userRef.value() !== null;\n       // get the record of the reference (null if not yet available)\n      let user = userRef.value();\n       // get the identifier of the reference\n      if (userRef.remoteType() === 'id') {\n      let id = userRef.id();\n      }\n       // load user (via store.find)\n      userRef.load().then(...)\n       // or trigger a reload\n      userRef.reload().then(...)\n       // provide data for reference\n      userRef.push({ id: 1, username: '@user' }).then(function(user) {\n        userRef.value() === user;\n      });\n      ```\n       @method getReference\n      @public\n      @param {String|object} resource - modelName (string) or Identifier (object)\n      @param {String|Integer} id\n      @since 2.5.0\n      @return {RecordReference}\n    */\n    // TODO @deprecate getReference (and references generally)\n    getReference(resource, id) {\n      {\n        assertDestroyingStore(this, 'getReference');\n      }\n      let resourceIdentifier;\n      if (arguments.length === 1 && isMaybeIdentifier(resource)) {\n        resourceIdentifier = resource;\n      } else {\n        const type = normalizeModelName(resource);\n        const normalizedId = ensureStringId(id);\n        resourceIdentifier = constructResource(type, normalizedId);\n      }\n      (true && !(isMaybeIdentifier(resourceIdentifier)) && (0, _debug.assert)('getReference expected to receive either a resource identifier or type and id as arguments', isMaybeIdentifier(resourceIdentifier)));\n      const identifier = this.identifierCache.getOrCreateRecordIdentifier(resourceIdentifier);\n      return this._instanceCache.getReference(identifier);\n    }\n\n    /**\n      Get a record by a given type and ID without triggering a fetch.\n       This method will synchronously return the record if it is available in the store,\n      otherwise it will return `null`. A record is available if it has been fetched earlier, or\n      pushed manually into the store.\n       See [findRecord](../methods/findRecord?anchor=findRecord) if you would like to request this record from the backend.\n       _Note: This is a synchronous method and does not return a promise._\n       **Example 1**\n       ```js\n      let post = store.peekRecord('post', 1);\n       post.id; // 1\n      ```\n       `peekRecord` can be called with a single identifier argument instead of the combination\n      of `type` (modelName) and `id` as separate arguments. You may recognize this combo as\n      the typical pairing from [JSON:API](https://jsonapi.org/format/#document-resource-object-identification)\n       **Example 2**\n       ```js\n      let post = store.peekRecord({ type: 'post', id });\n      post.id; // 1\n      ```\n       If you have previously received an lid from an Identifier for this record, you can lookup the record again using\n      just the lid.\n       **Example 3**\n       ```js\n      let post = store.peekRecord({ lid });\n      post.id; // 1\n      ```\n        @since 1.13.0\n      @method peekRecord\n      @public\n      @param {String|object} modelName - either a string representing the modelName or a ResourceIdentifier object containing both the type (a string) and the id (a string) for the record or an lid (a string) of an existing record\n      @param {String|Integer} id - optional only if the first param is a ResourceIdentifier, else the string id of the record to be retrieved.\n      @return {Model|null} record\n    */\n\n    peekRecord(identifier, id) {\n      if (arguments.length === 1 && isMaybeIdentifier(identifier)) {\n        const stableIdentifier = this.identifierCache.peekRecordIdentifier(identifier);\n        const isLoaded = stableIdentifier && this._instanceCache.recordIsLoaded(stableIdentifier);\n        // TODO come up with a better mechanism for determining if we have data and could peek.\n        // this is basically an \"are we not empty\" query.\n        return isLoaded ? this._instanceCache.getRecord(stableIdentifier) : null;\n      }\n      {\n        assertDestroyingStore(this, 'peekRecord');\n      }\n      (true && !(identifier) && (0, _debug.assert)(`You need to pass a model name to the store's peekRecord method`, identifier));\n      (true && !(typeof identifier === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${String(identifier)}`, typeof identifier === 'string'));\n      const type = normalizeModelName(identifier);\n      const normalizedId = ensureStringId(id);\n      const resource = {\n        type,\n        id: normalizedId\n      };\n      const stableIdentifier = this.identifierCache.peekRecordIdentifier(resource);\n      const isLoaded = stableIdentifier && this._instanceCache.recordIsLoaded(stableIdentifier);\n      return isLoaded ? this._instanceCache.getRecord(stableIdentifier) : null;\n    }\n\n    /**\n      This method delegates a query to the adapter. This is the one place where\n      adapter-level semantics are exposed to the application.\n       Each time this method is called a new request is made through the adapter.\n       Exposing queries this way seems preferable to creating an abstract query\n      language for all server-side queries, and then require all adapters to\n      implement them.\n       ---\n       If you do something like this:\n       ```javascript\n      store.query('person', { page: 1 });\n      ```\n       The request made to the server will look something like this:\n       ```\n      GET \"/api/v1/person?page=1\"\n      ```\n       ---\n       If you do something like this:\n       ```javascript\n      store.query('person', { ids: [1, 2, 3] });\n      ```\n       The request made to the server will look something like this:\n       ```\n      GET \"/api/v1/person?ids%5B%5D=1&ids%5B%5D=2&ids%5B%5D=3\"\n      decoded: \"/api/v1/person?ids[]=1&ids[]=2&ids[]=3\"\n      ```\n       This method returns a promise, which is resolved with a\n      [`Collection`](/ember-data/release/classes/Collection)\n      once the server returns.\n       @since 1.13.0\n      @method query\n      @public\n      @param {String} modelName\n      @param {any} query an opaque query to be used by the adapter\n      @param {Object} options optional, may include `adapterOptions` hash which will be passed to adapter.query\n      @return {Promise} promise\n    */\n    query(modelName, query, options) {\n      {\n        assertDestroyingStore(this, 'query');\n      }\n      (true && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's query method`, modelName));\n      (true && !(query) && (0, _debug.assert)(`You need to pass a query hash to the store's query method`, query));\n      (true && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      const promise = this.request({\n        op: 'query',\n        data: {\n          type: normalizeModelName(modelName),\n          query,\n          options: options || {}\n        },\n        cacheOptions: {\n          [_request3.SkipCache]: true\n        }\n      });\n      return promise.then(document => document.content);\n    }\n\n    /**\n      This method makes a request for one record, where the `id` is not known\n      beforehand (if the `id` is known, use [`findRecord`](../methods/findRecord?anchor=findRecord)\n      instead).\n       This method can be used when it is certain that the server will return a\n      single object for the primary data.\n       Each time this method is called a new request is made through the adapter.\n       Let's assume our API provides an endpoint for the currently logged in user\n      via:\n       ```\n      // GET /api/current_user\n      {\n        user: {\n          id: 1234,\n          username: 'admin'\n        }\n      }\n      ```\n       Since the specific `id` of the `user` is not known beforehand, we can use\n      `queryRecord` to get the user:\n       ```javascript\n      store.queryRecord('user', {}).then(function(user) {\n        let username = user.username;\n        // do thing\n      });\n      ```\n       The request is made through the adapters' `queryRecord`:\n       ```app/adapters/user.js\n      import Adapter from '@ember-data/adapter';\n      import $ from 'jquery';\n       export default class UserAdapter extends Adapter {\n        queryRecord(modelName, query) {\n          return $.getJSON('/api/current_user');\n        }\n      }\n      ```\n       Note: the primary use case for `store.queryRecord` is when a single record\n      is queried and the `id` is not known beforehand. In all other cases\n      `store.query` and using the first item of the array is likely the preferred\n      way:\n       ```\n      // GET /users?username=unique\n      {\n        data: [{\n          id: 1234,\n          type: 'user',\n          attributes: {\n            username: \"unique\"\n          }\n        }]\n      }\n      ```\n       ```javascript\n      store.query('user', { username: 'unique' }).then(function(users) {\n        return users.firstObject;\n      }).then(function(user) {\n        let id = user.id;\n      });\n      ```\n       This method returns a promise, which resolves with the found record.\n       If the adapter returns no data for the primary data of the payload, then\n      `queryRecord` resolves with `null`:\n       ```\n      // GET /users?username=unique\n      {\n        data: null\n      }\n      ```\n       ```javascript\n      store.queryRecord('user', { username: 'unique' }).then(function(user) {\n         // user is null\n      });\n      ```\n       @since 1.13.0\n      @method queryRecord\n      @public\n      @param {String} modelName\n      @param {any} query an opaque query to be used by the adapter\n      @param {Object} options optional, may include `adapterOptions` hash which will be passed to adapter.queryRecord\n      @return {Promise} promise which resolves with the found record or `null`\n    */\n    queryRecord(modelName, query, options) {\n      {\n        assertDestroyingStore(this, 'queryRecord');\n      }\n      (true && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's queryRecord method`, modelName));\n      (true && !(query) && (0, _debug.assert)(`You need to pass a query hash to the store's queryRecord method`, query));\n      (true && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      const promise = this.request({\n        op: 'queryRecord',\n        data: {\n          type: normalizeModelName(modelName),\n          query,\n          options: options || {}\n        },\n        cacheOptions: {\n          [_request3.SkipCache]: true\n        }\n      });\n      return promise.then(document => document.content);\n    }\n\n    /**\n      `findAll` asks the adapter's `findAll` method to find the records for the\n      given type, and returns a promise which will resolve with all records of\n      this type present in the store, even if the adapter only returns a subset\n      of them.\n       ```app/routes/authors.js\n      import Route from '@ember/routing/route';\n       export default class AuthorsRoute extends Route {\n        model(params) {\n          return this.store.findAll('author');\n        }\n      }\n      ```\n       _When_ the returned promise resolves depends on the reload behavior,\n      configured via the passed `options` hash and the result of the adapter's\n      `shouldReloadAll` method.\n       ### Reloading\n       If `{ reload: true }` is passed or `adapter.shouldReloadAll` evaluates to\n      `true`, then the returned promise resolves once the adapter returns data,\n      regardless if there are already records in the store:\n       ```js\n      store.push({\n        data: {\n          id: 'first',\n          type: 'author'\n        }\n      });\n       // adapter#findAll resolves with\n      // [\n      //   {\n      //     id: 'second',\n      //     type: 'author'\n      //   }\n      // ]\n      store.findAll('author', { reload: true }).then(function(authors) {\n        authors.getEach('id'); // ['first', 'second']\n      });\n      ```\n       If no reload is indicated via the above mentioned ways, then the promise\n      immediately resolves with all the records currently loaded in the store.\n       ### Background Reloading\n       Optionally, if `adapter.shouldBackgroundReloadAll` evaluates to `true`,\n      then a background reload is started. Once this resolves, the array with\n      which the promise resolves, is updated automatically so it contains all the\n      records in the store:\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n       export default class ApplicationAdapter extends Adapter {\n        shouldReloadAll(store, snapshotsArray) {\n          return false;\n        },\n         shouldBackgroundReloadAll(store, snapshotsArray) {\n          return true;\n        }\n      });\n       // ...\n       store.push({\n        data: {\n          id: 'first',\n          type: 'author'\n        }\n      });\n       let allAuthors;\n      store.findAll('author').then(function(authors) {\n        authors.getEach('id'); // ['first']\n         allAuthors = authors;\n      });\n       // later, once adapter#findAll resolved with\n      // [\n      //   {\n      //     id: 'second',\n      //     type: 'author'\n      //   }\n      // ]\n       allAuthors.getEach('id'); // ['first', 'second']\n      ```\n       If you would like to force or prevent background reloading, you can set a\n      boolean value for `backgroundReload` in the options object for\n      `findAll`.\n       ```app/routes/post/edit.js\n      import Route from '@ember/routing/route';\n       export default class PostEditRoute extends Route {\n        model() {\n          return this.store.findAll('post', { backgroundReload: false });\n        }\n      }\n      ```\n       If you pass an object on the `adapterOptions` property of the options\n      argument it will be passed to you adapter via the `snapshotRecordArray`\n       ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n       export default class PostsRoute extends Route {\n        model(params) {\n          return this.store.findAll('post', {\n            adapterOptions: { subscribe: false }\n          });\n        }\n      }\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default class UserAdapter extends MyCustomAdapter {\n        findAll(store, type, sinceToken, snapshotRecordArray) {\n          if (snapshotRecordArray.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      }\n      ```\n       See [peekAll](../methods/peekAll?anchor=peekAll) to get an array of current records in the\n      store, without waiting until a reload is finished.\n       ### Retrieving Related Model Records\n       If you use an adapter such as Ember's default\n      [`JSONAPIAdapter`](/ember-data/release/classes/JSONAPIAdapter)\n      that supports the [JSON API specification](http://jsonapi.org/) and if your server\n      endpoint supports the use of an\n      ['include' query parameter](http://jsonapi.org/format/#fetching-includes),\n      you can use `findAll()` to automatically retrieve additional records related to\n      those requested by supplying an `include` parameter in the `options` object.\n       For example, given a `post` model that has a `hasMany` relationship with a `comment`\n      model, when we retrieve all of the post records we can have the server also return\n      all of the posts' comments in the same request:\n       ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n       export default class PostsRoute extends Route {\n        model() {\n          return this.store.findAll('post', { include: 'comments' });\n        }\n      }\n      ```\n      Multiple relationships can be requested using an `include` parameter consisting of a\n      comma-separated list (without white-space) while nested relationships can be specified\n      using a dot-separated sequence of relationship names. So to request both the posts'\n      comments and the authors of those comments the request would look like this:\n       ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n       export default class PostsRoute extends Route {\n        model() {\n          return this.store.findAll('post', { include: 'comments,comments.author' });\n        }\n      }\n      ```\n       See [query](../methods/query?anchor=query) to only get a subset of records from the server.\n       @since 1.13.0\n      @method findAll\n      @public\n      @param {String} modelName\n      @param {Object} options\n      @return {Promise} promise\n    */\n    findAll(modelName, options = {}) {\n      {\n        assertDestroyingStore(this, 'findAll');\n      }\n      (true && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's findAll method`, modelName));\n      (true && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      const promise = this.request({\n        op: 'findAll',\n        data: {\n          type: normalizeModelName(modelName),\n          options: options || {}\n        },\n        cacheOptions: {\n          [_request3.SkipCache]: true\n        }\n      });\n      return promise.then(document => document.content);\n    }\n\n    /**\n      This method returns a filtered array that contains all of the\n      known records for a given type in the store.\n       Note that because it's just a filter, the result will contain any\n      locally created records of the type, however, it will not make a\n      request to the backend to retrieve additional records. If you\n      would like to request all the records from the backend please use\n      [store.findAll](../methods/findAll?anchor=findAll).\n       Also note that multiple calls to `peekAll` for a given type will always\n      return the same `RecordArray`.\n       Example\n       ```javascript\n      let localPosts = store.peekAll('post');\n      ```\n       @since 1.13.0\n      @method peekAll\n      @public\n      @param {String} modelName\n      @return {RecordArray}\n    */\n    peekAll(modelName) {\n      {\n        assertDestroyingStore(this, 'peekAll');\n      }\n      (true && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's peekAll method`, modelName));\n      (true && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      const type = normalizeModelName(modelName);\n      return this.recordArrayManager.liveArrayFor(type);\n    }\n\n    /**\n      This method unloads all records in the store.\n      It schedules unloading to happen during the next run loop.\n       Optionally you can pass a type which unload all records for a given type.\n       ```javascript\n      store.unloadAll();\n      store.unloadAll('post');\n      ```\n       @method unloadAll\n      @public\n      @param {String} modelName\n    */\n    unloadAll(modelName) {\n      {\n        assertDestroyedStoreOnly(this, 'unloadAll');\n      }\n      (true && !(!modelName || typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${String(modelName)}`, !modelName || typeof modelName === 'string'));\n      this._join(() => {\n        if (modelName === undefined) {\n          // destroy the graph before unloadAll\n          // since then we avoid churning relationships\n          // during unload\n          this._graph?.identifiers.clear();\n          this.recordArrayManager.clear();\n          this._instanceCache.clear();\n        } else {\n          const normalizedModelName = normalizeModelName(modelName);\n          this._instanceCache.clear(normalizedModelName);\n        }\n      });\n    }\n\n    /**\n      Push some data for a given type into the store.\n       This method expects normalized [JSON API](http://jsonapi.org/) document. This means you have to follow [JSON API specification](http://jsonapi.org/format/) with few minor adjustments:\n      - record's `type` should always be in singular, dasherized form\n      - members (properties) should be camelCased\n       [Your primary data should be wrapped inside `data` property](http://jsonapi.org/format/#document-top-level):\n       ```js\n      store.push({\n        data: {\n          // primary data for single record of type `Person`\n          id: '1',\n          type: 'person',\n          attributes: {\n            firstName: 'Daniel',\n            lastName: 'Kmak'\n          }\n        }\n      });\n      ```\n       [Demo.](http://ember-twiddle.com/fb99f18cd3b4d3e2a4c7)\n       `data` property can also hold an array (of records):\n       ```js\n      store.push({\n        data: [\n          // an array of records\n          {\n            id: '1',\n            type: 'person',\n            attributes: {\n              firstName: 'Daniel',\n              lastName: 'Kmak'\n            }\n          },\n          {\n            id: '2',\n            type: 'person',\n            attributes: {\n              firstName: 'Tom',\n              lastName: 'Dale'\n            }\n          }\n        ]\n      });\n      ```\n       [Demo.](http://ember-twiddle.com/69cdbeaa3702159dc355)\n       There are some typical properties for `JSONAPI` payload:\n      * `id` - mandatory, unique record's key\n      * `type` - mandatory string which matches `model`'s dasherized name in singular form\n      * `attributes` - object which holds data for record attributes - `attr`'s declared in model\n      * `relationships` - object which must contain any of the following properties under each relationships' respective key (example path is `relationships.achievements.data`):\n        - [`links`](http://jsonapi.org/format/#document-links)\n        - [`data`](http://jsonapi.org/format/#document-resource-object-linkage) - place for primary data\n        - [`meta`](http://jsonapi.org/format/#document-meta) - object which contains meta-information about relationship\n       For this model:\n       ```app/models/person.js\n      import Model, { attr, hasMany } from '@ember-data/model';\n       export default class PersonRoute extends Route {\n        @attr('string') firstName;\n        @attr('string') lastName;\n         @hasMany('person') children;\n      }\n      ```\n       To represent the children as IDs:\n       ```js\n      {\n        data: {\n          id: '1',\n          type: 'person',\n          attributes: {\n            firstName: 'Tom',\n            lastName: 'Dale'\n          },\n          relationships: {\n            children: {\n              data: [\n                {\n                  id: '2',\n                  type: 'person'\n                },\n                {\n                  id: '3',\n                  type: 'person'\n                },\n                {\n                  id: '4',\n                  type: 'person'\n                }\n              ]\n            }\n          }\n        }\n      }\n      ```\n       [Demo.](http://ember-twiddle.com/343e1735e034091f5bde)\n       To represent the children relationship as a URL:\n       ```js\n      {\n        data: {\n          id: '1',\n          type: 'person',\n          attributes: {\n            firstName: 'Tom',\n            lastName: 'Dale'\n          },\n          relationships: {\n            children: {\n              links: {\n                related: '/people/1/children'\n              }\n            }\n          }\n        }\n      }\n      ```\n       If you're streaming data or implementing an adapter, make sure\n      that you have converted the incoming data into this form. The\n      store's [normalize](../methods/normalize?anchor=normalize) method is a convenience\n      helper for converting a json payload into the form Ember Data\n      expects.\n       ```js\n      store.push(store.normalize('person', data));\n      ```\n       This method can be used both to push in brand new\n      records, as well as to update existing records.\n       @method push\n      @public\n      @param {Object} data\n      @return the record(s) that was created or\n        updated.\n    */\n\n    push(data) {\n      {\n        assertDestroyingStore(this, 'push');\n      }\n      const pushed = this._push(data, false);\n      if (Array.isArray(pushed)) {\n        return pushed.map(identifier => this._instanceCache.getRecord(identifier));\n      }\n      if (pushed === null) {\n        return null;\n      }\n      return this._instanceCache.getRecord(pushed);\n    }\n\n    /**\n      Push some data in the form of a json-api document into the store,\n      without creating materialized records.\n       @method _push\n      @private\n      @param {Object} jsonApiDoc\n      @return {StableRecordIdentifier|Array<StableRecordIdentifier>|null} identifiers for the primary records that had data loaded\n    */\n    _push(jsonApiDoc, asyncFlush) {\n      {\n        assertDestroyingStore(this, '_push');\n      }\n      if (asyncFlush) {\n        this._enableAsyncFlush = true;\n      }\n      let ret;\n      this._join(() => {\n        ret = this.cache.put({\n          content: jsonApiDoc\n        });\n      });\n      this._enableAsyncFlush = null;\n      return 'data' in ret ? ret.data : null;\n    }\n\n    /**\n     * Trigger a save for a Record.\n     *\n     * @method saveRecord\n     * @public\n     * @param {RecordInstance} record\n     * @param options\n     * @return {Promise<RecordInstance>}\n     */\n    saveRecord(record, options = {}) {\n      {\n        assertDestroyingStore(this, 'saveRecord');\n      }\n      (true && !(storeFor(record)) && (0, _debug.assert)(`Unable to initate save for a record in a disconnected state`, storeFor(record)));\n      const identifier = recordIdentifierFor(record);\n      const cache = this.cache;\n      if (!identifier) {\n        // this commonly means we're disconnected\n        // but just in case we reject here to prevent bad things.\n        return Promise.reject(new Error(`Record Is Disconnected`));\n      }\n      // TODO we used to check if the record was destroyed here\n      (true && !(this._instanceCache.recordIsLoaded(identifier)) && (0, _debug.assert)(`Cannot initiate a save request for an unloaded record: ${identifier.lid}`, this._instanceCache.recordIsLoaded(identifier)));\n      if (resourceIsFullyDeleted(this._instanceCache, identifier)) {\n        return Promise.resolve(record);\n      }\n      if (!options) {\n        options = {};\n      }\n      let operation = 'updateRecord';\n      if (cache.isNew(identifier)) {\n        operation = 'createRecord';\n      } else if (cache.isDeleted(identifier)) {\n        operation = 'deleteRecord';\n      }\n      const request = {\n        op: operation,\n        data: {\n          options,\n          record: identifier\n        },\n        records: [identifier],\n        cacheOptions: {\n          [_request3.SkipCache]: true\n        }\n      };\n\n      // we lie here on the type because legacy doesn't have enough context\n      cache.willCommit(identifier, {\n        request\n      });\n      return this.request(request).then(document => document.content);\n    }\n\n    /**\n     * Instantiation hook allowing applications or addons to configure the store\n     * to utilize a custom Cache implementation.\n     *\n     * This hook should not be called directly by consuming applications or libraries.\n     * Use `Store.cache` to access the Cache instance.\n     *\n     * @method createCache (hook)\n     * @public\n     * @param storeWrapper\n     * @return {Cache}\n     */\n\n    /**\n     * Returns the cache instance associated to this Store, instantiates the Cache\n     * if necessary via `Store.createCache`\n     *\n     * @property {Cache} cache\n     * @public\n     */\n    get cache() {\n      let {\n        cache\n      } = this._instanceCache;\n      if (!cache) {\n        cache = this._instanceCache.cache = this.createCache(this._instanceCache._storeWrapper);\n        {\n          cache = new CacheManager(cache);\n        }\n      }\n      return cache;\n    }\n\n    // @ts-expect-error\n    destroy() {\n      if (this.isDestroyed) {\n        // @ember/test-helpers will call destroy multiple times\n        return;\n      }\n      this.isDestroying = true;\n      this._graph?.destroy();\n      this._graph = undefined;\n      this.notifications.destroy();\n      this.recordArrayManager.destroy();\n      this.identifierCache.destroy();\n      this.unloadAll();\n      this.isDestroyed = true;\n    }\n    static create(args) {\n      return new this(args);\n    }\n  }\n  _exports.S = Store;\n  let assertDestroyingStore;\n  let assertDestroyedStoreOnly;\n  {\n    // eslint-disable-next-line @typescript-eslint/no-shadow\n    assertDestroyingStore = function assertDestroyingStore(store, method) {\n      (true && !(!(store.isDestroying || store.isDestroyed)) && (0, _debug.assert)(`Attempted to call store.${method}(), but the store instance has already been destroyed.`, !(store.isDestroying || store.isDestroyed)));\n    };\n    // eslint-disable-next-line @typescript-eslint/no-shadow\n    assertDestroyedStoreOnly = function assertDestroyedStoreOnly(store, method) {\n      (true && !(!store.isDestroyed) && (0, _debug.assert)(`Attempted to call store.${method}(), but the store instance has already been destroyed.`, !store.isDestroyed));\n    };\n  }\n  function isMaybeIdentifier(maybeIdentifier) {\n    return Boolean(maybeIdentifier !== null && typeof maybeIdentifier === 'object' && ('id' in maybeIdentifier && 'type' in maybeIdentifier && maybeIdentifier.id && maybeIdentifier.type || maybeIdentifier.lid));\n  }\n  function normalizeProperties(store, identifier, properties) {\n    // assert here\n    if (properties !== undefined) {\n      if ('id' in properties) {\n        (true && !(properties.id !== undefined) && (0, _debug.assert)(`expected id to be a string or null`, properties.id !== undefined));\n      }\n      (true && !(typeof properties === 'object' && properties !== null) && (0, _debug.assert)(`You passed '${typeof properties}' as properties for record creation instead of an object.`, typeof properties === 'object' && properties !== null));\n      const {\n        type\n      } = identifier;\n\n      // convert relationship Records to RecordDatas before passing to RecordData\n      const defs = store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type\n      });\n      if (defs !== null) {\n        const keys = Object.keys(properties);\n        let relationshipValue;\n        for (let i = 0; i < keys.length; i++) {\n          const prop = keys[i];\n          const def = defs[prop];\n          if (def !== undefined) {\n            if (def.kind === 'hasMany') {\n              {\n                assertRecordsPassedToHasMany(properties[prop]);\n              }\n              relationshipValue = extractIdentifiersFromRecords(properties[prop]);\n            } else {\n              relationshipValue = extractIdentifierFromRecord(properties[prop]);\n            }\n            properties[prop] = relationshipValue;\n          }\n        }\n      }\n    }\n    return properties;\n  }\n  function assertRecordsPassedToHasMany(records) {\n    (true && !(Array.isArray(records)) && (0, _debug.assert)(`You must pass an array of records to set a hasMany relationship`, Array.isArray(records)));\n    (true && !(function () {\n      return records.every(record => {\n        try {\n          recordIdentifierFor(record);\n          return true;\n        } catch {\n          return false;\n        }\n      });\n    }()) && (0, _debug.assert)(`All elements of a hasMany relationship must be instances of Model, you passed ${records.map(r => `${typeof r}`).join(', ')}`, function () {\n      return records.every(record => {\n        try {\n          recordIdentifierFor(record);\n          return true;\n        } catch {\n          return false;\n        }\n      });\n    }()));\n  }\n  function extractIdentifiersFromRecords(records) {\n    return records.map(record => extractIdentifierFromRecord(record));\n  }\n  function extractIdentifierFromRecord(recordOrPromiseRecord) {\n    if (!recordOrPromiseRecord) {\n      return null;\n    }\n    const extract = recordIdentifierFor;\n    return extract(recordOrPromiseRecord);\n  }\n  function urlFromLink(link) {\n    if (typeof link === 'string') return link;\n    return link.href;\n  }\n\n  /**\n   * A Document is a class that wraps the response content from a request to the API\n   * returned by `Cache.put` or `Cache.peek`, converting resource-identifiers into\n   * record instances.\n   *\n   * It is not directly instantiated by the user, and its properties should not\n   * be directly modified. Whether individual properties are mutable or not is\n   * determined by the record instance itself.\n   *\n   * @public\n   * @class Document\n   */\n  var _store = /*#__PURE__*/_classPrivateFieldKey(\"store\");\n  var _request = /*#__PURE__*/_classPrivateFieldKey(\"request\");\n  class Document {\n    constructor(store, identifier) {\n      Object.defineProperty(this, _request, {\n        value: _request2\n      });\n      /**\n       * The links object for this document, if any\n       *\n       * e.g.\n       *\n       * ```\n       * {\n       *   self: '/articles?page[number]=3',\n       * }\n       * ```\n       *\n       * @property links\n       * @type {object|undefined} - a links object\n       * @public\n       */\n      /**\n       * The primary data for this document, if any.\n       *\n       * If this document has no primary data (e.g. because it is an error document)\n       * this property will be `undefined`.\n       *\n       * For collections this will be an array of record instances,\n       * for single resource requests it will be a single record instance or null.\n       *\n       * @property data\n       * @public\n       * @type {object|Array<object>|null|undefined} - a data object\n       */\n      /**\n       * The errors returned by the API for this request, if any\n       *\n       * @property errors\n       * @public\n       * @type {object|undefined} - an errors object\n       */\n      /**\n       * The meta object for this document, if any\n       *\n       * @property meta\n       * @public\n       * @type {object|undefined} - a meta object\n       */\n      /**\n       * The identifier associated with this document, if any\n       *\n       * @property identifier\n       * @public\n       * @type {StableDocumentIdentifier|null}\n       */\n      Object.defineProperty(this, _store, {\n        writable: true,\n        value: void 0\n      });\n      _classPrivateFieldBase(this, _store)[_store] = store;\n      this.identifier = identifier;\n    }\n    /**\n     * Fetches the related link for this document, returning a promise that resolves\n     * with the document when the request completes. If no related link is present,\n     * will fallback to the self link if present\n     *\n     * @method fetch\n     * @public\n     * @param {object} options\n     * @return Promise<Document>\n     */\n    fetch(options = {}) {\n      (true && !(this.links?.related || this.links?.self) && (0, _debug.assert)(`No self or related link`, this.links?.related || this.links?.self));\n      options.cacheOptions = options.cacheOptions || {};\n      options.cacheOptions.key = this.identifier?.lid;\n      return _classPrivateFieldBase(this, _request)[_request](this.links.related ? 'related' : 'self', options);\n    }\n\n    /**\n     * Fetches the next link for this document, returning a promise that resolves\n     * with the new document when the request completes, or null  if there is no\n     * next link.\n     *\n     * @method next\n     * @public\n     * @param {object} options\n     * @return Promise<Document | null>\n     */\n    next(options = {}) {\n      return _classPrivateFieldBase(this, _request)[_request]('next', options);\n    }\n\n    /**\n     * Fetches the prev link for this document, returning a promise that resolves\n     * with the new document when the request completes, or null if there is no\n     * prev link.\n     *\n     * @method prev\n     * @public\n     * @param {object} options\n     * @return Promise<Document | null>\n     */\n    prev(options = {}) {\n      return _classPrivateFieldBase(this, _request)[_request]('prev', options);\n    }\n\n    /**\n     * Fetches the first link for this document, returning a promise that resolves\n     * with the new document when the request completes, or null if there is no\n     * first link.\n     *\n     * @method first\n     * @public\n     * @param {object} options\n     * @return Promise<Document | null>\n     */\n    first(options = {}) {\n      return _classPrivateFieldBase(this, _request)[_request]('first', options);\n    }\n\n    /**\n     * Fetches the last link for this document, returning a promise that resolves\n     * with the new document when the request completes, or null if there is no\n     * last link.\n     *\n     * @method last\n     * @public\n     * @param {object} options\n     * @return Promise<Document | null>\n     */\n    last(options = {}) {\n      return _classPrivateFieldBase(this, _request)[_request]('last', options);\n    }\n\n    /**\n     * Implemented for `JSON.stringify` support.\n     *\n     * Returns the JSON representation of the document wrapper.\n     *\n     * This is a shallow serialization, it does not deeply serialize\n     * the document's contents, leaving that to the individual record\n     * instances to determine how to do, if at all.\n     *\n     * @method toJSON\n     * @public\n     * @return\n     */\n    toJSON() {\n      const data = {};\n      data.identifier = this.identifier;\n      if (this.data !== undefined) {\n        data.data = this.data;\n      }\n      if (this.links !== undefined) {\n        data.links = this.links;\n      }\n      if (this.errors !== undefined) {\n        data.errors = this.errors;\n      }\n      if (this.meta !== undefined) {\n        data.meta = this.meta;\n      }\n      return data;\n    }\n  }\n  async function _request2(link, options) {\n    const href = this.links?.[link];\n    if (!href) {\n      return null;\n    }\n    options.method = options.method || 'GET';\n    const response = await _classPrivateFieldBase(this, _store)[_store].request(Object.assign(options, {\n      url: urlFromLink(href)\n    }));\n    return response.content;\n  }\n  (0, _private.defineSignal)(Document.prototype, 'data');\n  (0, _private.defineSignal)(Document.prototype, 'links');\n  (0, _private.defineSignal)(Document.prototype, 'errors');\n  (0, _private.defineSignal)(Document.prototype, 'meta');\n\n  /**\n   * @module @ember-data/store\n   */\n\n  /**\n   * A service which an application may provide to the store via\n   * the store's `lifetimes` property to configure the behavior\n   * of the CacheHandler.\n   *\n   * The default behavior for request lifetimes is to never expire\n   * unless manually refreshed via `cacheOptions.reload` or `cacheOptions.backgroundReload`.\n   *\n   * Implementing this service allows you to programatically define\n   * when a request should be considered expired.\n   *\n   * @class <Interface> LifetimesService\n   * @public\n   */\n\n  const MUTATION_OPS = new Set(['createRecord', 'updateRecord', 'deleteRecord']);\n  function isErrorDocument(document) {\n    return 'errors' in document;\n  }\n  function maybeUpdateUiObjects(store, request, options, document, isFromCache) {\n    const {\n      identifier\n    } = options;\n    if (isErrorDocument(document)) {\n      if (!identifier && !options.shouldHydrate) {\n        return document;\n      }\n      let doc;\n      if (identifier) {\n        doc = store._documentCache.get(identifier);\n      }\n      if (!doc) {\n        doc = new Document(store, identifier);\n        copyDocumentProperties(doc, document);\n        if (identifier) {\n          store._documentCache.set(identifier, doc);\n        }\n      } else if (!isFromCache) {\n        doc.data = undefined;\n        copyDocumentProperties(doc, document);\n      }\n      return options.shouldHydrate ? doc : document;\n    }\n    if (Array.isArray(document.data)) {\n      const {\n        recordArrayManager\n      } = store;\n      if (!identifier) {\n        if (!options.shouldHydrate) {\n          return document;\n        }\n        const data = recordArrayManager.createArray({\n          type: request.url,\n          identifiers: document.data,\n          doc: document,\n          query: request\n        });\n        const doc = new Document(store, null);\n        doc.data = data;\n        doc.meta = document.meta;\n        doc.links = document.links;\n        return doc;\n      }\n      let managed = recordArrayManager._keyedArrays.get(identifier.lid);\n      if (!managed) {\n        managed = recordArrayManager.createArray({\n          type: identifier.lid,\n          identifiers: document.data,\n          doc: document\n        });\n        recordArrayManager._keyedArrays.set(identifier.lid, managed);\n        const doc = new Document(store, identifier);\n        doc.data = managed;\n        doc.meta = document.meta;\n        doc.links = document.links;\n        store._documentCache.set(identifier, doc);\n        return options.shouldHydrate ? doc : document;\n      } else {\n        const doc = store._documentCache.get(identifier);\n        if (!isFromCache) {\n          recordArrayManager.populateManagedArray(managed, document.data, document);\n          doc.data = managed;\n          doc.meta = document.meta;\n          doc.links = document.links;\n        }\n        return options.shouldHydrate ? doc : document;\n      }\n    } else {\n      if (!identifier && !options.shouldHydrate) {\n        return document;\n      }\n      const data = document.data ? store.peekRecord(document.data) : null;\n      let doc;\n      if (identifier) {\n        doc = store._documentCache.get(identifier);\n      }\n      if (!doc) {\n        doc = new Document(store, identifier);\n        doc.data = data;\n        copyDocumentProperties(doc, document);\n        if (identifier) {\n          store._documentCache.set(identifier, doc);\n        }\n      } else if (!isFromCache) {\n        doc.data = data;\n        copyDocumentProperties(doc, document);\n      }\n      return options.shouldHydrate ? doc : document;\n    }\n  }\n  function calcShouldFetch(store, request, hasCachedValue, identifier) {\n    const {\n      cacheOptions\n    } = request;\n    return request.op && MUTATION_OPS.has(request.op) || cacheOptions?.reload || !hasCachedValue || (store.lifetimes && identifier ? store.lifetimes.isHardExpired(identifier, store) : false);\n  }\n  function calcShouldBackgroundFetch(store, request, willFetch, identifier) {\n    const {\n      cacheOptions\n    } = request;\n    return !willFetch && (cacheOptions?.backgroundReload || (store.lifetimes && identifier ? store.lifetimes.isSoftExpired(identifier, store) : false));\n  }\n  function isMutation(request) {\n    return Boolean(request.op && MUTATION_OPS.has(request.op));\n  }\n  function fetchContentAndHydrate(next, context, identifier, shouldFetch, shouldBackgroundFetch) {\n    const {\n      store\n    } = context.request;\n    const shouldHydrate = context.request[_request3.EnableHydration] || false;\n    let isMut = false;\n    if (isMutation(context.request)) {\n      isMut = true;\n      // TODO should we handle multiple records in request.records by iteratively calling willCommit for each\n      const record = context.request.data?.record || context.request.records?.[0];\n      (true && !(record) && (0, _debug.assert)(`Expected to receive a list of records included in the ${context.request.op} request`, record));\n      store.cache.willCommit(record, context);\n    }\n    if (store.lifetimes?.willRequest) {\n      store.lifetimes.willRequest(context.request, identifier, store);\n    }\n    const promise = next(context.request).then(document => {\n      store.requestManager._pending.delete(context.id);\n      store._enableAsyncFlush = true;\n      let response;\n      store._join(() => {\n        if (isMutation(context.request)) {\n          const record = context.request.data?.record || context.request.records?.[0];\n          response = store.cache.didCommit(record, document);\n        } else {\n          response = store.cache.put(document);\n        }\n        response = maybeUpdateUiObjects(store, context.request, {\n          shouldHydrate,\n          shouldFetch,\n          shouldBackgroundFetch,\n          identifier\n        }, response, false);\n      });\n      store._enableAsyncFlush = null;\n      if (store.lifetimes?.didRequest) {\n        store.lifetimes.didRequest(context.request, document.response, identifier, store);\n      }\n      if (shouldFetch) {\n        return response;\n      } else if (shouldBackgroundFetch) {\n        store.notifications._flush();\n      }\n    }, error => {\n      store.requestManager._pending.delete(context.id);\n      if (context.request.signal?.aborted) {\n        throw error;\n      }\n      store.requestManager._pending.delete(context.id);\n      store._enableAsyncFlush = true;\n      let response;\n      store._join(() => {\n        if (isMutation(context.request)) {\n          // TODO similar to didCommit we should spec this to be similar to cache.put for handling full response\n          // currently we let the response remain undefiend.\n          const errors = error && error.content && typeof error.content === 'object' && 'errors' in error.content && Array.isArray(error.content.errors) ? error.content.errors : undefined;\n          const record = context.request.data?.record || context.request.records?.[0];\n          store.cache.commitWasRejected(record, errors);\n          // re-throw the original error to preserve `errors` property.\n          throw error;\n        } else {\n          response = store.cache.put(error);\n          response = maybeUpdateUiObjects(store, context.request, {\n            shouldHydrate,\n            shouldFetch,\n            shouldBackgroundFetch,\n            identifier\n          }, response, false);\n        }\n      });\n      store._enableAsyncFlush = null;\n      if (identifier && store.lifetimes?.didRequest) {\n        store.lifetimes.didRequest(context.request, error.response, identifier, store);\n      }\n      if (!shouldBackgroundFetch) {\n        const newError = cloneError(error);\n        newError.content = response;\n        throw newError;\n      } else {\n        store.notifications._flush();\n      }\n    });\n    if (!isMut) {\n      return promise;\n    }\n    (true && !(isMutation(context.request)) && (0, _debug.assert)(`Expected a mutation`, isMutation(context.request))); // for mutations we need to enqueue the promise with the requestStateService\n    // TODO should we enque a request per record in records?\n    const record = context.request.data?.record || context.request.records?.[0];\n    return store._requestCache._enqueue(promise, {\n      data: [{\n        op: 'saveRecord',\n        recordIdentifier: record,\n        options: undefined\n      }]\n    });\n  }\n  function cloneError(error) {\n    const cloned = new Error(error.message);\n    cloned.stack = error.stack;\n    cloned.error = error.error;\n    return cloned;\n  }\n  const CacheHandler = _exports.C = {\n    request(context, next) {\n      // if we have no cache or no cache-key skip cache handling\n      if (!context.request.store || context.request.cacheOptions?.[_request3.SkipCache]) {\n        return next(context.request);\n      }\n      const {\n        store\n      } = context.request;\n      const identifier = store.identifierCache.getOrCreateDocumentIdentifier(context.request);\n      const peeked = identifier ? store.cache.peekRequest(identifier) : null;\n\n      // determine if we should skip cache\n      if (calcShouldFetch(store, context.request, !!peeked, identifier)) {\n        return fetchContentAndHydrate(next, context, identifier, true, false);\n      }\n\n      // if we have not skipped cache, determine if we should update behind the scenes\n      if (calcShouldBackgroundFetch(store, context.request, false, identifier)) {\n        const promise = fetchContentAndHydrate(next, context, identifier, false, true);\n        store.requestManager._pending.set(context.id, promise);\n      }\n      const shouldHydrate = context.request[_request3.EnableHydration] || false;\n      if ('error' in peeked) {\n        const content = shouldHydrate ? maybeUpdateUiObjects(store, context.request, {\n          shouldHydrate,\n          identifier\n        }, peeked.content, true) : peeked.content;\n        const newError = cloneError(peeked);\n        newError.content = content;\n        throw newError;\n      }\n      return Promise.resolve(shouldHydrate ? maybeUpdateUiObjects(store, context.request, {\n        shouldHydrate,\n        identifier\n      }, peeked.content, true) : peeked.content);\n    }\n  };\n  function copyDocumentProperties(target, source) {\n    if ('links' in source) {\n      target.links = source.links;\n    }\n    if ('meta' in source) {\n      target.meta = source.meta;\n    }\n    if ('errors' in source) {\n      target.errors = source.errors;\n    }\n  }\n});","define(\"@ember-data/store/index\", [\"exports\", \"@ember-data/store/cache-handler-XLbbNJdo\"], function (_exports, _cacheHandlerXLbbNJdo) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"CacheHandler\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.C;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.S;\n    }\n  });\n  Object.defineProperty(_exports, \"recordIdentifierFor\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.r;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierForgetMethod\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.c;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierGenerationMethod\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.a;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierResetMethod\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.d;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierUpdateMethod\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.b;\n    }\n  });\n  Object.defineProperty(_exports, \"storeFor\", {\n    enumerable: true,\n    get: function () {\n      return _cacheHandlerXLbbNJdo.s;\n    }\n  });\n});","define(\"@ember-data/tracking/-private\", [\"exports\", \"@ember/-internals/metal\", \"@glimmer/validator\"], function (_exports, _metal, _validator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Signals = void 0;\n  _exports.addToTransaction = addToTransaction;\n  _exports.addTransactionCB = addTransactionCB;\n  _exports.createArrayTags = createArrayTags;\n  _exports.createSignal = createSignal;\n  _exports.defineSignal = defineSignal;\n  _exports.entangleSignal = entangleSignal;\n  _exports.getSignal = getSignal;\n  _exports.memoTransact = memoTransact;\n  _exports.peekSignal = peekSignal;\n  _exports.subscribe = subscribe;\n  _exports.transact = transact;\n  _exports.untracked = untracked;\n  let TRANSACTION = null;\n  function createTransaction() {\n    const transaction = {\n      cbs: new Set(),\n      props: new Set(),\n      sub: new Set(),\n      parent: null\n    };\n    if (TRANSACTION) {\n      transaction.parent = TRANSACTION;\n    }\n    TRANSACTION = transaction;\n  }\n  function maybeConsume(tag) {\n    if (tag) {\n      (0, _validator.consumeTag)(tag);\n    }\n  }\n  function maybeDirty(tag) {\n    if (tag) {\n      // @ts-expect-error - we are using Ember's Tag not Glimmer's\n      (0, _validator.dirtyTag)(tag);\n    }\n  }\n\n  /**\n   * If there is a current transaction, ensures that the relevant tag (and any\n   * array computed chains symbols, if applicable) will be consumed during the\n   * transaction.\n   *\n   * If there is no current transaction, will consume the tag(s) immediately.\n   *\n   * @internal\n   * @param obj\n   */\n  function subscribe(obj) {\n    if (TRANSACTION) {\n      TRANSACTION.sub.add(obj);\n    } else if ('tag' in obj) {\n      {\n        maybeConsume(obj['[]']);\n        maybeConsume(obj['@length']);\n      }\n      (0, _validator.consumeTag)(obj.tag);\n    } else {\n      obj.ref;\n    }\n  }\n  function updateRef(obj) {\n    {\n      try {\n        if ('tag' in obj) {\n          {\n            maybeDirty(obj['[]']);\n            maybeDirty(obj['@length']);\n          }\n          // @ts-expect-error - we are using Ember's Tag not Glimmer's\n          (0, _validator.dirtyTag)(obj.tag);\n        } else {\n          obj.ref = null;\n        }\n      } catch (e) {\n        if (e instanceof Error) {\n          if (e.message.includes('You attempted to update `undefined`')) {\n            // @ts-expect-error\n            const key = `<${obj._debug_base}>.${obj.key}`;\n            e.message = e.message.replace('You attempted to update `undefined`', `You attempted to update ${key}`);\n            e.stack = e.stack?.replace('You attempted to update `undefined`', `You attempted to update ${key}`);\n            const lines = e.stack?.split(`\\n`);\n            const finalLines = [];\n            let lastFile = null;\n            lines?.forEach(line => {\n              if (line.trim().startsWith('at ')) {\n                // get the last string in the line which contains the code source location\n                const location = line.split(' ').at(-1);\n                // remove the line and char offset info\n\n                if (location.includes(':')) {\n                  const parts = location.split(':');\n                  parts.pop();\n                  parts.pop();\n                  const file = parts.join(':');\n                  if (file !== lastFile) {\n                    lastFile = file;\n                    finalLines.push('');\n                  }\n                }\n                finalLines.push(line);\n              }\n            });\n            const splitstr = '`undefined` was first used:';\n            const parts = e.message.split(splitstr);\n            parts.splice(1, 0, `Original Stack\\n=============\\n${finalLines.join(`\\n`)}\\n\\n\\`${key}\\` was first used:`);\n            e.message = parts.join('');\n          }\n        }\n        throw e;\n      }\n    }\n  }\n  function flushTransaction() {\n    const transaction = TRANSACTION;\n    TRANSACTION = transaction.parent;\n    transaction.cbs.forEach(cb => {\n      cb();\n    });\n    transaction.props.forEach(obj => {\n      // mark this mutation as part of a transaction\n      obj.t = true;\n      updateRef(obj);\n    });\n    transaction.sub.forEach(obj => {\n      if ('tag' in obj) {\n        {\n          maybeConsume(obj['[]']);\n          maybeConsume(obj['@length']);\n        }\n        (0, _validator.consumeTag)(obj.tag);\n      } else {\n        obj.ref;\n      }\n    });\n  }\n  async function untrack() {\n    const transaction = TRANSACTION;\n    TRANSACTION = transaction.parent;\n\n    // defer writes\n    await Promise.resolve();\n    transaction.cbs.forEach(cb => {\n      cb();\n    });\n    transaction.props.forEach(obj => {\n      // mark this mutation as part of a transaction\n      obj.t = true;\n      updateRef(obj);\n    });\n  }\n  function addToTransaction(obj) {\n    if (TRANSACTION) {\n      TRANSACTION.props.add(obj);\n    } else {\n      updateRef(obj);\n    }\n  }\n  function addTransactionCB(method) {\n    if (TRANSACTION) {\n      TRANSACTION.cbs.add(method);\n    } else {\n      method();\n    }\n  }\n\n  /**\n   * Run `method` without subscribing to any tracked properties\n   * controlled by EmberData.\n   *\n   * This should rarely be used except by libraries that really\n   * know what they are doing. It is most useful for wrapping\n   * certain kinds of fetch/query logic from within a `Resource`\n   * `hook` or other similar pattern.\n   *\n   * @function untracked\n   * @public\n   * @static\n   * @for @ember-data/tracking\n   * @param method\n   * @return result of invoking method\n   */\n  function untracked(method) {\n    createTransaction();\n    const ret = method();\n    void untrack();\n    return ret;\n  }\n\n  /**\n   * Run the method, subscribing to any tracked properties\n   * managed by EmberData that were accessed or written during\n   * the method's execution as per-normal but while allowing\n   * interleaving of reads and writes.\n   *\n   * This is useful when for instance you want to perform\n   * a mutation based on existing state that must be read first.\n   *\n   * @function transact\n   * @public\n   * @static\n   * @for @ember-data/tracking\n   * @param method\n   * @return result of invoking method\n   */\n  function transact(method) {\n    createTransaction();\n    const ret = method();\n    flushTransaction();\n    return ret;\n  }\n\n  /**\n   * A helpful utility for creating a new function that\n   * always runs in a transaction. E.G. this \"memoizes\"\n   * calling `transact(fn)`, currying args as necessary.\n   *\n   * @method memoTransact\n   * @public\n   * @static\n   * @for @ember-data/tracking\n   * @param method\n   * @return a function that will invoke method in a transaction with any provided args and return its result\n   */\n  function memoTransact(method) {\n    return function (...args) {\n      createTransaction();\n      const ret = method(...args);\n      flushTransaction();\n      return ret;\n    };\n  }\n  const Signals = _exports.Signals = Symbol('Signals');\n\n  /**\n   *  use to add a signal property to the prototype of something.\n   *\n   *  First arg is the thing to define on\n   *  Second arg is the property name\n   *  Third agg is the initial value of the property if any.\n   *\n   *  for instance\n   *\n   *  ```ts\n   *  class Model {}\n   *  defineSignal(Model.prototype, 'isLoading', false);\n   *  ```\n   *\n   *  This is sort of like using a stage-3 decorator but works today\n   *  while we are still on legacy decorators.\n   *\n   *  e.g. it is equivalent to\n   *\n   *  ```ts\n   *  class Model {\n   *    @signal accessor isLoading = false;\n   *  }\n   *  ```\n   *\n   *  @internal\n   */\n  function defineSignal(obj, key, v) {\n    Object.defineProperty(obj, key, {\n      enumerable: true,\n      configurable: false,\n      get() {\n        const signals = this[Signals] = this[Signals] || new Map();\n        const existing = signals.has(key);\n        const _signal = entangleSignal(signals, this, key);\n        if (!existing && v !== undefined) {\n          _signal.lastValue = v;\n        }\n        return _signal.lastValue;\n      },\n      set(value) {\n        const signals = this[Signals] = this[Signals] || new Map();\n        let _signal = signals.get(key);\n        if (!_signal) {\n          _signal = createSignal(this, key);\n          signals.set(key, _signal);\n        }\n        if (_signal.lastValue !== value) {\n          _signal.lastValue = value;\n          addToTransaction(_signal);\n        }\n      }\n    });\n  }\n  function createArrayTags(obj, signal) {\n    {\n      signal['[]'] = (0, _metal.tagForProperty)(obj, '[]');\n      signal['@length'] = (0, _metal.tagForProperty)(obj, 'length');\n    }\n  }\n\n  /**\n   * Create a signal for the key/object pairing.\n   *\n   * @internal\n   * @param obj Object we're creating the signal on\n   * @param key Key to create the signal for\n   * @return the signal\n   */\n  function createSignal(obj, key) {\n    const _signal = {\n      key,\n      tag: (0, _metal.tagForProperty)(obj, key),\n      t: false,\n      shouldReset: false,\n      '[]': null,\n      '@length': null,\n      lastValue: undefined\n    };\n    {\n      // eslint-disable-next-line no-inner-declarations\n      function tryGet(prop) {\n        try {\n          return obj[prop];\n        } catch {\n          return;\n        }\n      }\n      const modelName = tryGet('$type') ?? tryGet('modelName') ?? tryGet('constructor')?.modelName ?? '';\n      // eslint-disable-next-line @typescript-eslint/no-base-to-string\n      const className = obj.constructor?.name ?? obj.toString?.() ?? 'unknown';\n      _signal._debug_base = `${className}${modelName && !className.startsWith('SchemaRecord') ? `:${modelName}` : ''}`;\n    }\n    return _signal;\n  }\n\n  /**\n   * Create a signal for the key/object pairing and subscribes to the signal.\n   *\n   * Use when you need to ensure a signal exists and is subscribed to.\n   *\n   * @internal\n   * @param signals Map of signals\n   * @param obj Object we're creating the signal on\n   * @param key Key to create the signal for\n   * @return the signal\n   */\n  function entangleSignal(signals, obj, key) {\n    let _signal = signals.get(key);\n    if (!_signal) {\n      _signal = createSignal(obj, key);\n      signals.set(key, _signal);\n    }\n    subscribe(_signal);\n    return _signal;\n  }\n  function getSignal(obj, key, initialState) {\n    let signals = obj[Signals];\n    if (!signals) {\n      signals = new Map();\n      obj[Signals] = signals;\n    }\n    let _signal = signals.get(key);\n    if (!_signal) {\n      _signal = createSignal(obj, key);\n      _signal.shouldReset = initialState;\n      signals.set(key, _signal);\n    }\n    return _signal;\n  }\n  function peekSignal(obj, key) {\n    const signals = obj[Signals];\n    if (signals) {\n      return signals.get(key);\n    }\n  }\n});","define(\"@ember-data/tracking/index\", [\"exports\", \"@ember/debug\", \"@glimmer/tracking/primitives/cache\", \"@ember-data/tracking/-private\", \"@ember/object/compat\"], function (_exports, _debug, _cache, _private, _compat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cached = cached;\n  Object.defineProperty(_exports, \"compat\", {\n    enumerable: true,\n    get: function () {\n      return _compat.dependentKeyCompat;\n    }\n  });\n  Object.defineProperty(_exports, \"createCache\", {\n    enumerable: true,\n    get: function () {\n      return _cache.createCache;\n    }\n  });\n  Object.defineProperty(_exports, \"getValue\", {\n    enumerable: true,\n    get: function () {\n      return _cache.getValue;\n    }\n  });\n  Object.defineProperty(_exports, \"memoTransact\", {\n    enumerable: true,\n    get: function () {\n      return _private.memoTransact;\n    }\n  });\n  Object.defineProperty(_exports, \"transact\", {\n    enumerable: true,\n    get: function () {\n      return _private.transact;\n    }\n  });\n  Object.defineProperty(_exports, \"untracked\", {\n    enumerable: true,\n    get: function () {\n      return _private.untracked;\n    }\n  });\n  function cached(target, key, descriptor) {\n    // Error on `@cached()`, `@cached(...args)`, and `@cached propName = value;`\n    (true && !(target !== undefined) && (0, _debug.assert)('You attempted to use @cached(), which is not necessary nor supported. Remove the parentheses and you will be good to go!', target !== undefined));\n    (true && !(typeof target === 'object' && typeof key === 'string' && typeof descriptor === 'object' && arguments.length === 3) && (0, _debug.assert)(`You attempted to use @cached on with ${arguments.length > 1 ? 'arguments' : 'an argument'} ( @cached(${Array.from(arguments).map(d => `'${d}'`).join(', ')}), which is not supported. Dependencies are automatically tracked, so you can just use ${'`@cached`'}`, typeof target === 'object' && typeof key === 'string' && typeof descriptor === 'object' && arguments.length === 3));\n    (true && !(typeof descriptor.get === 'function') && (0, _debug.assert)(`The @cached decorator must be applied to getters. '${key}' is not a getter.`, typeof descriptor.get === 'function'));\n    const caches = new WeakMap();\n    // eslint-disable-next-line @typescript-eslint/unbound-method\n    const getter = descriptor.get;\n    descriptor.get = function () {\n      if (!caches.has(this)) caches.set(this, (0, _cache.createCache)(getter.bind(this)));\n      return (0, _cache.getValue)(caches.get(this));\n    };\n  }\n});","define(\"@ember/legacy-built-in-components/components/_has-dom\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // check if window exists and actually is the global\n  var _default = _exports.default = 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});","define(\"@ember/legacy-built-in-components/components/_internals\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.HAS_BLOCK = void 0;\n  _exports.isSimpleClick = isSimpleClick;\n  function intern(str) {\n    let obj = {};\n    //@ts-ignore\n    obj[str] = 1;\n    for (let key in obj) {\n      if (key === str) {\n        return key;\n      }\n    }\n    return str;\n  }\n  const GUID_KEY = intern(`__ember${Date.now()}`);\n\n  // `enumerableSymbol` copied from https://github.com/emberjs/ember.js/blob/master/packages/@ember/-internals/utils/lib/symbol.ts\n  // for not exported code these legacy components are dependant on.\n\n  // Some legacy symbols still need to be enumerable for a variety of reasons.\n  // This code exists for that, and as a fallback in IE11. In general, prefer\n  // `symbol` below when creating a new symbol.\n  function enumerableSymbol(debugName) {\n    let id = GUID_KEY + Math.floor(Math.random() * Date.now());\n    let symbol = intern(`__${debugName}${id}__`);\n    return symbol;\n  }\n  const HAS_BLOCK = _exports.HAS_BLOCK = enumerableSymbol('HAS_BLOCK');\n  function isSimpleClick(event) {\n    let modifier = event.shiftKey || event.metaKey || event.altKey || event.ctrlKey;\n    let secondaryClick = event.which > 1; // IE9 may return undefined\n\n    return !modifier && !secondaryClick;\n  }\n\n  // export interface GlobalContext {\n  //   imports: object;\n  //   exports: object;\n  //   lookup: object;\n  // }\n\n  // /* globals global, window, self */\n  // declare const mainContext: object | undefined;\n\n  // // from lodash to catch fake globals\n  // function checkGlobal(value: any | null | undefined): value is object {\n  //   return value && value.Object === Object ? value : undefined;\n  // }\n\n  // // element ids can ruin global miss checks\n  // function checkElementIdShadowing(value: any | null | undefined) {\n  //   return value && value.nodeType === undefined ? value : undefined;\n  // }\n\n  // // export real global\n  // export default checkGlobal(checkElementIdShadowing(typeof global === 'object' && global)) ||\n  //   checkGlobal(typeof self === 'object' && self) ||\n  //   checkGlobal(typeof window === 'object' && window) ||\n  //   (typeof mainContext !== 'undefined' && mainContext) || // set before strict mode in Ember loader/wrapper\n  //   new Function('return this')(); // eval outside of strict mode\n\n  // // legacy imports/exports/lookup stuff (should we keep this??)\n  // export const context = (function (\n  //   global: object,\n  //   Ember: Partial<GlobalContext> | undefined\n  // ): GlobalContext {\n  //   return Ember === undefined\n  //     ? { imports: global, exports: global, 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, global.Ember);\n});","define(\"@ember/legacy-built-in-components/components/checkbox\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@ember/object\", \"@ember/debug\"], function (_exports, _component, _templateFactory, _object, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{yield}}\n  */\n  {\n    \"id\": \"YiZ7OnUO\",\n    \"block\": \"[[[18,1,null]],[\\\"&default\\\"],false,[\\\"yield\\\"]]\",\n    \"moduleName\": \"@ember/legacy-built-in-components/components/checkbox.hbs\",\n    \"isStrictMode\": false\n  });\n  //@ts-check\n  /* eslint-disable ember/no-component-lifecycle-hooks */\n  /* eslint-disable ember/require-tagless-components */\n  /* eslint-disable ember/no-classic-classes */\n  /* eslint-disable ember/no-classic-components */\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    @public\n  */\n  const Checkbox = _component.default.extend({\n    /**\n      By default, this component will add the `ember-checkbox` class to the component's element.\n       @property classNames\n      @type Array<String> | String\n      @default ['ember-checkbox']\n      @public\n     */\n    classNames: ['ember-checkbox'],\n    tagName: 'input',\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> | 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      Sets the `type` attribute of the `Checkbox`'s element\n       @property disabled\n      @default false\n      @private\n     */\n    type: 'checkbox',\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      Corresponds to the `indeterminate` property of the `Checkbox`'s element\n       @property disabled\n      @default false\n      @public\n     */\n    indeterminate: false,\n    /**\n      @property checked\n      @default false\n      @private\n     */\n    checked: false,\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      this.element.indeterminate = Boolean(this.indeterminate);\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, _object.set)(this, 'checked', this.element.checked);\n    }\n  });\n  if (true /* DEBUG */) {\n    const UNSET = {};\n    Checkbox.reopen({\n      value: UNSET,\n      didReceiveAttrs() {\n        this._super();\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  Checkbox.toString = () => '@ember/component/checkbox';\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, Checkbox);\n});","define(\"@ember/legacy-built-in-components/components/link-to\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@ember/object/computed\", \"@ember/object\", \"@ember/application\", \"@ember/debug\", \"@ember/engine\", \"@ember/service\", \"@ember/legacy-built-in-components/components/_internals\"], function (_exports, _component, _templateFactory, _computed, _object, _application, _debug, _engine, _service, _internals) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{~#if (has-block)~}}\n    {{yield}}\n  {{~else~}}\n    {{this.linkTitle}}\n  {{~/if~}}\n  \n  */\n  {\n    \"id\": \"mXLN+5/0\",\n    \"block\": \"[[[41,[48,[30,1]],[[[18,1,null]],[]],[[[1,[30,0,[\\\"linkTitle\\\"]]]],[]]]],[\\\"&default\\\"],false,[\\\"if\\\",\\\"has-block\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"@ember/legacy-built-in-components/components/link-to.hbs\",\n    \"isStrictMode\": false\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    ### 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.\n  \n    ### Supplying query parameters\n  \n    If you need to add optional key-value pairs that appear to the right of the ? in a URL,\n    you can use the `query` argument.\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @query={{hash page=1 per_page=20}}>\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    This will result in:\n  \n    ```html\n    <a href=\"/hamster-photos?page=1&per_page=20\">\n      Great Hamster Photos\n    </a>\n    ```\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  const UNDEFINED = Object.freeze({\n    toString() {\n      return 'UNDEFINED';\n    }\n  });\n  const EMPTY_QUERY_PARAMS = Object.freeze({});\n  const LinkComponent = _component.default.extend({\n    tagName: 'a',\n    /**\n      @property route\n      @public\n    */\n    route: UNDEFINED,\n    /**\n      @property model\n      @public\n    */\n    model: UNDEFINED,\n    /**\n      @property models\n      @public\n    */\n    models: UNDEFINED,\n    /**\n      @property query\n      @public\n    */\n    query: UNDEFINED,\n    /**\n      Used to determine when this `LinkComponent` is active.\n       @property current-when\n      @public\n    */\n    'current-when': null,\n    /**\n      @property disabledWhen\n      @public\n    */\n    disabledWhen: undefined,\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      Sets the `rel` attribute of the `LinkComponent`'s HTML element.\n       @property rel\n      @default null\n      @public\n    **/\n    rel: null,\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      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      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      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      @public\n    **/\n    loadingClass: 'loading',\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      @public\n    **/\n    disabledClass: 'disabled',\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      Determines whether the `LinkComponent` will prevent the default\n      browser action by calling preventDefault() to avoid reloading\n      the browser page.\n       If you need to trigger a full browser reload pass `@preventDefault={{false}}`:\n       ```handlebars\n      <LinkTo @route='photoGallery' @model={{this.aPhotoId}} @preventDefault={{false}}>\n        {{this.aPhotoId.title}}\n      </LinkTo>\n      ```\n       @property preventDefault\n      @type Boolean\n      @default true\n      @private\n    **/\n    preventDefault: true,\n    /**\n      @property linkTitle\n      @private\n    */\n    linkTitle: undefined,\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      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      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    // 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      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);\n      this.assertLinkToOrigin();\n\n      // Map desired event name to invoke function\n      let {\n        eventName\n      } = this;\n      this.on(eventName, this, this._invoke);\n    },\n    //@ts-ignore\n    _routing: (0, _service.inject)('-routing'),\n    _currentRoute: (0, _computed.alias)('_routing.currentRouteName'),\n    _currentRouterState: (0, _computed.alias)('_routing.currentState'),\n    _targetRouterState: (0, _computed.alias)('_routing.targetState'),\n    /**\n     * Method to assert that LinkTo is not used inside of a routeless engine. This method is\n     * overridden in ember-engines link-to-external component to just be a noop, since the\n     * link-to-external component extends the link-to component.\n     *\n     * @method assertLinkToOrigin\n     * @private\n     */\n    assertLinkToOrigin() {\n      (true && !(!this._isEngine || this._engineMountPoint !== undefined) && (0, _debug.assert)('You attempted to use the <LinkTo> component within a routeless engine, this is not supported. ' + 'If you are using the ember-engines addon, use the <LinkToExternal> component instead. ' + 'See https://ember-engines.com/docs/links for more info.', !this._isEngine || this._engineMountPoint !== undefined));\n    },\n    _isEngine: (0, _object.computed)(function () {\n      return (0, _engine.getEngineParent)((0, _application.getOwner)(this)) !== undefined;\n    }),\n    _engineMountPoint: (0, _object.computed)(function () {\n      //@ts-ignore\n      return (0, _application.getOwner)(this).mountPoint;\n    }),\n    _route: (0, _object.computed)('route', '_currentRouterState', function computeLinkToComponentRoute() {\n      let {\n        route\n      } = this;\n      return route === UNDEFINED ? this._currentRoute : this._namespaceRoute(route);\n    }),\n    _models: (0, _object.computed)('model', 'models', function computeLinkToComponentModels() {\n      let {\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      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, _object.computed)('query', function computeLinkToComponentQuery() {\n      let {\n        query\n      } = this;\n      if (query === UNDEFINED) {\n        return EMPTY_QUERY_PARAMS;\n      } else {\n        return Object.assign({}, query);\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      @public\n    */\n    disabled: (0, _object.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 occurred\n        return false;\n      },\n      set(_key, value) {\n        this._isDisabled = value;\n        return value ? this.disabledClass : false;\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, _object.computed)('activeClass', '_active', function computeLinkToComponentActiveClass() {\n      return this._active ? this.activeClass : false;\n    }),\n    _active: (0, _object.computed)('_currentRouterState', '_route', '_models', '_query', 'loading', 'current-when', function computeLinkToComponentActive() {\n      let {\n        _currentRouterState: state\n      } = this;\n      if (state) {\n        return this._isActive(state);\n      } else {\n        return false;\n      }\n    }),\n    willBeActive: (0, _object.computed)('_currentRouterState', '_targetRouterState', '_route', '_models', '_query', 'loading', 'current-when', function computeLinkToComponentWillBeActive() {\n      let {\n        _currentRouterState: current,\n        _targetRouterState: target\n      } = this;\n      if (current === target) {\n        return;\n      }\n      return this._isActive(target);\n    }),\n    _isActive(routerState) {\n      if (this.loading) {\n        return false;\n      }\n      let currentWhen = this['current-when'];\n      if (typeof currentWhen === 'boolean') {\n        return currentWhen;\n      }\n      let {\n        _models: models,\n        _routing: routing\n      } = this;\n      if (typeof currentWhen === 'string') {\n        return currentWhen.split(' ').some(route => routing.isActiveForRoute(models, undefined, this._namespaceRoute(route), routerState));\n      } else {\n        return routing.isActiveForRoute(models, this._query, this._route, routerState);\n      }\n    },\n    transitioningIn: (0, _object.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, _object.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    _namespaceRoute(route) {\n      let {\n        _engineMountPoint: mountPoint\n      } = this;\n      if (mountPoint === undefined) {\n        return route;\n      } else if (route === 'application') {\n        return mountPoint;\n      } else {\n        return `${mountPoint}.${route}`;\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, _internals.isSimpleClick)(event)) {\n        return true;\n      }\n      let {\n        bubbles,\n        preventDefault\n      } = this;\n      let target = this.element.target;\n      let isSelf = !target || target === '_self';\n      if (preventDefault !== false && isSelf) {\n        event.preventDefault();\n      }\n      if (bubbles === false) {\n        event.stopPropagation();\n      }\n      if (this._isDisabled) {\n        return false;\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      if (!isSelf) {\n        return false;\n      }\n      let {\n        _route: routeName,\n        _models: models,\n        _query: queryParams,\n        replace: shouldReplace\n      } = this;\n      let payload = {\n        queryParams,\n        routeName\n      };\n\n      // flaggedInstrument(\n      //   'interaction.link-to',\n      //   payload,\n      //   this._generateTransition(\n      //     payload,\n      //     routeName,\n      //     models,\n      //     queryParams,\n      //     shouldReplace\n      //   )\n      // );\n      this._generateTransition(payload, routeName, models, queryParams, shouldReplace);\n      return false;\n    },\n    _generateTransition(payload, qualifiedRouteName, models, queryParams, shouldReplace) {\n      let {\n        _routing: routing\n      } = this;\n      payload.transition = routing.transitionTo(qualifiedRouteName, models, queryParams, shouldReplace);\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, _object.computed)('_currentRouterState', '_route', '_models', '_query', 'tagName', 'loading', 'loadingHref', function computeLinkToComponentHref() {\n      if (this.tagName !== 'a') {\n        return;\n      }\n      if (this.loading) {\n        return this.loadingHref;\n      }\n      let {\n        _route: route,\n        _models: models,\n        _query: query,\n        _routing: routing\n      } = this;\n      if (true /* DEBUG */) {\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          e.message = `While generating link to route \"${this.route}\": ${e.message}`;\n          throw e;\n        }\n      } else {\n        return routing.generateURL(route, models, query);\n      }\n    }),\n    /**\n      The loading state. Returns the loadingClass is true.\n       @property activeClass\n      @type {string|undefined}\n      @default active\n      @public\n    **/\n    loading: (0, _object.computed)('_route', '_modelsAreLoaded', 'loadingClass', function computeLinkToComponentLoading() {\n      let {\n        _route: route,\n        _modelsAreLoaded: loaded\n      } = this;\n      if (!loaded || route === null || route === undefined) {\n        return this.loadingClass;\n      }\n    }),\n    _modelsAreLoaded: (0, _object.computed)('_models', function computeLinkToComponentModelsAreLoaded() {\n      let {\n        _models: models\n      } = this;\n      for (let i = 0; i < models.length; i++) {\n        let model = models[i];\n        if (model === null || model === undefined) {\n          return false;\n        }\n      }\n      return true;\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    didReceiveAttrs() {\n      let {\n        disabledWhen\n      } = this;\n      if (disabledWhen !== undefined) {\n        this.set('disabled', disabledWhen);\n      }\n\n      // @ts-ignore\n      let {\n        params\n      } = this;\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        let {\n          _models: models\n        } = this;\n        if (models.length > 0) {\n          let lastModel = models[models.length - 1];\n          if (typeof lastModel === 'object' && lastModel !== null && lastModel.isQueryParams) {\n            this.query = lastModel.values;\n            models.pop();\n          }\n        }\n        return;\n      }\n      let hasBlock = this[_internals.HAS_BLOCK];\n      params = params.slice();\n\n      // Process the positional arguments, in order.\n      // 1. Inline link title comes first, if present.\n      if (!hasBlock) {\n        this.set('linkTitle', params.shift());\n      }\n\n      // 2. The last argument is possibly the `query` object.\n      let queryParams = params[params.length - 1];\n      if (queryParams && queryParams.isQueryParams) {\n        this.set('query', params.pop().values);\n      } else {\n        this.set('query', UNDEFINED);\n      }\n\n      // 3. If there is a `route`, it is now at index 0.\n      if (params.length === 0) {\n        this.set('route', UNDEFINED);\n      } else {\n        this.set('route', params.shift());\n      }\n\n      // 4. Any remaining indices (if any) are `models`.\n      this.set('model', UNDEFINED);\n      this.set('models', params);\n      (0, _debug.runInDebug)(() => {\n        // @ts-ignore\n        params = this.params.slice();\n        let equivalentNamedArgs = [];\n        let hasQueryParams = false;\n\n        // Process the positional arguments, in order.\n        // 1. Inline link title comes first, if present.\n        if (!hasBlock) {\n          params.shift();\n        }\n\n        // 2. The last argument is possibly the `query` object.\n        let query = params[params.length - 1];\n        if (query && query.isQueryParams) {\n          params.pop();\n          hasQueryParams = true;\n        }\n\n        // 3. If there is a `route`, it is now at index 0.\n        if (params.length > 0) {\n          params.shift();\n          equivalentNamedArgs.push('`@route`');\n        }\n\n        // 4. Any remaining params (if any) are `models`.\n        if (params.length === 1) {\n          equivalentNamedArgs.push('`@model`');\n        } else if (params.length > 1) {\n          equivalentNamedArgs.push('`@models`');\n        }\n        if (hasQueryParams) {\n          equivalentNamedArgs.push('`@query`');\n        }\n        if (equivalentNamedArgs.length > 0) {\n          let message = 'Invoking the `<LinkTo>` component with positional arguments is deprecated.';\n          message += `Please use the equivalent named arguments (${equivalentNamedArgs.join(', ')})`;\n          if (hasQueryParams) {\n            message += ' along with the `hash` helper';\n          }\n          if (!hasBlock) {\n            message += \" and pass a block for the link's content.\";\n          }\n          message += '.';\n          (true && !(false) && (0, _debug.deprecate)(message, false, {\n            id: 'ember-glimmer.link-to.positional-arguments',\n            until: '4.0.0',\n            for: 'ember-source',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-glimmer-link-to-positional-arguments',\n            since: {\n              available: '3.26.0-beta.1',\n              enabled: '3.26.0-beta.1'\n            }\n          }));\n        }\n      });\n    }\n  });\n  LinkComponent.toString = () => '@ember/routing/link-component';\n  LinkComponent.reopenClass({\n    positionalParams: 'params'\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, LinkComponent);\n});","define(\"@ember/legacy-built-in-components/components/text-field\", [\"exports\", \"@ember/legacy-built-in-components/components/_has-dom\", \"@ember/object\", \"@ember/component\", \"@ember/legacy-built-in-components/mixins/text-support\"], function (_exports, _hasDom, _object, _component, _textSupport) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* eslint-disable ember/no-mixins */\n  /* eslint-disable ember/no-classic-classes */\n  /**\n  @module @ember/component\n  */\n\n  const inputTypes = _hasDom.default ? Object.create(null) : null;\n  function canSetTypeOfInput(type) {\n    // if running in outside of a browser always return\n    // the original type\n    if (!_hasDom.default) {\n      return Boolean(type);\n    }\n    if (type in inputTypes) {\n      return inputTypes[type];\n    }\n    let inputTypeTestElement = document.createElement('input');\n    try {\n      inputTypeTestElement.type = type;\n    } catch (e) {\n      // ignored\n    }\n    return inputTypes[type] = inputTypeTestElement.type === type;\n  }\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  const TextField = _component.default.extend(_textSupport.default, {\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      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',\n    // needs to be before min and max. See #15675\n    'max', 'min', 'multiple', 'name', 'pattern', 'size', 'step', 'value', 'width'],\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      The `type` attribute of the input element.\n       @property type\n      @type String\n      @default \"text\"\n      @public\n    */\n    type: (0, _object.computed)({\n      get() {\n        return 'text';\n      },\n      set(_key, value) {\n        let type = 'text';\n        if (canSetTypeOfInput(value)) {\n          type = value;\n        }\n        return type;\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      The `pattern` attribute of input element.\n       @property pattern\n      @type String\n      @default null\n      @public\n    */\n    pattern: null,\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      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  TextField.toString = () => '@ember/component/text-field';\n  var _default = _exports.default = TextField;\n});","define(\"@ember/legacy-built-in-components/components/textarea\", [\"exports\", \"@ember/legacy-built-in-components/mixins/text-support\", \"@ember/component\", \"@ember/legacy-built-in-components/templates/empty\"], function (_exports, _textSupport, _component, _empty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* eslint-disable ember/no-mixins */\n  /* eslint-disable ember/require-tagless-components */\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  const TextArea = _component.default.extend(_textSupport.default, {\n    classNames: ['ember-text-area'],\n    layout: _empty.default,\n    tagName: 'textarea',\n    attributeBindings: ['rows', 'cols', 'name', 'selectionEnd', 'selectionStart', 'autocomplete', 'wrap', 'lang', 'dir', 'value'],\n    rows: null,\n    cols: null\n  });\n  TextArea.toString = () => '@ember/component/text-area';\n  var _default = _exports.default = TextArea;\n});","define(\"@ember/legacy-built-in-components/index\", [\"exports\", \"ember\", \"@embroider/macros/es-compat2\"], function (_exports, _ember, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TextField = _exports.TextArea = _exports.LinkComponent = _exports.Checkbox = void 0;\n  /* eslint-disable ember/new-module-imports */\n\n  let Checkbox = _exports.Checkbox = void 0;\n  {\n    _exports.Checkbox = Checkbox = (0, _esCompat.default)(require(\"@ember/legacy-built-in-components/components/checkbox\")).default;\n  }\n  let LinkComponent = _exports.LinkComponent = void 0;\n  {\n    _exports.LinkComponent = LinkComponent = (0, _esCompat.default)(require(\"@ember/legacy-built-in-components/components/link-to\")).default;\n  }\n  let TextArea = _exports.TextArea = void 0;\n  {\n    _exports.TextArea = TextArea = (0, _esCompat.default)(require(\"@ember/legacy-built-in-components/components/textarea\")).default;\n  }\n  let TextField = _exports.TextField = void 0;\n  {\n    _exports.TextField = TextField = (0, _esCompat.default)(require(\"@ember/legacy-built-in-components/components/text-field\")).default;\n  }\n});","define(\"@ember/legacy-built-in-components/mixins/_target_action_support\", [\"exports\", \"@ember/object\", \"@ember/object/mixin\", \"@ember/debug\"], function (_exports, _object, _mixin, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* eslint-disable ember/no-get */\n  /* eslint-disable ember/no-new-mixins */\n  /**\n  @module ember\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 = _exports.default = _mixin.default.create({\n    target: null,\n    action: null,\n    actionContext: null,\n    actionContextObject: (0, _object.computed)('actionContext', function () {\n      let actionContext = (0, _object.get)(this, 'actionContext');\n      if (typeof actionContext === 'string') {\n        return (0, _object.get)(this, actionContext);\n      } else {\n        return actionContext;\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      let {\n        action,\n        target,\n        actionContext\n      } = opts;\n      action = action || (0, _object.get)(this, 'action');\n      target = target || getTarget(this);\n      if (actionContext === undefined) {\n        actionContext = (0, _object.get)(this, 'actionContextObject') || this;\n      }\n      if (target && action) {\n        let ret;\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        if (ret !== false) {\n          return true;\n        }\n      }\n      return false;\n    }\n  });\n  function getTarget(instance) {\n    let target = (0, _object.get)(instance, 'target');\n    if (target) {\n      if (typeof target === 'string') {\n        let value = (0, _object.get)(instance, target);\n        if (value === undefined) {\n          value = (0, _object.get)(context.lookup, target);\n        }\n        return value;\n      } else {\n        return target;\n      }\n    }\n    if (instance._target) {\n      return instance._target;\n    }\n    return null;\n  }\n});","define(\"@ember/legacy-built-in-components/mixins/text-support\", [\"exports\", \"@ember/object\", \"@ember/object/mixin\", \"@ember/legacy-built-in-components/mixins/_target_action_support\", \"@ember/-internals/views\"], function (_exports, _object, _mixin, _target_action_support, _views) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* eslint-disable ember/no-new-mixins */\n\n  const KEY_EVENTS = {\n    Enter: 'insertNewline',\n    Escape: 'cancel'\n  };\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  var _default = _exports.default = _mixin.default.create(_target_action_support.default, {\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    init() {\n      this._super(...arguments);\n      this.on('paste', this, this._elementValueDidChange);\n      this.on('cut', this, this._elementValueDidChange);\n      this.on('input', this, this._elementValueDidChange);\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    interpretKeyEvents(event) {\n      let method = KEY_EVENTS[event.key];\n      this._elementValueDidChange();\n      if (method) {\n        return this[method](event);\n      }\n    },\n    _elementValueDidChange() {\n      (0, _object.set)(this, 'value', this.element.value);\n    },\n    change(event) {\n      this._elementValueDidChange(event);\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      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      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      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      sendAction('focus-out', this, event);\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      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      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  }); // 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  function sendAction(eventName, view, event) {\n    let action = (0, _object.get)(view, `attrs.${eventName}`);\n    if (action !== null && typeof action === 'object' && action[_views.MUTABLE_CELL] === true) {\n      action = action.value;\n    }\n    if (action === undefined) {\n      action = (0, _object.get)(view, eventName);\n    }\n    let value = view.value;\n    if (typeof action === 'function') {\n      action(value, event);\n    }\n    if (action && !view.bubbles) {\n      event.stopPropagation();\n    }\n  }\n});","define(\"@ember/legacy-built-in-components/templates/empty\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)({\n    \"id\": \"J3hEX+8O\",\n    \"block\": \"[[],[],false,[]]\",\n    \"moduleName\": \"@ember/legacy-built-in-components/templates/empty.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"@ember/render-modifiers/modifiers/did-insert\", [\"exports\", \"@ember/modifier\"], function (_exports, _modifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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 = _exports.default = (0, _modifier.setModifierManager)(() => ({\n    capabilities: (0, _modifier.capabilities)('3.22', {\n      disableAutoTracking: true\n    }),\n    createModifier() {},\n    installModifier(_state, element, {\n      positional: [fn, ...args],\n      named\n    }) {\n      fn(element, args, named);\n    },\n    updateModifier() {},\n    destroyModifier() {}\n  }), class DidInsertModifier {});\n});","define(\"@ember/render-modifiers/modifiers/did-update\", [\"exports\", \"@ember/modifier\", \"@embroider/macros/es-compat2\"], function (_exports, _modifier, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const untrack = function () {\n    {\n      // ember-source@3.27 shipped \"real modules\" by default, so we can just use\n      // importSync to get @glimmer/validator directly\n      return (0, _esCompat.default)(require(\"@glimmer/validator\")).untrack;\n    }\n  }();\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 = _exports.default = (0, _modifier.setModifierManager)(() => ({\n    capabilities: (0, _modifier.capabilities)('3.22', {\n      disableAutoTracking: false\n    }),\n    createModifier() {\n      return {\n        element: null\n      };\n    },\n    installModifier(state, element, args) {\n      // save element into state bucket\n      state.element = element;\n      {\n        // Consume individual properties to entangle tracking.\n        // https://github.com/emberjs/ember.js/issues/19277\n        // https://github.com/ember-modifier/ember-modifier/pull/63#issuecomment-815908201\n        args.positional.forEach(() => {});\n        args.named && Object.values(args.named);\n      }\n    },\n    updateModifier({\n      element\n    }, args) {\n      let [fn, ...positional] = args.positional;\n      {\n        // Consume individual properties to entangle tracking.\n        // https://github.com/emberjs/ember.js/issues/19277\n        // https://github.com/ember-modifier/ember-modifier/pull/63#issuecomment-815908201\n        args.positional.forEach(() => {});\n        args.named && Object.values(args.named);\n        untrack(() => {\n          fn(element, positional, args.named);\n        });\n      }\n    },\n    destroyModifier() {}\n  }), class DidUpdateModifier {});\n});","define(\"@ember/render-modifiers/modifiers/will-destroy\", [\"exports\", \"@ember/modifier\"], function (_exports, _modifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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 = _exports.default = (0, _modifier.setModifierManager)(() => ({\n    capabilities: (0, _modifier.capabilities)('3.22', {\n      disableAutoTracking: true\n    }),\n    createModifier() {\n      return {\n        element: null\n      };\n    },\n    installModifier(state, element) {\n      state.element = element;\n    },\n    updateModifier() {},\n    destroyModifier({\n      element\n    }, args) {\n      let [fn, ...positional] = args.positional;\n      fn(element, positional, args.named);\n    }\n  }), class WillDestroyModifier {});\n});","define(\"@ember/string/cache\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Cache {\n    constructor(limit, func, store) {\n      _defineProperty(this, \"size\", 0);\n      _defineProperty(this, \"misses\", 0);\n      _defineProperty(this, \"hits\", 0);\n      this.limit = limit;\n      this.func = func;\n      this.store = store;\n      this.store = store || new Map();\n    }\n    get(key) {\n      let value = this.store.get(key);\n      if (this.store.has(key)) {\n        this.hits++;\n        return this.store.get(key);\n      } else {\n        this.misses++;\n        value = this.set(key, this.func(key));\n      }\n      return value;\n    }\n    set(key, value) {\n      if (this.limit > this.size) {\n        this.size++;\n        this.store.set(key, value);\n      }\n      return value;\n    }\n    purge() {\n      this.store.clear();\n      this.size = 0;\n      this.hits = 0;\n      this.misses = 0;\n    }\n  }\n  _exports.default = Cache;\n});","define(\"@ember/string/index\", [\"exports\", \"@ember/string/cache\"], function (_exports, _cache) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.camelize = camelize;\n  _exports.capitalize = capitalize;\n  _exports.classify = classify;\n  _exports.dasherize = dasherize;\n  _exports.decamelize = decamelize;\n  _exports.getString = getString;\n  _exports.getStrings = getStrings;\n  _exports.htmlSafe = htmlSafe;\n  _exports.isHTMLSafe = isHTMLSafe;\n  _exports.setStrings = setStrings;\n  _exports.underscore = underscore;\n  _exports.w = w;\n  /* eslint-disable no-useless-escape */\n\n  /**\n   @module @ember/string\n   */\n\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  let STRINGS = {};\n  function setStrings(strings) {\n    STRINGS = strings;\n  }\n  function getStrings() {\n    return STRINGS;\n  }\n  function getString(name) {\n    return STRINGS[name];\n  }\n  const STRING_DASHERIZE_REGEXP = /[ _]/g;\n  const STRING_DASHERIZE_CACHE = new _cache.default(1000, key => decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-'));\n  const STRING_CAMELIZE_REGEXP_1 = /(\\-|\\_|\\.|\\s)+(.)?/g;\n  const STRING_CAMELIZE_REGEXP_2 = /(^|\\/)([A-Z])/g;\n  const CAMELIZE_CACHE = new _cache.default(1000, key => key.replace(STRING_CAMELIZE_REGEXP_1, (_match, _separator, chr) => chr ? chr.toUpperCase() : '').replace(STRING_CAMELIZE_REGEXP_2, (match\n  /*, separator, chr */) => match.toLowerCase()));\n  const STRING_CLASSIFY_REGEXP_1 = /^(\\-|_)+(.)?/;\n  const STRING_CLASSIFY_REGEXP_2 = /(.)(\\-|\\_|\\.|\\s)+(.)?/g;\n  const STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\n  const CLASSIFY_CACHE = new _cache.default(1000, str => {\n    const replace1 = (_match, _separator, chr) => chr ? `_${chr.toUpperCase()}` : '';\n    const replace2 = (_match, initialChar, _separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n    const parts = str.split('/');\n    for (let 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    return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, (match\n    /*, separator, chr */) => match.toUpperCase());\n  });\n  const STRING_UNDERSCORE_REGEXP_1 = /([a-z\\d])([A-Z]+)/g;\n  const STRING_UNDERSCORE_REGEXP_2 = /\\-|\\s+/g;\n  const UNDERSCORE_CACHE = new _cache.default(1000, str => str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase());\n  const STRING_CAPITALIZE_REGEXP = /(^|\\/)([a-z\\u00C0-\\u024F])/g;\n  const CAPITALIZE_CACHE = new _cache.default(1000, str => str.replace(STRING_CAPITALIZE_REGEXP, (match\n  /*, separator, chr */) => match.toUpperCase()));\n  const STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n  const DECAMELIZE_CACHE = new _cache.default(1000, str => str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase());\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  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  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  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  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  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  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  function capitalize(str) {\n    return CAPITALIZE_CACHE.get(str);\n  }\n  /*\n    The following are implemented here to give users adding `@ember/string` to\n    their projects a useful error message. The `ember-source` implementation of\n    `@ember/string` is clobbered by adding this addon, and so the deprecation of\n    the import path is not triggered. This error message is intended to help\n    users discover what they need to change.\n  */\n\n  function htmlSafe(str) {\n    throw new Error('htmlSafe is not implemented in the `@ember/string` package. Please import from `@ember/template` instead.');\n  }\n  function isHTMLSafe(str) {\n    throw new Error('isHTMLSafe is not implemented in the `@ember/string` package. Please import from `@ember/template` instead.');\n  }\n});","define(\"@ember/test-waiters/build-waiter\", [\"exports\", \"@ember/debug\", \"@ember/test-waiters/token\", \"@ember/test-waiters/waiter-manager\"], function (_exports, _debug, _token, _waiterManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._resetWaiterNames = _resetWaiterNames;\n  _exports.default = buildWaiter;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  const WAITER_NAME_PATTERN = /^[^:]*:?.*/;\n  let WAITER_NAMES = true /* DEBUG */ ? new Set() : undefined;\n  function _resetWaiterNames() {\n    WAITER_NAMES = new Set();\n  }\n  function getNextToken() {\n    return new _token.default();\n  }\n  class TestWaiterImpl {\n    constructor(name, nextToken) {\n      _defineProperty(this, \"isRegistered\", false);\n      _defineProperty(this, \"items\", new Map());\n      _defineProperty(this, \"completedOperationsForTokens\", new WeakMap());\n      _defineProperty(this, \"completedOperationsForPrimitives\", new Map());\n      this.name = name; // @ts-ignore\n\n      this.nextToken = nextToken || getNextToken;\n    }\n    beginAsync(token = this.nextToken(), label) {\n      this._register();\n      if (this.items.has(token)) {\n        throw new Error(`beginAsync called for ${token} but it is already pending.`);\n      }\n      let error = new Error();\n      this.items.set(token, {\n        get stack() {\n          return error.stack;\n        },\n        label\n      });\n      return token;\n    }\n    endAsync(token) {\n      if (!this.items.has(token) && !this._getCompletedOperations(token).has(token)) {\n        throw new Error(`testWaiter.endAsync called with no preceding testWaiter.beginAsync call.\n        Test waiter calls should always be paired. This can occur when a test waiter's paired calls are invoked in a non-deterministic order.\n\n        See https://github.com/emberjs/ember-test-waiters#keep-beginasyncendasync-in-same-block-scope for more information.`);\n      }\n      this.items.delete(token); // Mark when a waiter operation has completed so we can distinguish\n      // whether endAsync is being called before a prior beginAsync call above.\n\n      this._getCompletedOperations(token).set(token, true);\n    }\n    waitUntil() {\n      return this.items.size === 0;\n    }\n    debugInfo() {\n      let result = [];\n      this.items.forEach(value => {\n        result.push(value);\n      });\n      return result;\n    }\n    reset() {\n      this.items.clear();\n    }\n    _register() {\n      if (!this.isRegistered) {\n        (0, _waiterManager.register)(this);\n        this.isRegistered = true;\n      }\n    }\n    _getCompletedOperations(token) {\n      let type = typeof token;\n      let isFunction = type === 'function';\n      let isObject = token !== null && type === 'object';\n      let isPrimitive = !isFunction && !isObject;\n      return isPrimitive ? this.completedOperationsForPrimitives : this.completedOperationsForTokens;\n    }\n  }\n  class NoopTestWaiter {\n    constructor(name) {\n      this.name = name;\n    }\n    beginAsync() {\n      return this;\n    }\n    endAsync() {}\n    waitUntil() {\n      return true;\n    }\n    debugInfo() {\n      return [];\n    }\n    reset() {}\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   * @public\n   *\n   * @param name {string} The name of the test waiter\n   * @returns {TestWaiter}\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\n  function buildWaiter(name) {\n    if (true /* DEBUG */) {\n      (true && (0, _debug.warn)(`The waiter name '${name}' is already in use`, !WAITER_NAMES.has(name), {\n        id: '@ember/test-waiters.duplicate-waiter-name'\n      }));\n      WAITER_NAMES.add(name);\n    }\n    if (!true /* DEBUG */) {\n      return new NoopTestWaiter(name);\n    } else {\n      (true && (0, _debug.warn)(`You must provide a name that contains a descriptive prefix separated by a colon.\n\n        Example: ember-fictitious-addon:some-file\n\n        You passed: ${name}`, WAITER_NAME_PATTERN.test(name), {\n        id: '@ember/test-waiters.invalid-waiter-name'\n      }));\n      return new TestWaiterImpl(name);\n    }\n  }\n});","define(\"@ember/test-waiters/index\", [\"exports\", \"@ember/test-waiters/waiter-manager\", \"@ember/test-waiters/build-waiter\", \"@ember/test-waiters/wait-for-promise\", \"@ember/test-waiters/wait-for\"], function (_exports, _waiterManager, _buildWaiter, _waitForPromise, _waitFor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"_reset\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager._reset;\n    }\n  });\n  Object.defineProperty(_exports, \"_resetWaiterNames\", {\n    enumerable: true,\n    get: function () {\n      return _buildWaiter._resetWaiterNames;\n    }\n  });\n  Object.defineProperty(_exports, \"buildWaiter\", {\n    enumerable: true,\n    get: function () {\n      return _buildWaiter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"getPendingWaiterState\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.getPendingWaiterState;\n    }\n  });\n  Object.defineProperty(_exports, \"getWaiters\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.getWaiters;\n    }\n  });\n  Object.defineProperty(_exports, \"hasPendingWaiters\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.hasPendingWaiters;\n    }\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, \"waitFor\", {\n    enumerable: true,\n    get: function () {\n      return _waitFor.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/token\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * A class representing a test waiter token.\n   *\n   * @public\n   * @class\n   */\n  class Token {}\n  _exports.default = Token;\n});","define(\"@ember/test-waiters/types/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"@ember/test-waiters/wait-for-promise\", [\"exports\", \"@ember/test-waiters/build-waiter\"], function (_exports, _buildWaiter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = waitForPromise;\n  const PROMISE_WAITER = (0, _buildWaiter.default)('@ember/test-waiters:promise-waiter');\n  /**\n   * A convenient utility function to simplify waiting for a promise.\n   *\n   * @public\n   * @param promise {Promise<T> | RSVP.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    if (true /* DEBUG */) {\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    return result;\n  }\n});","define(\"@ember/test-waiters/wait-for\", [\"exports\", \"@ember/test-waiters/wait-for-promise\", \"@ember/test-waiters/build-waiter\"], function (_exports, _waitForPromise, _buildWaiter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = waitFor;\n  function waitFor(...args) {\n    let isFunction = args.length < 3;\n    if (isFunction) {\n      let [fn, label] = args;\n      return wrapFunction(fn, label);\n    } else {\n      let [,, descriptor, label] = args;\n      if (!true /* DEBUG */) {\n        return descriptor;\n      }\n      let fn = descriptor.value;\n      descriptor.value = wrapFunction(fn, label);\n      return descriptor;\n    }\n  }\n  function wrapFunction(fn, label) {\n    if (!true /* DEBUG */) {\n      return fn;\n    }\n    return function (...args) {\n      let result = fn.call(this, ...args);\n      if (isThenable(result)) {\n        return (0, _waitForPromise.default)(result, label);\n      } else if (isGenerator(result)) {\n        return waitForGenerator(result, label);\n      } else {\n        return result;\n      }\n    };\n  }\n  function isThenable(maybePromise) {\n    let type = typeof maybePromise;\n    return (maybePromise !== null && type === 'object' || type === 'function') && typeof maybePromise.then === 'function';\n  }\n  function isGenerator(maybeGenerator) {\n    // Because we don't have Symbol.iterator in IE11\n    return typeof maybeGenerator.next === 'function' && typeof maybeGenerator.return === 'function' && typeof maybeGenerator.throw === 'function';\n  }\n  const GENERATOR_WAITER = (0, _buildWaiter.default)('@ember/test-waiters:generator-waiter');\n  function waitForGenerator(generator, label) {\n    GENERATOR_WAITER.beginAsync(generator, label);\n    let isWaiting = true;\n    function stopWaiting() {\n      if (isWaiting) {\n        GENERATOR_WAITER.endAsync(generator);\n        isWaiting = false;\n      }\n    }\n    return {\n      next(...args) {\n        let hasErrored = true;\n        try {\n          let val = generator.next(...args);\n          hasErrored = false;\n          if (val.done) {\n            stopWaiting();\n          }\n          return val;\n        } finally {\n          // If generator.next() throws, we need to stop waiting. But if we catch\n          // and re-throw exceptions, it could move the location from which the\n          // uncaught exception is thrown, interfering with the developer\n          // debugging experience if they have break-on-exceptions enabled. So we\n          // use a boolean flag and a finally block to emulate a catch block.\n          if (hasErrored) {\n            stopWaiting();\n          }\n        }\n      },\n      return(...args) {\n        stopWaiting();\n        return generator.return(...args);\n      },\n      throw(...args) {\n        stopWaiting();\n        return generator.throw(...args);\n      }\n    };\n  }\n});","define(\"@ember/test-waiters/waiter-manager\", [\"exports\", \"ember\", \"@ember/test\"], function (_exports, _ember, _test) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._reset = _reset;\n  _exports.getPendingWaiterState = getPendingWaiterState;\n  _exports.getWaiters = getWaiters;\n  _exports.hasPendingWaiters = hasPendingWaiters;\n  _exports.register = register;\n  _exports.unregister = unregister;\n  // this ensures that if @ember/test-waiters exists in multiple places in the\n  // build output we will still use a single map of waiters (there really should\n  // only be one of them, or else `settled` will not work at all)\n  const WAITERS = function () {\n    const HAS_SYMBOL = typeof Symbol !== 'undefined';\n    let symbolName = 'TEST_WAITERS';\n    let symbol = HAS_SYMBOL ? Symbol.for(symbolName) : symbolName;\n    let global = getGlobal();\n    let waiters = global[symbol];\n    if (waiters === undefined) {\n      waiters = global[symbol] = new Map();\n    }\n    return waiters;\n  }();\n  function indexable(input) {\n    return input;\n  }\n  function getGlobal() {\n    // eslint-disable-next-line node/no-unsupported-features/es-builtins\n    if (typeof globalThis !== 'undefined') return indexable(globalThis);\n    if (typeof self !== 'undefined') return indexable(self);\n    if (typeof window !== 'undefined') return indexable(window);\n    if (typeof global !== 'undefined') return indexable(global);\n    throw new Error('unable to locate global object');\n  }\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.default.Test) {\n    (0, _test.registerWaiter)(() => !hasPendingWaiters());\n  }\n  /**\n   * Registers a waiter.\n   *\n   * @public\n   * @param waiter {Waiter} A test waiter instance\n   */\n\n  function register(waiter) {\n    WAITERS.set(waiter.name, waiter);\n  }\n  /**\n   * Un-registers a waiter.\n   *\n   * @public\n   * @param waiter {Waiter} A test waiter instance\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 {Waiter[]}\n   */\n\n  function getWaiters() {\n    let result = [];\n    WAITERS.forEach(value => {\n      result.push(value);\n    });\n    return result;\n  }\n  /**\n   * Clears all waiters.\n   *\n   * @private\n   */\n\n  function _reset() {\n    for (let waiter of getWaiters()) {\n      waiter.isRegistered = false;\n    }\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 {PendingWaiterState} 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  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  function hasPendingWaiters() {\n    let state = getPendingWaiterState();\n    return state.pending > 0;\n  }\n});","define(\"@embroider/macros/es-compat2\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = esCompat;\n  function esCompat(m) {\n    return m?.__esModule ? m : {\n      default: m,\n      ...m\n    };\n  }\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    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\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    return array;\n  }\n  function macroCondition(predicate) {\n    return predicate;\n  }\n\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  function config(packageRoot) {\n    return runtimeConfig.packages[packageRoot];\n  }\n  function getGlobalConfig() {\n    return runtimeConfig.global;\n  }\n  function isTesting() {\n    let g = runtimeConfig.global;\n    let e = g && g['@embroider/macros'];\n    return Boolean(e && e.isTesting);\n  }\n  const runtimeConfig = initializeRuntimeMacrosConfig();\n\n  // this exists to be targeted by our babel plugin\n  function initializeRuntimeMacrosConfig() {\n    return {\n      \"packages\": {\n        \"/home/ag/dev/universlogique/node_modules/@ember-data/adapter\": {\n          \"compatWith\": null,\n          \"debug\": {\n            \"LOG_PAYLOADS\": false,\n            \"LOG_OPERATIONS\": false,\n            \"LOG_MUTATIONS\": false,\n            \"LOG_NOTIFICATIONS\": false,\n            \"LOG_REQUESTS\": false,\n            \"LOG_REQUEST_STATUS\": false,\n            \"LOG_IDENTIFIERS\": false,\n            \"LOG_GRAPH\": false,\n            \"LOG_INSTANCE_CACHE\": false\n          },\n          \"deprecations\": {\n            \"DEPRECATE_CATCH_ALL\": true,\n            \"DEPRECATE_3_12\": true,\n            \"DEPRECATE_NON_STRICT_TYPES\": true,\n            \"DEPRECATE_NON_STRICT_ID\": true,\n            \"DEPRECATE_COMPUTED_CHAINS\": true,\n            \"DEPRECATE_LEGACY_IMPORTS\": true,\n            \"DEPRECATE_NON_UNIQUE_PAYLOADS\": true,\n            \"DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE\": true,\n            \"DEPRECATE_MANY_ARRAY_DUPLICATES\": true\n          },\n          \"features\": {\n            \"SAMPLE_FEATURE_FLAG\": false\n          },\n          \"includeDataAdapter\": false,\n          \"packages\": {\n            \"HAS_EMBER_DATA_PACKAGE\": false,\n            \"HAS_STORE_PACKAGE\": true,\n            \"HAS_MODEL_PACKAGE\": false,\n            \"HAS_JSON_API_PACKAGE\": false,\n            \"HAS_GRAPH_PACKAGE\": false,\n            \"HAS_REQUEST_PACKAGE\": false,\n            \"HAS_COMPAT_PACKAGE\": true,\n            \"HAS_TRACKING_PACKAGE\": false,\n            \"HAS_ADAPTER_PACKAGE\": true,\n            \"HAS_SERIALIZER_PACKAGE\": false\n          },\n          \"env\": {\n            \"TESTING\": true,\n            \"PRODUCTION\": false,\n            \"DEBUG\": true\n          }\n        },\n        \"/home/ag/dev/universlogique/node_modules/@ember-data/debug\": {\n          \"compatWith\": null,\n          \"debug\": {\n            \"LOG_PAYLOADS\": false,\n            \"LOG_OPERATIONS\": false,\n            \"LOG_MUTATIONS\": false,\n            \"LOG_NOTIFICATIONS\": false,\n            \"LOG_REQUESTS\": false,\n            \"LOG_REQUEST_STATUS\": false,\n            \"LOG_IDENTIFIERS\": false,\n            \"LOG_GRAPH\": false,\n            \"LOG_INSTANCE_CACHE\": false\n          },\n          \"deprecations\": {\n            \"DEPRECATE_CATCH_ALL\": true,\n            \"DEPRECATE_3_12\": true,\n            \"DEPRECATE_NON_STRICT_TYPES\": true,\n            \"DEPRECATE_NON_STRICT_ID\": true,\n            \"DEPRECATE_COMPUTED_CHAINS\": true,\n            \"DEPRECATE_LEGACY_IMPORTS\": true,\n            \"DEPRECATE_NON_UNIQUE_PAYLOADS\": true,\n            \"DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE\": true,\n            \"DEPRECATE_MANY_ARRAY_DUPLICATES\": true\n          },\n          \"features\": {\n            \"SAMPLE_FEATURE_FLAG\": false\n          },\n          \"includeDataAdapter\": true,\n          \"env\": {\n            \"TESTING\": true,\n            \"PRODUCTION\": false,\n            \"DEBUG\": true\n          },\n          \"includeDataAdapterInProduction\": true\n        },\n        \"/home/ag/dev/universlogique/node_modules/@ember-data/graph\": {\n          \"compatWith\": null,\n          \"debug\": {\n            \"LOG_PAYLOADS\": false,\n            \"LOG_OPERATIONS\": false,\n            \"LOG_MUTATIONS\": false,\n            \"LOG_NOTIFICATIONS\": false,\n            \"LOG_REQUESTS\": false,\n            \"LOG_REQUEST_STATUS\": false,\n            \"LOG_IDENTIFIERS\": false,\n            \"LOG_GRAPH\": false,\n            \"LOG_INSTANCE_CACHE\": false\n          },\n          \"deprecations\": {\n            \"DEPRECATE_CATCH_ALL\": true,\n            \"DEPRECATE_3_12\": true,\n            \"DEPRECATE_NON_STRICT_TYPES\": true,\n            \"DEPRECATE_NON_STRICT_ID\": true,\n            \"DEPRECATE_COMPUTED_CHAINS\": true,\n            \"DEPRECATE_LEGACY_IMPORTS\": true,\n            \"DEPRECATE_NON_UNIQUE_PAYLOADS\": true,\n            \"DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE\": true,\n            \"DEPRECATE_MANY_ARRAY_DUPLICATES\": true\n          },\n          \"features\": {\n            \"SAMPLE_FEATURE_FLAG\": false\n          },\n          \"includeDataAdapter\": false,\n          \"packages\": {\n            \"HAS_EMBER_DATA_PACKAGE\": false,\n            \"HAS_STORE_PACKAGE\": true,\n            \"HAS_MODEL_PACKAGE\": false,\n            \"HAS_JSON_API_PACKAGE\": false,\n            \"HAS_GRAPH_PACKAGE\": true,\n            \"HAS_REQUEST_PACKAGE\": false,\n            \"HAS_COMPAT_PACKAGE\": false,\n            \"HAS_TRACKING_PACKAGE\": false,\n            \"HAS_ADAPTER_PACKAGE\": false,\n            \"HAS_SERIALIZER_PACKAGE\": false\n          },\n          \"env\": {\n            \"TESTING\": true,\n            \"PRODUCTION\": false,\n            \"DEBUG\": true\n          }\n        },\n        \"/home/ag/dev/universlogique/node_modules/@ember-data/json-api\": {\n          \"compatWith\": null,\n          \"debug\": {\n            \"LOG_PAYLOADS\": false,\n            \"LOG_OPERATIONS\": false,\n            \"LOG_MUTATIONS\": false,\n            \"LOG_NOTIFICATIONS\": false,\n            \"LOG_REQUESTS\": false,\n            \"LOG_REQUEST_STATUS\": false,\n            \"LOG_IDENTIFIERS\": false,\n            \"LOG_GRAPH\": false,\n            \"LOG_INSTANCE_CACHE\": false\n          },\n          \"deprecations\": {\n            \"DEPRECATE_CATCH_ALL\": true,\n            \"DEPRECATE_3_12\": true,\n            \"DEPRECATE_NON_STRICT_TYPES\": true,\n            \"DEPRECATE_NON_STRICT_ID\": true,\n            \"DEPRECATE_COMPUTED_CHAINS\": true,\n            \"DEPRECATE_LEGACY_IMPORTS\": true,\n            \"DEPRECATE_NON_UNIQUE_PAYLOADS\": true,\n            \"DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE\": true,\n            \"DEPRECATE_MANY_ARRAY_DUPLICATES\": true\n          },\n          \"features\": {\n            \"SAMPLE_FEATURE_FLAG\": false\n          },\n          \"includeDataAdapter\": false,\n          \"packages\": {\n            \"HAS_EMBER_DATA_PACKAGE\": false,\n            \"HAS_STORE_PACKAGE\": true,\n            \"HAS_MODEL_PACKAGE\": false,\n            \"HAS_JSON_API_PACKAGE\": true,\n            \"HAS_GRAPH_PACKAGE\": true,\n            \"HAS_REQUEST_PACKAGE\": false,\n            \"HAS_COMPAT_PACKAGE\": false,\n            \"HAS_TRACKING_PACKAGE\": false,\n            \"HAS_ADAPTER_PACKAGE\": false,\n            \"HAS_SERIALIZER_PACKAGE\": false\n          },\n          \"env\": {\n            \"TESTING\": true,\n            \"PRODUCTION\": false,\n            \"DEBUG\": true\n          }\n        },\n        \"/home/ag/dev/universlogique/node_modules/@ember-data/legacy-compat\": {\n          \"compatWith\": null,\n          \"debug\": {\n            \"LOG_PAYLOADS\": false,\n            \"LOG_OPERATIONS\": false,\n            \"LOG_MUTATIONS\": false,\n            \"LOG_NOTIFICATIONS\": false,\n            \"LOG_REQUESTS\": false,\n            \"LOG_REQUEST_STATUS\": false,\n            \"LOG_IDENTIFIERS\": false,\n            \"LOG_GRAPH\": false,\n            \"LOG_INSTANCE_CACHE\": false\n          },\n          \"deprecations\": {\n            \"DEPRECATE_CATCH_ALL\": true,\n            \"DEPRECATE_3_12\": true,\n            \"DEPRECATE_NON_STRICT_TYPES\": true,\n            \"DEPRECATE_NON_STRICT_ID\": true,\n            \"DEPRECATE_COMPUTED_CHAINS\": true,\n            \"DEPRECATE_LEGACY_IMPORTS\": true,\n            \"DEPRECATE_NON_UNIQUE_PAYLOADS\": true,\n            \"DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE\": true,\n            \"DEPRECATE_MANY_ARRAY_DUPLICATES\": true\n          },\n          \"features\": {\n            \"SAMPLE_FEATURE_FLAG\": false\n          },\n          \"includeDataAdapter\": false,\n          \"packages\": {\n            \"HAS_EMBER_DATA_PACKAGE\": false,\n            \"HAS_STORE_PACKAGE\": true,\n            \"HAS_MODEL_PACKAGE\": false,\n            \"HAS_JSON_API_PACKAGE\": true,\n            \"HAS_GRAPH_PACKAGE\": true,\n            \"HAS_REQUEST_PACKAGE\": true,\n            \"HAS_COMPAT_PACKAGE\": true,\n            \"HAS_TRACKING_PACKAGE\": false,\n            \"HAS_ADAPTER_PACKAGE\": false,\n            \"HAS_SERIALIZER_PACKAGE\": false\n          },\n          \"env\": {\n            \"TESTING\": true,\n            \"PRODUCTION\": false,\n            \"DEBUG\": true\n          }\n        },\n        \"/home/ag/dev/universlogique/node_modules/@ember-data/model\": {\n          \"compatWith\": null,\n          \"debug\": {\n            \"LOG_PAYLOADS\": false,\n            \"LOG_OPERATIONS\": false,\n            \"LOG_MUTATIONS\": false,\n            \"LOG_NOTIFICATIONS\": false,\n            \"LOG_REQUESTS\": false,\n            \"LOG_REQUEST_STATUS\": false,\n            \"LOG_IDENTIFIERS\": false,\n            \"LOG_GRAPH\": false,\n            \"LOG_INSTANCE_CACHE\": false\n          },\n          \"deprecations\": {\n            \"DEPRECATE_CATCH_ALL\": true,\n            \"DEPRECATE_3_12\": true,\n            \"DEPRECATE_NON_STRICT_TYPES\": true,\n            \"DEPRECATE_NON_STRICT_ID\": true,\n            \"DEPRECATE_COMPUTED_CHAINS\": true,\n            \"DEPRECATE_LEGACY_IMPORTS\": true,\n            \"DEPRECATE_NON_UNIQUE_PAYLOADS\": true,\n            \"DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE\": true,\n            \"DEPRECATE_MANY_ARRAY_DUPLICATES\": true\n          },\n          \"features\": {\n            \"SAMPLE_FEATURE_FLAG\": false\n          },\n          \"includeDataAdapter\": true,\n          \"packages\": {\n            \"HAS_EMBER_DATA_PACKAGE\": false,\n            \"HAS_STORE_PACKAGE\": true,\n            \"HAS_MODEL_PACKAGE\": true,\n            \"HAS_JSON_API_PACKAGE\": true,\n            \"HAS_GRAPH_PACKAGE\": true,\n            \"HAS_REQUEST_PACKAGE\": false,\n            \"HAS_COMPAT_PACKAGE\": true,\n            \"HAS_TRACKING_PACKAGE\": true,\n            \"HAS_ADAPTER_PACKAGE\": false,\n            \"HAS_SERIALIZER_PACKAGE\": false\n          },\n          \"env\": {\n            \"TESTING\": true,\n            \"PRODUCTION\": false,\n            \"DEBUG\": true\n          }\n        },\n        \"/home/ag/dev/universlogique/node_modules/@ember-data/request\": {\n          \"compatWith\": null,\n          \"debug\": {\n            \"LOG_PAYLOADS\": false,\n            \"LOG_OPERATIONS\": false,\n            \"LOG_MUTATIONS\": false,\n            \"LOG_NOTIFICATIONS\": false,\n            \"LOG_REQUESTS\": false,\n            \"LOG_REQUEST_STATUS\": false,\n            \"LOG_IDENTIFIERS\": false,\n            \"LOG_GRAPH\": false,\n            \"LOG_INSTANCE_CACHE\": false\n          },\n          \"deprecations\": {\n            \"DEPRECATE_CATCH_ALL\": true,\n            \"DEPRECATE_3_12\": true,\n            \"DEPRECATE_NON_STRICT_TYPES\": true,\n            \"DEPRECATE_NON_STRICT_ID\": true,\n            \"DEPRECATE_COMPUTED_CHAINS\": true,\n            \"DEPRECATE_LEGACY_IMPORTS\": true,\n            \"DEPRECATE_NON_UNIQUE_PAYLOADS\": true,\n            \"DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE\": true,\n            \"DEPRECATE_MANY_ARRAY_DUPLICATES\": true\n          },\n          \"features\": {\n            \"SAMPLE_FEATURE_FLAG\": false\n          },\n          \"includeDataAdapter\": false,\n          \"packages\": {\n            \"HAS_EMBER_DATA_PACKAGE\": false,\n            \"HAS_STORE_PACKAGE\": false,\n            \"HAS_MODEL_PACKAGE\": false,\n            \"HAS_JSON_API_PACKAGE\": false,\n            \"HAS_GRAPH_PACKAGE\": false,\n            \"HAS_REQUEST_PACKAGE\": true,\n            \"HAS_COMPAT_PACKAGE\": false,\n            \"HAS_TRACKING_PACKAGE\": false,\n            \"HAS_ADAPTER_PACKAGE\": false,\n            \"HAS_SERIALIZER_PACKAGE\": false\n          },\n          \"env\": {\n            \"TESTING\": true,\n            \"PRODUCTION\": false,\n            \"DEBUG\": true\n          }\n        },\n        \"/home/ag/dev/universlogique/node_modules/@ember-data/serializer\": {\n          \"compatWith\": null,\n          \"debug\": {\n            \"LOG_PAYLOADS\": false,\n            \"LOG_OPERATIONS\": false,\n            \"LOG_MUTATIONS\": false,\n            \"LOG_NOTIFICATIONS\": false,\n            \"LOG_REQUESTS\": false,\n            \"LOG_REQUEST_STATUS\": false,\n            \"LOG_IDENTIFIERS\": false,\n            \"LOG_GRAPH\": false,\n            \"LOG_INSTANCE_CACHE\": false\n          },\n          \"deprecations\": {\n            \"DEPRECATE_CATCH_ALL\": true,\n            \"DEPRECATE_3_12\": true,\n            \"DEPRECATE_NON_STRICT_TYPES\": true,\n            \"DEPRECATE_NON_STRICT_ID\": true,\n            \"DEPRECATE_COMPUTED_CHAINS\": true,\n            \"DEPRECATE_LEGACY_IMPORTS\": true,\n            \"DEPRECATE_NON_UNIQUE_PAYLOADS\": true,\n            \"DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE\": true,\n            \"DEPRECATE_MANY_ARRAY_DUPLICATES\": true\n          },\n          \"features\": {\n            \"SAMPLE_FEATURE_FLAG\": false\n          },\n          \"includeDataAdapter\": false,\n          \"packages\": {\n            \"HAS_EMBER_DATA_PACKAGE\": false,\n            \"HAS_STORE_PACKAGE\": false,\n            \"HAS_MODEL_PACKAGE\": false,\n            \"HAS_JSON_API_PACKAGE\": false,\n            \"HAS_GRAPH_PACKAGE\": false,\n            \"HAS_REQUEST_PACKAGE\": false,\n            \"HAS_COMPAT_PACKAGE\": false,\n            \"HAS_TRACKING_PACKAGE\": false,\n            \"HAS_ADAPTER_PACKAGE\": false,\n            \"HAS_SERIALIZER_PACKAGE\": true\n          },\n          \"env\": {\n            \"TESTING\": true,\n            \"PRODUCTION\": false,\n            \"DEBUG\": true\n          }\n        },\n        \"/home/ag/dev/universlogique/node_modules/@ember-data/store\": {\n          \"compatWith\": null,\n          \"debug\": {\n            \"LOG_PAYLOADS\": false,\n            \"LOG_OPERATIONS\": false,\n            \"LOG_MUTATIONS\": false,\n            \"LOG_NOTIFICATIONS\": false,\n            \"LOG_REQUESTS\": false,\n            \"LOG_REQUEST_STATUS\": false,\n            \"LOG_IDENTIFIERS\": false,\n            \"LOG_GRAPH\": false,\n            \"LOG_INSTANCE_CACHE\": false\n          },\n          \"deprecations\": {\n            \"DEPRECATE_CATCH_ALL\": true,\n            \"DEPRECATE_3_12\": true,\n            \"DEPRECATE_NON_STRICT_TYPES\": true,\n            \"DEPRECATE_NON_STRICT_ID\": true,\n            \"DEPRECATE_COMPUTED_CHAINS\": true,\n            \"DEPRECATE_LEGACY_IMPORTS\": true,\n            \"DEPRECATE_NON_UNIQUE_PAYLOADS\": true,\n            \"DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE\": true,\n            \"DEPRECATE_MANY_ARRAY_DUPLICATES\": true\n          },\n          \"features\": {\n            \"SAMPLE_FEATURE_FLAG\": false\n          },\n          \"includeDataAdapter\": false,\n          \"packages\": {\n            \"HAS_EMBER_DATA_PACKAGE\": false,\n            \"HAS_STORE_PACKAGE\": true,\n            \"HAS_MODEL_PACKAGE\": false,\n            \"HAS_JSON_API_PACKAGE\": false,\n            \"HAS_GRAPH_PACKAGE\": false,\n            \"HAS_REQUEST_PACKAGE\": true,\n            \"HAS_COMPAT_PACKAGE\": false,\n            \"HAS_TRACKING_PACKAGE\": true,\n            \"HAS_ADAPTER_PACKAGE\": false,\n            \"HAS_SERIALIZER_PACKAGE\": false\n          },\n          \"env\": {\n            \"TESTING\": true,\n            \"PRODUCTION\": false,\n            \"DEBUG\": true\n          }\n        },\n        \"/home/ag/dev/universlogique/node_modules/@ember-data/tracking\": {\n          \"compatWith\": null,\n          \"debug\": {\n            \"LOG_PAYLOADS\": false,\n            \"LOG_OPERATIONS\": false,\n            \"LOG_MUTATIONS\": false,\n            \"LOG_NOTIFICATIONS\": false,\n            \"LOG_REQUESTS\": false,\n            \"LOG_REQUEST_STATUS\": false,\n            \"LOG_IDENTIFIERS\": false,\n            \"LOG_GRAPH\": false,\n            \"LOG_INSTANCE_CACHE\": false\n          },\n          \"deprecations\": {\n            \"DEPRECATE_CATCH_ALL\": true,\n            \"DEPRECATE_3_12\": true,\n            \"DEPRECATE_NON_STRICT_TYPES\": true,\n            \"DEPRECATE_NON_STRICT_ID\": true,\n            \"DEPRECATE_COMPUTED_CHAINS\": true,\n            \"DEPRECATE_LEGACY_IMPORTS\": true,\n            \"DEPRECATE_NON_UNIQUE_PAYLOADS\": true,\n            \"DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE\": true,\n            \"DEPRECATE_MANY_ARRAY_DUPLICATES\": true\n          },\n          \"features\": {\n            \"SAMPLE_FEATURE_FLAG\": false\n          },\n          \"includeDataAdapter\": false,\n          \"packages\": {\n            \"HAS_EMBER_DATA_PACKAGE\": false,\n            \"HAS_STORE_PACKAGE\": false,\n            \"HAS_MODEL_PACKAGE\": false,\n            \"HAS_JSON_API_PACKAGE\": false,\n            \"HAS_GRAPH_PACKAGE\": false,\n            \"HAS_REQUEST_PACKAGE\": false,\n            \"HAS_COMPAT_PACKAGE\": false,\n            \"HAS_TRACKING_PACKAGE\": true,\n            \"HAS_ADAPTER_PACKAGE\": false,\n            \"HAS_SERIALIZER_PACKAGE\": false\n          },\n          \"env\": {\n            \"TESTING\": true,\n            \"PRODUCTION\": false,\n            \"DEBUG\": true\n          }\n        },\n        \"/home/ag/dev/universlogique/node_modules/ember-data\": {\n          \"compatWith\": null,\n          \"debug\": {\n            \"LOG_PAYLOADS\": false,\n            \"LOG_OPERATIONS\": false,\n            \"LOG_MUTATIONS\": false,\n            \"LOG_NOTIFICATIONS\": false,\n            \"LOG_REQUESTS\": false,\n            \"LOG_REQUEST_STATUS\": false,\n            \"LOG_IDENTIFIERS\": false,\n            \"LOG_GRAPH\": false,\n            \"LOG_INSTANCE_CACHE\": false\n          },\n          \"deprecations\": {\n            \"DEPRECATE_CATCH_ALL\": true,\n            \"DEPRECATE_3_12\": true,\n            \"DEPRECATE_NON_STRICT_TYPES\": true,\n            \"DEPRECATE_NON_STRICT_ID\": true,\n            \"DEPRECATE_COMPUTED_CHAINS\": true,\n            \"DEPRECATE_LEGACY_IMPORTS\": true,\n            \"DEPRECATE_NON_UNIQUE_PAYLOADS\": true,\n            \"DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE\": true,\n            \"DEPRECATE_MANY_ARRAY_DUPLICATES\": true\n          },\n          \"features\": {\n            \"SAMPLE_FEATURE_FLAG\": false\n          },\n          \"includeDataAdapter\": true,\n          \"env\": {\n            \"TESTING\": true,\n            \"PRODUCTION\": false,\n            \"DEBUG\": true\n          }\n        }\n      },\n      \"global\": {\n        \"@embroider/macros\": {\n          \"isTesting\": false\n        }\n      }\n    };\n  }\n  function updaterMethods() {\n    return {\n      config,\n      getGlobalConfig,\n      setConfig(packageRoot, value) {\n        runtimeConfig.packages[packageRoot] = value;\n      },\n      setGlobalConfig(key, value) {\n        runtimeConfig.global[key] = value;\n      }\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  let updaters = typeof window !== 'undefined' ? window._embroider_macros_runtime_config : undefined;\n  if (updaters) {\n    let methods = updaterMethods();\n    for (let updater of updaters) {\n      updater(methods);\n    }\n  }\n});","define(\"@glimmer/component/-private/base-component-manager\", [\"exports\", \"@glimmer/component/-private/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = BaseComponentManager;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\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      constructor(owner) {\n        _defineProperty(this, \"capabilities\", capabilities);\n        setOwner(this, owner);\n      }\n      createComponent(ComponentClass, args) {\n        if (true /* DEBUG */) {\n          _component.ARGS_SET.set(args.named, true);\n        }\n        return new ComponentClass(getOwner(this), args.named);\n      }\n      getContext(component) {\n        return component;\n      }\n    };\n  }\n});","define(\"@glimmer/component/-private/component\", [\"exports\", \"@glimmer/component/-private/owner\", \"@glimmer/component/-private/destroyables\"], function (_exports, _owner, _destroyables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.ARGS_SET = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  // This provides a type-safe `WeakMap`: the getter and setter link the key to a\n  // specific value. This is how `WeakMap`s actually behave, but the TS type\n  // system does not (yet!) have a good way to capture that for types like\n  // `WeakMap` where the type is generic over another generic type (here, `Args`).\n\n  // SAFETY: this only holds because we *only* acces this when `DEBUG` is `true`.\n  // There is not a great way to connect that data in TS at present.\n  let ARGS_SET = _exports.ARGS_SET = void 0;\n  if (true /* DEBUG */) {\n    _exports.ARGS_SET = ARGS_SET = new WeakMap();\n  }\n\n  // --- Type utilities for component signatures --- //\n  // Type-only \"symbol\" to use with `EmptyObject` below, so that it is *not*\n  // equivalent to an empty interface.\n\n  /**\n   * This provides us a way to have a \"fallback\" which represents an empty object,\n   * without the downsides of how TS treats `{}`. Specifically: this will\n   * correctly leverage \"excess property checking\" so that, given a component\n   * which has no named args, if someone invokes it with any named args, they will\n   * get a type error.\n   *\n   * @internal This is exported so declaration emit works (if it were not emitted,\n   *   declarations which fall back to it would not work). It is *not* intended for\n   *   public usage, and the specific mechanics it uses may change at any time.\n   *   The location of this export *is* part of the public API, because moving it\n   *   will break existing declarations, but is not legal for end users to import\n   *   themselves, so ***DO NOT RELY ON IT***.\n   */\n\n  /** Given a signature `S`, get back the `Args` type. */\n\n  /**\n   * Given any allowed shorthand form of a signature, desugars it to its full\n   * expanded type.\n   *\n   * @internal This is only exported so we can avoid duplicating it in\n   *   [Glint](https://github.com/typed-ember/glint) or other such tooling. It is\n   *   *not* intended for public usage, and the specific mechanics it uses may\n   *   change at any time. Although the signature produced by is part of Glimmer's\n   *   public API the existence and mechanics of this specific symbol are *not*,\n   *   so ***DO NOT RELY ON IT***.\n   */\n  // The conditional type here is because TS applies conditional types\n  // distributively. This means that for union types, checks like `keyof T` get\n  // all the keys from all elements of the union, instead of ending up as `never`\n  // and then always falling into the `Signature` path instead of falling back to\n  // the legacy args handling path.\n\n  /**\n   * @internal we use this type for convenience internally; inference means users\n   *   should not normally need to name it\n   */\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  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      /**\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      _defineProperty(this, \"args\", void 0);\n      if (true /* DEBUG */ && !(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      this.args = args;\n      (0, _owner.setOwner)(this, owner);\n    }\n    get isDestroying() {\n      return (0, _destroyables.isDestroying)(this);\n    }\n    get isDestroyed() {\n      return (0, _destroyables.isDestroyed)(this);\n    }\n\n    /**\n     * Called before the component has been removed from the DOM.\n     */\n    willDestroy() {}\n  }\n  _exports.default = BaseComponent;\n});","define(\"@glimmer/component/-private/destroyables\", [\"exports\", \"ember\"], function (_exports, _ember) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isDestroying = _exports.isDestroyed = void 0;\n  const isDestroying = _exports.isDestroying = _ember.default._isDestroying;\n  const isDestroyed = _exports.isDestroyed = _ember.default._isDestroyed;\n});","define(\"@glimmer/component/-private/ember-component-manager\", [\"exports\", \"ember\", \"@ember/object\", \"@ember/application\", \"@ember/component\", \"@ember/runloop\", \"@glimmer/component/-private/base-component-manager\", \"@glimmer/component/-private/destroyables\"], function (_exports, _ember, _object, _application, _component, _runloop, _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 // @ts-ignore\n  // @ts-ignore\n  ? (0, _component.capabilities)('3.13', {\n    destructor: true,\n    asyncLifecycleCallbacks: false,\n    updateHook: false\n  }) : (0, _component.capabilities)('3.4', {\n    destructor: true,\n    asyncLifecycleCallbacks: false\n  });\n  const scheduledDestroyComponent = true ? undefined : (component, meta) => {\n    if (component.isDestroyed) {\n      return;\n    }\n    _ember.default.destroy(component);\n    meta.setSourceDestroyed();\n    setDestroyed(component);\n  };\n  const destroy = true ? _ember.default.destroy : component => {\n    if (component.isDestroying) {\n      return;\n    }\n    let meta = _ember.default.meta(component);\n    meta.setSourceDestroying();\n    setDestroying(component);\n    (0, _runloop.schedule)('actions', component, component.willDestroy);\n    (0, _runloop.schedule)('destroy', void 0, scheduledDestroyComponent, component, meta);\n  };\n  const registerDestructor = true ? _ember.default._registerDestructor : true ? _ember.default.__loader.require('@glimmer/runtime').registerDestructor : undefined;\n\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  class EmberGlimmerComponentManager extends (0, _baseComponentManager.default)(_application.setOwner, _application.getOwner, CAPABILITIES) {\n    createComponent(ComponentClass, args) {\n      const component = super.createComponent(ComponentClass, args);\n      if (true) {\n        registerDestructor(component, () => {\n          component.willDestroy();\n        });\n      }\n      return component;\n    }\n    destroyComponent(component) {\n      destroy(component);\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      if (true /* DEBUG */) {\n        argSnapshot = Object.freeze(argSnapshot);\n      }\n      (0, _object.set)(component, 'args', argSnapshot);\n    };\n  }\n  var _default = _exports.default = EmberGlimmerComponentManager;\n});","define(\"@glimmer/component/-private/owner\", [\"exports\", \"@ember/application\"], function (_exports, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"setOwner\", {\n    enumerable: true,\n    get: function () {\n      return _application.setOwner;\n    }\n  });\n});","define(\"@glimmer/component/index\", [\"exports\", \"@ember/component\", \"@glimmer/component/-private/ember-component-manager\", \"@glimmer/component/-private/component\"], function (_exports, _component, _emberComponentManager, _component2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // Hax because the old version of `@types/ember__component` the `1.x` branch\n  // uses does not provide any types for `setComponentManager` *and* because we\n  // are using a very old version of `setComponentManager` for versions before\n  // Ember 3.8.\n\n  let GlimmerComponent = _component2.default;\n  if (true /* DEBUG */) {\n    // Add assertions against using Glimmer.js only APIs\n\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    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    GlimmerComponent = class GlimmerDebugComponent extends GlimmerComponent {\n      constructor(owner, args) {\n        super(owner, args);\n        if (typeof this['didInsertElement'] === 'function') {\n          throwMethodUseError('didInsertElement');\n        }\n        if (typeof this['didUpdate'] === 'function') {\n          throwMethodUseError('didUpdate');\n        }\n      }\n    };\n    let proto = GlimmerComponent.prototype;\n    function defineErrorProp(proto, key, getterMethod) {\n      Object.defineProperty(proto, key, {\n        get: () => getterMethod(key),\n        set(value) {\n          Object.defineProperty(this, key, {\n            value\n          });\n        }\n      });\n    }\n\n    // Methods should still throw whenever they are accessed\n    defineErrorProp(proto, 'bounds', throwPropertyUseError);\n    defineErrorProp(proto, 'element', throwPropertyUseError);\n    defineErrorProp(proto, 'debugName', throwPropertyUseError);\n  }\n  if (true) {\n    (0, _component.setComponentManager)(owner => {\n      return new _emberComponentManager.default(owner);\n    }, GlimmerComponent);\n  } else {\n    (0, _component.setComponentManager)('glimmer', GlimmerComponent);\n  }\n  var _default = _exports.default = GlimmerComponent;\n});","define(\"@warp-drive/core-types/identifier\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.DEBUG_STALE_CACHE_OWNER = _exports.DEBUG_IDENTIFIER_BUCKET = _exports.DEBUG_CLIENT_ORIGINATED = _exports.CACHE_OWNER = void 0;\n  /**\n    @module @ember-data/store\n  */\n\n  // provided for additional debuggability\n  const DEBUG_CLIENT_ORIGINATED = _exports.DEBUG_CLIENT_ORIGINATED = Symbol('record-originated-on-client');\n  const DEBUG_IDENTIFIER_BUCKET = _exports.DEBUG_IDENTIFIER_BUCKET = Symbol('identifier-bucket');\n  const DEBUG_STALE_CACHE_OWNER = _exports.DEBUG_STALE_CACHE_OWNER = Symbol('warpDriveStaleCache');\n\n  // also present in production\n  const CACHE_OWNER = _exports.CACHE_OWNER = Symbol('warpDriveCache');\n\n  /**\n   * An Identifier specific to a record which may or may not\n   * be present in the cache.\n   *\n   * The absence of an `id` DOES NOT indicate that this\n   * Identifier is for a new client-created record as it\n   * may also indicate that it was generated for a secondary\n   * index and the primary `id` index is not yet known.\n   *\n   * @internal\n   */\n\n  /**\n   * Used when an Identifier is known to be the stable version\n   *\n   * @internal\n   */\n\n  /**\n   * Used when a StableRecordIdentifier was not created locally as part\n   * of a call to store.createRecord\n   *\n   * Distinguishing between this Identifier and one for a client created\n   * record that was created with an ID is generally speaking not possible\n   * at runtime, so anything with an ID typically narrows to this.\n   *\n   * @internal\n   */\n\n  /**\n   * Used when a StableRecordIdentifier was created locally\n   * (by a call to store.createRecord).\n   *\n   * It is possible in rare circumstances to have a StableRecordIdentifier\n   * that is not for a new record but does not have an ID. This would\n   * happen if a user intentionally created one for use with a secondary-index\n   * prior to the record having been fully loaded.\n   *\n   * @internal\n   */\n\n  /**\n   * A referentially stable object with a unique string (lid) that can be used\n   * as a reference to data in the cache.\n   *\n   * Every record instance has a unique identifier, and identifiers may refer\n   * to data that has never been loaded (for instance, in an async relationship).\n   *\n   * @class StableRecordIdentifier\n   * @public\n   */\n\n  /**\n   * A string representing a unique identity.\n   *\n   * @property {string} lid\n   * @public\n   */\n  /**\n   * the primary resource `type` or `modelName` this identity belongs to.\n   *\n   * @property {string} type\n   * @public\n   */\n  /**\n   * the primary id for the record this identity belongs to. `null`\n   * if not yet assigned an id.\n   *\n   * @property {string | null} id\n   * @public\n   */\n});","define(\"@warp-drive/core-types/index\", [], function () {\n  \"use strict\";\n});","define(\"@warp-drive/core-types/request\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.SkipCache = _exports.STRUCTURED = _exports.IS_FUTURE = _exports.EnableHydration = void 0;\n  const SkipCache = _exports.SkipCache = Symbol.for('wd:skip-cache');\n  const EnableHydration = _exports.EnableHydration = Symbol.for('wd:enable-hydration');\n  const IS_FUTURE = _exports.IS_FUTURE = Symbol('IS_FUTURE');\n  const STRUCTURED = _exports.STRUCTURED = Symbol('DOC');\n\n  /**\n   * Use these options to adjust CacheHandler behavior for a request.\n   *\n   * @typedoc\n   */\n\n  /**\n   * JavaScript's native Request class.\n   *\n   * EmberData provides our own typings due to incompleteness in the native typings.\n   *\n   * @typedoc\n   */\n\n  /**\n   * Extends JavaScript's native {@link Request} object with additional\n   * properties specific to the RequestManager's capabilities.\n   *\n   * @typedoc\n   */\n\n  /**\n   * Immutable version of {@link RequestInfo}. This is what is passed to handlers.\n   *\n   * @typedoc\n   */\n});","define(\"@warp-drive/core-types/symbols\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.RecordStore = void 0;\n  const RecordStore = _exports.RecordStore = Symbol('Store');\n});","define(\"addon-canvas/components/canvas-c\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/object\", \"addon-canvas/models/canvas2d-service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _tracking, _object, _canvas2dService, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"d-none\" aria-hidden=\"true\">\n    {{this.triggerCanvas}}\n  </div>\n  \n  <div\n    data-name=\"canvas\"\n    class={{this.canvasParams.styleClassContainer}}\n    id={{this.canvasParams.id}}\n    {{on \"click\" this.handleClick}}\n  >\n    <CanvasMenu\n      @canvasParams={{this.canvasParams}}\n      @actionToCanvas={{this.actionFromMenu}}\n      @showMenu={{this.showMenu}}\n    />\n  \n    <canvas\n      data-canvas-id={{this.canvasParams.idElementCanvas}}\n      id={{this.canvasParams.idElementCanvas}}\n      class={{this.canvasParams.styleClassCanvas}}\n      data-component-id={{this.canvasParams.componentID}}\n      width=\"0\"\n      height=\"0\"\n    >\n      <div>\n        {{tr \"Canvas not supported or disabled\"}}\n      </div>\n    </canvas>\n  \n    {{#if this.recordingInfo}}\n      <div\n        class=\"position-absolute top-0 start-1 m-4 toast-container p-3\"\n        id=\"toastPlacement\"\n      >\n        <div\n          class=\"toast fade show\"\n          role=\"alert\"\n          aria-live=\"assertive\"\n          aria-atomic=\"true\"\n        >\n          <div class=\"toast-header\">\n            {{#if this.videoUrl}}\n              <svg\n                class=\"bd-placeholder-img rounded me-2\"\n                width=\"20\"\n                height=\"20\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                aria-hidden=\"true\"\n                preserveAspectRatio=\"xMidYMid slice\"\n                focusable=\"false\"\n              ><rect width=\"100%\" height=\"100%\" fill=\"#007aff\"></rect></svg>\n            {{else}}\n              <svg\n                class=\"bd-placeholder-img rounded me-2\"\n                width=\"20\"\n                height=\"20\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                aria-hidden=\"true\"\n                preserveAspectRatio=\"xMidYMid slice\"\n                focusable=\"false\"\n              ><rect width=\"100%\" height=\"100%\" fill=\"red\"></rect></svg>\n            {{/if}}\n            <strong class=\"me-auto\">{{this.recordingInfo}}</strong>\n            <button\n              type=\"button\"\n              class=\"btn-close\"\n              data-bs-dismiss=\"toast\"\n              aria-label=\"Close\"\n            ></button>\n          </div>\n          {{#if this.videoUrl}}\n            <div class=\"toast-body\">\n              <span class=\"\">\n                <a\n                  id=\"video-link\"\n                  target=\"_blank\"\n                  class=\"btn btn-secondary\"\n                  rel=\"noopener noreferrer\"\n                  href=\"{{this.videoUrl}}\"\n                >\n                  <span>\n                    WEBM\n                  </span>\n                </a>\n              </span>\n              <span class=\"\">\n                <a\n                  class=\"btn btn-secondary\"\n                  aria-hidden=\"true\"\n                  download=\"video-{{this.canvasParams.idElementCanvas}}\"\n                  target=\"_blank\"\n                  rel=\"noopener noreferrer\"\n                  href=\"{{this.videoUrl}}\"\n                >\n                  <span>\n                    DL\n                  </span>\n                </a></span>\n            </div>\n          {{/if}}\n        </div>\n      </div>\n    {{/if}}\n  \n    <canvas\n      class=\"d-none\"\n      aria-hidden=\"true\"\n      data-name=\"off-screen-canvas\"\n      id={{this.canvasParams.idElementCanvasOffscreen}}\n      width=\"0\"\n      height=\"0\"\n      data-component-id={{this.canvasParams.componentID}}\n    >\n    </canvas>\n  \n    <canvas\n      class=\"d-none\"\n      data-name=\"process-canvas\"\n      id={{this.canvasParams.idElementProcessCanvas}}\n      width=\"0\"\n      height=\"0\"\n      aria-hidden=\"true\"\n    >\n    </canvas>\n  </div>\n  */\n  {\n    \"id\": \"Xgt6hgIS\",\n    \"block\": \"[[[10,0],[14,0,\\\"d-none\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n  \\\"],[1,[30,0,[\\\"triggerCanvas\\\"]]],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[11,0],[24,\\\"data-name\\\",\\\"canvas\\\"],[16,0,[30,0,[\\\"canvasParams\\\",\\\"styleClassContainer\\\"]]],[16,1,[30,0,[\\\"canvasParams\\\",\\\"id\\\"]]],[4,[38,1],[\\\"click\\\",[30,0,[\\\"handleClick\\\"]]],null],[12],[1,\\\"\\\\n  \\\"],[8,[39,2],null,[[\\\"@canvasParams\\\",\\\"@actionToCanvas\\\",\\\"@showMenu\\\"],[[30,0,[\\\"canvasParams\\\"]],[30,0,[\\\"actionFromMenu\\\"]],[30,0,[\\\"showMenu\\\"]]]],null],[1,\\\"\\\\n\\\\n  \\\"],[10,\\\"canvas\\\"],[15,\\\"data-canvas-id\\\",[30,0,[\\\"canvasParams\\\",\\\"idElementCanvas\\\"]]],[15,1,[30,0,[\\\"canvasParams\\\",\\\"idElementCanvas\\\"]]],[15,0,[30,0,[\\\"canvasParams\\\",\\\"styleClassCanvas\\\"]]],[15,\\\"data-component-id\\\",[30,0,[\\\"canvasParams\\\",\\\"componentID\\\"]]],[14,\\\"width\\\",\\\"0\\\"],[14,\\\"height\\\",\\\"0\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[12],[1,\\\"\\\\n      \\\"],[1,[28,[35,4],[\\\"Canvas not supported or disabled\\\"],null]],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"recordingInfo\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"position-absolute top-0 start-1 m-4 toast-container p-3\\\"],[14,1,\\\"toastPlacement\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"toast fade show\\\"],[14,\\\"role\\\",\\\"alert\\\"],[14,\\\"aria-live\\\",\\\"assertive\\\"],[14,\\\"aria-atomic\\\",\\\"true\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"toast-header\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"videoUrl\\\"]],[[[1,\\\"            \\\"],[10,\\\"svg\\\"],[14,0,\\\"bd-placeholder-img rounded me-2\\\"],[14,\\\"width\\\",\\\"20\\\"],[14,\\\"height\\\",\\\"20\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[14,\\\"preserveAspectRatio\\\",\\\"xMidYMid slice\\\"],[14,\\\"focusable\\\",\\\"false\\\"],[12],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"100%\\\"],[14,\\\"height\\\",\\\"100%\\\"],[14,\\\"fill\\\",\\\"#007aff\\\"],[12],[13],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"            \\\"],[10,\\\"svg\\\"],[14,0,\\\"bd-placeholder-img rounded me-2\\\"],[14,\\\"width\\\",\\\"20\\\"],[14,\\\"height\\\",\\\"20\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[14,\\\"preserveAspectRatio\\\",\\\"xMidYMid slice\\\"],[14,\\\"focusable\\\",\\\"false\\\"],[12],[10,\\\"rect\\\"],[14,\\\"width\\\",\\\"100%\\\"],[14,\\\"height\\\",\\\"100%\\\"],[14,\\\"fill\\\",\\\"red\\\"],[12],[13],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"          \\\"],[10,\\\"strong\\\"],[14,0,\\\"me-auto\\\"],[12],[1,[30,0,[\\\"recordingInfo\\\"]]],[13],[1,\\\"\\\\n          \\\"],[10,\\\"button\\\"],[14,0,\\\"btn-close\\\"],[14,\\\"data-bs-dismiss\\\",\\\"toast\\\"],[14,\\\"aria-label\\\",\\\"Close\\\"],[14,4,\\\"button\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"videoUrl\\\"]],[[[1,\\\"          \\\"],[10,0],[14,0,\\\"toast-body\\\"],[12],[1,\\\"\\\\n            \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n              \\\"],[10,3],[14,1,\\\"video-link\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[14,0,\\\"btn btn-secondary\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[15,6,[29,[[30,0,[\\\"videoUrl\\\"]]]]],[12],[1,\\\"\\\\n                \\\"],[10,1],[12],[1,\\\"\\\\n                  WEBM\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,1],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n              \\\"],[10,3],[14,0,\\\"btn btn-secondary\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[15,\\\"download\\\",[29,[\\\"video-\\\",[30,0,[\\\"canvasParams\\\",\\\"idElementCanvas\\\"]]]]],[14,\\\"target\\\",\\\"_blank\\\"],[14,\\\"rel\\\",\\\"noopener noreferrer\\\"],[15,6,[29,[[30,0,[\\\"videoUrl\\\"]]]]],[12],[1,\\\"\\\\n                \\\"],[10,1],[12],[1,\\\"\\\\n                  DL\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n  \\\"],[10,\\\"canvas\\\"],[14,0,\\\"d-none\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[14,\\\"data-name\\\",\\\"off-screen-canvas\\\"],[15,1,[30,0,[\\\"canvasParams\\\",\\\"idElementCanvasOffscreen\\\"]]],[14,\\\"width\\\",\\\"0\\\"],[14,\\\"height\\\",\\\"0\\\"],[15,\\\"data-component-id\\\",[30,0,[\\\"canvasParams\\\",\\\"componentID\\\"]]],[12],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,\\\"canvas\\\"],[14,0,\\\"d-none\\\"],[14,\\\"data-name\\\",\\\"process-canvas\\\"],[15,1,[30,0,[\\\"canvasParams\\\",\\\"idElementProcessCanvas\\\"]]],[14,\\\"width\\\",\\\"0\\\"],[14,\\\"height\\\",\\\"0\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"div\\\",\\\"on\\\",\\\"canvas-menu\\\",\\\"canvas\\\",\\\"tr\\\",\\\"if\\\",\\\"svg\\\",\\\"rect\\\",\\\"strong\\\",\\\"button\\\",\\\"span\\\",\\\"a\\\"]]\",\n    \"moduleName\": \"addon-canvas/components/canvas-c.hbs\",\n    \"isStrictMode\": false\n  });\n  let CanvasC = _exports.default = (_class = class CanvasC extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _defineProperty(this, \"clickCount\", 0);\n      _defineProperty(this, \"canvasParams\", null);\n      _defineProperty(this, \"canvasService\", null);\n      _defineProperty(this, \"videoReadyHandler\", null);\n      _initializerDefineProperty(this, \"videoUrl\", _descriptor, this);\n      _initializerDefineProperty(this, \"videoDownloadUrl\", _descriptor2, this);\n      _initializerDefineProperty(this, \"recordingInfo\", _descriptor3, this);\n      _initializerDefineProperty(this, \"actionsHandler\", _descriptor4, this);\n      _initializerDefineProperty(this, \"showMenu\", _descriptor5, this);\n      this.videoUrl = \"\";\n      this.recordingInfo = \"\";\n      this.canvasParams = args.canvasParams;\n      this.videoReadyHandler = event => {\n        this.handleVideoReady(event);\n      };\n      this.canvasService = new _canvas2dService.default();\n    }\n    willDestroy() {\n      super.willDestroy(...arguments);\n      if (this.canvasService) {\n        this.canvasService.clearRecorder();\n        this.canvasService = null;\n      }\n    }\n    get triggerCanvas() {\n      // update from parent\n      if (this.canvasService.canvasElement == null) {\n        this.initCanvas();\n      }\n      if (this.canvasParams.action == \"init_record\") {\n        this.canvasService.initRecord(this.videoReadyHandler, this.canvasParams.id);\n        this.startVideo();\n      } else if (this.canvasParams.action == \"start_video\") {\n        this.startVideo();\n      } else if (this.canvasParams.action == \"add_img\" && !this.canvasParams.enable3D) {\n        this.addImgForVideo();\n      }\n      return this.args.triggerCanvas;\n    }\n    actionFromMenu(data) {\n      if (data) {\n        if (data.actionName == \"hideMenu\") {\n          this.hideMenu();\n        } else {\n          this.args.actionToComponent(data);\n        }\n      }\n    }\n    changeCanvasData(data) {\n      this.canvasParams = data;\n    }\n    handleClick(event) {\n      if (event.target !== null && event.target.nodeName === this.canvasParams.nodeName && !this.isFullScreen && this.canvasParams.enableMenu) {\n        // click on canvas\n        this.clickCount++;\n        if (this.clickCount === 1) {\n          this.updateShowMenu(false);\n        } else if (this.clickCount === 2) {\n          this.clickCount = 0;\n          const x = event.offsetX;\n          const y = event.offsetY;\n          this.canvasParams.newData = true;\n          this.canvasParams.openMenu = true;\n          this.canvasParams.menuPosition = [x - 20, y - 50];\n          this.changeCanvasData(this.canvasParams);\n          this.updateShowMenu(true);\n          event.preventDefault();\n          return false;\n        }\n      }\n    }\n    updateShowMenu(newValue) {\n      // update for child component (canvas-menu)\n      this.showMenu = newValue;\n    }\n    hideMenu() {\n      this.clickCount = 0;\n      this.updateShowMenu(false);\n    }\n    openMenu() {\n      this.updateShowMenu(true);\n    }\n    initCanvas() {\n      this.canvasService.setParams(this.canvasParams);\n      this.canvasService.idElementCanvas = this.canvasParams.idElementCanvas;\n      this.canvasService.drawingWidth = this.canvasParams.drawingWidth;\n      this.canvasService.drawingHeight = this.canvasParams.drawingHeight;\n      this.canvasService.setCanvasElement(this.canvasParams.idElementCanvas);\n      this.canvasService.setContext();\n    }\n    startVideo() {\n      if (this.canvasService.isRecorderActive()) {\n        this.updateRecordingInfo(\"[...]\");\n      } else {\n        this.updateRecordingInfo(\"[REC]\");\n        if (this.canvasParams.enable3D) {\n          this.canvasService.setCanvas3D(this.canvasParams);\n        }\n      }\n      this.canvasService.toggleVideo(this.videoReadyHandler, this.canvasParams.id);\n    }\n    updateVideoUrl(value) {\n      this.videoUrl = value;\n    }\n    updateRecordingInfo(value) {\n      this.recordingInfo = value;\n    }\n    updateVideoDownloadUrl(value) {\n      this.videoUrl = value;\n    }\n    setVideoListener() {\n      return this.canvasService.setVideoListener(this.videoReadyHandler, this.canvasParams.id);\n    }\n    handleVideoReady(event) {\n      if (event.detail.videoUrl !== \"\") {\n        this.updateVideoUrl(event.detail.videoUrl);\n        this.updateRecordingInfo(\"Ready\");\n      }\n    }\n    addImgForVideo() {\n      // save img\n      this.canvasService.addUrlImg();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"videoUrl\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"videoDownloadUrl\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"recordingInfo\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"actionsHandler\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"showMenu\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"actionFromMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"actionFromMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"changeCanvasData\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changeCanvasData\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClick\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateShowMenu\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateShowMenu\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateVideoUrl\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateVideoUrl\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateRecordingInfo\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateRecordingInfo\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateVideoDownloadUrl\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateVideoDownloadUrl\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, CanvasC);\n});","define(\"addon-canvas/components/drawing-component\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\", \"addon-canvas/models/canvas2d-service\", \"addon-canvas/services/animation-service\", \"addon-canvas/services/colors-service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _object, _tracking, _canvas2dService, _animationService, _colorsService, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n    data-name=\"drawing-component\"\n    data-model-id={{this.modelID}}\n    data-component-id={{this.componentID}}\n    {{did-insert this.notifyReady}}\n  >\n    <div data-name=\"drawing-component-div\" data-component-id={{this.componentID}}>\n      <CanvasC\n        @actionToComponent={{this.actionFromCanvas}}\n        @triggerCanvas={{this.triggerCanvas}}\n        @canvasParams={{this.canvasParams}}\n      />\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"X/sleS5l\",\n    \"block\": \"[[[11,0],[24,\\\"data-name\\\",\\\"drawing-component\\\"],[16,\\\"data-model-id\\\",[30,0,[\\\"modelID\\\"]]],[16,\\\"data-component-id\\\",[30,0,[\\\"componentID\\\"]]],[4,[38,1],[[30,0,[\\\"notifyReady\\\"]]],null],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,\\\"data-name\\\",\\\"drawing-component-div\\\"],[15,\\\"data-component-id\\\",[30,0,[\\\"componentID\\\"]]],[12],[1,\\\"\\\\n    \\\"],[8,[39,2],null,[[\\\"@actionToComponent\\\",\\\"@triggerCanvas\\\",\\\"@canvasParams\\\"],[[30,0,[\\\"actionFromCanvas\\\"]],[30,0,[\\\"triggerCanvas\\\"]],[30,0,[\\\"canvasParams\\\"]]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"div\\\",\\\"did-insert\\\",\\\"canvas-c\\\"]]\",\n    \"moduleName\": \"addon-canvas/components/drawing-component.hbs\",\n    \"isStrictMode\": false\n  });\n  let DrawingComponent = _exports.default = (_class = class DrawingComponent extends _component2.default {\n    actionFromCanvas(data) {\n      if (data) {\n        this.applyAction(data[\"actionName\"], data);\n      }\n    }\n    updateTriggerCanvas(newValue) {\n      this.triggerCanvas = newValue;\n    }\n    receiveAction(data) {\n      if (data) {\n        this.applyAction(data[\"actionName\"], data);\n      }\n    }\n    notifyReady() {\n      if (this.args != null && typeof this.args == \"object\" && typeof this.args.componentData == \"object\") {\n        this.localModelID = this.args.componentData.id;\n      }\n      this.initRender();\n    }\n    get modelID() {\n      if (this.args && this.args != null) {\n        if (this.args.componentData) {\n          this.dataSet = this.args.componentData;\n          this.localModelID = this.args.modelID;\n          this.initRender();\n        }\n        return this.args.modelID;\n      }\n      return \"\";\n    }\n    get componentData() {\n      return this.args.componentData;\n    }\n    /*\n    @action handleChildAction() {\n    \t// Handle the action from the child component\n    \t//console.info('Action received from child component');\n    }*/\n\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"triggerCanvas\", _descriptor, this);\n      _initializerDefineProperty(this, \"localModelID\", _descriptor2, this);\n      _initializerDefineProperty(this, \"actionsHandler\", _descriptor3, this);\n      _initializerDefineProperty(this, \"navigationService\", _descriptor4, this);\n      _initializerDefineProperty(this, \"router\", _descriptor5, this);\n      _defineProperty(this, \"colorsService\", null);\n      _defineProperty(this, \"componentID\", \"componentID-1\");\n      _defineProperty(this, \"id\", \"\");\n      _defineProperty(this, \"classNameBindings\", [\"class\"]);\n      _defineProperty(this, \"class\", \"bg-black\");\n      _defineProperty(this, \"indice\", 0);\n      _defineProperty(this, \"intervalID\", 0);\n      _defineProperty(this, \"width\", 0);\n      _defineProperty(this, \"height\", 0);\n      _defineProperty(this, \"marginAutoComponent\", false);\n      _defineProperty(this, \"portraitMode\", \"window\");\n      _defineProperty(this, \"heightResizeMode\", \"window\");\n      _defineProperty(this, \"widthLimitMode\", \"\");\n      _defineProperty(this, \"responsive\", true);\n      _defineProperty(this, \"isFullScreen\", false);\n      _defineProperty(this, \"fullscreenEnabled\", true);\n      _defineProperty(this, \"animationOn\", false);\n      _defineProperty(this, \"animationDisabled\", false);\n      _defineProperty(this, \"animationAuto\", true);\n      _defineProperty(this, \"withAnimation\", false);\n      _defineProperty(this, \"disableAnimation\", false);\n      _defineProperty(this, \"offScreen\", false);\n      _defineProperty(this, \"type\", 0);\n      _defineProperty(this, \"data\", null);\n      _defineProperty(this, \"fps\", 1);\n      _defineProperty(this, \"canvasService\", null);\n      _defineProperty(this, \"canvasParams\", null);\n      _defineProperty(this, \"params\", null);\n      _defineProperty(this, \"newDisplay\", \"\");\n      _defineProperty(this, \"animationService\", null);\n      _defineProperty(this, \"componentActionHandler\", null);\n      _defineProperty(this, \"applyActionHandler\", null);\n      _defineProperty(this, \"clickCount\", 0);\n      _defineProperty(this, \"indexImg\", 0);\n      _defineProperty(this, \"progress\", 0);\n      _defineProperty(this, \"urlCanvas\", \"\");\n      _defineProperty(this, \"rotationY\", 0);\n      _defineProperty(this, \"recording\", false);\n      _defineProperty(this, \"rendering3d\", false);\n      _defineProperty(this, \"initParams\", null);\n      _defineProperty(this, \"savedArgs\", null);\n      this.dataSet = [];\n      this.upParams = [];\n      this.canvasParams = [];\n      this.params = [];\n      this.temperature = 6;\n      this.savedArgs = args;\n      this.colorsService = new _colorsService.default();\n\n      // copy input data\n      if (args.componentData) {\n        this.dataSet = args.componentData;\n      }\n      if (typeof args.componentID === \"string\") {\n        this.componentID = args.componentID;\n      } else {\n        this.componentID = `componentID-${this.generateUUID()}`;\n      }\n      this.initParams = [];\n\n      // copy component args\n      for (const [key, value] of Object.entries(args)) {\n        this.dataSet[key] = value;\n        this.params[key] = value;\n        this.initParams[key] = value;\n      }\n      this.initParams.initialized = true;\n      this.setImgProperties();\n      if (typeof args.portraitMode === \"string\") {\n        this.portraitMode = args.portraitMode;\n      }\n      if (typeof args.widthLimitMode === \"string\") {\n        this.widthLimitMode = args.widthLimitMode;\n      }\n      if (typeof args.heightResizeMode === \"string\") {\n        this.heightResizeMode = args.heightResizeMode;\n      }\n      if (typeof args.marginAutoComponent === \"boolean\") {\n        this.marginAutoComponent = args.marginAutoComponent;\n      }\n      if (typeof args.width === \"number\") {\n        this.width = args.width;\n      }\n      if (typeof args.height === \"number\") {\n        this.height = args.height;\n      }\n      if (typeof args.disableAnimation === \"boolean\") {\n        this.disableAnimation = args.disableAnimation;\n      }\n      if (typeof args.animationAuto === \"boolean\") {\n        this.animationAuto = args.animationAuto;\n      }\n      if (typeof args.animationDisabled === \"boolean\") {\n        this.animationDisabled = args.animationDisabled;\n      }\n      if (typeof args.fullscreenEnabled === \"boolean\") {\n        this.fullscreenEnabled = args.fullscreenEnabled;\n      }\n      this.canvasService = new _canvas2dService.default();\n\n      // set id\n      this.id = `${this.id}-${this.generateUUID()}`;\n      if (this.dataSet.longId) {\n        this.params.longId = this.dataSet.longId;\n      }\n      if (this.params.longId) {\n        this.uniqueID = this.cleanId(`${this.params.longId}-${new Date().toISOString()}`);\n      } else {\n        this.uniqueID = this.cleanId(new Date().toISOString());\n      }\n      this.canvasParams = {\n        id: this.id,\n        checksum: this.id,\n        idElementCanvas: `${this.generateUUID()}-${this.id}-${this.uniqueID}`,\n        idElementMenu: `${this.generateUUID()}-${this.id}-${this.uniqueID}`,\n        idContainerCanvas3D: this.id + this.generateUUID(),\n        componentID: this.componentID,\n        formId: `${this.componentID}-form-component`,\n        idCanvas3D: `${this.id + this.generateUUID()}-${this.uniqueID}`,\n        idParent: this.id,\n        portraitMode: this.portraitMode,\n        widthLimitMode: this.widthLimitMode,\n        heightResizeMode: this.heightResizeMode,\n        width: this.width,\n        height: this.height,\n        responsive: this.responsive,\n        nodeName: \"CANVAS\",\n        marginAutoComponent: this.marginAutoComponent,\n        idElementCanvasOffscreen: `${this.generateUUID()}-${this.id}-offscreen`,\n        idElementProcessCanvas: `${this.generateUUID()}-${this.id}-process`,\n        enable3D: false,\n        menuPosition: [],\n        instanceId: this.generateUUID(),\n        videoUrl: \"toto\",\n        enableMenu: args.enableMenu !== false,\n        styleClassCanvas: `canvas-2d ${typeof args.styleClassCanvas == \"undefined\" ? \"\" : args.styleClassCanvas}`,\n        styleClassContainer: `canvas-container ${typeof args.styleClassContainer == \"undefined\" ? \"\" : args.styleClassContainer}`\n      };\n      this.componentActionHandler = event => {\n        this.componentAction(event.detail.actionName, event.detail);\n      };\n      this.applyActionHandler = event => {\n        this.applyAction(event.detail.actionName, event.detail);\n      };\n      this.handleKeys();\n    }\n    newRender() {\n      if (this.canvasParams && this.canvasParams.id) {\n        //console.debug(\"new render\");\n        this.params = this.dataSet;\n        this.initRender();\n      }\n    }\n    initRender() {\n      //console.debug(\"render \" + this.componentID);\n      this.clear();\n      if (this.canvasParams && document.getElementById(this.canvasParams.id)) {\n        this.newDisplay = \"\";\n        this.indice = 0;\n        this.initComponent();\n\n        // init listeners\n        this.actionsHandler.eventTarget.addEventListener(`componentAction${this.componentID}`, this.componentActionHandler);\n        this.actionsHandler.eventTarget.addEventListener(`applyAction${this.id}`, this.applyActionHandler);\n        if (this.componentID !== \"\") {\n          this.actionsHandler.componentData = this.canvasParams;\n        }\n        if (this.fullscreenEnabled) {\n          this.navigationService.initFullScreen(this.canvasParams.idElementCanvas);\n        }\n        this.setImgProperties();\n        if (this.dataSet.longId) {\n          this.uniqueID = this.cleanId(`${this.dataSet.longId}-${new Date().toISOString()}`);\n        }\n        this.handleKeys();\n        this.intervalID = 0;\n        return true;\n      }\n      return false;\n    }\n    setImgProperties() {\n      if (!this.params) {\n        this.params = [];\n      }\n      this.params.imgProperties = [];\n      /*\n      this.params.imgProperties.Software = this.navigationService.config.SITE_TITLE;\n      this.params.imgProperties.Make = this.navigationService.config.SITE_TITLE;\n      this.params.imgProperties.Artist = this.navigationService.config.SITE_TITLE;\n      this.params.imgProperties.ImageDescription = this.navigationService.config.SITE_TITLE;*/\n    }\n    updateProgressBar(progress) {\n      this.navigationService.updateProgressBar(progress);\n    }\n    saveUrlImg() {\n      if (this.canvasService && this.dataSet.folder) {\n        this.urlCanvas = this.canvasService.getUrlJpeg(1);\n        localStorage.setItem(\"lastUrlCanvas\", this.urlCanvas);\n        localStorage.setItem(\"urlSection\", this.dataSet.folder);\n      }\n    }\n    displaySavedCanvas() {\n      if (this.canvasService) {\n        this.canvasService.urlImg = localStorage.getItem(\"lastUrlCanvas\");\n        if (this.canvasService.urlImg) {\n          return this.canvasService.displaySavedCanvas(true);\n        }\n      }\n      return false;\n    }\n    cleanId(id) {\n      return id.replace(/[^\\w-]/g, '').toLowerCase();\n    }\n    initComponent() {}\n    addToDocumentTitle(str) {}\n    willDestroy() {\n      super.willDestroy(...arguments);\n      this.navigationService.disableFullScreen();\n      this.resizeObserver = null;\n      if (this.animationService !== null) {\n        this.setAnimationEnd();\n        this.addMainAnimation(null);\n      }\n      this.clear();\n      this.canvasService = null;\n      this.params = null;\n      this.canvasParams = null;\n      this.animationService = null;\n    }\n    clearProgressBar() {\n      this.navigationService.updateProgressBar(-1);\n    }\n    clear() {\n      this.navigationService.updateProgressBar(-1);\n      if (this.canvasService) {\n        this.canvasService.reset();\n      }\n      this.actionsHandler.eventTarget.removeEventListener(`componentAction${this.componentID}`, this.componentActionHandler);\n      this.actionsHandler.eventTarget.removeEventListener(`applyAction${this.id}`, this.applyActionHandler);\n    }\n    componentAction(actionName, data) {\n      if (data.id) {\n        this.upParams[data.id] = data.value;\n      }\n      if (data && data.parentActionName) {\n        return this.applyAction(data.parentActionName, data);\n      }\n      if (actionName == \"toggleAnimation\") {\n        return this.toggleAnimation();\n      }\n      if (actionName == \"reload\") {\n        return this.reload();\n      }\n      if (actionName == \"change_toggle-3d\") {\n        this.rendering3d = data.value == 1;\n      }\n      return typeof actionName !== \"undefined\" && actionName !== null && typeof data == \"object\" && data != null;\n    }\n    displayGrid(color) {\n      if (this.canvasService.is3DEnabled()) {\n        return this.canvasService.canvas3d.drawService.drawCubeHelper();\n      }\n      return this.canvasService.displayGrid(color);\n    }\n    resetCanvas() {\n      this.canvasService = new _canvas2dService.default();\n    }\n    clearCanvas() {\n      this.canvasService.clear();\n      this.canvasService.clearCanvas3D();\n    }\n    initCanvas(bStopAnimations, b3D) {\n      if (typeof bStopAnimations !== \"boolean\" || bStopAnimations === true) {\n        this.setAnimationEnd();\n      }\n      this.canvasService.setParams(this.canvasParams);\n      this.canvasService.clearCanvas3D();\n      this.canvasService.showCanvas();\n      this.setInstance();\n      if (this.canvasService.initCanvas(this.id, this.canvasParams.idElementCanvas)) {\n        this.canvasService.clear();\n        this.canvasService.responsive = this.responsive;\n        this.canvasService.isFullScreen = this.isFullScreen;\n        this.canvasService.portraitMode = this.portraitMode;\n        this.canvasService.heightResizeMode = this.heightResizeMode;\n        this.canvasService.widthLimitMode = this.widthLimitMode;\n        this.canvasService.checksum = this.canvasParams.checksum;\n        this.canvasService.idElementCanvasOffscreen = this.canvasParams.idElementCanvasOffscreen;\n        this.canvasService.initDimensions(this.width, this.height, [0, 0, 0, 0]);\n        this.canvasService.fillCanvasParams(this.canvasParams);\n        this.toggleCanvas3D(b3D === true);\n        if (this.initCanvas3D()) {}\n        if (this.fullscreenEnabled === true) {\n          this.initFullScreen();\n        } else {\n          this.navigationService.disableFullScreen();\n        }\n        return true;\n      }\n      return false;\n    }\n    setInstance() {\n      this.canvasParams.instanceId = this.generateUUID();\n      this.actionsHandler.setInstance(this.canvasParams.instanceId);\n    }\n    toggleCanvas3D(b) {\n      this.canvasParams.enable3D = b;\n      return b;\n    }\n    disableCanvas3D() {\n      if (this.canvasParams.enable3D) {\n        this.canvasService.clearCanvas3D();\n        this.canvasParams.enable3D = false;\n      }\n    }\n    initCanvas3D() {\n      if (this.canvasParams.enable3D) {\n        if (this.canvasService.initCanvas3D(this.canvasParams)) {\n          this.navigationService.initFullScreen(this.canvasParams.idParent);\n          return true;\n        } else {\n          return false;\n        }\n      }\n      return true;\n    }\n    handleMouseMove(callback) {\n      const canvasElement = document.getElementById(this.canvasParams.idElementCanvas);\n      if (canvasElement) {\n        canvasElement.addEventListener(\"mousemove\", event => {\n          callback(event.offsetX, event.offsetY);\n          event.preventDefault();\n          return false;\n        });\n      }\n    }\n    handleContextMenu(callback) {\n      const canvasElement = document.getElementById(this.canvasParams.idElementCanvas);\n      if (canvasElement) {\n        canvasElement.oncontextmenu = event => {\n          callback(event.offsetX, event.offsetY);\n          event.preventDefault();\n          return false;\n        };\n        return true;\n      } else {\n        return false;\n      }\n    }\n    applyAction(actionName, data) {\n      switch (actionName) {\n        case \"toggleAnimation\":\n          return this.toggleAnimation();\n        case \"reload\":\n          return this.reloadToOrign();\n        case \"downloadJpeg\":\n          return this.downloadJpeg();\n        case \"displayGrid\":\n          return this.displayGrid([255, 255, 255]);\n        case \"downloadPng\":\n          return this.downloadPng();\n        case \"setSquareCanvas\":\n          this.setSquareCanvas();\n          return this.reload();\n        case \"setLargeCanvas\":\n          this.setLargeCanvas();\n          return this.reload();\n        case \"setLongCanvas\":\n          this.setLongCanvas();\n          return this.reload();\n        case \"fullScreen\":\n          this.navigationService.initFullScreen(this.canvasParams.idElementCanvas);\n          return this.navigationService.enterFullScreen();\n        case \"filter\":\n          return this.applyFilter(data);\n        case \"gaussian-filter\":\n          return this.applyFilter(data);\n        case \"rotation-y\":\n          this.rotationY = parseFloat(data.ry);\n          this.canvasService.gridAdapter.rotationY = this.rotationY;\n          return this.reload();\n        case \"displaySavedCanvas\":\n          return this.canvasService.displaySavedCanvas();\n        case \"displayFirstSavedCanvas\":\n          return this.canvasService.displayFirstSavedCanvas();\n        case \"toggleAutoRotate\":\n          return this.canvasService.toggleAutoRotate();\n        case \"toggleZoomIn\":\n          return this.canvasService.toggleZoomIn();\n        case \"startRecording\":\n          return this.toggleRecord();\n        case \"stopRecording\":\n          return this.toggleRecord();\n        case \"change_rotate3dX\":\n          return this.canvasService.canvas3d.setControlsPositionX(parseFloat(data.value));\n        case \"change_rotate3dY\":\n          return this.canvasService.canvas3d.setControlsPositionY(parseFloat(data.value));\n        case \"change_rotate3dZ\":\n          return this.canvasService.canvas3d.setControlsPositionZ(parseFloat(data.value));\n        case \"change_position3dX\":\n          return this.canvasService.canvas3d.rotateX(parseFloat(data.value));\n        case \"change_position3dY\":\n          return this.canvasService.canvas3d.rotateY(parseFloat(data.value));\n        case \"change_position3dZ\":\n          return this.canvasService.canvas3d.rotateZ(parseFloat(data.value));\n      }\n      return true;\n    }\n    handleKeys() {\n      onkeyup = e => {\n        if (e.target.nodeName === \"BODY\") {\n          switch (e.key) {\n            case \" \":\n              // pause\n              e.preventDefault();\n              return this.toggleAnimation();\n            case \"f\":\n              return this.navigationService.enterFullScreen();\n            case \"ArrowRight\":\n              // next page\n              return this.displayLinkedPage(`${this.componentID}-link-next`);\n            case \"ArrowLeft\":\n              // previous page\n              return this.displayLinkedPage(`${this.componentID}-link-previous`);\n            case \"r\":\n              this.toggleRecord();\n              return false;\n            default:\n              return true;\n          }\n        }\n      };\n    }\n    displayLinkedPage(link) {\n      // emulate click\n      const linkElement = document.getElementById(link);\n      if (linkElement) {\n        linkElement.click();\n      }\n      return true;\n    }\n    execDraw() {\n      this.initCanvas(true, this.rendering3d == true);\n      return this.draw();\n    }\n    reload() {\n      this.isFullScreen = this.navigationService.fullscreenService.isFullscreen();\n      if (this.animationOn || this.withAnimation === true && this.disableAnimation === false && this.animationAuto === true) {\n        this.initCanvas(true);\n        return this.startComponentAnimation();\n      } else {\n        return this.execDraw();\n      }\n    }\n    reloadToOrign() {\n      this.newDisplay = \"\";\n      this.setOriginCanvasData();\n      return this.reload();\n    }\n    render3D() {\n      return this.canvasService.canvas3d.update();\n    }\n    draw() {\n      if (this.disableAnimation === false && this.recording && !this.canvasService.is3DEnabled()) {\n        this.addImgForVideo();\n      }\n      // be redefined by children\n      return true;\n    }\n    startComponentAnimation() {\n      return this.startMainAnimation(this.fps);\n    }\n    startMainAnimation(fps_, bFirstDraw, params) {\n      if (typeof fps_ !== \"number\") {\n        fps_ = this.fps;\n      }\n      if (typeof bFirstDraw !== \"boolean\") {\n        bFirstDraw = true;\n      }\n      this.setAnimationService();\n      this.actionsHandler.toggleAnimationButton(true, this.componentID);\n      return this.startAnimation(fps_, \"animation\", bFirstDraw, params);\n    }\n    startAnimation(fps_, f, bFirstDraw, params) {\n      this.animationOn = true;\n      return this.animationService.startAnimation(fps_, f, bFirstDraw, params);\n    }\n    toggleAnimation() {\n      if (this.withAnimation) {\n        this.setAnimationService();\n        if (this.animationService.getAnimationRunning() === true) {\n          // pause\n          this.animationOn = false;\n          this.animationService.stopAnimationRunning();\n          this.actionsHandler.toggleAnimationButton(false, this.componentID);\n        } else {\n          return this.resumeAnimation();\n        }\n      }\n    }\n    resumeAnimation() {\n      if (this.animationService != null && this.disableAnimation === false && this.animationService.getAnimationRunning() === false) {\n        this.animationOn = true;\n        this.actionsHandler.toggleAnimationButton(true, this.componentID);\n        if (this.animationService.getAnimationEnd() === true) {\n          // init animation\n          return this.startComponentAnimation();\n        } else {\n          // resume animation\n          this.canvasService.urlImgDrawComplete = \"\";\n          this.animationService.setAnimationRunning(true);\n          return true;\n        }\n      }\n      return false;\n    }\n    setAnimationService() {\n      if (this.animationService === null) {\n        this.animationService = new _animationService.default();\n      }\n    }\n    setAnimationEnd() {\n      if (this.animationService !== null) {\n        this.animationService.setAnimationEnd(true);\n        this.actionsHandler.toggleAnimationButton(false, this.componentID);\n        this.animationOn = false;\n      }\n    }\n    addMainAnimation(f, fps) {\n      if (this.params.disableAnimation === true) {\n        return false;\n      }\n      this.withAnimation = true;\n      this.setAnimationService();\n      this.animationService.functions.animation = f;\n      if (typeof fps === \"number\") {\n        this.fps = fps;\n      }\n      return true;\n    }\n    startRender3DAnimation() {\n      this.setAnimationEnd();\n      if (this.canvasService.is3DEnabled()) {\n        this.addMainAnimation(() => {\n          // function to update 3D\n          return this.canvasService.canvas3d.update();\n        }, 25);\n        return this.startMainAnimation();\n      }\n      return false;\n    }\n    update3d() {\n      return this.canvasService.canvas3d.update();\n    }\n    applyFilter(data) {\n      this.setAnimationEnd();\n      return this.canvasService.applyFilter(data, this.colorsService);\n    }\n    downloadJpeg() {\n      this.canvasService.downloadUrlImgs(this.uniqueID);\n      return this.canvasService.download(\"jpg\", `img-${this.uniqueID}`, 1, this.params.imgProperties);\n    }\n    downloadPng() {\n      return this.canvasService.download(\"png\", `img-${this.uniqueID}`, 1, this.params.imgProperties);\n    }\n    setSquareCanvas() {\n      return this.full(1);\n    }\n    setLongCanvas() {\n      return this.displayLongCanvas(2600 / 1080);\n    }\n    displayLongCanvas(ratio) {\n      if (this.isFullScreen) {\n        return false;\n      }\n      this.setOriginCanvasData();\n      if (this.newDisplay === \"long-canvas\") {\n        // cancel\n        this.newDisplay = \"\";\n      } else {\n        // apply\n        this.height = this.canvasService.canvasWidth * ratio;\n        this.widthLimitMode = \"\";\n        this.newDisplay = \"long-canvas\";\n        this.portraitMode = \"\";\n      }\n      return true;\n    }\n    setLargeCanvas() {\n      if (this.isFullScreen) {\n        return false;\n      }\n      this.setOriginCanvasData();\n      if (this.newDisplay === \"square-canvas\") {\n        // cancel\n        this.newDisplay = \"\";\n      } else if (this.canvasService.getParentWidth() * 2 > this.canvasService.getWindowWidth()) {\n        // apply\n        this.responsive = false;\n        // square\n        this.width = this.canvasService.getWindowWidth() * 1;\n        this.height = this.canvasService.canvasHeight;\n        //this.widthLimitMode = \"\";\n        this.newDisplay = \"square-canvas\";\n      }\n\n      // hide form\n      this.actionsHandler.toggleHTMLElement(this.canvasParams.formId, this.newDisplay !== \"\");\n      return true;\n    }\n    full(multiple) {\n      if (this.isFullScreen) {\n        return false;\n      }\n      this.setOriginCanvasData();\n      if (this.newDisplay === \"square-canvas\") {\n        // cancel\n        this.newDisplay = \"\";\n      } else if (this.canvasService.getParentWidth() * 2 > this.canvasService.getWindowWidth()) {\n        // apply\n        this.responsive = false;\n        // square\n        this.width = this.canvasService.getWindowWidth() * multiple;\n        this.height = this.canvasService.getWindowWidth() * multiple;\n        this.widthLimitMode = \"\";\n        this.newDisplay = \"square-canvas\";\n      }\n\n      // hide form\n      this.actionsHandler.toggleHTMLElement(this.canvasParams.formId, this.newDisplay !== \"\");\n      return true;\n    }\n    getIndexColorPts(pts, method, max) {\n      const ptsToDraw = [];\n      this.canvasService.gridAdapter.incrementPtsInArrGrid(pts, 1, max);\n      for (let i = 0, n = pts.length; i < n; i++) {\n        const k = this.canvasService.gridAdapter.getValueInGrid(pts[i]);\n        if (k > 0) {\n          // color\n          pts[i][3] = this.colorsService.getIndexColorRgb(this.dataSet.drColor, [k], [method]);\n          ptsToDraw.push(pts[i]);\n        }\n      }\n      return ptsToDraw;\n    }\n    drawObjectsWithAnimation(fps, objects, nb, rel) {\n      if (objects === null || typeof objects !== \"object\") {\n        return false;\n      }\n      this.setAnimationService();\n      this.animationService.functions.drawObjects = params => {\n        for (let index = 0; index < params.nb; index++) {\n          if (typeof params.objects[params.indice] === \"object\") {\n            this.canvasService.drawService.drawOneObject(params.objects[params.indice], params.rel);\n          }\n          params.indice += 1;\n          if (params.indice > params.objects.length) {\n            return false;\n          }\n        }\n      };\n      this.startAnimation(fps, \"drawObjects\", false, {\n        indice: 0,\n        nb: nb,\n        objects: objects,\n        rel: rel\n      });\n      return true;\n    }\n    connectPointsWithAnimation(fps, pts, w, color, nb) {\n      if (pts === null) {\n        return false;\n      }\n      if (typeof nb !== \"number\") {\n        nb = 1;\n      }\n      this.setAnimationService();\n      this.animationService.functions.connectPoints = params => {\n        for (let i = params.ind0; i < params.nb + params.ind0; i++) {\n          if (typeof params.pts[i] === \"object\" && typeof params.pts[i + 1] === \"object\") {\n            this.canvasService.drawService.drawLine(params.pts[i], params.pts[i + 1], params.pts[i][3], w, \"\");\n          }\n        }\n        params.ind0 += params.nb;\n        if (params.ind0 > params.pts.length) {\n          return false;\n        }\n      };\n      this.startAnimation(fps, \"connectPoints\", true, {\n        nb: nb,\n        w: w,\n        color: color,\n        ind0: 0,\n        pts: pts\n      });\n      return true;\n    }\n    // full screen\n    initFullScreen() {\n      this.isFullScreen = false;\n      const element = document.getElementById(this.navigationService.getFullScreenElementID());\n      if (element) {\n        // ResizeObserver\n        this.resizeObserver = new ResizeObserver(entries => {\n          for (const entry of entries) {\n            // track height change\n            if (this.navigationService.fullscreenService.getFullScreenChange(entry.contentRect.height)) {\n              if (this.navigationService.fullscreenService.fullScreenStarted) {\n                this.isFullScreen = true;\n                document.getElementById(this.navigationService.getFullScreenElementID()).classList.add('fullscreen');\n              } else {\n                document.getElementById(this.navigationService.getFullScreenElementID()).classList.remove('fullscreen');\n              }\n              this.reloadToOrign();\n            }\n          }\n        });\n\n        // start observe change on canvas\n        this.resizeObserver.observe(element);\n        this.navigationService.fullscreenService.initialize();\n      } else {\n        this.navigationService.disableFullScreen();\n      }\n    }\n    setOriginCanvasData() {\n      const form = document.getElementById(this.canvasParams.formId);\n      if (form !== null) {\n        form.style = \"\";\n      }\n      this.width = this.canvasParams.width;\n      this.height = this.canvasParams.height;\n      this.portraitMode = this.canvasParams.portraitMode;\n      this.widthLimitMode = this.canvasParams.widthLimitMode;\n      this.responsive = this.canvasParams.responsive;\n      this.heightResizeMode = this.canvasParams.heightResizeMode;\n      this.marginBottom = this.canvasParams.marginBottom;\n      this.marginLeft = this.canvasParams.marginLeft;\n      this.marginTop = this.canvasParams.marginTop;\n      this.marginRight = this.canvasParams.marginRight;\n    }\n    setInputNumber(key, value, d) {\n      this.actionsHandler.setInput(key, Math.floor(value * Math.pow(10, d)) / Math.pow(10, d), this.componentID);\n    }\n    setInput(key, value) {\n      this.actionsHandler.setInput(key, value, this.componentID);\n    }\n    setInputs(data) {\n      this.actionsHandler.setInputs(data, this.componentID);\n    }\n    displayLabel(name, value) {\n      this.actionsHandler.displayLabel(name, value, this.componentID);\n    }\n    displayInputValue(name, value) {\n      this.actionsHandler.displayInputValue(name, value, this.componentID);\n    }\n    generateUUID() {\n      return \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, function (c) {\n        const d = new Date().getTime(); //Timestamp\n        const r = (d + Math.random() * 16) % 16 | 0;\n        return (c === \"x\" ? r : r & 0x3 | 0x8).toString(16);\n      }).substring(0, 8);\n    }\n    debug() {\n      const elemRect = document.getElementById(\"div-main-nav-bar\").getBoundingClientRect();\n      const d = document;\n      const g = d.getElementsByTagName(\"body\")[0];\n      const windowWidth = window.innerWidth || g.clientWidth;\n      const windowHeight = window.innerHeight || g.clientHeight;\n      const screenWidth = window.screen.width;\n      const screenHeight = window.screen.height;\n      const bodyRect = d.body.getBoundingClientRect();\n      this.actionsHandler.displayLabel(\"windowWidth\", windowWidth);\n      this.actionsHandler.displayLabel(\"windowHeight\", windowHeight);\n      this.actionsHandler.displayLabel(\"screenWidth\", screenWidth);\n      this.actionsHandler.displayLabel(\"screenHeight\", `${screenHeight} / ${document.documentElement.clientHeight} / ${g.clientHeight}`);\n      this.actionsHandler.displayLabel(\"bodyRecttop\", bodyRect.top);\n      this.actionsHandler.displayLabel(\"navbar\", Math.round(elemRect.bottom));\n      if (this.canvasService) {\n        const canvasRect = this.canvasService.canvasElement.getBoundingClientRect();\n        this.actionsHandler.displayLabel(\"canvasWidth\", this.canvasService.canvasWidth);\n        this.actionsHandler.displayLabel(\"canvasHeight\", this.canvasService.canvasHeight);\n        this.actionsHandler.displayLabel(\"canvasTop\", canvasRect.top);\n      }\n    }\n    getElementMenuId(id) {\n      return `${this.canvasParams.idElementMenu}-${id}`;\n    }\n    /*VIDEO*/\n    startRecord() {\n      this.recording = !this.recording;\n      this.canvasParams.action = \"init_record\";\n      this.updateTriggerCanvas(true);\n      return true;\n    }\n    toggleRecord() {\n      if (this.withAnimation === true || this.canvasService.is3DEnabled()) {\n        if (this.canvasService.is3DEnabled() == false && this.recording) {\n          this.setAnimationEnd();\n          this.canvasService.clear();\n        } else {\n          this.resumeAnimation();\n        }\n        this.toggleVideo();\n      }\n    }\n    toggleVideo() {\n      this.recording = !this.recording;\n      this.canvasParams.action = \"start_video\";\n      this.updateTriggerCanvas(true);\n      return true;\n    }\n    addImgForVideo() {\n      this.canvasParams.action = \"add_img\";\n      this.updateTriggerCanvas(true);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"triggerCanvas\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"localModelID\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return \"\";\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"actionsHandler\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"navigationService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"actionFromCanvas\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"actionFromCanvas\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateTriggerCanvas\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateTriggerCanvas\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"receiveAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"receiveAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"notifyReady\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"notifyReady\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DrawingComponent);\n});","define(\"addon-canvas/components/saved-img\", [\"exports\", \"@ember/component\", \"addon-canvas/components/drawing-component\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _drawingComponent, _tracking, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div {{did-insert this.notifyReady}}>\n    <div class=\"{{if this.init 'card' ''}}\">\n      <CanvasC\n        @actionToComponent={{this.actionFromCanvas}}\n        @triggerCanvas={{this.triggerCanvas}}\n        @canvasParams={{this.canvasParams}}\n      />\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"jFUAuQzk\",\n    \"block\": \"[[[11,0],[4,[38,1],[[30,0,[\\\"notifyReady\\\"]]],null],[12],[1,\\\"\\\\n  \\\"],[10,0],[15,0,[29,[[52,[30,0,[\\\"init\\\"]],\\\"card\\\",\\\"\\\"]]]],[12],[1,\\\"\\\\n    \\\"],[8,[39,3],null,[[\\\"@actionToComponent\\\",\\\"@triggerCanvas\\\",\\\"@canvasParams\\\"],[[30,0,[\\\"actionFromCanvas\\\"]],[30,0,[\\\"triggerCanvas\\\"]],[30,0,[\\\"canvasParams\\\"]]]],null],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"div\\\",\\\"did-insert\\\",\\\"if\\\",\\\"canvas-c\\\"]]\",\n    \"moduleName\": \"addon-canvas/components/saved-img.hbs\",\n    \"isStrictMode\": false\n  });\n  let SavedImg = _exports.default = (_class = class SavedImg extends _drawingComponent.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"init\", _descriptor, this);\n    }\n    initRender() {\n      if (super.initRender() === false) {\n        return false;\n      }\n      this.draw();\n    }\n    draw() {\n      const urlSection = localStorage.getItem(\"urlSection\");\n      if (urlSection && urlSection == this.params[\"urlSection\"]) {\n        if (this.initCanvas()) {\n          this.init = this.displaySavedCanvas();\n        }\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"init\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, SavedImg);\n});","define(\"addon-canvas/helpers/tr\", [\"exports\", \"common-components/helpers/tr\"], function (_exports, _tr) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // app/helpers/translate.js\n\n  class TranslateHelper extends _tr.default {}\n  _exports.default = TranslateHelper;\n});","define(\"addon-canvas/models/CCircle\", [\"exports\", \"addon-canvas/models/CShape\", \"addon-canvas/models/CLine\"], function (_exports, _CShape, _CLine) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CCircle extends _CShape.default {\n    constructor(x_, y_, width_, height_, fillColor_, strokeColor_, _lineWidth) {\n      super(x_, y_, width_, height_, fillColor_, strokeColor_, _lineWidth);\n      this.wise = false;\n      this.scale = null;\n      this.radius = 0;\n      this.radiusI = 0;\n      this.radiusF = 2 * Math.PI;\n      this.radius = this.width / 2;\n      this.type = 'circle';\n    }\n    copy(o) {\n      this.copySphape(o);\n      this.wise = o.wise;\n      this.scale = o.scale;\n      this.radius = o.radius;\n      this.radiusI = o.radiusI;\n      this.radiusF = o.radiusF;\n    }\n    center(canvasCenter) {\n      this.position = [canvasCenter[0] - this.radius, canvasCenter[1] - this.radius];\n    }\n    setWise(w) {\n      this.wise = w;\n    }\n    getWise() {\n      return this.wise;\n    }\n    setScale(s) {\n      this.scale = s;\n    }\n    getScale() {\n      return this.scale;\n    }\n    setRadius(r) {\n      this.radius = r;\n    }\n    getRadius() {\n      return this.radius;\n    }\n    setRadiusF(rF) {\n      this.radiusF = rF;\n    }\n    getRadiusF() {\n      return this.radiusF;\n    }\n    setRadiusI(rI) {\n      this.radiusI = rI;\n    }\n    getRadiusI() {\n      return this.radiusI;\n    }\n    defCenter(pt) {\n      this.x = pt[0] - this.radius;\n      this.y = pt[1] - this.radius;\n      this.position = [this.x, this.y];\n    }\n    setWidthFixCenter(w) {\n      const x = this.getXCenter();\n      const y = this.getYCenter();\n      this.setWidth(w);\n      this.setHeight(w);\n      this.defCenter([x, y]);\n    }\n    setWidth(w) {\n      this.width = w;\n      this.radius = this.width / 2;\n    }\n    resizeShape(w, h) {\n      if (typeof w === 'number' && typeof h === 'number') {\n        this.setXY(this.getX() * w, this.getY() * h);\n        this.setWidth(this.getWidth() * h);\n        this.setHeight(this.getHeight() * h);\n        this.initialPosition[0] = this.initialPosition[0] * w;\n        this.initialPosition[1] = this.initialPosition[1] * h;\n      }\n    }\n    getInCircle(pt) {\n      if (pt[0] > this.getXRight()) {\n        return false;\n      }\n      if (pt[0] < this.getXLeft()) {\n        return false;\n      }\n      if (pt[1] > this.getYTop()) {\n        return false;\n      }\n      return pt[1] >= this.getYBottom();\n    }\n    display(context, offSet) {\n      if (offSet === null || typeof offSet !== 'object') {\n        offSet = [0, 0];\n      }\n      if (this.scale) {\n        context.save();\n        context.translate(this.getXCenter() + offSet[0], this.getYCenter() + offSet[1]);\n        context.scale(this.scale[0], this.scale[1]);\n      }\n      context.beginPath();\n      if (this.getRadius() < 0) {\n        return false;\n      }\n      if (this.scale !== null) {\n        // arc(x, y, rayon, angleInitial, angleFinal,  [true | false])\n        context.arc(0, 0, this.getRadius(), this.radiusI, this.radiusF, this.wise);\n        context.restore();\n      } else {\n        // arc(x, y, rayon, angleInitial, angleFinal,  [true | false])\n        context.arc(this.getXCenter() + offSet[0], this.getYCenter() + offSet[1], this.getRadius(), this.radiusI, this.radiusF, this.wise);\n      }\n      this.defStyle(context);\n      context.fill();\n      context.stroke();\n      if (this.rotation !== null) {\n        context.rotate(this.rotation);\n        context.fillRect();\n        //context.setTransform(1, 0, 0, 1, 0, 0);\n      }\n      return true;\n    }\n    defineStep(nbP) {\n      return 2 * Math.PI / nbP;\n    }\n    getPointOnCircle(angle) {\n      return [this.getRadius() * Math.cos(angle) + this.getXCenter(), this.getRadius() * Math.sin(angle) + this.getYCenter()];\n    }\n    getAngleFromPoint(point, c) {\n      let a = Math.atan2(point[1] - this.getYCenter(), point[0] - this.getXCenter());\n      if (c === true && a < 0) {\n        a += 2 * Math.PI;\n      }\n      a = a % (2 * Math.PI);\n      return a;\n    }\n    getTangent(point) {\n      // radius\n      const line1 = new _CLine.default(point[0], point[1], this.getXCenter(), this.getYCenter());\n      return line1.getPerpendicular(point);\n    }\n    getIntersectionWithSegment(l, bTang) {\n      const ptsR = [];\n      const pts = this.getIntersectionWithLine(l, bTang);\n      if (pts.length > 0) {\n        for (let j = 0, n = pts.length; j < n; j++) {\n          if (l.checkIfPointOnSegment(pts[j]) === true) {\n            ptsR.push(pts[j]);\n          }\n        }\n      }\n      return ptsR;\n    }\n\n    /**\n     *\n     * @param {type} l\n     * @param {type} bTang\n     * @returns {Array|CShape.getIntersectionWithLine.points|getIntersectionWithLine.points}\n     */\n    getIntersectionWithLine(l, bTang) {\n      let valC = 0;\n      let valB = 0;\n      let valA = 0;\n      let k = 0;\n      const points = [];\n      let s1 = 0;\n      let s2 = 0;\n      if (typeof bTang !== 'boolean') {\n        bTang = false;\n      }\n\n      // circle (x–a)2+(y–b)2=r2\n      // line a1x + a2y + a3 = 0\n      // x2 + a2 -2ax + y2 + b2 -2yb = r2\n      //\n\n      const r = this.getRadius();\n      const alpha = this.getXCenter();\n      const beta = this.getYCenter();\n      if (l.getPoint1() && l.getPoint2()) {\n        l.defEquationFromPts();\n      }\n      valC = this.roundValPrec(Math.pow(alpha, 2) + Math.pow(l.getA3() - beta, 2) - Math.pow(r, 2));\n      valB = this.roundValPrec(-2 * alpha + 2 * l.getA1() * (l.getA3() - beta));\n      valA = this.roundValPrec(1 + Math.pow(l.getA1(), 2));\n      if (l.getA2() === 0) {\n        // ligne verticale\n        // x contant\n        // pts.length > 0\n        // circle (x–a)^2+(y–b)^2=r^2\n        // equation a1x + a2y + a3 = 0 => a1x + a3 = 0\n        // x = -a3/a1\n        // x2 + a^2 -2ax + y^2 + b^2 -2yb = r^2\n        // (-a3/a1)^2 + a^2 -2a*(-a3/a1) +y^2 +b^2 -2yb = r^2\n        // +y^2 -2by + (-a3/a1)^2 + a^2 -2a*(-a3/a1) +b^2 - r^2 = 0\n\n        valA = 1;\n        valB = -2 * beta;\n        valC = Math.pow(l.getA3() * -1 / l.getA1(), 2) + Math.pow(alpha, 2) - 2 * alpha * (l.getA3() * -1) / l.getA1() + Math.pow(beta, 2) - Math.pow(r, 2);\n        //k = this.roundValPrec(valB * valB - 4 * valA * valC);\n      }\n      if (bTang !== true) {\n        // b2 - 4ac\n        k = this.roundValPrec(valB * valB - 4 * valA * valC);\n      } else {\n        //k = 0;\n      }\n      if (k >= 0) {\n        // pt 1\n        s1 = this.roundValPrec((-valB + Math.sqrt(k)) / (2 * valA));\n        // pt 2\n        s2 = this.roundValPrec((-valB - Math.sqrt(k)) / (2 * valA));\n      } else {\n        return [];\n      }\n      if (l.getA2() === 0) {\n        points.push([l.getA3() * -1, s1]);\n        points.push([l.getA3() * -1, s2]);\n      } else {\n        points.push([s1, this.roundValPrec(l.getA1() * s1 + l.getA3())]);\n        points.push([s2, this.roundValPrec(l.getA1() * s2 + l.getA3())]);\n      }\n      return points;\n    }\n    getPerimeter() {\n      // 2 x π x R\n      return 2 * Math.PI * this.radius;\n    }\n    /*\n     * a circle is defined by 3 points\n     */\n    defCircleFromPoints(p) {\n      if (p && p.length >= 3) {\n        // circle center\n        let cx = this.roundVal((Math.pow(p[2][0], 2) - Math.pow(p[1][0], 2)) / (p[2][1] - p[1][1]) - (Math.pow(p[0][0], 2) - Math.pow(p[1][0], 2)) / (p[0][1] - p[1][1]) + p[2][1] - p[0][1]);\n        cx = this.roundVal(cx / (2 * ((p[2][0] - p[1][0]) / (p[2][1] - p[1][1])) - 2 * ((p[0][0] - p[1][0]) / (p[0][1] - p[1][1]))));\n        let cy = this.roundVal(-2 * cx * ((p[2][0] - p[1][0]) / (p[2][1] - p[1][1])) + (Math.pow(p[2][0], 2) - Math.pow(p[1][0], 2)) / (p[2][1] - p[1][1]) + p[2][1] + p[1][1]);\n        cy = this.roundVal(cy / 2);\n        const r = this.roundVal(Math.sqrt(Math.pow(cx - p[0][0], 2) + Math.pow(cy - p[0][1], 2)));\n        this.setWidth(r * 2);\n        this.height = r * 2;\n        this.position = [cx - r, cy - r];\n        return [cx, cy];\n      }\n      return null;\n    }\n    defRadiusFromPoint(pt, center) {\n      return this.roundVal(Math.sqrt(Math.pow(center[0] - pt[0], 2) + Math.pow(center[1] - pt[1], 2)));\n    }\n    getIntersectionWithACircle(c2, color) {\n      const objects = [];\n      const pts = this.getIntersectionPointsWithACircle(c2);\n      const angles = [];\n      for (let index = 0; index < pts.length; index++) {\n        angles.push(this.getAngleFromPoint(pts[index]));\n      }\n      const c4 = new CCircle();\n      c4.copy(this);\n      c4.setPosition(this.getPosition());\n      c4.setRadiusF(angles[0]);\n      c4.setRadiusI(angles[1]);\n      c4.setLineWidth(3);\n      c4.setStrokeColor(color);\n      c4.setFillColor(color);\n      objects.push(c4);\n      const angles2 = [];\n      for (let index = 0; index < pts.length; index++) {\n        angles2.push(c2.getAngleFromPoint(pts[index]));\n      }\n      const c5 = new CCircle();\n      c5.copy(c2);\n      c5.setFillColor(color);\n      c5.setStrokeColor(color);\n      c5.setLineWidth(3);\n      c5.setPosition(c2.getPosition());\n      c5.setRadiusF(angles2[1]);\n      c5.setRadiusI(angles2[0]);\n      objects.push(c5);\n      if (pts.length > 1) {\n        // corriger défaut assemblage demi-cercles\n        objects.push(new _CLine.default(0, 0, 0, 0, color, 7, pts[0], pts[1]));\n      }\n      return objects;\n    }\n    getIntersectionPointsWithACircle(c2) {\n      let alpha = 0;\n      let beta = 0;\n      let gamma = 0;\n      let x = 0;\n      let y = 0;\n      let n = 0;\n      let p = 0;\n      const points = [];\n      const r0 = this.getRadius();\n      const r1 = c2.getRadius();\n      const x0 = this.getXCenter();\n      const x1 = c2.getXCenter();\n      const y0 = this.getYCenter();\n      const y1 = c2.getYCenter();\n      if (this.roundVal(y0 - y1) === 0) {\n        alpha = 1;\n        beta = -2 * y1;\n        gamma = Math.pow(x1, 2) + Math.pow(x0, 2) - 2 * x1 * x0 + Math.pow(y1, 2) - Math.pow(r0, 2);\n      } else {\n        p = (x0 - x1) / (y0 - y1);\n        n = (Math.pow(r1, 2) - Math.pow(r0, 2) - Math.pow(x1, 2) + Math.pow(x0, 2) - Math.pow(y1, 2) + Math.pow(y0, 2)) / (2 * (y0 - y1));\n        alpha = this.roundVal(Math.pow(p, 2) + 1);\n        beta = 2 * y0 * p - 2 * n * p - 2 * x0;\n        gamma = Math.pow(x0, 2) + Math.pow(y0, 2) + Math.pow(n, 2) - Math.pow(r0, 2) - 2 * y0 * n;\n      }\n\n      // (x0-x1)/(y0-y1)\n\n      const k = Math.pow(beta, 2) - 4 * alpha * gamma;\n      if (this.roundVal(k) < 0) {\n        return points;\n      }\n      const delta = Math.sqrt(k);\n      if (this.roundVal(alpha) === 0) {\n        return points;\n      }\n      if (this.roundVal(y0 - y1) === 0) {\n        y = (-beta + delta) / (2 * alpha);\n        x = (Math.pow(r1, 2) - Math.pow(r0, 2) - Math.pow(x1, 2) + Math.pow(x0, 2)) / (2 * (x0 - x1));\n        points.push([x, y]);\n        y = (-beta - delta) / (2 * alpha);\n        points.push([x, y]);\n      } else {\n        x = (-beta + delta) / (2 * alpha);\n        y = n - x * p;\n        points.push([x, y]);\n        x = (-beta - delta) / (2 * alpha);\n        y = n - x * p;\n        points.push([x, y]);\n      }\n\n      //console.debug(points);\n      return points;\n    }\n  }\n  _exports.default = CCircle;\n});","define(\"addon-canvas/models/CEllipse\", [\"exports\", \"addon-canvas/models/CShape\"], function (_exports, _CShape) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CEllipse extends _CShape.default {\n    constructor(x_, y_, width_, height_, fillColor_, strokeColor_, _lineWidth) {\n      super(x_, y_, width_, height_, fillColor_, strokeColor_, _lineWidth);\n      this.radiusI = 0;\n      this.radiusF = 2 * Math.PI;\n    }\n    setRadiusF(rF) {\n      this.radiusF = rF;\n    }\n    getRadiusF() {\n      return this.radiusF;\n    }\n    setRadiusI(rI) {\n      this.radiusI = rI;\n    }\n    setRadius(r) {\n      this.width = r;\n    }\n    getRadiusI() {\n      return this.radiusI;\n    }\n    getPointOnCircle(angle) {\n      return [this.getWidth() * Math.cos(angle) + this.getXCenter(), this.getHeight() * Math.sin(angle) + this.getYCenter()];\n    }\n    display(context, offSet) {\n      context.beginPath();\n      context.ellipse(this.getXCenter(), this.getYCenter(), this.getWidth(), this.getHeight(), 0, this.radiusI, this.radiusF, 0);\n      this.defStyle(context);\n      context.fill();\n      context.stroke();\n      if (this.rotation) {\n        context.rotate(this.rotation);\n        context.fillRect();\n      }\n    }\n  }\n  _exports.default = CEllipse;\n});","define(\"addon-canvas/models/CImg\", [\"exports\", \"addon-canvas/models/CShape\"], function (_exports, _CShape) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CImg extends _CShape.default {\n    constructor(x_, y_, width_, height_, strokeColor_, name_) {\n      super(x_, y_, width_, height_, null, strokeColor_, name_);\n      this.url = name_;\n      this.resizeRatio = 0;\n      this.canvasWidth = 0;\n      this.canvasHeight = 0;\n    }\n    getUrl() {\n      return this.url;\n    }\n    center(w, h) {\n      this.position[0] = this.position[0] + (w / 2 - this.width / 2);\n      this.position[1] = this.position[1] + (h / 2 - this.height / 2);\n    }\n    loadImg(dImg, loaded, context, offset, callback, resizeRatio, canvasWidth, canvasHeight, centerPosition, autoResize) {\n      if (loaded) {\n        return;\n      }\n      if (this.getWidth() === 0 && resizeRatio) {\n        this.naturalHeight = dImg.naturalHeight;\n        this.naturalWidth = dImg.naturalWidth;\n        this.width = dImg.naturalWidth;\n        this.height = dImg.naturalHeight;\n        if (autoResize) {\n          this.width = canvasWidth;\n          this.height = dImg.naturalHeight * this.width / this.naturalWidth;\n        } else if (resizeRatio !== 1) {\n          this.width = this.width * resizeRatio;\n          this.height = dImg.naturalHeight * this.width / this.naturalWidth;\n        }\n        if (this.getWidth() > canvasWidth) {\n          this.width = canvasWidth;\n          this.height = dImg.naturalHeight * this.width / this.naturalWidth;\n        }\n      }\n      if (centerPosition) {\n        this.center(canvasWidth, canvasHeight);\n      }\n      context.drawImage(dImg, this.getX() + offset[0], this.getY() + offset[1], this.getWidth(), this.getHeight());\n      if (callback) {\n        callback();\n      }\n    }\n    displayWithCallBack(context, offset, callback, resizeRatio, canvasWidth, canvasHeight, centerPosition, autoResize) {\n      let loaded = false;\n      this.callback = callback;\n      this.offset = offset;\n      const loadHandler = () => {\n        this.loadImg(dImg, loaded, context, offset, callback, resizeRatio, canvasWidth, canvasHeight, centerPosition, autoResize);\n        loaded = true;\n      };\n      const dImg = new Image();\n      dImg.src = this.getUrl();\n      if (dImg.complete) {\n        loadHandler();\n      }\n      dImg.onload = function () {\n        loadHandler();\n      };\n      return true;\n    }\n    display(context, offset) {\n      const dImg = new Image();\n      dImg.src = this.url;\n      dImg.onload = () => {\n        context.drawImage(dImg, this.position[0] + offset[0], this.position[1] + offset[1], this.getWidth(), this.getHeight());\n      };\n    }\n  }\n  _exports.default = CImg;\n});","define(\"addon-canvas/models/CLine\", [\"exports\", \"addon-canvas/models/CShape\"], function (_exports, _CShape) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CLine extends _CShape.default {\n    //\tpointsC:null,\n    //\ta:null,\n    //\tb:null,\n    //\tbVertical:false,\n    //\tfillColor: null,\n    //\t// a1x + a2y + a3 = 0;\n    //\ta1:0,\n    //\ta2:-1,\n    //    a3:0,\n    constructor(x1_, y1_, x2_, y2_, strokeColor_, lineWidth_, pt1_, pt2_) {\n      super(x1_, y1_, x2_, y2_, 0, strokeColor_, lineWidth_);\n      this.point1 = [];\n      this.point2 = [];\n      this.pts = null;\n      this.pointsC = null;\n      this.a = null;\n      this.b = null;\n      this.bVertical = false;\n      this.fillColor = null;\n      this.lineCap = '';\n      // a1x + a2y + a3 = 0;\n      this.a1 = 0;\n      this.a2 = -1;\n      this.a3 = 0;\n      this.type = 'line';\n      if (typeof pt1_ === 'object' && typeof pt2_ === 'object') {\n        this.setTwoPoints(pt1_, pt2_, true);\n      } else {\n        this.setTwoPoints([x1_, y1_], [x2_, y2_], true);\n      }\n      this.roundValues();\n    }\n    addPoint(pt) {\n      if (this.pts === null) {\n        this.pts = [];\n      }\n      this.pts.push(pt);\n    }\n    setPts(_pts) {\n      this.pts = _pts;\n    }\n    setLineCap(f) {\n      this.lineCap = f;\n    }\n    defEquationFromPts() {\n      //console.debug('def eq');\n      // a1x + a2y + a3 = 0\n      // a2y = a1x + a3\n      this.roundValues();\n      if (this.point1[0] !== null && this.point2 !== null) {\n        if (this.point1[0] === this.point2[0]) {\n          // vertical line\n          this.a1 = 1;\n          this.a2 = 0;\n          this.a3 = this.point1[0] * -1;\n        } else {\n          // other lines\n          this.a1 = this.roundValPrec((this.point2[1] - this.point1[1]) / (this.point2[0] - this.point1[0]));\n          this.a2 = -1;\n          this.a3 = this.roundValPrec(this.point1[1] - this.a1 * this.point1[0]);\n        }\n      }\n    }\n    setTwoPoints(pt1, pt2, bDefEquation) {\n      if (pt1 === null) {\n        return false;\n      }\n      this.point1 = [pt1[0], pt1[1]];\n      this.x = pt1[0];\n      this.y = pt1[1];\n      this.position = [pt1[0], pt1[1]];\n      if (pt2 && typeof pt2 === 'object' && pt2.length >= 2 && pt2[0] !== null && pt2[1] !== null) {\n        this.point2 = [pt2[0], pt2[1]];\n        this.vector = [pt2[0] - pt1[0], pt2[1] - pt1[1]];\n        if (bDefEquation === true) {\n          this.defEquationFromPts();\n        }\n        this.width = pt2[0];\n        this.height = pt2[1];\n      }\n      return true;\n    }\n    resizeShape(w, h) {\n      if (typeof this.point1 === 'object' && this.point1 !== null) {\n        this.point1[0] = this.point1[0] * w;\n        this.point1[1] = this.point1[1] * h;\n      }\n      if (typeof this.point2 === 'object' && this.point2 !== null) {\n        this.point2[0] = this.point2[0] * w;\n        this.point2[1] = this.point2[1] * h;\n        this.defEquationFromPts();\n      }\n      this.setWidth(this.getWidth() * w);\n      this.setHeight(this.getHeight() * h);\n    }\n    getPointI(i) {\n      if (i === 1) {\n        return this.point1;\n      } else {\n        return this.point2;\n      }\n    }\n    setPointI(pt, i) {\n      if (i === 1) {\n        this.point1 = pt;\n      } else {\n        this.point2 = pt;\n      }\n    }\n    getPoints() {\n      return [this.point1, this.point2];\n    }\n    roundValues(d) {\n      if (this.point1 && typeof this.point1 === 'object') {\n        this.point1[0] = this.roundVal(this.point1[0], d);\n        this.point1[1] = this.roundVal(this.point1[1], d);\n      }\n      if (this.point2 && typeof this.point2 === 'object') {\n        this.point2[0] = this.roundVal(this.point2[0], d);\n        this.point2[1] = this.roundVal(this.point2[1], d);\n      }\n      if (this.a !== null) {\n        this.a = this.roundVal(this.a, d);\n      }\n      if (this.b !== null) {\n        this.b = this.roundVal(this.b, d);\n      }\n      if (this.a1 !== null) {\n        this.a1 = this.roundVal(this.a1, d);\n      }\n      if (this.a2 !== null) {\n        this.a2 = this.roundVal(this.a2, d);\n      }\n      if (this.a3 !== null) {\n        this.a3 = this.roundVal(this.a3, d);\n      }\n    }\n    setbVertical(b) {\n      this.bVertical = b;\n    }\n    getbVertical() {\n      return this.bVertical;\n    }\n    display(context, offSet) {\n      if (offSet === null || typeof offSet !== 'object') {\n        offSet = [0, 0];\n      }\n      context.beginPath();\n      this.defStyle(context);\n      context.lineWidth = this.lineWidth;\n      if (this.lineCap !== '') {\n        context.lineCap = this.lineCap;\n      }\n      if (this.pts !== null) {\n        context.moveTo(this.pts[0][0] + offSet[0], this.pts[0][1] + offSet[1]);\n        for (let i = 0; i < this.pts.length; i++) {\n          context.lineTo(this.pts[i][0] + offSet[0], this.pts[i][1] + offSet[1]);\n        }\n      } else if (this.point1 !== null && this.point2 !== null) {\n        context.moveTo(this.point1[0] + offSet[0], this.point1[1] + offSet[1]);\n        if (this.pointsC !== null) {\n          if (this.pointsC.length >= 2) {\n            // curve\n            context.bezierCurveTo(this.pointsC[0][0] + offSet[0], this.pointsC[0][1] + offSet[1], this.pointsC[1][0] + offSet[0], this.pointsC[1][1] + offSet[1], this.point2[0] + offSet[0], this.point2[1] + offSet[1]);\n          } else if (this.pointsC.length >= 1) {\n            context.quadraticCurveTo(this.pointsC[0][0] + offSet[0], this.pointsC[0][1] + offSet[1], this.point2[0] + offSet[0], this.point2[1] + offSet[1]);\n          }\n        } else {\n          context.lineTo(this.point2[0] + offSet[0], this.point2[1] + offSet[1]);\n        }\n      }\n      context.fill();\n      context.stroke();\n    }\n    checkIfPointOnLine(point) {\n      return this.roundVal(this.a1 * point[0] + this.a2 * point[1] + this.a3, 6) === 0;\n    }\n    checkIfPointOnSegment(point) {\n      if (this.a1 === 0) {\n        // horizontal\n        return point[0] >= this.getMinX() && point[0] <= this.getMaxX();\n      } else if (this.a2 === 1) {\n        // vertical\n        return point[1] >= this.getMinX() && point[1] <= this.getMaxX();\n      } else {\n        return point[1] >= this.getMinY() && point[1] <= this.getMaxY();\n      }\n    }\n    getPointsMoveOnSegment(pt1, pt2, width) {\n      const pts = this.getPointsMoveOnLine(pt1, width);\n      const v1 = this.defVector(pt1, pt2);\n      for (let j = 0; j < pts.length; j++) {\n        const v2 = this.defVector(pt1, pts[j]);\n        if (this.checkVectorsSameOrientation(v1, v2)) {\n          return pts[j];\n        }\n      }\n      return null;\n    }\n    getMinY() {\n      if (this.point1[1] < this.point2[1]) {\n        return this.point1[1];\n      } else {\n        return this.point2[1];\n      }\n    }\n    getMinX() {\n      if (this.point1[0] < this.point2[0]) {\n        return this.point1[0];\n      } else {\n        return this.point2[0];\n      }\n    }\n    getMaxY() {\n      if (this.point1[1] > this.point2[1]) {\n        return this.point1[1];\n      } else {\n        return this.point2[1];\n      }\n    }\n    getMaxX() {\n      if (this.point1[0] > this.point2[0]) {\n        return this.point1[0];\n      } else {\n        return this.point2[0];\n      }\n    }\n    getPerpendicular(pt) {\n      const line2 = new CLine(null, null, null, null, null, null, pt, null);\n      line2.setPoint2(null);\n      if (this.a2 === 0) {\n        // vertical line => horizontal line\n        line2.defVarEq(0);\n      } else if (this.a1 === 0) {\n        // horizontal line => vertical line\n        line2.defVarEq(1, 0);\n      } else {\n        line2.defVarEq(-1 / this.a1);\n      }\n      return line2;\n    }\n    getParallel(d) {\n      const line2 = new CLine(null, null);\n      line2.setA1(this.getA1());\n      line2.setA2(this.getA2());\n      line2.setA3(this.getA3() + d);\n      const pt1 = this.getPoint1();\n      const pt2 = this.getPoint2();\n      line2.setPoint1([pt1[0], line2.getOrd(pt1[0])]);\n      line2.setPoint2([pt2[0], line2.getOrd(pt2[0])]);\n      return line2;\n    }\n    getOrd(x0) {\n      // a1x + a2y + a3 = 0\n      // a1x + a3 = -a2y\n      // y = (a1x + a3)/-a2\n      if (this.a2 === 0) {\n        return null;\n      }\n      return (this.a1 * x0 + this.a3) / (this.a2 * -1);\n    }\n    getAbs(y0) {\n      // y = ax+b\n      // y - b = ax\n      // x = (y-b)/a\n      if (this.a1 === 0) {\n        //console.debug('abs null');\n        return null;\n      }\n      this.roundValues();\n\n      // a1x + a2y + a3 = 0\n      // a2y + a3 = -a1x\n      // x = (a2y + a3)/-a1\n\n      return this.roundVal((this.a2 * y0 + this.a3) / (this.a1 * -1));\n    }\n    defA3() {\n      // a1x + a2y + a3 = 0\n      // a3 = -a1x -a2y\n\n      this.a3 = -this.a1 * this.point1[0] - this.a2 * this.point1[1];\n    }\n    defVarEq(a1p, a2p) {\n      this.a1 = a1p;\n      if (this.point1 !== null) {\n        if (this.a1 === 1 && a2p === 0) {\n          //console.debug('vertical');\n          // vertical line\n          this.a2 = 0;\n          this.a3 = this.point1[0] * -1;\n        } else {\n          this.a2 = -1;\n          this.a3 = this.roundValPrec(this.point1[1] - this.a1 * this.point1[0], 10);\n        }\n      }\n    }\n    setA1(a1p) {\n      this.a1 = a1p;\n    }\n    getA1() {\n      return this.a1;\n    }\n    setA2(a2p) {\n      this.a2 = a2p;\n    }\n    getA2() {\n      return this.a2;\n    }\n    setA3(a3p) {\n      this.a3 = a3p;\n    }\n    getA3() {\n      return this.a3;\n    }\n    getDistance() {\n      return Math.sqrt(Math.pow(this.point1[0] - this.point2[0], 2) + Math.pow(this.point1[1] - this.point2[1], 2));\n    }\n    getX1() {\n      return this.point1[0];\n    }\n    getX2() {\n      return this.point2[0];\n    }\n    getY1() {\n      return this.point1[1];\n    }\n    getY2() {\n      return this.point2[1];\n    }\n    getCenter() {\n      return [this.getXCenter(), this.getYCenter()];\n    }\n    getXCenter() {\n      return (this.position[0] + this.width) / 2;\n    }\n    getYCenter() {\n      return (this.position[1] + this.height) / 2;\n    }\n    setPoint1(point1_) {\n      this.point1 = point1_;\n    }\n    getPoint1() {\n      return this.point1;\n    }\n    setPoint2(point2_) {\n      this.point2 = point2_;\n    }\n    getPoint2() {\n      return this.point2;\n    }\n    /** points of curve */\n    setPointsC(pointsC_) {\n      this.pointsC = pointsC_;\n    }\n    getPointsC() {\n      return this.pointsC;\n    }\n    getOppositePoint(point) {\n      if (this.point1[0] === point[0] && this.point1[1] === point[1]) {\n        return this.point2;\n      }\n      return this.point1;\n    }\n    /*perpendicular*/\n    getBisector() {\n      const l = new CLine(0, 0, 0, 0, [0, 0, 0]);\n      l.setPoint1(this.getCenter());\n      l.defVarEq(-1 / this.getA1());\n      return l;\n    }\n    getPtWidthDir(pt1, pt2, w, dir) {\n      const ptsM = this.getPointsMoveOnLine(pt1, w);\n      for (let j = 0; j < ptsM.length; j++) {\n        const v1 = this.defVector(pt1, pt2);\n        const v2 = this.defVector(pt1, ptsM[j]);\n        if (this.checkVectorsSameOrientation(v1, v2) === dir) {\n          return ptsM[j];\n        }\n      }\n      return null;\n    }\n    getAllLinePts(division) {\n      const pts = [];\n      if (division > 0) {\n        const d = this.getDistance();\n        if (d > 0) {\n          const step = d / division;\n          let w = 0;\n          const ptRef = this.getLeftPoint();\n          for (let i = 0; i < division - 1; i++) {\n            w += step;\n            pts.push(this.getPtFromPtDir(ptRef, w, true));\n          }\n        }\n      }\n      return pts;\n    }\n    getLeftPoint() {\n      return this.point2[1] > this.point1[1] ? this.point1 : this.point2;\n    }\n    getPtFromPtDir(pt, width, dir) {\n      // a1x + a2y + a3 = 0\n      const pts = this.getPointsMoveOnLine(pt, width);\n      //console.debug(pts);\n      for (let i = 0; i < pts.length; i++) {\n        if (this.a1 === 0) {\n          // horizontal line\n          if (dir === true && pts[i][0] > pt[0]) {\n            return pts[i];\n          } else if (dir === false && pts[i][0] <= pt[0]) {\n            return pts[i];\n          }\n        } else {\n          if (dir === true && pts[i][1] > pt[1]) {\n            return pts[i];\n          } else if (dir === false && pts[i][1] <= pt[1]) {\n            return pts[i];\n          }\n        }\n      }\n      return null;\n    }\n    /**\n     *\n     * @param {type} point\n     * @param {type} width\n     * @returns {Array|CShape.getPointsMoveOnLine.points|getPointsMoveOnLine.points}\n     */\n    getPointsMoveOnLine(point, width) {\n      const points = [];\n      if (point === null) {\n        return [];\n      }\n      if (this.a2 === 0) {\n        // vertical line\n        points.push([this.point1[0], point[1] + width]);\n        points.push([this.point1[0], point[1] - width]);\n        return points;\n      }\n      if (this.a1 === 0) {\n        // horizontal line\n        points.push([point[0] + width, point[1]]);\n        points.push([point[0] - width, point[1]]);\n        return points;\n      }\n      let valA = 1 + Math.pow(this.a1, 2);\n      let valB = -2 * Math.pow(this.a1, 2) * point[0] - 2 * point[0];\n      let valC = Math.pow(this.a1, 2) * Math.pow(point[0], 2) + Math.pow(point[0], 2) - Math.pow(width, 2);\n      let pr = valB * valB - 4 * valA * valC;\n      if (pr >= 0) {\n        let x1 = (-valB + Math.sqrt(pr)) / (2 * valA);\n        let y1 = this.a1 * x1 + this.a3;\n        points.push([x1, y1]);\n        let x2 = (-valB - Math.sqrt(pr)) / (2 * valA);\n        points.push([this.roundVal(x2), this.roundVal(this.a1 * x2 + this.a3)]);\n      }\n      return points;\n    }\n    /**\n     *\n     * @returns {Array}\n     */\n    getVector() {\n      return [this.point2[0] - this.point1[0], this.point2[1] - this.point1[1]];\n    }\n    /**\n     *\n     * @param {type} vector1\n     * @param {type} vector2\n     * @returns {Boolean}\n     */\n    checkVectorsSameOrientation(vector1, vector2) {\n      if (vector1[0] === vector2[0] && vector1[1] === vector2[1]) {\n        //return true;\n      }\n      if ((vector1[0] >= 0 && vector2[0] >= 0 || vector1[0] <= 0 && vector2[0] <= 0) && (vector1[1] >= 0 && vector2[1] >= 0 || vector1[1] <= 0 && vector2[1] <= 0)) {\n        return true;\n      } else {\n        //\t\tconsole.debug('orientation différente');\n        //\t\tconsole.debug(vector1);\n        //\t\tconsole.debug(vector2);\n      }\n      return false;\n    }\n    /**\n     *\n     * @param {type} vector1\n     * @param {type} vector2\n     * @returns {Number}\n     */\n    getVectorsXMultiple(vector1, vector2) {\n      if (vector1[0] === 0) {\n        return 0;\n      }\n      return vector2[0] / vector1[0];\n    }\n    /**\n     *\n     * @param {type} vector1\n     * @param {type} vector2\n     * @returns {Number}\n     */\n    getVectorsYMultiple(vector1, vector2) {\n      if (vector1[1] === 0) {\n        return 0;\n      }\n      return vector2[1] / vector1[1];\n    }\n    /**\n     *\n     * @param {type} vector1\n     * @param {type} vector2\n     * @returns {Number|CShape.getVectorsMultipleCollinearity.k2|CShape.getVectorsMultipleCollinearity.k1}\n     */\n    getVectorsMultipleCollinearity(vector1, vector2) {\n      const k1 = this.getVectorsXMultiple(vector1, vector2);\n      const k2 = this.getVectorsYMultiple(vector1, vector2);\n      if (vector2[0] === 0 && vector1[0] === 0) {\n        return k2;\n      }\n      if (vector2[1] === 0 && vector1[1] === 0) {\n        return k1;\n      }\n      return k1;\n    }\n    /**\n     *\n     * @param {type} line2\n     * @returns {Array}\n     */\n    getLinesIntersection(line2) {\n      this.defEquationFromPts();\n      if (typeof line2 === 'object') {\n        //line2.defEquationFromPts();\n        // a1*x + a2*y + a3 = 0\n        // b1*x + b2*y + b3 = 0\n        // y = (-b1*x -b3)/b2\n        // y = -b1x/b2 -b3/b2\n        // a1x + a2*(-b1x/b2 -b3/b2) + a3 = 0\n        // a1x -b1x*a2/b2 -a2*b3/b2 + a3 = 0\n        // x = (+a2*b3/b2 - a3)/(a1-b1*a2/b2)\n\n        if (this.a1 === line2.getA1()) {\n          return null;\n        } else {\n          let x = 0;\n          if (line2.getA2() === 0) {\n            x = line2.getA3() * -1;\n          } else {\n            x = (line2.getA3() * this.a2 / line2.getA2() - this.a3) / (this.a1 - line2.getA1() * this.a2 / line2.getA2());\n          }\n          let y = this.a1 * x + this.a3;\n          return [x, y];\n        }\n      }\n      return null;\n    }\n    getCopy() {\n      const line = new CLine(this.point1[0], this.point1[1], this.point2[0], this.point2[1], this.getStrokeColor(), this.getLineWidth());\n      line.setA1(line.getA1());\n      line.setA2(line.getA2());\n      line.setA3(line.getA3());\n      return line;\n    }\n    translation(v) {\n      //console.debug(v);\n      if (this.position && typeof this.position === 'object') {\n        this.position[0] = this.position[0] + v[0];\n        this.position[1] = this.position[1] + v[1];\n      }\n      if (this.point1 && this.point2) {\n        this.point1[0] = this.point1[0] + v[0];\n        this.point1[1] = this.point1[1] + v[1];\n        this.point2[0] = this.point2[0] + v[0];\n        this.point2[1] = this.point2[1] + v[1];\n        this.defEquationFromPts();\n      }\n      if (this.getWidth() !== null && this.getHeight() !== null) {\n        this.setWidth(this.getWidth() + v[0]);\n        this.setHeight(this.getHeight() + v[1]);\n      }\n    }\n    move(v1, v2) {\n      //console.debug(v);\n      if (this.position && typeof this.position === 'object') {\n        this.position[0] = this.position[0] + v1[0];\n        this.position[1] = this.position[1] + v1[1];\n      }\n      if (this.point1 && this.point2) {\n        this.point1[0] = this.point1[0] + v1[0];\n        this.point1[1] = this.point1[1] + v1[1];\n        this.point2[0] = this.point2[0] + v2[0];\n        this.point2[1] = this.point2[1] + v2[1];\n        this.defEquationFromPts();\n      }\n      if (this.getWidth() !== null && this.getHeight() !== null) {\n        this.setWidth(this.getWidth() + v1[0]);\n        this.setHeight(this.getHeight() + v1[1]);\n      }\n    }\n  }\n  _exports.default = CLine;\n});","define(\"addon-canvas/models/CPolygon\", [\"exports\", \"addon-canvas/models/CShape\", \"addon-canvas/models/CLine\", \"addon-canvas/models/CCircle\"], function (_exports, _CShape, _CLine, _CCircle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CPolygon extends _CShape.default {\n    constructor(pts_, fillColor_, strokeColor_, lineWidth_) {\n      super(0, 0, 0, 0, fillColor_, strokeColor_, lineWidth_);\n      this.type = 'polygon';\n      this.points = null;\n      this.lines = null;\n      this.angles = null;\n      this.lines = [];\n      this.points = [];\n      this.angles = [];\n      this.centerPt = null;\n      if (pts_) {\n        this.setPoints(pts_);\n      }\n    }\n    getPoint(i) {\n      if (this.points.length >= i + 1) {\n        return this.points[i];\n      }\n    }\n    setCenterPt(c) {\n      this.center = c;\n    }\n    setPointI(pt, i) {\n      if (i === 0) {\n        this.position[0] = pt[0];\n        this.position[1] = pt[1];\n      }\n      this.points[i] = pt;\n    }\n    getCenterPt() {\n      return this.center;\n    }\n    getCopy() {\n      const p = new CPolygon();\n      p.copySphape(this);\n      p.setPoints(this.points);\n      return p;\n    }\n    getNewPoints() {\n      const pts = [];\n      for (let i = 0; i < this.points.length; i++) {\n        pts.push([this.points[i][0], this.points[i][1]]);\n      }\n      return pts;\n    }\n    setPoints(pts) {\n      if (pts !== null && typeof pts === 'object') {\n        if (pts.length > 1 && pts[0]) {\n          this.position = [pts[0][0], pts[0][1]];\n        }\n        this.points = [];\n        for (let i = 0, n = pts.length; i < n; i++) {\n          if (pts[i]) {\n            this.points.push([pts[i][0], pts[i][1]]);\n          }\n        }\n        this.lines = [];\n        this.defLines();\n\n        // default\n        for (let j = 0, max = this.points.length; j < max; j++) {\n          this.angles.push(Math.PI * (this.points.length - 2) / this.points.length);\n        }\n      }\n    }\n    getSectrixes(fract) {\n      const sextrixes = [];\n      for (let i = 0; i < this.lines.length; i++) {\n        const d = this.lines[i].getDistance() / 2;\n        const c = new _CCircle.default(0, 0, d, d);\n        c.defCenter(this.lines[i].getPoint1());\n        const pts = c.getIntersectionWithLine(this.lines[i]);\n        for (let j = 0, max = pts.length; j < max; j++) {\n          if (this.lines[i].checkIfPointOnSegment(pts[j])) {\n            const a = c.getAngleFromPoint(pts[j]) + this.angles[i] * fract;\n            const line = new _CLine.default(0, 0, 0, 0, [0, 0, 0]);\n            line.setTwoPoints(this.lines[i].getPoint1(), c.getPointOnCircle(a), true);\n            sextrixes.push(line);\n          }\n        }\n      }\n      return sextrixes;\n    }\n    getBisectrixesCenter() {\n      const bisextrixes = this.getSectrixes(0.5);\n      if (bisextrixes.length >= 2) {\n        return bisextrixes[0].getLinesIntersection(bisextrixes[1]);\n      }\n      return [];\n    }\n    getDiagonal(ind1, ind2) {\n      return new _CLine.default(this.points[ind1][0], this.points[ind1][1], this.points[ind2][0], this.points[ind2][1]);\n    }\n    getDiagonalsIntersection(ind1, ind2, ind3, ind4) {\n      const d1 = this.getDiagonal(ind1, ind2);\n      const d2 = this.getDiagonal(ind3, ind4);\n      return d1.getLinesIntersection(d2);\n    }\n    getPoints() {\n      return this.points;\n    }\n    getDiagonals() {}\n    /** set lines from points\n     *\n     */\n    defLines() {\n      this.lines = [];\n      if (this.points) {\n        for (let i = 0, n = this.points.length; i < n; i++) {\n          const j = i + 1 === this.points.length ? 0 : i + 1;\n          this.lines.push(new _CLine.default(this.points[i][0], this.points[i][1], this.points[j][0], this.points[j][1], [0, 0, 0]));\n        }\n      }\n      for (let index = 0; index < this.lines.length; index++) {\n        this.lines[index].defEquationFromPts();\n      }\n    }\n    setLines(l) {\n      this.lines = l;\n    }\n    getLines() {\n      return this.lines;\n    }\n    addPoint(point) {\n      this.points.push(point);\n      if (this.points.length === 1) {\n        this.position = point;\n      }\n    }\n    rotation() {}\n    translation(v) {\n      if (v !== null && typeof v === 'object') {\n        if (this.position !== null && typeof this.position === 'object') {\n          this.position[0] = this.position[0] + v[0];\n          this.position[1] = this.position[1] + v[1];\n        }\n        if (this.points !== null && typeof this.points === 'object') {\n          for (let i = 0, n = this.points.length; i < n; i++) {\n            this.points[i][0] = this.points[i][0] + v[0];\n            this.points[i][1] = this.points[i][1] + v[1];\n          }\n        }\n        this.defLines();\n      }\n    }\n    getGrid(nbC) {\n      const polygons = [];\n      // points of first square\n      const pt0 = this.points[0];\n      const pt1 = this.lines[0].getPointsMoveOnSegment(pt0, this.points[1], this.lines[0].getDistance() / nbC);\n      const pt3 = this.lines[3].getPointsMoveOnSegment(pt0, this.points[3], this.lines[3].getDistance() / nbC);\n      if (pt1 === null || pt3 === null) {\n        return [];\n      }\n      const v0 = this.defVector(pt0, pt1);\n      const v3 = this.defVector(pt0, pt3);\n      const pt2 = this.applyVector(pt1, v3);\n      let ptsB = [pt0, pt1, pt2, pt3];\n      for (let i = 0; i < nbC; i++) {\n        const ptsC = [ptsB[0], ptsB[1], ptsB[2], ptsB[3]];\n        for (let j = 0; j < nbC; j++) {\n          polygons.push(new CPolygon([ptsB[0], ptsB[1], ptsB[2], ptsB[3]], null));\n          ptsB[0] = ptsB[3];\n          ptsB[1] = ptsB[2];\n          ptsB[2] = this.applyVector(ptsB[2], v3);\n          ptsB[3] = this.applyVector(ptsB[3], v3);\n        }\n        ptsB = [ptsC[0], ptsC[1], ptsC[2], ptsC[3]];\n        for (let k = 0; k < 4; k++) {\n          ptsB[k] = this.applyVector(ptsB[k], v0);\n        }\n      }\n      return polygons;\n    }\n    roundValues(d) {\n      for (let i = 0, n = this.points.length; i < n; i++) {\n        this.points[i][0] = this.roundVal(this.points[i][0], d);\n        this.points[i][1] = this.roundVal(this.points[i][1], d);\n      }\n      for (let j = 0, m = this.lines.length; j < m; j++) {\n        this.lines[j].roundValues(d);\n      }\n      this.height = this.roundVal(this.height, d);\n      this.width = this.roundVal(this.width, d);\n    }\n    resizeShape(w, h) {\n      if (this.position) {\n        this.position[0] = this.position[0] * w;\n        this.position[1] = this.position[1] * h;\n      }\n      if (this.points) {\n        for (let i = 0, n = this.points.length; i < n; i++) {\n          this.points[i][0] = this.points[i][0] * w;\n          this.points[i][1] = this.points[i][1] * h;\n        }\n      }\n      if (this.lines) {\n        for (let j = 0, m = this.lines.length; j < m; j++) {\n          this.lines[j].resizeShape(w, h);\n        }\n      }\n    }\n    /**\n     * display polygon\n     * @param {type} context\n     * @param {type} offSet\n     * @returns {boolean}\n     */\n    display(context, offSet) {\n      if (offSet === null || typeof offSet !== 'object') {\n        offSet = [0, 0];\n      }\n      context.beginPath();\n      this.defStyle(context);\n      if (this.points && this.points.length > 0) {\n        // first point\n        context.moveTo(this.position[0] + offSet[0], this.position[1] + offSet[1]);\n        for (let i = 1, n = this.points.length; i < n; i++) {\n          context.lineTo(this.points[i][0] + offSet[0], this.points[i][1] + offSet[1]);\n        }\n        context.closePath();\n      }\n      context.stroke();\n      context.fill();\n      return true;\n    }\n    /** center polygon on the canvas\n     *\n     * @param canvasCenter\n     */\n    center(canvasCenter) {\n      let max = [0, 0];\n      for (let i = 0, n = this.points.length; i < n; i++) {\n        for (let j = 0; j < 2; j++) {\n          if (this.points[i][j] >= max[j]) {\n            max[j] = this.points[i][j];\n          }\n        }\n      }\n      let min = [max[0], max[1]];\n      for (let i = 0, n = this.points.length; i < n; i++) {\n        for (let j = 0; j < 2; j++) {\n          if (this.points[i][j] <= min[j]) {\n            min[j] = this.points[i][j];\n          }\n        }\n      }\n      const pCenter = [0, 0];\n      for (let j = 0; j < 2; j++) {\n        pCenter[j] = (max[j] + min[j]) / 2;\n      }\n      for (let i = 0, n = this.points.length; i < n; i++) {\n        this.points[i][0] += canvasCenter[0] - pCenter[0];\n        this.points[i][1] += canvasCenter[1] - pCenter[1];\n      }\n      this.position = [this.points[0][0], this.points[0][1]];\n      this.defLines();\n    }\n    // mini\n    getYBottom() {\n      let y = 0;\n      for (let i = 0, n = this.points.length; i < n; i++) {\n        if (i === 0 || y > this.points[i][1]) {\n          y = this.points[i][1];\n        }\n      }\n      return y;\n    }\n\n    // maxi\n    getYTop() {\n      let y = 0;\n      for (let i = 0, n = this.points.length; i < n; i++) {\n        if (this.points[i][1] > y) {\n          y = this.points[i][1];\n        }\n      }\n      return y;\n    }\n    getXCenter() {}\n    getYCenter() {}\n    calcWidth() {\n      return this.getXRight() - this.getXLeft();\n    }\n    calcHeight() {\n      return this.getYTop() - this.getYBottom();\n    }\n    // mini\n    getXLeft() {\n      let x = 0;\n      for (let i = 0, n = this.points.length; i < n; i++) {\n        if (i === 0 || x > this.points[i][0]) {\n          x = this.points[i][0];\n        }\n      }\n      return x;\n    }\n\n    // maxi\n    getXRight() {\n      let x = 0;\n      for (let i = 0, n = this.points.length; i < n; i++) {\n        if (this.points[i][0] > x) {\n          x = this.points[i][0];\n        }\n      }\n      return x;\n    }\n    checkIfPointIsTop(pt) {\n      for (let i = 0, n = this.points.length; i < n; i++) {\n        if (this.points[i][0] === pt[0] && this.points[i][1] === pt[1]) {\n          return true;\n        }\n      }\n      return false;\n    }\n    angleCalculation() {\n      if (this.lines.length === 3) {\n        // Al-Kashi Theorem\n        let a = this.lines[0].getDistance();\n        let b = this.lines[1].getDistance();\n        let c = this.lines[2].getDistance();\n        this.angles = new Array();\n\n        //α = arccos[(b² + c² − a²) ÷ 2bc]\n        this.angles[2] = Math.acos((b * b + c * c - a * a) / (2 * b * c));\n        //β = arccos[(a² + c² − b²) ÷ 2ac]\n        this.angles[0] = Math.acos((a * a + c * c - b * b) / (2 * a * c));\n        //γ = arccos[(a² + b² − c²) ÷ 2ab]\n        this.angles[1] = Math.acos((a * a + b * b - c * c) / (2 * a * b));\n      }\n    }\n  }\n  _exports.default = CPolygon;\n});","define(\"addon-canvas/models/CRect\", [\"exports\", \"addon-canvas/models/CShape\", \"addon-canvas/models/CLine\", \"addon-canvas/models/CPolygon\"], function (_exports, _CShape, _CLine, _CPolygon) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CRect extends _CShape.default {\n    constructor(x_, y_, width_, height_, fillColor_, strokeColor_, _lineWidth) {\n      super(x_, y_, width_, height_, fillColor_, strokeColor_, _lineWidth);\n      this.defPoints();\n    }\n    display(context, offSet) {\n      if (offSet === null || typeof offSet !== 'object') {\n        offSet = [0, 0];\n      }\n      this.roundValues();\n      context.beginPath();\n      this.defStyle(context);\n      context.rect(this.position[0] + offSet[0], this.position[1] + offSet[1], this.width, this.height);\n      context.fill();\n      context.stroke();\n      return true;\n    }\n    displayPoints(context, pts, offSet, color, size, w, h) {\n      if (context === null) {\n        return false;\n      }\n      if (pts === null) {\n        return false;\n      }\n      let d = 0;\n      let x = 0;\n      let y = 0;\n      if (size >= 2) {\n        d = size / 2;\n        if (d % 2 !== 0) {\n          d++;\n        }\n      }\n      if (d % 2 !== 0) {\n        size++;\n      }\n      context.beginPath();\n      for (let i = 0; i < pts.length; i++) {\n        if (pts[i]) {\n          x = pts[i][0] + offSet[0] - d;\n          y = pts[i][1] + offSet[1] - d;\n          if (x > 0 && y > 0 && x < w && y < h) {\n            if (color === null) {\n              context.beginPath();\n            }\n            context.lineWidth = size; // 2*2\n\n            context.strokeStyle = this.getColor(pts[i][3] ? pts[i][3] : color);\n            context.rect(x, y, 1, 1); // 2\n            if (color === null) {\n              context.stroke();\n            }\n          }\n        }\n      }\n      context.stroke();\n      return true;\n    }\n    get3DEffectShapes(v, color1, color2) {\n      const shapes = [];\n      shapes.push(new _CPolygon.default([[this.getX() + this.getWidth(), this.getY()], [this.getX() + this.getWidth() + v[0], this.getY() + v[1]], [this.getX() + this.getWidth() + v[0], this.getY() + this.getHeight() + v[1]], [this.getX() + this.getWidth(), this.getY() + this.getHeight()]], color1, null, '', 0));\n      shapes.push(new _CPolygon.default([[this.getX(), this.getY() + this.getHeight()], [this.getX() + this.getWidth(), this.getY() + this.getHeight()], [this.getX() + this.getWidth() + v[0], this.getY() + this.getHeight() + v[1]], [this.getX() + v[0], this.getY() + this.getHeight() + v[1]]], color2, null, '', 0));\n      return shapes;\n    }\n    defPoints() {\n      this.points = [];\n      this.points[0] = [this.getXLeft(), this.getYBottom()];\n      this.points[1] = [this.getXRight(), this.getYBottom()];\n      this.points[2] = [this.getXRight(), this.getYTop()];\n      this.points[3] = [this.getXLeft(), this.getYTop()];\n    }\n    getLines() {\n      return this.lines;\n    }\n    setPointI(pt, i) {\n      if (i === 0) {\n        this.position[0] = pt[0];\n        this.position[1] = pt[1];\n      }\n      this.points[i] = pt;\n    }\n    getPoints() {\n      return this.points;\n    }\n    defLines() {\n      this.lines = [];\n      if (this.points) {\n        for (let i = 0; i < this.points.length; i++) {\n          let j = i + 1 === this.points.length ? 0 : i + 1;\n          this.lines.push(new _CLine.default(this.points[i][0], this.points[i][1], this.points[j][0], this.points[j][1], [0, 0, 0]));\n        }\n      }\n    }\n  }\n  _exports.default = CRect;\n});","define(\"addon-canvas/models/CShape\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CShape {\n    constructor(x_, y_, width_, height_, fillColor_, strokeColor_, _lineWidth) {\n      this.width = 0;\n      this.height = 0;\n      this.grdType = 1;\n      this.touch = false;\n      this.lineJoin = '';\n      this.shadowBlur = 0;\n      this.shadowColor = null;\n      this.grdColors = null;\n      this.lineDash = null;\n      this.rotation = null;\n      this.vector = null;\n      this.vitesse = null;\n      this.fillColor = null;\n      this.strokeColor = null;\n      this.setWidth(width_);\n      this.setHeight(height_);\n      this.setFillColor(fillColor_);\n      this.setStrokeColor(strokeColor_);\n      this.setLineWidth(_lineWidth);\n      this.position = [x_, y_];\n      this.x = x_;\n      this.y = y_;\n      this.initialPosition = [x_, y_];\n      this.vector = [0, 0];\n      this.vitesse = [1, 1];\n      this.lineDash = [0];\n      this.type = 'shape';\n    }\n    getType() {\n      return this.type;\n    }\n    copySphape(o) {\n      this.x = o.x;\n      this.y = o.y;\n      this.width = o.width;\n      this.height = o.height;\n      this.grdType = o.grdType;\n      this.touch = o.touch;\n      this.lineJoin = o.lineJoin;\n      this.shadowBlur = o.shadowBlur;\n      this.shadowColor = o.shadowColor;\n      this.grdColors = o.grdColors;\n      this.lineDash = o.lineDash;\n      this.rotation = o.rotation;\n      this.vector = o.vector;\n      this.vitesse = o.vitesse;\n      this.position = [o.position[0], o.position[1]];\n      this.initialPosition = o.initialPosition;\n      this.lineWidth = o.lineWidth;\n      this.fillColor = o.fillColor;\n      this.strokeColor = o.strokeColor;\n    }\n    setShadow(blur, color) {\n      this.shadowBlur = blur;\n      this.shadowColor = color;\n    }\n    setLineWidth(w) {\n      this.lineWidth = typeof w === 'number' ? w : 1;\n    }\n    getLineWidth() {\n      return this.lineWidth;\n    }\n    setRotation(d) {\n      this.rotation = typeof d === 'number' ? d : null;\n    }\n    setStrokeColor(s) {\n      this.strokeColor = s ? s : null;\n    }\n    getStrokeColor() {\n      return this.strokeColor;\n    }\n    setFillColor(f) {\n      this.fillColor = f ? f : null;\n    }\n    getFillColor() {\n      return this.fillColor;\n    }\n    setLineJoin(l) {\n      this.lineJoin = l === null ? '' : l;\n      return this;\n    }\n    setLineDash(l) {\n      this.lineDash = l === null ? [0] : l;\n    }\n    getLineDash() {\n      return this.lineDash;\n    }\n    setPosition(p) {\n      this.x = p[0];\n      this.y = p[1];\n      this.position = [p[0], p[1]];\n    }\n    getPosition() {\n      return this.position;\n    }\n    getInitialPosition() {\n      return this.initialPosition;\n    }\n    setWidth(w) {\n      this.width = typeof w === 'number' ? w : 0;\n    }\n    getWidth() {\n      return this.width;\n    }\n    setHeight(h) {\n      this.height = typeof h === 'number' ? h : 0;\n    }\n    getHeight() {\n      return this.height;\n    }\n    setVector(v) {\n      this.vector = v;\n    }\n    getVector() {\n      return this.vector;\n    }\n    setTouch(t) {\n      this.touch = t;\n    }\n    getTouch() {\n      return this.touch;\n    }\n    getVectorX() {\n      return this.vector[0];\n    }\n    getVectorY() {\n      return this.vector[1];\n    }\n    setGradientType(n) {\n      this.grdType = n;\n    }\n    setGradientBackground(grdColors) {\n      this.grdColors = grdColors;\n    }\n    setX(p) {\n      this.x = p;\n      this.position[0] = p;\n    }\n    getX() {\n      return this.position[0];\n    }\n    setY(p) {\n      this.y = p;\n      this.position[1] = p;\n    }\n    getY() {\n      return this.position[1];\n    }\n    setXY(x, y) {\n      this.position = [x, y];\n    }\n    getYBottom() {\n      return this.position[1];\n    }\n    getYTop() {\n      return this.position[1] + this.height;\n    }\n    getXCenter() {\n      return this.position[0] + this.width / 2;\n    }\n    getYCenter() {\n      return this.position[1] + this.height / 2;\n    }\n    getXLeft() {\n      return this.position[0];\n    }\n    getXRight() {\n      return this.position[0] + this.width;\n    }\n    getCenter() {\n      return [this.getXCenter(), this.getYCenter()];\n    }\n    resizeShape(w, h) {\n      if (typeof w === 'number' && typeof h === 'number') {\n        this.setXY(this.getX() * w, this.getY() * h);\n        this.setWidth(this.getWidth() * w);\n        this.setHeight(this.getHeight() * h);\n        this.initialPosition[0] = this.initialPosition[0] * w;\n        this.initialPosition[1] = this.initialPosition[1] * h;\n      }\n    }\n    roundVal(v, d) {\n      if (typeof d !== 'number') {\n        d = 7;\n      }\n      if (d === 0) {\n        return Math.round(v);\n      }\n      return Math.round(v * Math.pow(10, d)) / Math.pow(10, d);\n    }\n    roundValPrec(v, d) {\n      if (typeof d !== 'number') {\n        d = 16;\n      }\n      return parseFloat(v.toPrecision(d));\n    }\n    translation(v) {\n      if (this.position !== null && typeof this.position === 'object' && v && typeof v === 'object') {\n        this.position[0] = this.position[0] + v[0];\n        this.position[1] = this.position[1] + v[1];\n      }\n    }\n    roundValues(d) {\n      this.height = this.roundVal(this.height, d);\n      this.width = this.roundVal(this.width, d);\n      this.x = this.roundVal(this.x, d);\n      this.y = this.roundVal(this.y, d);\n      if (this.position !== null && typeof this.position === 'object') {\n        this.position[0] = this.roundVal(this.position[0], d);\n        this.position[1] = this.roundVal(this.position[1], d);\n      }\n      if (this.initialPosition !== null && typeof this.initialPosition === 'object') {\n        this.initialPosition[0] = this.roundVal(this.initialPosition[0], d);\n        this.initialPosition[1] = this.roundVal(this.initialPosition[1], d);\n      }\n      if (this.vector !== null && typeof this.vector === 'object') {\n        this.vector[0] = this.roundVal(this.vector[0], d);\n        this.vector[1] = this.roundVal(this.vector[1], d);\n      }\n    }\n    addVector(v1, v2) {\n      return [v1[0] + v2[0], v1[1] + v2[1]];\n    }\n    defVector(pt1, pt2) {\n      return [pt2[0] - pt1[0], pt2[1] - pt1[1]];\n    }\n    applyVector(pt, v) {\n      return [pt[0] + v[0], pt[1] + v[1]];\n    }\n    getColor(color) {\n      if (color) {\n        if (color.length === 1) {\n          // name\n          return color[0];\n        }\n        if (color.length === 3) {\n          // RGB\n          for (let index = 0; index < 3; index++) {\n            if (color[index] > 255) {\n              color[index] = 255;\n            }\n          }\n          return `rgb(${color[0]},${color[1]},${color[2]})`;\n        }\n        if (color.length === 4) {\n          // RGBA\n          return `rgba(${color[0]},${color[1]},${color[2]},${color[3]})`;\n        }\n      } else {\n        // transparent\n        return 'transparent';\n      }\n    }\n    defStyle(context) {\n      context.lineWidth = this.lineWidth;\n      if (this.lineJoin !== '') {\n        // the shape used to join two line segments where they meet.\n        context.lineJoin = this.lineJoin;\n      }\n      if (this.lineDash && typeof context.setLineDash === 'function') {\n        context.setLineDash(this.lineDash);\n      } else {\n        context.setLineDash([]);\n      }\n      context.strokeStyle = this.getColor(this.strokeColor);\n      context.fillStyle = this.getColor(this.fillColor);\n      if (this.grdColors) {\n        // gradient\n        let grd = null;\n        if (typeof context.createLinearGradient === 'function') {\n          if (this.grdType === 1) {\n            grd = context.createLinearGradient(this.position[0], this.position[1], this.position[0] + this.width, this.position[1] + this.height);\n          } else {\n            grd = context.createLinearGradient(this.position[0], this.position[1], this.position[0] + this.width, this.position[1]);\n          }\n        } else if (typeof context.createRadialGradient === 'function') {\n          grd = context.createRadialGradient(this.getXCenter(), this.getYCenter(), 100, this.getXCenter(), this.getYCenter(), 0);\n        }\n        if (grd) {\n          for (let j = 0; j < this.grdColors.length; j++) {\n            if (this.grdColors[j].length === 3) {\n              grd.addColorStop(j, `rgb(${this.grdColors[j][0]},${this.grdColors[j][1]},${this.grdColors[j][2]})`);\n            } else {\n              grd.addColorStop(j, this.grdColors[j]);\n            }\n          }\n          context.fillStyle = grd;\n        }\n      }\n      if (this.shadowBlur === 0) {\n        context.shadowBlur = 0;\n        context.shadowColor = 'transparent';\n      } else {\n        // shadow\n        if (this.shadowColor !== null && typeof this.shadowColor === 'object') {\n          if (this.shadowColor.length === 3) {\n            context.shadowColor = `rgb(${this.shadowColor[0]},${this.shadowColor[1]},${this.shadowColor[2]})`;\n          }\n        } else {\n          context.shadowColor = this.shadowColor;\n        }\n        context.shadowBlur = this.shadowBlur;\n      }\n      return null;\n    }\n  }\n  _exports.default = CShape;\n});","define(\"addon-canvas/models/CText\", [\"exports\", \"addon-canvas/models/CShape\"], function (_exports, _CShape) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CText extends _CShape.default {\n    constructor(x_, y_, width_, height_, strokeColor_, text_) {\n      super(x_, y_, width_, height_, null, strokeColor_, text_);\n      this.text = text_;\n      this.font = 'Arial';\n    }\n    setFont(font_) {\n      this.font = font_;\n    }\n    getText() {\n      return this.text;\n    }\n    resizeShape(w, h) {\n      if (typeof w === 'number' && typeof h === 'number') {\n        this.setXY(this.getX() * w, this.getY() * h);\n        this.initialPosition[0] = this.initialPosition[0] * w;\n        this.initialPosition[1] = this.initialPosition[1] * h;\n      }\n    }\n    display(context, offSet) {\n      context.beginPath();\n      context.strokeStyle = null;\n      if (this.strokeColor) {\n        context.fillStyle = `rgb(${this.strokeColor[0]},${this.strokeColor[1]},${this.strokeColor[2]})`;\n      }\n      context.font = `${this.height}px ${this.font}`;\n      context.fillText(this.text, this.position[0] + offSet[0], this.position[1] + offSet[1]);\n      context.fill();\n      context.stroke();\n    }\n  }\n  _exports.default = CText;\n});","define(\"addon-canvas/models/CTriangle\", [\"exports\", \"addon-canvas/models/CPolygon\", \"addon-canvas/models/CLine\", \"addon-canvas/models/CCircle\"], function (_exports, _CPolygon, _CLine, _CCircle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CTriangle extends _CPolygon.default {\n    constructor(pts_, fillColor_, strokeColor_, lineWidth_) {\n      super(pts_, fillColor_, strokeColor_, lineWidth_);\n      this.angles = [];\n      this.bisextrixes = [];\n      this.hauteurs = [];\n      this.bisextrixesCenter = [];\n      this.debugObjects = [];\n    }\n    getCircleSide() {\n      const a = this.lines[0].getDistance();\n      return new _CCircle.default(this.points[0][0] - a, this.points[0][1] - a, a * 2, a * 2);\n    }\n    getPointTest(i) {\n      this.angleCalculation();\n      const lines = this.getLines();\n      const a = lines[i].getDistance();\n      const circle = new _CCircle.default(this.points[i][0] - a, this.points[i][1] - a, a * 2, a * 2);\n      const angle = circle.getAngleFromPoint(this.points[i]);\n      return circle.getPointOnCircle(angle);\n    }\n    /*euler circle passes through the midpoint of each side of the triangle*/\n    getNinePointCircle() {\n      const pts = this.getLinesCenters();\n      const c = new _CCircle.default(0, 0, 0, 0, null, [0, 0, 0]);\n      c.defCircleFromPoints(pts);\n      return c;\n    }\n    getOppositePoint(line) {\n      this.roundValues();\n      line.roundValues();\n      for (let j = 0; j < this.points.length; j++) {\n        if (line.getX1() !== this.points[j][0] && line.getY1() !== this.points[j][1] && line.getX2() !== this.points[j][0] && line.getY2() !== this.points[j][1]) {\n          return this.points[j];\n        }\n      }\n    }\n    getBisectors(strokeColor) {\n      const bisectors = [];\n      for (let j = 0; j < this.lines.length; j++) {\n        this.lines[j].defEquationFromPts();\n        const l = this.lines[j].getPerpendicular(this.lines[j].getCenter());\n        l.setStrokeColor(strokeColor);\n        l.setLineWidth(2);\n        for (let k = 0; k < this.lines.length; k++) {\n          if (k !== j && k >= 0) {\n            let pt = this.lines[k].getLinesIntersection(l);\n            if (pt && this.lines[k].checkIfPointOnSegment(pt)) {\n              l.setPoint2(pt);\n              bisectors.push(l);\n              break;\n            }\n          }\n        }\n      }\n      return bisectors;\n    }\n    getAltitudes() {\n      this.hauteurs = [];\n      for (let j = 0; j < this.lines.length; j++) {\n        this.lines[j].defEquationFromPts();\n        // perpendicular line\n        const l = new _CLine.default(0, 0, 0, 0, [0, 0, 0]);\n        l.setPoint1(this.getOppositePoint(this.lines[j]));\n        l.defVarEq(-1 / this.lines[j].getA1());\n        l.setLineWidth(2);\n        const pt2 = this.lines[j].getLinesIntersection(l);\n        l.setPoint2(pt2);\n        this.hauteurs.push(l);\n      }\n      return this.hauteurs;\n    }\n    getLinesCenters() {\n      const pts = [];\n      for (let j = 0; j < this.lines.length; j++) {\n        // center of the ligne\n        pts.push([this.lines[j].getXCenter(), this.lines[j].getYCenter()]);\n      }\n      return pts;\n    }\n    getMedians() {\n      const medians = [];\n      this.roundValues();\n      for (let j = 0; j < this.lines.length; j++) {\n        const middlePt = this.lines[j].getCenter();\n        const apex = this.getOppositePoint(this.lines[j]);\n        medians.push(new _CLine.default(middlePt[0], middlePt[1], apex[0], apex[1], [0, 0, 0], 1));\n      }\n      return medians;\n    }\n    getOrthocenter() {\n      this.getAltitudes();\n      if (this.hauteurs.length <= 1) {\n        return [0, 0];\n      }\n      return this.hauteurs[0].getLinesIntersection(this.hauteurs[1]);\n    }\n    getCircumscribedCircle() {\n      const c = new _CCircle.default(0, 0, 0, 0, null, [0, 0, 0]);\n      c.defCircleFromPoints(this.points);\n      return c;\n    }\n    getIncircle() {\n      this.getBisectrixes();\n      this.getAltitudes();\n      const r = 2 * this.getSurface() / this.getPerimeter();\n      const c = new _CCircle.default(0, 0, 0, 0, null, [0, 0, 0]);\n      c.setWidth(r * 2);\n      c.setHeight(r * 2);\n      if (this.bisextrixesCenter) {\n        c.setPosition([this.bisextrixesCenter[0] - r, this.bisextrixesCenter[1] - r]);\n      }\n      return c;\n    }\n    getSurface() {\n      //  Math.sqrt(1/2*perimeter * (p − a) (p − b) (p − c))\n      const p = this.getPerimeter() / 2;\n      return Math.sqrt(p * (p - this.lines[0].getDistance()) * (p - this.lines[1].getDistance()) * (p - this.lines[2].getDistance()));\n    }\n    getPerimeter() {\n      let p = 0;\n      for (let j = 0; j < this.lines.length; j++) {\n        p += this.lines[j].getDistance();\n      }\n      return p;\n    }\n    getBisectrixes() {\n      this.bisextrixes = this.getSectrixes(0.5);\n      if (this.bisextrixes.length > 0) {\n        this.bisextrixesCenter = this.bisextrixes[0].getLinesIntersection(this.bisextrixes[1]);\n      }\n      return this.bisextrixes;\n    }\n    getBisectrixesCenter() {\n      this.bisextrixes = this.getSectrixes(0.5);\n      if (this.bisextrixes.length >= 1) {\n        this.bisextrixesCenter = this.bisextrixes[0].getLinesIntersection(this.bisextrixes[1]);\n        return this.bisextrixesCenter;\n      }\n      return null;\n    }\n    getHauteursBottoms() {\n      this.hauteurs = this.getAltitudes();\n      const pts = [];\n      for (let j = 0; j < this.hauteurs.length; j++) {\n        pts.push(this.lines[j].getLinesIntersection(this.hauteurs[j]));\n      }\n      return pts;\n    }\n    getOrthicTriangle(strokeColor) {\n      const t = new CTriangle(this.getHauteursBottoms());\n      t.setStrokeColor(strokeColor);\n      return t;\n    }\n    getSectrixes(fract) {\n      const sextrixes = [];\n      for (let i = 0; i < this.points.length; i++) {\n        const line = this.getGenericSectrixe(i, fract);\n        if (line !== null) {\n          sextrixes.push(line);\n        }\n      }\n      return sextrixes;\n    }\n    getGenericSectrixe(i, fract) {\n      let s = i + 1;\n      if (s === this.points.length) {\n        s = 0;\n      }\n      let adj = i - 1;\n      if (adj < 0) {\n        adj = 2;\n      }\n      this.lines[i].defEquationFromPts();\n      const a = this.lines[i].getDistance();\n      const c = new _CCircle.default(0, 0, 0);\n      c.defCenter(this.points[i]);\n      c.setWidthFixCenter(a);\n      let aX = 0;\n      const ptsAdj = c.getIntersectionWithSegment(this.lines[adj]);\n      for (let index = 0; index < ptsAdj.length; index++) {\n        aX = c.getAngleFromPoint(ptsAdj[index]);\n        break;\n      }\n      const pts = c.getIntersectionWithSegment(this.lines[i]);\n      for (let index = 0; index < pts.length; index++) {\n        const ab = c.getAngleFromPoint(pts[index]);\n        const a0 = ab + (-ab + aX) * fract;\n        const pt2 = c.getPointOnCircle(a0);\n        const line = new _CLine.default();\n        line.setTwoPoints(this.points[i], pt2, true);\n        const pt = this.lines[s].getLinesIntersection(line);\n        if (pt) {\n          line.setTwoPoints(this.points[i], pt, true);\n          line.setLineWidth(2);\n          line.setStrokeColor([0, 0, 0]);\n          return line;\n        }\n      }\n      return null;\n    }\n  }\n  _exports.default = CTriangle;\n});","define(\"addon-canvas/models/OrbitControls\", [\"exports\", \"three\"], function (_exports, _three) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.OrbitControls = _exports.MapControls = void 0;\n  // This set of controls performs orbiting, dollying (zooming), and panning.\n  // Unlike TrackballControls, it maintains the \"up\" direction object.up (+Y by default).\n  //\n  //    Orbit - left mouse / touch: one-finger move\n  //    Zoom - middle mouse, or mousewheel / touch: two-finger spread or squish\n  //    Pan - right mouse, or left mouse + ctrl/meta/shiftKey, or arrow keys / touch: two-finger move\n\n  const _changeEvent = {\n    type: 'change'\n  };\n  const _startEvent = {\n    type: 'start'\n  };\n  const _endEvent = {\n    type: 'end'\n  };\n  class OrbitControls extends _three.EventDispatcher {\n    constructor(object, domElement) {\n      super();\n      this.object = object;\n      this.domElement = domElement;\n      this.domElement.style.touchAction = 'none'; // disable touch scroll\n\n      // Set to false to disable this control\n      this.enabled = true;\n\n      // \"target\" sets the location of focus, where the object orbits around\n      this.target = new _three.Vector3();\n\n      // How far you can dolly in and out ( PerspectiveCamera only )\n      this.minDistance = 0;\n      this.maxDistance = Infinity;\n\n      // How far you can zoom in and out ( OrthographicCamera only )\n      this.minZoom = 0;\n      this.maxZoom = Infinity;\n\n      // How far you can orbit vertically, upper and lower limits.\n      // Range is 0 to Math.PI radians.\n      this.minPolarAngle = 0; // radians\n      this.maxPolarAngle = Math.PI; // radians\n\n      // How far you can orbit horizontally, upper and lower limits.\n      // If set, the interval [ min, max ] must be a sub-interval of [ - 2 PI, 2 PI ], with ( max - min < 2 PI )\n      this.minAzimuthAngle = -Infinity; // radians\n      this.maxAzimuthAngle = Infinity; // radians\n\n      // Set to true to enable damping (inertia)\n      // If damping is enabled, you must call controls.update() in your animation loop\n      this.enableDamping = false;\n      this.dampingFactor = 0.05;\n\n      // This option actually enables dollying in and out; left as \"zoom\" for backwards compatibility.\n      // Set to false to disable zooming\n      this.enableZoom = true;\n      this.zoomSpeed = 1.0;\n\n      // Set to false to disable rotating\n      this.enableRotate = true;\n      this.rotateSpeed = 1.0;\n\n      // Set to false to disable panning\n      this.enablePan = true;\n      this.panSpeed = 1.0;\n      this.screenSpacePanning = true; // if false, pan orthogonal to world-space direction camera.up\n      this.keyPanSpeed = 7.0; // pixels moved per arrow key push\n\n      // Set to true to automatically rotate around the target\n      // If auto-rotate is enabled, you must call controls.update() in your animation loop\n      this.autoRotate = false;\n      this.autoRotateSpeed = 2.0; // 30 seconds per orbit when fps is 60\n\n      // The four arrow keys\n      this.keys = {\n        LEFT: 'ArrowLeft',\n        UP: 'ArrowUp',\n        RIGHT: 'ArrowRight',\n        BOTTOM: 'ArrowDown'\n      };\n\n      // Mouse buttons\n      this.mouseButtons = {\n        LEFT: _three.MOUSE.ROTATE,\n        MIDDLE: _three.MOUSE.DOLLY,\n        RIGHT: _three.MOUSE.PAN\n      };\n\n      // Touch fingers\n      this.touches = {\n        ONE: _three.TOUCH.ROTATE,\n        TWO: _three.TOUCH.DOLLY_PAN\n      };\n\n      // for reset\n      this.target0 = this.target.clone();\n      this.position0 = this.object.position.clone();\n      this.zoom0 = this.object.zoom;\n\n      // the target DOM element for key events\n      this._domElementKeyEvents = null;\n\n      //\n      // public methods\n      //\n\n      this.getPolarAngle = function () {\n        return spherical.phi;\n      };\n      this.getAzimuthalAngle = function () {\n        return spherical.theta;\n      };\n      this.getDistance = function () {\n        return this.object.position.distanceTo(this.target);\n      };\n      this.listenToKeyEvents = function (domElement) {\n        domElement.addEventListener('keydown', onKeyDown);\n        this._domElementKeyEvents = domElement;\n      };\n      this.saveState = function () {\n        scope.target0.copy(scope.target);\n        scope.position0.copy(scope.object.position);\n        scope.zoom0 = scope.object.zoom;\n      };\n      this.reset = function () {\n        scope.target.copy(scope.target0);\n        scope.object.position.copy(scope.position0);\n        scope.object.zoom = scope.zoom0;\n        scope.object.updateProjectionMatrix();\n        scope.dispatchEvent(_changeEvent);\n        scope.update();\n        state = STATE.NONE;\n      };\n\n      // this method is exposed, but perhaps it would be better if we can make it private...\n      this.update = function () {\n        const offset = new _three.Vector3();\n\n        // so camera.up is the orbit axis\n        const quat = new _three.Quaternion().setFromUnitVectors(object.up, new _three.Vector3(0, 1, 0));\n        const quatInverse = quat.clone().invert();\n        const lastPosition = new _three.Vector3();\n        const lastQuaternion = new _three.Quaternion();\n        const twoPI = 2 * Math.PI;\n        return function update() {\n          const position = scope.object.position;\n          offset.copy(position).sub(scope.target);\n\n          // rotate offset to \"y-axis-is-up\" space\n          offset.applyQuaternion(quat);\n\n          // angle from z-axis around y-axis\n          spherical.setFromVector3(offset);\n          if (scope.autoRotate && state === STATE.NONE) {\n            rotateLeft(getAutoRotationAngle());\n          }\n          if (scope.enableDamping) {\n            spherical.theta += sphericalDelta.theta * scope.dampingFactor;\n            spherical.phi += sphericalDelta.phi * scope.dampingFactor;\n          } else {\n            spherical.theta += sphericalDelta.theta;\n            spherical.phi += sphericalDelta.phi;\n          }\n\n          // restrict theta to be between desired limits\n\n          let min = scope.minAzimuthAngle;\n          let max = scope.maxAzimuthAngle;\n          if (isFinite(min) && isFinite(max)) {\n            if (min < -Math.PI) min += twoPI;else if (min > Math.PI) min -= twoPI;\n            if (max < -Math.PI) max += twoPI;else if (max > Math.PI) max -= twoPI;\n            if (min <= max) {\n              spherical.theta = Math.max(min, Math.min(max, spherical.theta));\n            } else {\n              spherical.theta = spherical.theta > (min + max) / 2 ? Math.max(min, spherical.theta) : Math.min(max, spherical.theta);\n            }\n          }\n\n          // restrict phi to be between desired limits\n          spherical.phi = Math.max(scope.minPolarAngle, Math.min(scope.maxPolarAngle, spherical.phi));\n          spherical.makeSafe();\n          spherical.radius *= scale;\n\n          // restrict radius to be between desired limits\n          spherical.radius = Math.max(scope.minDistance, Math.min(scope.maxDistance, spherical.radius));\n\n          // move target to panned location\n\n          if (scope.enableDamping === true) {\n            scope.target.addScaledVector(panOffset, scope.dampingFactor);\n          } else {\n            scope.target.add(panOffset);\n          }\n          offset.setFromSpherical(spherical);\n\n          // rotate offset back to \"camera-up-vector-is-up\" space\n          offset.applyQuaternion(quatInverse);\n          position.copy(scope.target).add(offset);\n          scope.object.lookAt(scope.target);\n          if (scope.enableDamping === true) {\n            sphericalDelta.theta *= 1 - scope.dampingFactor;\n            sphericalDelta.phi *= 1 - scope.dampingFactor;\n            panOffset.multiplyScalar(1 - scope.dampingFactor);\n          } else {\n            sphericalDelta.set(0, 0, 0);\n            panOffset.set(0, 0, 0);\n          }\n          scale = 1;\n\n          // update condition is:\n          // min(camera displacement, camera rotation in radians)^2 > EPS\n          // using small-angle approximation cos(x/2) = 1 - x^2 / 8\n\n          if (zoomChanged || lastPosition.distanceToSquared(scope.object.position) > EPS || 8 * (1 - lastQuaternion.dot(scope.object.quaternion)) > EPS) {\n            scope.dispatchEvent(_changeEvent);\n            lastPosition.copy(scope.object.position);\n            lastQuaternion.copy(scope.object.quaternion);\n            zoomChanged = false;\n            return true;\n          }\n          return false;\n        };\n      }();\n      this.dispose = function () {\n        scope.domElement.removeEventListener('contextmenu', onContextMenu);\n        scope.domElement.removeEventListener('pointerdown', onPointerDown);\n        scope.domElement.removeEventListener('pointercancel', onPointerCancel);\n        scope.domElement.removeEventListener('wheel', onMouseWheel);\n        scope.domElement.removeEventListener('pointermove', onPointerMove);\n        scope.domElement.removeEventListener('pointerup', onPointerUp);\n        if (scope._domElementKeyEvents !== null) {\n          scope._domElementKeyEvents.removeEventListener('keydown', onKeyDown);\n        }\n\n        //scope.dispatchEvent( { type: 'dispose' } ); // should this be added here?\n      };\n\n      //\n      // internals\n      //\n\n      const scope = this;\n      const STATE = {\n        NONE: -1,\n        ROTATE: 0,\n        DOLLY: 1,\n        PAN: 2,\n        TOUCH_ROTATE: 3,\n        TOUCH_PAN: 4,\n        TOUCH_DOLLY_PAN: 5,\n        TOUCH_DOLLY_ROTATE: 6\n      };\n      let state = STATE.NONE;\n      const EPS = 0.000001;\n\n      // current position in spherical coordinates\n      const spherical = new _three.Spherical();\n      const sphericalDelta = new _three.Spherical();\n      let scale = 1;\n      const panOffset = new _three.Vector3();\n      let zoomChanged = false;\n      const rotateStart = new _three.Vector2();\n      const rotateEnd = new _three.Vector2();\n      const rotateDelta = new _three.Vector2();\n      const panStart = new _three.Vector2();\n      const panEnd = new _three.Vector2();\n      const panDelta = new _three.Vector2();\n      const dollyStart = new _three.Vector2();\n      const dollyEnd = new _three.Vector2();\n      const dollyDelta = new _three.Vector2();\n      const pointers = [];\n      const pointerPositions = {};\n      function getAutoRotationAngle() {\n        return 2 * Math.PI / 60 / 60 * scope.autoRotateSpeed;\n      }\n      function getZoomScale() {\n        return Math.pow(0.95, scope.zoomSpeed);\n      }\n      function rotateLeft(angle) {\n        sphericalDelta.theta -= angle;\n      }\n      function rotateUp(angle) {\n        sphericalDelta.phi -= angle;\n      }\n      const panLeft = function () {\n        const v = new _three.Vector3();\n        return function panLeft(distance, objectMatrix) {\n          v.setFromMatrixColumn(objectMatrix, 0); // get X column of objectMatrix\n          v.multiplyScalar(-distance);\n          panOffset.add(v);\n        };\n      }();\n      const panUp = function () {\n        const v = new _three.Vector3();\n        return function panUp(distance, objectMatrix) {\n          if (scope.screenSpacePanning === true) {\n            v.setFromMatrixColumn(objectMatrix, 1);\n          } else {\n            v.setFromMatrixColumn(objectMatrix, 0);\n            v.crossVectors(scope.object.up, v);\n          }\n          v.multiplyScalar(distance);\n          panOffset.add(v);\n        };\n      }();\n\n      // deltaX and deltaY are in pixels; right and down are positive\n      const pan = function () {\n        const offset = new _three.Vector3();\n        return function pan(deltaX, deltaY) {\n          const element = scope.domElement;\n          if (scope.object.isPerspectiveCamera) {\n            // perspective\n            const position = scope.object.position;\n            offset.copy(position).sub(scope.target);\n            let targetDistance = offset.length();\n\n            // half of the fov is center to top of screen\n            targetDistance *= Math.tan(scope.object.fov / 2 * Math.PI / 180.0);\n\n            // we use only clientHeight here so aspect ratio does not distort speed\n            panLeft(2 * deltaX * targetDistance / element.clientHeight, scope.object.matrix);\n            panUp(2 * deltaY * targetDistance / element.clientHeight, scope.object.matrix);\n          } else if (scope.object.isOrthographicCamera) {\n            // orthographic\n            panLeft(deltaX * (scope.object.right - scope.object.left) / scope.object.zoom / element.clientWidth, scope.object.matrix);\n            panUp(deltaY * (scope.object.top - scope.object.bottom) / scope.object.zoom / element.clientHeight, scope.object.matrix);\n          } else {\n            // camera neither orthographic nor perspective\n            console.warn('WARNING: OrbitControls.js encountered an unknown camera type - pan disabled.');\n            scope.enablePan = false;\n          }\n        };\n      }();\n      function dollyOut(dollyScale) {\n        if (scope.object.isPerspectiveCamera) {\n          scale /= dollyScale;\n        } else if (scope.object.isOrthographicCamera) {\n          scope.object.zoom = Math.max(scope.minZoom, Math.min(scope.maxZoom, scope.object.zoom * dollyScale));\n          scope.object.updateProjectionMatrix();\n          zoomChanged = true;\n        } else {\n          console.warn('WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled.');\n          scope.enableZoom = false;\n        }\n      }\n      function dollyIn(dollyScale) {\n        if (scope.object.isPerspectiveCamera) {\n          scale *= dollyScale;\n        } else if (scope.object.isOrthographicCamera) {\n          scope.object.zoom = Math.max(scope.minZoom, Math.min(scope.maxZoom, scope.object.zoom / dollyScale));\n          scope.object.updateProjectionMatrix();\n          zoomChanged = true;\n        } else {\n          console.warn('WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled.');\n          scope.enableZoom = false;\n        }\n      }\n\n      //\n      // event callbacks - update the object state\n      //\n\n      function handleMouseDownRotate(event) {\n        rotateStart.set(event.clientX, event.clientY);\n      }\n      function handleMouseDownDolly(event) {\n        dollyStart.set(event.clientX, event.clientY);\n      }\n      function handleMouseDownPan(event) {\n        panStart.set(event.clientX, event.clientY);\n      }\n      function handleMouseMoveRotate(event) {\n        rotateEnd.set(event.clientX, event.clientY);\n        rotateDelta.subVectors(rotateEnd, rotateStart).multiplyScalar(scope.rotateSpeed);\n        const element = scope.domElement;\n        rotateLeft(2 * Math.PI * rotateDelta.x / element.clientHeight); // yes, height\n\n        rotateUp(2 * Math.PI * rotateDelta.y / element.clientHeight);\n        rotateStart.copy(rotateEnd);\n        scope.update();\n      }\n      function handleMouseMoveDolly(event) {\n        dollyEnd.set(event.clientX, event.clientY);\n        dollyDelta.subVectors(dollyEnd, dollyStart);\n        if (dollyDelta.y > 0) {\n          dollyOut(getZoomScale());\n        } else if (dollyDelta.y < 0) {\n          dollyIn(getZoomScale());\n        }\n        dollyStart.copy(dollyEnd);\n        scope.update();\n      }\n      function handleMouseMovePan(event) {\n        panEnd.set(event.clientX, event.clientY);\n        panDelta.subVectors(panEnd, panStart).multiplyScalar(scope.panSpeed);\n        pan(panDelta.x, panDelta.y);\n        panStart.copy(panEnd);\n        scope.update();\n      }\n      function handleMouseWheel(event) {\n        if (event.deltaY < 0) {\n          dollyIn(getZoomScale());\n        } else if (event.deltaY > 0) {\n          dollyOut(getZoomScale());\n        }\n        scope.update();\n      }\n      function handleKeyDown(event) {\n        let needsUpdate = false;\n        switch (event.code) {\n          case scope.keys.UP:\n            pan(0, scope.keyPanSpeed);\n            needsUpdate = true;\n            break;\n          case scope.keys.BOTTOM:\n            pan(0, -scope.keyPanSpeed);\n            needsUpdate = true;\n            break;\n          case scope.keys.LEFT:\n            pan(scope.keyPanSpeed, 0);\n            needsUpdate = true;\n            break;\n          case scope.keys.RIGHT:\n            pan(-scope.keyPanSpeed, 0);\n            needsUpdate = true;\n            break;\n        }\n        if (needsUpdate) {\n          // prevent the browser from scrolling on cursor keys\n          event.preventDefault();\n          scope.update();\n        }\n      }\n      function handleTouchStartRotate() {\n        if (pointers.length === 1) {\n          rotateStart.set(pointers[0].pageX, pointers[0].pageY);\n        } else {\n          const x = 0.5 * (pointers[0].pageX + pointers[1].pageX);\n          const y = 0.5 * (pointers[0].pageY + pointers[1].pageY);\n          rotateStart.set(x, y);\n        }\n      }\n      function handleTouchStartPan() {\n        if (pointers.length === 1) {\n          panStart.set(pointers[0].pageX, pointers[0].pageY);\n        } else {\n          const x = 0.5 * (pointers[0].pageX + pointers[1].pageX);\n          const y = 0.5 * (pointers[0].pageY + pointers[1].pageY);\n          panStart.set(x, y);\n        }\n      }\n      function handleTouchStartDolly() {\n        const dx = pointers[0].pageX - pointers[1].pageX;\n        const dy = pointers[0].pageY - pointers[1].pageY;\n        const distance = Math.sqrt(dx * dx + dy * dy);\n        dollyStart.set(0, distance);\n      }\n      function handleTouchStartDollyPan() {\n        if (scope.enableZoom) handleTouchStartDolly();\n        if (scope.enablePan) handleTouchStartPan();\n      }\n      function handleTouchStartDollyRotate() {\n        if (scope.enableZoom) handleTouchStartDolly();\n        if (scope.enableRotate) handleTouchStartRotate();\n      }\n      function handleTouchMoveRotate(event) {\n        if (pointers.length == 1) {\n          rotateEnd.set(event.pageX, event.pageY);\n        } else {\n          const position = getSecondPointerPosition(event);\n          const x = 0.5 * (event.pageX + position.x);\n          const y = 0.5 * (event.pageY + position.y);\n          rotateEnd.set(x, y);\n        }\n        rotateDelta.subVectors(rotateEnd, rotateStart).multiplyScalar(scope.rotateSpeed);\n        const element = scope.domElement;\n        rotateLeft(2 * Math.PI * rotateDelta.x / element.clientHeight); // yes, height\n\n        rotateUp(2 * Math.PI * rotateDelta.y / element.clientHeight);\n        rotateStart.copy(rotateEnd);\n      }\n      function handleTouchMovePan(event) {\n        if (pointers.length === 1) {\n          panEnd.set(event.pageX, event.pageY);\n        } else {\n          const position = getSecondPointerPosition(event);\n          const x = 0.5 * (event.pageX + position.x);\n          const y = 0.5 * (event.pageY + position.y);\n          panEnd.set(x, y);\n        }\n        panDelta.subVectors(panEnd, panStart).multiplyScalar(scope.panSpeed);\n        pan(panDelta.x, panDelta.y);\n        panStart.copy(panEnd);\n      }\n      function handleTouchMoveDolly(event) {\n        const position = getSecondPointerPosition(event);\n        const dx = event.pageX - position.x;\n        const dy = event.pageY - position.y;\n        const distance = Math.sqrt(dx * dx + dy * dy);\n        dollyEnd.set(0, distance);\n        dollyDelta.set(0, Math.pow(dollyEnd.y / dollyStart.y, scope.zoomSpeed));\n        dollyOut(dollyDelta.y);\n        dollyStart.copy(dollyEnd);\n      }\n      function handleTouchMoveDollyPan(event) {\n        if (scope.enableZoom) handleTouchMoveDolly(event);\n        if (scope.enablePan) handleTouchMovePan(event);\n      }\n      function handleTouchMoveDollyRotate(event) {\n        if (scope.enableZoom) handleTouchMoveDolly(event);\n        if (scope.enableRotate) handleTouchMoveRotate(event);\n      }\n\n      //\n      // event handlers - FSM: listen for events and reset state\n      //\n\n      function onPointerDown(event) {\n        if (scope.enabled === false) return;\n        if (pointers.length === 0) {\n          scope.domElement.setPointerCapture(event.pointerId);\n          scope.domElement.addEventListener('pointermove', onPointerMove);\n          scope.domElement.addEventListener('pointerup', onPointerUp);\n        }\n\n        //\n\n        addPointer(event);\n        if (event.pointerType === 'touch') {\n          onTouchStart(event);\n        } else {\n          onMouseDown(event);\n        }\n      }\n      function onPointerMove(event) {\n        if (scope.enabled === false) return;\n        if (event.pointerType === 'touch') {\n          onTouchMove(event);\n        } else {\n          onMouseMove(event);\n        }\n      }\n      function onPointerUp(event) {\n        removePointer(event);\n        if (pointers.length === 0) {\n          scope.domElement.releasePointerCapture(event.pointerId);\n          scope.domElement.removeEventListener('pointermove', onPointerMove);\n          scope.domElement.removeEventListener('pointerup', onPointerUp);\n        }\n        scope.dispatchEvent(_endEvent);\n        state = STATE.NONE;\n      }\n      function onPointerCancel(event) {\n        removePointer(event);\n      }\n      function onMouseDown(event) {\n        let mouseAction;\n        switch (event.button) {\n          case 0:\n            mouseAction = scope.mouseButtons.LEFT;\n            break;\n          case 1:\n            mouseAction = scope.mouseButtons.MIDDLE;\n            break;\n          case 2:\n            mouseAction = scope.mouseButtons.RIGHT;\n            break;\n          default:\n            mouseAction = -1;\n        }\n        switch (mouseAction) {\n          case _three.MOUSE.DOLLY:\n            if (scope.enableZoom === false) return;\n            handleMouseDownDolly(event);\n            state = STATE.DOLLY;\n            break;\n          case _three.MOUSE.ROTATE:\n            if (event.ctrlKey || event.metaKey || event.shiftKey) {\n              if (scope.enablePan === false) return;\n              handleMouseDownPan(event);\n              state = STATE.PAN;\n            } else {\n              if (scope.enableRotate === false) return;\n              handleMouseDownRotate(event);\n              state = STATE.ROTATE;\n            }\n            break;\n          case _three.MOUSE.PAN:\n            if (event.ctrlKey || event.metaKey || event.shiftKey) {\n              if (scope.enableRotate === false) return;\n              handleMouseDownRotate(event);\n              state = STATE.ROTATE;\n            } else {\n              if (scope.enablePan === false) return;\n              handleMouseDownPan(event);\n              state = STATE.PAN;\n            }\n            break;\n          default:\n            state = STATE.NONE;\n        }\n        if (state !== STATE.NONE) {\n          scope.dispatchEvent(_startEvent);\n        }\n      }\n      function onMouseMove(event) {\n        switch (state) {\n          case STATE.ROTATE:\n            if (scope.enableRotate === false) return;\n            handleMouseMoveRotate(event);\n            break;\n          case STATE.DOLLY:\n            if (scope.enableZoom === false) return;\n            handleMouseMoveDolly(event);\n            break;\n          case STATE.PAN:\n            if (scope.enablePan === false) return;\n            handleMouseMovePan(event);\n            break;\n        }\n      }\n      function onMouseWheel(event) {\n        if (scope.enabled === false || scope.enableZoom === false || state !== STATE.NONE) return;\n        event.preventDefault();\n        scope.dispatchEvent(_startEvent);\n        handleMouseWheel(event);\n        scope.dispatchEvent(_endEvent);\n      }\n      function onKeyDown(event) {\n        if (scope.enabled === false || scope.enablePan === false) return;\n        handleKeyDown(event);\n      }\n      function onTouchStart(event) {\n        trackPointer(event);\n        switch (pointers.length) {\n          case 1:\n            switch (scope.touches.ONE) {\n              case _three.TOUCH.ROTATE:\n                if (scope.enableRotate === false) return;\n                handleTouchStartRotate();\n                state = STATE.TOUCH_ROTATE;\n                break;\n              case _three.TOUCH.PAN:\n                if (scope.enablePan === false) return;\n                handleTouchStartPan();\n                state = STATE.TOUCH_PAN;\n                break;\n              default:\n                state = STATE.NONE;\n            }\n            break;\n          case 2:\n            switch (scope.touches.TWO) {\n              case _three.TOUCH.DOLLY_PAN:\n                if (scope.enableZoom === false && scope.enablePan === false) return;\n                handleTouchStartDollyPan();\n                state = STATE.TOUCH_DOLLY_PAN;\n                break;\n              case _three.TOUCH.DOLLY_ROTATE:\n                if (scope.enableZoom === false && scope.enableRotate === false) return;\n                handleTouchStartDollyRotate();\n                state = STATE.TOUCH_DOLLY_ROTATE;\n                break;\n              default:\n                state = STATE.NONE;\n            }\n            break;\n          default:\n            state = STATE.NONE;\n        }\n        if (state !== STATE.NONE) {\n          scope.dispatchEvent(_startEvent);\n        }\n      }\n      function onTouchMove(event) {\n        trackPointer(event);\n        switch (state) {\n          case STATE.TOUCH_ROTATE:\n            if (scope.enableRotate === false) return;\n            handleTouchMoveRotate(event);\n            scope.update();\n            break;\n          case STATE.TOUCH_PAN:\n            if (scope.enablePan === false) return;\n            handleTouchMovePan(event);\n            scope.update();\n            break;\n          case STATE.TOUCH_DOLLY_PAN:\n            if (scope.enableZoom === false && scope.enablePan === false) return;\n            handleTouchMoveDollyPan(event);\n            scope.update();\n            break;\n          case STATE.TOUCH_DOLLY_ROTATE:\n            if (scope.enableZoom === false && scope.enableRotate === false) return;\n            handleTouchMoveDollyRotate(event);\n            scope.update();\n            break;\n          default:\n            state = STATE.NONE;\n        }\n      }\n      function onContextMenu(event) {\n        if (scope.enabled === false) return;\n        event.preventDefault();\n      }\n      function addPointer(event) {\n        pointers.push(event);\n      }\n      function removePointer(event) {\n        delete pointerPositions[event.pointerId];\n        for (let i = 0; i < pointers.length; i++) {\n          if (pointers[i].pointerId == event.pointerId) {\n            pointers.splice(i, 1);\n            return;\n          }\n        }\n      }\n      function trackPointer(event) {\n        let position = pointerPositions[event.pointerId];\n        if (position === undefined) {\n          position = new _three.Vector2();\n          pointerPositions[event.pointerId] = position;\n        }\n        position.set(event.pageX, event.pageY);\n      }\n      function getSecondPointerPosition(event) {\n        const pointer = event.pointerId === pointers[0].pointerId ? pointers[1] : pointers[0];\n        return pointerPositions[pointer.pointerId];\n      }\n\n      //\n\n      scope.domElement.addEventListener('contextmenu', onContextMenu);\n      scope.domElement.addEventListener('pointerdown', onPointerDown);\n      scope.domElement.addEventListener('pointercancel', onPointerCancel);\n      scope.domElement.addEventListener('wheel', onMouseWheel, {\n        passive: false\n      });\n\n      // force an update at start\n\n      this.update();\n    }\n  }\n\n  // This set of controls performs orbiting, dollying (zooming), and panning.\n  // Unlike TrackballControls, it maintains the \"up\" direction object.up (+Y by default).\n  // This is very similar to OrbitControls, another set of touch behavior\n  //\n  //    Orbit - right mouse, or left mouse + ctrl/meta/shiftKey / touch: two-finger rotate\n  //    Zoom - middle mouse, or mousewheel / touch: two-finger spread or squish\n  //    Pan - left mouse, or arrow keys / touch: one-finger move\n  _exports.OrbitControls = OrbitControls;\n  class MapControls extends OrbitControls {\n    constructor(object, domElement) {\n      super(object, domElement);\n      this.screenSpacePanning = false; // pan orthogonal to world-space direction camera.up\n\n      this.mouseButtons.LEFT = _three.MOUSE.PAN;\n      this.mouseButtons.RIGHT = _three.MOUSE.ROTATE;\n      this.touches.ONE = _three.TOUCH.PAN;\n      this.touches.TWO = _three.TOUCH.DOLLY_ROTATE;\n    }\n  }\n  _exports.MapControls = MapControls;\n});","define(\"addon-canvas/models/ParametricGeometry\", [\"exports\", \"three\"], function (_exports, _three) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Parametric Surfaces Geometry\n   * based on the brilliant article by @prideout https://prideout.net/blog/old/blog/index.html@p=44.html\n   */\n\n  class ParametricGeometry extends _three.BufferGeometry {\n    constructor(func = (u, v, target) => target.set(u, v, Math.cos(u) * Math.sin(v)), slices = 8, stacks = 8) {\n      super();\n      this.type = 'ParametricGeometry';\n      this.parameters = {\n        func: func,\n        slices: slices,\n        stacks: stacks\n      };\n\n      // buffers\n\n      const indices = [];\n      const vertices = [];\n      const normals = [];\n      const uvs = [];\n      const EPS = 0.00001;\n      const normal = new _three.Vector3();\n      const p0 = new _three.Vector3(),\n        p1 = new _three.Vector3();\n      const pu = new _three.Vector3(),\n        pv = new _three.Vector3();\n\n      // generate vertices, normals and uvs\n\n      const sliceCount = slices + 1;\n      for (let i = 0; i <= stacks; i++) {\n        const v = i / stacks;\n        for (let j = 0; j <= slices; j++) {\n          const u = j / slices;\n\n          // vertex\n\n          func(u, v, p0);\n          vertices.push(p0.x, p0.y, p0.z);\n\n          // normal\n\n          // approximate tangent vectors via finite differences\n\n          if (u - EPS >= 0) {\n            func(u - EPS, v, p1);\n            pu.subVectors(p0, p1);\n          } else {\n            func(u + EPS, v, p1);\n            pu.subVectors(p1, p0);\n          }\n          if (v - EPS >= 0) {\n            func(u, v - EPS, p1);\n            pv.subVectors(p0, p1);\n          } else {\n            func(u, v + EPS, p1);\n            pv.subVectors(p1, p0);\n          }\n\n          // cross product of tangent vectors returns surface normal\n\n          normal.crossVectors(pu, pv).normalize();\n          normals.push(normal.x, normal.y, normal.z);\n\n          // uv\n\n          uvs.push(u, v);\n        }\n      }\n\n      // generate indices\n\n      for (let i = 0; i < stacks; i++) {\n        for (let j = 0; j < slices; j++) {\n          const a = i * sliceCount + j;\n          const b = i * sliceCount + j + 1;\n          const c = (i + 1) * sliceCount + j + 1;\n          const d = (i + 1) * sliceCount + j;\n\n          // faces one and two\n\n          indices.push(a, b, d);\n          indices.push(b, c, d);\n        }\n      }\n\n      // build geometry\n\n      this.setIndex(indices);\n      this.setAttribute('position', new _three.Float32BufferAttribute(vertices, 3));\n      this.setAttribute('normal', new _three.Float32BufferAttribute(normals, 3));\n      this.setAttribute('uv', new _three.Float32BufferAttribute(uvs, 2));\n    }\n  }\n  _exports.default = ParametricGeometry;\n});","define(\"addon-canvas/models/ParametrizedCurve\", [\"exports\", \"three\"], function (_exports, _three) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.ParametrizedCurve = void 0;\n  class ParametrizedCurve extends _three.Curve {\n    constructor(scale, parametrizedFunction, normalizeFunction, args, w, h, px) {\n      super();\n      this.scale = scale;\n      this.parametrizedFunction = parametrizedFunction;\n      this.normalizeFunction = normalizeFunction;\n      this.args = args;\n      this.pX = px;\n      this.w = w;\n      this.h = h;\n      if (typeof this.args == \"undefined\") {\n        this.args = {};\n      }\n      if (typeof this.args.tMax == \"undefined\") {\n        this.args.tMax = 2 * Math.PI;\n      }\n    }\n    getPoint(t, optionalTarget = new _three.Vector3()) {\n      const pt = this.normalizeFunction(this.parametrizedFunction(t * this.args.tMax, this.args));\n      return optionalTarget.set(pt[0], pt[1], pt[2]).multiplyScalar(this.scale);\n    }\n  }\n  _exports.ParametrizedCurve = ParametrizedCurve;\n});","define(\"addon-canvas/models/canvas-buffer\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CanvasBuffer {\n    constructor() {\n      this.imagedata = null;\n      this.w = 0;\n      this.h = 0;\n      this.offSet = 0;\n    }\n    initialize(imagedata, w, h, offSet) {\n      this.imagedata = imagedata;\n      this.w = w;\n      this.h = h;\n      this.offSet = offSet;\n    }\n  }\n  _exports.default = CanvasBuffer;\n});","define(\"addon-canvas/models/canvas-data-32\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CanvasData32 {\n    constructor() {\n      this.isLittleEndian = false;\n      this.buf8 = null;\n      this.data = null;\n      this.w = 0;\n      this.h = 0;\n      this.offSet = 0;\n    }\n    getImageData(imagedata) {\n      imagedata.data.set(this.buf8);\n    }\n    initialize(imagedata, w, h, offSet) {\n      this.w = w;\n      this.h = h;\n      this.offSet = offSet;\n      // new buffer\n      const buffer = new ArrayBuffer(imagedata.data.length);\n\n      // Uint8ClampedArray (imagedata.data)\n      this.buf8 = new Uint8ClampedArray(buffer);\n      // writing object\n      this.data = new Uint32Array(buffer);\n\n      // Determine whether Uint32 is little- or big-endian.\n      this.data[1] = 0x0a0b0c0d;\n      this.isLittleEndian = true;\n      if (buffer[4] === 0x0a && buffer[5] === 0x0b && buffer[6] === 0x0c && buffer[7] === 0x0d) {\n        this.isLittleEndian = false;\n      }\n    }\n    addBackgroundInImageData(color) {\n      if (color === null) {\n        return false;\n      }\n      this.data.fill(this.getValColor(color));\n      return true;\n    }\n    addPointsInData(pts, color, size) {\n      if (pts === null || typeof pts !== 'object') {\n        return false;\n      }\n      for (let i = 0; i < pts.length; i++) {\n        if (pts[i]) {\n          this.addOnePointInData(pts[i], pts[i][3] ? pts[i][3] : color, size);\n        }\n      }\n      return true;\n    }\n    addBackgroundInDrawingArea(color, w, h, x1, y1) {\n      for (let indexY = y1; indexY < h; indexY++) {\n        for (let indexX = x1; indexX < w; indexX++) {\n          this.addOnePointInData([indexX, indexY], color, 1);\n        }\n      }\n    }\n    addOnePointInData(pt, color, size) {\n      if (color === null) {\n        return false;\n      }\n      if (size <= 1) {\n        return this.updateData(Math.floor(pt[0]), Math.floor(pt[1]), color);\n      }\n      if (size % 2 != 0) {\n        size++;\n      }\n      for (let indexY = 0; indexY < size; indexY++) {\n        // Center around y0\n        const y = Math.floor(pt[1] + indexY - Math.floor(size / 2));\n        for (let indexX = 0; indexX < size; indexX++) {\n          // Center around x0\n          this.updateData(Math.floor(pt[0] + indexX - Math.floor(size / 2)), y, color);\n        }\n      }\n      return true;\n    }\n    getPoints(ignoreBlackPts) {\n      const pts = [];\n      for (let i = 0; i < this.data.length; i++) {\n        const y = Math.floor(i / this.w);\n        if (this.data[i] && (ignoreBlackPts == false || this.data[i] > 0)) {\n          pts.push([i - y * this.w, y, null,\n          // z\n          this.getRgbColor(this.data[i])]);\n        }\n      }\n      return pts;\n    }\n    getRgbColor(value) {\n      if (this.isLittleEndian) {\n        return [value & 0xff, value >> 8 & 0xff, value >> 16 & 0xff, value >> 24 & 0xff];\n      }\n      return [value >> 24 & 0xff, value >> 16 & 0xff, value >> 8 & 0xff, value & 0xff];\n    }\n    updateData(x, y, color) {\n      if (x < 0) {\n        return false;\n      }\n      if (y < 0) {\n        return false;\n      }\n      if (x >= this.w) {\n        return false;\n      }\n      if (y >= this.h) {\n        return false;\n      }\n      const k = y * this.w + x;\n      if (k >= 0 && k <= this.data.length) {\n        this.data[k] = this.getValColor(color);\n        return true;\n      }\n      return false;\n    }\n    getValColor(color) {\n      if (typeof color[3] !== 'number' || color[3] === Infinity || color[3] > 255) {\n        color[3] = 255; // default alpha\n      }\n      return this.isLittleEndian ? Math.round(color[3] << 24) |\n      // alpha\n      Math.round(color[2] << 16) |\n      // blue\n      Math.round(color[1] << 8) |\n      // green\n      Math.round(color[0]) : Math.round(color[0] << 24) |\n      // red\n      Math.round(color[1] << 16) |\n      // green\n      Math.round(color[2] << 8) |\n      // blue\n      Math.round(color[3]); // alpha;\n    }\n  }\n  _exports.default = CanvasData32;\n});","define(\"addon-canvas/models/canvas-data\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CanvasData {\n    constructor() {\n      this.imagedata = null;\n      this.w = 0;\n      this.h = 0;\n      this.offSet = 0;\n    }\n    initialize(imagedata, w, h, offSet) {\n      this.imagedata = imagedata;\n      this.w = w;\n      this.h = h;\n      this.offSet = offSet;\n    }\n    getImageData() {\n      return this.imagedata;\n    }\n    getData() {\n      return this.imagedata.data;\n    }\n    setData(data) {\n      this.imagedata.data = data;\n    }\n    addBackgroundInImageData(color) {\n      if (color === null) {\n        return false;\n      }\n      for (let _i = 0; _i < this.imagedata.data.length; _i += 4) {\n        this.imagedata.data[_i] = color[0];\n        this.imagedata.data[_i + 1] = color[1];\n        this.imagedata.data[_i + 2] = color[2];\n        this.imagedata.data[_i + 3] = 255;\n      }\n      return true;\n    }\n    testImageData() {\n      let j = 0;\n      for (let _i = 0; _i < this.imagedata.data.length; _i += 4) {\n        this.imagedata.data[_i + 1] = Math.round(Math.random() * 255);\n        this.imagedata.data[_i + 2] = Math.round(Math.random() * 255);\n        this.imagedata.data[_i + 3] = Math.round(Math.random() * 255);\n        j++;\n        if (j > 255) {\n          j = 0;\n        }\n      }\n    }\n    addPointsInData(pts, color, size) {\n      if (pts === null) {\n        return false;\n      }\n      if (typeof pts !== 'object') {\n        return false;\n      }\n      for (let i = 0; i < pts.length; i++) {\n        if (pts[i][3]) {\n          // specific color\n          this.addOnePointInData(pts[i], pts[i][3], size);\n        } else {\n          this.addOnePointInData(pts[i], color, size);\n        }\n      }\n      return true;\n    }\n    addOnePointInData(pt, color, size) {\n      let x = Math.floor(pt[0]) + this.offSet[0];\n      let y = Math.floor(pt[1]) + this.offSet[1];\n      let i = 0;\n      let j = 0;\n      let k = 0;\n      if (size % 2 === 0) {\n        x -= size / 2;\n        y -= size / 2;\n      } else if (size > 1) {\n        x -= (size - 1) / 2;\n        y -= (size - 1) / 2;\n      }\n      for (let indexY = 0; indexY < size; indexY++) {\n        for (let indexX = 0; indexX < size; indexX++) {\n          if (x + 1 > this.imagedata.width) {\n            return false;\n          }\n          if (y + 1 > this.imagedata.height) {\n            return false;\n          }\n          i = Math.floor(x) * 4;\n          j = Math.floor(y) * this.w * 4;\n          k = i + j;\n          if (k >= 0 && this.imagedata.data.length > k + 3) {\n            this.imagedata.data[k] = color[0];\n            this.imagedata.data[k + 1] = color[1];\n            this.imagedata.data[k + 2] = color[2];\n            if (typeof color[3] === 'number') {\n              this.imagedata.data[k + 3] = color[3];\n            } else {\n              this.imagedata.data[k + 3] = 255;\n            }\n          }\n          x++;\n        }\n        y++;\n      }\n      return true;\n    }\n  }\n  _exports.default = CanvasData;\n});","define(\"addon-canvas/models/canvas-service\", [\"exports\", \"addon-canvas/models/video-service\"], function (_exports, _videoService) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class CanvasService {\n    constructor() {\n      _defineProperty(this, \"idElementCanvas\", '');\n      _defineProperty(this, \"drawComplete\", false);\n      _defineProperty(this, \"canvasParams\", {});\n      _defineProperty(this, \"urlImgs\", []);\n      _defineProperty(this, \"currentImageIndex\", 0);\n      _defineProperty(this, \"triggerVideo\", false);\n      _defineProperty(this, \"videoUrl\", '');\n      _defineProperty(this, \"processCanvas\", null);\n      _defineProperty(this, \"videoService\", null);\n      _defineProperty(this, \"recordingId\", false);\n      _defineProperty(this, \"canvasElement\", null);\n      _defineProperty(this, \"enable3D\", false);\n      this.urlImgs = [];\n      this.recordingId = '';\n      this.intervalID = 0;\n      this.currentListener = '';\n      this.videoService = new _videoService.default();\n      this.videoService.clearRecorder();\n    }\n    getActiveType() {\n      if (typeof this.canvas3d !== 'undefined' && this.canvas3d != null) {\n        return \"3d\";\n      }\n      if (this.canvasElement != null) {\n        return \"2d\";\n      }\n      return \"\";\n    }\n    is3DInitialized() {\n      return typeof this.canvas3d !== 'undefined' && this.canvas3d != null;\n    }\n    is3DEnabled() {\n      return this.enable3D === true && typeof this.canvas3d !== 'undefined' && this.canvas3d != null;\n    }\n    destroy3D() {\n      this.canvas3d = null;\n    }\n    clearRecorder() {\n      if (this.videoService) {\n        this.videoService.clearRecorder();\n      }\n    }\n    getCanvasElement() {\n      return document.getElementById(this.idElementCanvas);\n    }\n    toggleAutoRotate() {\n      if (this.is3DEnabled()) {\n        this.canvas3d.toggleAutoRotate();\n      }\n      return true;\n    }\n    toggleZoomIn() {\n      if (this.is3DEnabled()) {\n        return this.canvas3d.toggleZoomIn();\n      }\n      return true;\n    }\n    toggleVideo(f, id) {\n      this.videoService.idElementCanvas = this.idElementCanvas;\n      if (this.is3DEnabled()) {\n        return this.canvas3d.toggleRecorder(f, id);\n      }\n      if (this.isRecorderActive()) {\n        this.recordingId = '';\n        // stop\n        if (this.urlImgs.length > 0) {\n          this.createVideoFromImgs(20, false);\n        }\n      } else {\n        // start\n        this.urlImgs = [];\n        this.initRecord(f, id);\n      }\n      return true;\n    }\n    initRecord(f, id) {\n      // start\n      this.recordingId = id;\n      this.videoService.currentListener = `videoReady${id}`;\n      this.videoService.setVideoListener(f, id);\n    }\n    toggleRecorder(f, id) {\n      this.videoService.idElementCanvas = this.idElementCanvas;\n      if (this.isRecorderActive()) {\n        // stop\n        this.recordingId = '';\n        this.videoService.snapShot(true);\n      } else {\n        // start\n        this.recordingId = id;\n        this.videoService.currentListener = `videoReady${id}`;\n        this.videoService.setVideoListener(f, id);\n        this.videoService.startNewRecorder();\n      }\n      return true;\n    }\n    setVideoListener(f, id) {\n      if (this.is3DEnabled()) {\n        return this.canvas3d.videoService.setVideoListener(f, id);\n      }\n      return this.videoService.setVideoListener(f, id);\n    }\n    isRecorderActive() {\n      if (this.is3DEnabled()) {\n        return this.canvas3d.recordingId;\n      }\n      return this.recordingId != '';\n    }\n    snapShot(triggerVideo) {\n      if (this.is3DEnabled()) {\n        return this.canvas3d.videoService.snapShot(triggerVideo);\n      }\n      return this.videoService.snapShot(triggerVideo);\n    }\n    createVideoFromImgs(fps, reverse) {\n      if (this.urlImgs.length == 0) {\n        return false;\n      }\n      this.videoService.idElementCanvas = this.idElementCanvas;\n      this.stopVideoFromImgs();\n      this.currentImageIndex = reverse === true ? this.urlImgs.length - 1 : 0;\n      const ms = 1 / fps * 1000;\n\n      //this.videoService.sendRecordingEvent();\n      this.intervalID = setInterval(() => {\n        this.createVideoFrame(reverse, this.urlImgs);\n      }, ms); // 90 ms => 60 000 / 90 =\n      return true;\n    }\n    createVideoFrame(reverse, urlImgs) {\n      if (urlImgs && urlImgs.length > 0) {\n        if (this.videoService.setCurrentRecorder() === false) {\n          this.stopVideoFromImgs();\n          return false;\n        }\n\n        //this.downloadImgUrl(\"img-\"+this.currentImageIndex, this.urlImgs[this.currentImageIndex], \"jpg\")\n\n        if (!this.drawFromImgUrl(this.currentImageIndex)) {\n          return false;\n        }\n        if (reverse === true && this.currentImageIndex === 0 || reverse === false && this.currentImageIndex >= urlImgs.length - 1) {\n          // end video\n          this.videoService.snapShot(true);\n          this.stopVideoFromImgs();\n          return false;\n        }\n        if (reverse === true) {\n          this.currentImageIndex--;\n        } else {\n          this.currentImageIndex++;\n        }\n        // continue\n        return true;\n      }\n\n      // end\n      this.stopVideoFromImgs();\n      return false;\n    }\n    stopVideoFromImgs() {\n      if (this.intervalID > 0) {\n        clearInterval(this.intervalID);\n        this.intervalID = 0;\n      }\n    }\n  }\n  _exports.default = CanvasService;\n});","define(\"addon-canvas/models/canvas2d-service\", [\"exports\", \"addon-canvas/models/CImg\", \"addon-canvas/models/CRect\", \"addon-canvas/models/CLine\", \"addon-canvas/models/canvas-data\", \"addon-canvas/models/canvas-data-32\", \"addon-canvas/models/filters/Filter\", \"addon-canvas/models/shapesgenerator\", \"addon-canvas/models/canvas-service\", \"addon-canvas/models/canvas3d-service\", \"addon-canvas/models/draw-service\", \"calc-utils/models/grid-adapter-service\", \"piexifjs\"], function (_exports, _CImg, _CRect, _CLine, _canvasData, _canvasData2, _Filter, _shapesgenerator, _canvasService, _canvas3dService, _drawService, _gridAdapterService, _piexifjs) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Canvas2dService extends _canvasService.default {\n    constructor() {\n      super();\n      _defineProperty(this, \"isFullScreen\", false);\n      _defineProperty(this, \"responsive\", true);\n      _defineProperty(this, \"offsetX\", 0);\n      _defineProperty(this, \"offsetY\", 0);\n      _defineProperty(this, \"drawingMargin\", null);\n      _defineProperty(this, \"portraitMode\", 'square');\n      _defineProperty(this, \"heightResizeMode\", 'window');\n      _defineProperty(this, \"widthLimitMode\", '');\n      _defineProperty(this, \"canvasWidth\", 0);\n      _defineProperty(this, \"canvasHeight\", 0);\n      _defineProperty(this, \"drawingWidth\", 0);\n      _defineProperty(this, \"drawingHeight\", 0);\n      _defineProperty(this, \"limitWidth\", 0);\n      _defineProperty(this, \"limitHeight\", 0);\n      _defineProperty(this, \"limitX0\", 0);\n      _defineProperty(this, \"limitY0\", 0);\n      _defineProperty(this, \"context\", null);\n      _defineProperty(this, \"idParent\", 0);\n      _defineProperty(this, \"position\", null);\n      _defineProperty(this, \"inverseY\", null);\n      _defineProperty(this, \"margin\", null);\n      _defineProperty(this, \"portrait\", false);\n      _defineProperty(this, \"objects\", null);\n      _defineProperty(this, \"data\", null);\n      _defineProperty(this, \"canvasData\", null);\n      _defineProperty(this, \"imageData\", null);\n      _defineProperty(this, \"imageDataType\", 32);\n      _defineProperty(this, \"buffer\", null);\n      _defineProperty(this, \"imageBuffer\", null);\n      _defineProperty(this, \"bufferCanvas\", null);\n      _defineProperty(this, \"bufferContext\", null);\n      _defineProperty(this, \"callback\", null);\n      _defineProperty(this, \"ratioWH\", 0);\n      _defineProperty(this, \"drawService\", null);\n      _defineProperty(this, \"gridAdapter\", null);\n      _defineProperty(this, \"shapesGenerator\", null);\n      _defineProperty(this, \"checksum\", '');\n      _defineProperty(this, \"urlImg\", '');\n      _defineProperty(this, \"urlImgDrawComplete\", '');\n      _defineProperty(this, \"offScreenCanvas\", null);\n      _defineProperty(this, \"filter\", null);\n      _defineProperty(this, \"idElementCanvasOffscreen\", '');\n      _defineProperty(this, \"stream\", null);\n      _defineProperty(this, \"params\", null);\n      _defineProperty(this, \"styleMarginBottom\", 0);\n      _defineProperty(this, \"canvas3d\", null);\n      this.drawService = new _drawService.default();\n      this.gridAdapter = new _gridAdapterService.default();\n      this.shapesGenerator = new _shapesgenerator.default();\n      this.filter = new _Filter.default();\n      this.urlImgs = [];\n      this.enable3D = false;\n      this.canvas3D = null;\n    }\n    reset() {\n      this.resetCanvas();\n      this.clearCanvas3D();\n      this.gridAdapter = new _gridAdapterService.default();\n    }\n    resetCanvas() {\n      this.clear();\n      this.filter = new _Filter.default();\n      this.buffer = null;\n      this.imageBuffer = null;\n      this.bufferCanvas = null;\n      this.bufferContext = null;\n      this.canvasData = null;\n      this.imageData = null;\n      this.urlImgDrawComplete = '';\n      this.urlImg = '';\n    }\n    getPortrait() {\n      return this.portrait;\n    }\n    setOffSetY(y) {\n      this.offsetY = y;\n    }\n    getCenter() {\n      return [this.getXCenter(), this.getYCenter()];\n    }\n    getXCenter() {\n      return this.drawingWidth / 2;\n    }\n    getYCenter() {\n      return this.drawingHeight / 2;\n    }\n    getWidth() {\n      return this.drawingWidth;\n    }\n    getHeight() {\n      return this.drawingHeight;\n    }\n    setWidth(w) {\n      this.drawingWidth = w;\n    }\n    setHeight(h) {\n      this.drawingHeight = h;\n    }\n    setGlobalCompositeOperation(f) {\n      this.context.globalCompositeOperation = f;\n    }\n    setGlobalAlpha(a) {\n      this.context.globalAlpha = a;\n    }\n    hideCanvas() {\n      this.clear();\n      if (this.canvasElement) {\n        this.canvasElement.setAttribute('style', 'display:none;');\n      }\n    }\n    showCanvas() {\n      if (this.canvasElement) {\n        let value = this.canvasElement.getAttribute('style');\n        if (value !== null) {\n          value = value.replace('display:none;', '');\n          this.canvasElement.setAttribute('style', value);\n        }\n      }\n    }\n    setParams(params) {\n      this.params = params;\n    }\n    setCanvasElement(idCanvas) {\n      this.canvasElement = document.getElementById(idCanvas);\n    }\n    initCanvas(idParent, idCanvas) {\n      this.resetCanvas();\n      this.gridAdapter.reset();\n      this.idParent = idParent;\n      const container = document.getElementById(this.idParent);\n      if (typeof idCanvas === 'string') {\n        this.canvasElement = document.getElementById(idCanvas);\n        this.idElementCanvas = idCanvas;\n      } else {\n        if (container === null) {\n          return false;\n        }\n        const canvasList = container.getElementsByTagName('canvas');\n        if (canvasList.length === 0) {\n          return false;\n        }\n\n        // get first canvas\n        this.canvasElement = canvasList[0];\n      }\n      if (this.canvasElement == null) {\n        return false;\n      }\n      this.setContext();\n      if (container) {\n        // get initial container dimensions\n        this.canvasWidth = container.offsetWidth;\n        this.canvasHeight = container.clientHeight;\n\n        // drawing surface (by default)\n        this.drawingWidth = this.canvasWidth;\n        this.drawingHeight = this.canvasHeight;\n        if (typeof this.canvasElement.id === 'string' && this.canvasElement.id !== '') {\n          this.position = this.getPos(this.canvasElement.id);\n        } else {\n          this.position = this.getPos(idParent);\n        }\n      }\n      this.objects = [];\n      this.setSizeForServices();\n      return true;\n    }\n    initDimensions(w, h, margins) {\n      this.canvasHeight = 0;\n      this.drawingWidth = 0;\n      this.drawingHeight = 0;\n      this.offsetY = 0;\n      const d = document;\n      const g = d.getElementsByTagName('body')[0];\n      const windowWidth = window.innerWidth || g.clientWidth;\n      const windowHeight = window.innerHeight || g.clientHeight;\n      const screenWidth = window.screen.width;\n      const screenHeight = window.screen.height;\n      const bodyRect = d.body.getBoundingClientRect();\n      if (this.params.marginAutoComponent == true) {\n        // apply margin bottom from component\n        const elementBottom = document.getElementById(this.params.componentID);\n        if (elementBottom) {\n          const styles1 = window.getComputedStyle(elementBottom);\n          if (styles1) {\n            const margin2 = parseInt(styles1.marginBottom);\n            margins[2] = margin2;\n          }\n        }\n      }\n      const elemRect = this.canvasElement.getBoundingClientRect();\n      // hauteur entre le haut du canvas et le haut du body (barre de navigation du site)\n      const offsetTop = elemRect.top - bodyRect.top;\n      this.portrait = windowHeight > windowWidth;\n      this.drawingWidth = this.canvasWidth;\n      const heightToWindowBottom = Math.round(windowHeight - offsetTop - margins[2]) + 4;\n      if (this.isFullScreen === true) {\n        // fullscreen\n        this.canvasWidth = screenWidth;\n        this.canvasHeight = screenHeight;\n        this.drawingWidth = this.canvasWidth;\n        this.drawingHeight = this.canvasHeight;\n        this.portrait = false;\n      } else if (h !== 0 && w === 0) {\n        // fixed height\n        this.canvasHeight = h;\n        this.drawingHeight = this.canvasHeight;\n        this.portrait = h > this.canvasWidth;\n        if (this.portrait && this.portraitMode === 'square-center') {\n          // square in the center of the screen\n          this.drawingHeight = this.drawingWidth;\n          this.offsetY = Math.round((h - this.canvasWidth) / 2);\n        }\n        if (this.portrait && this.portraitMode === 'square') {\n          // square in the center of the screen\n          this.drawingHeight = this.drawingWidth;\n          this.offsetY = 0;\n        }\n      } else if (h !== 0 && w !== 0) {\n        if (elemRect && w > windowWidth) {\n          //w = windowWidth*0.8;\n          //h = w;\n        }\n        // fixed height and width\n        this.canvasHeight = h;\n        this.canvasWidth = w;\n        this.drawingWidth = this.canvasWidth;\n        this.drawingHeight = this.canvasHeight;\n        this.portrait = false;\n        this.responsive = false;\n      } else {\n        if (this.portrait === true) {\n          if (this.portraitMode === 'square') {\n            // height = width\n            this.canvasHeight = this.canvasWidth;\n            this.drawingHeight = this.canvasWidth;\n            this.styleMarginBottom = margins[2];\n          } else if (this.portraitMode === 'square-center') {\n            // square in the center of the screen\n            this.canvasHeight = heightToWindowBottom;\n            this.drawingHeight = this.drawingWidth;\n            this.offsetY = Math.round((windowHeight - offsetTop - windowWidth) / 2);\n          } else if (this.portraitMode === 'window') {\n            // full height\n            this.canvasHeight = heightToWindowBottom;\n            this.drawingHeight = this.canvasHeight;\n          }\n        } else {\n          if (this.heightResizeMode === 'window') {\n            this.canvasHeight = heightToWindowBottom;\n            this.drawingHeight = this.canvasHeight;\n          }\n        }\n      }\n      this.canvasWidth = Math.round(this.canvasWidth);\n      this.canvasHeight = Math.round(this.canvasHeight);\n      this.drawingWidth = Math.round(this.drawingWidth);\n      this.drawingHeight = Math.round(this.drawingHeight);\n      this.offsetY = Math.round(this.offsetY);\n      this.setLimitDimensions();\n      this.setSizeForServices();\n      this.setCanvasHTMLSizeAttributes(this.canvasWidth, this.canvasHeight);\n    }\n    getIsLandscape() {\n      return this.isFullScreen || this.portrait === false && this.responsive === true && this.widthLimitMode === '';\n    }\n    setLimitDimensions(margin) {\n      this.limitWidth = this.drawingWidth;\n      this.limitHeight = this.drawingHeight;\n      this.limitX0 = 0;\n      this.limitY0 = 0;\n      if (this.portrait === false && this.widthLimitMode === 'h') {\n        this.limitHeight = Math.round(this.drawingHeight);\n        this.limitWidth = Math.round(this.drawingHeight);\n      } else {\n        this.limitHeight = Math.round(this.drawingHeight);\n        this.limitWidth = Math.round(this.drawingWidth);\n      }\n      this.ratioWH = this.drawingWidth / this.drawingHeight;\n      if (typeof margin !== 'object') {\n        margin = [0, 0];\n      }\n      const marginPx = [Math.round(margin[0] * this.limitWidth), Math.round(margin[1] * this.limitHeight)];\n      this.limitWidth -= marginPx[0];\n      this.limitHeight -= marginPx[1];\n      if (this.widthLimitMode === 'h') {\n        if (this.canvasWidth > this.canvasHeight) {\n          this.limitX0 = Math.round((this.canvasWidth - this.canvasHeight) / 2) + marginPx[0] / 2;\n        }\n      } else {\n        this.limitX0 = marginPx[0] / 2;\n      }\n      this.limitY0 = Math.round(this.offsetY) + marginPx[1] / 2;\n      this.gridAdapter.gridChanged = Math.abs(this.limitWidth - this.gridAdapter.limitWidth) > 2 || Math.abs(this.limitHeight - this.gridAdapter.limitHeight) > 2;\n    }\n    getShapesGenerator(w, h) {\n      const shapesGenerator = new _shapesgenerator.default();\n      shapesGenerator.setHeight(h);\n      shapesGenerator.setWidth(w);\n      return shapesGenerator;\n    }\n    setSizeForServices() {\n      this.shapesGenerator.setHeight(this.drawingHeight);\n      this.shapesGenerator.setWidth(this.drawingWidth);\n      this.gridAdapter.setHeight(this.drawingHeight);\n      this.gridAdapter.setWidth(this.drawingWidth);\n      this.drawService.canvasWidth = this.canvasWidth;\n      this.drawService.canvasHeight = this.canvasHeight;\n      this.drawService.drawingWidth = this.drawingWidth;\n      this.drawService.drawingHeight = this.drawingHeight;\n      this.drawService.limitWidth = this.limitWidth;\n      this.drawService.limitHeight = this.limitHeight;\n      this.drawService.limitX0 = this.limitX0;\n      this.drawService.limitY0 = this.limitY0;\n      this.gridAdapter.limitWidth = this.limitWidth;\n      this.gridAdapter.limitHeight = this.limitHeight;\n      this.gridAdapter.limitX0 = this.limitX0;\n      this.gridAdapter.limitY0 = this.limitY0;\n    }\n    setContext() {\n      this.context = null;\n      if (this.canvasElement) {\n        this.context = this.canvasElement.getContext('2d');\n        this.drawService.context = this.context;\n        return !this.context;\n      }\n      return false;\n    }\n    clear() {\n      if (this.context && this.canvasElement) {\n        this.context.clearRect(0, 0, this.canvasElement.width, this.canvasElement.height);\n      }\n    }\n    getLimitWidth() {\n      return this.limitWidth;\n    }\n    getLimitHeight() {\n      return this.limitHeight;\n    }\n    setDimension(w, h) {\n      if (w > 0) {\n        this.canvasWidth = w;\n        this.drawingWidth = w;\n        this.limitWidth = w;\n      }\n      if (h > 0) {\n        this.canvasHeight = h;\n        this.drawingHeight = h;\n        this.limitHeight = h;\n      }\n      this.setCanvasHTMLSizeAttributes(w, h);\n      this.setSizeForServices();\n    }\n    /**\n     *\n     * @param {type} event\n     * @returns {Array}\n     */\n    getMousePosOnCanvas(event) {\n      const absPos = this.getMousePos(event);\n      const canvasPos = this.getPos();\n      return [absPos[0] - canvasPos[0], absPos[1] - canvasPos[1]];\n    }\n    getPos() {\n      if (this.canvasElement) {\n        const rect = this.canvasElement.getBoundingClientRect();\n        return [rect.left, rect.top];\n      }\n      return [0, 0];\n    }\n    getMousePos(event) {\n      event = event || window.event; // IE-ism\n      // If pageX/Y aren't available and clientX/Y are,\n      // calculate pageX/Y - logic taken from jQuery.\n      // (This is to support old IE)\n      if (event.pageX === null && event.clientX !== null) {\n        const eventDoc = event.target !== null && event.target.ownerDocument || document;\n        const doc = eventDoc.documentElement;\n        const body = eventDoc.body;\n        event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && doc.clientLeft || body && body.clientLeft || 0);\n        event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc && doc.clientTop || body && body.clientTop || 0);\n      }\n      return [event.clientX, event.clientY];\n    }\n    setCanvasHTMLSizeAttributes(w, h) {\n      if (this.canvasElement) {\n        this.canvasElement.setAttribute('width', w);\n        this.canvasElement.setAttribute('height', h);\n        if (this.styleMarginBottom > 0) {\n          this.canvasElement.style.marginBottom = `${this.styleMarginBottom}px`;\n        }\n        if (this.isFullScreen == false) {\n          this.canvasElement.style.width = `${w}px`;\n          this.canvasElement.style.height = `${h}px`;\n        }\n        return true;\n      }\n      return false;\n    }\n    getWindowWidth() {\n      const w = window;\n      const d = document;\n      const g = d.getElementsByTagName('body')[0];\n      return w.innerWidth || g.clientWidth;\n    }\n    getParentWidth() {\n      const container = document.getElementById(this.idParent);\n      if (container !== null && typeof container === 'object') {\n        return container.offsetWidth;\n      }\n      return 0;\n    }\n    defVector(pt1, pt2) {\n      return [pt2[0] - pt1[0], pt2[1] - pt1[1]];\n    }\n    applyVector(pt, v) {\n      return [pt[0] + v[0], pt[1] + v[1]];\n    }\n    setUrlImg(type) {\n      this.urlImg = this.getUrlImg(type, 1);\n      return this.urlImg;\n    }\n    setUrlImgDrawComplete(type) {\n      this.urlImgDrawComplete = this.getUrlImg(type, 1);\n      return this.urlImgDrawComplete;\n    }\n    // quality 0-1\n    getUrlImg(type, quality) {\n      if (type === 'jpg') {\n        return this.canvasElement.toDataURL('image/jpeg', quality);\n      }\n      return this.canvasElement.toDataURL('image/png', quality);\n    }\n    getUrlPng(quality) {\n      return this.canvasElement.toDataURL('image/png', quality);\n    }\n    getUrlJpeg(quality) {\n      return this.canvasElement.toDataURL('image/jpeg', quality);\n    }\n    download(type, name, quality, imgProperties) {\n      if (this.enable3D) {\n        this.canvas3d.download(type, name, 1);\n      } else if (type === 'jpg') {\n        this.downloadImgUrl(`${name}.${type}`, this.getUrlJpeg(quality), type, imgProperties);\n      } else if (type === 'png') {\n        this.downloadImgUrl(`${name}.${type}`, this.getUrlPng(quality), type, imgProperties);\n      }\n    }\n    downloadUrlImgs(id) {\n      let i = 0;\n      const intervalId = setInterval(() => {\n        if (i < this.urlImgs.length) {\n          this.downloadImgUrl(`${id}-${i}`, this.urlImgs[i], 'jpg', null);\n          i++;\n        } else {\n          // Stop the interval when all URLs are processed\n          clearInterval(intervalId);\n        }\n      }, 100);\n    }\n    downloadImgUrl(name, href, type, imgProperties) {\n      if (href) {\n        const link = document.createElement('a');\n        link.download = name;\n        if (type) {\n          const zeroth = {};\n          const exif = {};\n          const gps = {};\n          if (imgProperties) {\n            zeroth[_piexifjs.default.ImageIFD.Make] = imgProperties.Make;\n            zeroth[_piexifjs.default.ImageIFD.Software] = imgProperties.Software;\n            zeroth[_piexifjs.default.ImageIFD.ImageDescription] = imgProperties.ImageDescription;\n            zeroth[_piexifjs.default.ImageIFD.Artist] = imgProperties.Artist;\n          }\n          try {\n            const exifObj = {\n              '0th': zeroth,\n              Exif: exif,\n              GPS: gps\n            };\n            const exifbytes = _piexifjs.default.dump(exifObj);\n            const newData = _piexifjs.default.insert(exifbytes, href);\n            link.href = newData;\n          } catch (error) {\n            link.href = href;\n          }\n        } else {\n          link.href = href;\n        }\n        document.body.appendChild(link);\n        link.click();\n        document.body.removeChild(link);\n      }\n    }\n    createBuffer() {\n      this.bufferCanvas = document.createElement('canvas');\n      this.bufferCanvas.width = this.canvasWidth;\n      this.bufferCanvas.height = this.canvasHeight;\n      this.imageBuffer = new Image(this.canvasWidth, this.canvasHeight);\n      this.imageBuffer[0] = 155;\n      this.bufferContext = this.bufferCanvas.getContext('2d');\n    }\n    putImageBuffer() {\n      this.context.drawImage(this.bufferCanvas, 0, 0);\n    }\n    saveContext() {\n      this.context.save();\n    }\n    addPointsInBuffer(pts, color, size) {\n      const r = new _CRect.default();\n      r.displayPoints(this.bufferContext, pts, [this.offsetX, this.offsetY], color, size, this.canvasWidth, this.canvasHeight);\n    }\n    addBackgroundInBuffer(color) {\n      if (color !== null && typeof color === 'object') {\n        this.drawService.drawOneObject(new _CRect.default(0, 0, this.canvasWidth, this.canvasHeight, color), false, 0, 0, this.bufferContext);\n      }\n    }\n    getImageDataFromBuffer() {\n      this.imagedata = this.bufferContext.getImageData(0, 0, this.canvasWidth, this.canvasHeight);\n      this.imageDataType = 1;\n      this.setCanvasData();\n    }\n    getImageData() {\n      this.imagedata = this.context.getImageData(0, 0, this.canvasWidth, this.canvasHeight);\n      this.imageDataType = 1;\n      this.setCanvasData();\n    }\n    createImageData(limitDraw, imageDataType) {\n      if (typeof imageDataType === 'number') {\n        this.imageDataType = imageDataType;\n      }\n      if (limitDraw === true) {\n        this.imagedata = this.context.createImageData(this.limitWidth, this.limitHeight);\n      } else {\n        this.imagedata = this.context.createImageData(this.canvasWidth, this.canvasHeight);\n      }\n      this.setCanvasData(limitDraw);\n    }\n    setCanvasData(limitDraw) {\n      if (limitDraw === true && this.gridAdapter !== null) {\n        this.gridAdapter.useImageData = true;\n        this.gridAdapter.setCenterAbs(false);\n      }\n      let w = this.canvasWidth;\n      let h = this.canvasHeight;\n      let x = this.offsetX;\n      let y = this.offsetY;\n      if (limitDraw === true) {\n        w = this.limitWidth;\n        h = this.limitHeight;\n        x = this.limitX0;\n        y = this.limitY0;\n      }\n      if (this.imageDataType === 32) {\n        this.canvasData = new _canvasData2.default();\n        this.canvasData.initialize(this.imagedata, w, h, [x, y]);\n      } else {\n        this.data = this.imagedata.data;\n        this.canvasData = new _canvasData.default();\n        this.canvasData.initialize(this.imagedata, w, h, [x, y]);\n      }\n      this.canvasData.getImageData(this.imagedata);\n    }\n    addBackgroundInImageData(color) {\n      if (color === null) {\n        return false;\n      }\n      return this.canvasData.addBackgroundInImageData(color);\n    }\n    addBackgroundInDrawingArea(color) {\n      if (color === null) {\n        return false;\n      }\n      return this.canvasData.addBackgroundInDrawingArea(color, this.limitWidth, this.limitHeight, 1, 1);\n    }\n    getCanvasPts(ignoreBlackPts) {\n      return this.canvasData.getPoints(ignoreBlackPts);\n    }\n    getPointValueInData(pt) {\n      return this.canvasData.getPointValue(pt);\n    }\n    addPointsInData(pts, color, size) {\n      if (pts === null || pts.length === 0) {\n        return false;\n      }\n      if (this.canvasData === null) {\n        return false;\n      }\n      if (typeof size === 'undefined') {\n        size = 1;\n      }\n      return this.canvasData.addPointsInData(pts, color, size);\n    }\n    updateImageData(pts, color, size) {\n      if (pts === null) {\n        return false;\n      }\n      if (this.canvasData === null) {\n        return false;\n      }\n      this.canvasData.addPointsInData(pts, color, size);\n      return this.putImageData();\n    }\n    getDataArr() {\n      // return image data as 2D array, one 4 element array per pixel\n      // [[r,g,b,a],...[r,g,b,a]] for easier looping\n      const imageData = this.context.getImageData(0, 0, this.canvasWidth, this.canvasHeight);\n      const data = imageData.data;\n      const length = data.length;\n      const arr = new Array(length / 4);\n      let i = 0;\n      while (i < length) {\n        arr[i / 4] = [data[i], data[i + 1], data[i + 2], data[i + 3]];\n        i += 4;\n      }\n      return arr;\n    }\n    putImageData(useGridAdapterLimits, pts, x0, y0, x1, y1, w, h) {\n      this.urlImgDrawComplete = '';\n      if (typeof x0 !== 'number') {\n        x0 = this.limitX0;\n      }\n      if (typeof y0 !== 'number') {\n        y0 = this.limitY0;\n      }\n      if (this.imageDataType === 32) {\n        this.canvasData.getImageData(this.imagedata);\n      } else {\n        this.imagedata = this.canvasData.getImageData();\n      }\n      if (pts !== null && typeof pts === 'object') {\n        this.gridAdapter.defGridLimit(pts);\n      }\n      if (useGridAdapterLimits === true) {\n        w = this.gridAdapter.getDrWidth() + this.offsetX + 1;\n        h = this.gridAdapter.getDrHeight() + this.offsetY + 1;\n        x1 = this.gridAdapter.getDrX0() + this.offsetX - 1;\n        y1 = this.gridAdapter.getDrY0() + this.offsetY - 1;\n        if (x1 < 0) {\n          x1 = 0;\n        }\n        if (y1 < 0) {\n          y1 = 0;\n        }\n        if (w > this.imagedata.width) {\n          w = this.imagedata.width;\n        }\n        if (h > this.imagedata.height) {\n          h = this.imagedata.height;\n        }\n        this.context.putImageData(this.imagedata, x0, y0, x1, y1, w, h);\n        return true;\n      }\n      if (x0 > this.imagedata.width) {\n        return false;\n      }\n      if (y0 > this.imagedata.height) {\n        return false;\n      }\n      if (typeof w !== 'number') {\n        this.context.putImageData(this.imagedata, x0, y0);\n      } else {\n        if (w - x0 > this.imagedata.width) {\n          w = this.imagedata.width - x0;\n        }\n        if (h - y0 > this.imagedata.height) {\n          h = this.imagedata.height - y0;\n        }\n        this.context.putImageData(this.imagedata, x0, y0, x0, y0, w, h);\n      }\n      return true;\n    }\n    initCanvas3D(canvasParams) {\n      this.setCanvas3D(canvasParams);\n      const initResult = this.canvas3d.init3d(this.canvasWidth, this.canvasHeight, this.limitWidth, this.limitHeight, [this.offsetX, this.offsetY], canvasParams);\n      this.canvas3d.render();\n      if (initResult) {\n        // hide canvas2d\n        this.hideCanvas();\n      }\n      return initResult;\n    }\n    setCanvas3D(canvasParams) {\n      this.enable3D = true;\n      this.canvas3d = new _canvas3dService.default();\n      this.canvas3d.setParams(canvasParams);\n    }\n    clearCanvas3D() {\n      if (this.is3DInitialized()) {\n        this.canvas3d.clear();\n      }\n    }\n    drawYAxis(w, color, marginMin, marginMax, adapt) {\n      if (typeof marginMin !== 'number') {\n        marginMin = 0;\n      }\n      if (typeof marginMax !== 'number') {\n        marginMax = 0;\n      }\n      if (adapt === false) {\n        return this.drawService.drawPath([[this.canvasWidth * 0.5, this.canvasHeight * (1 + marginMin)], [this.canvasWidth * 0.5, this.canvasHeight * (1 + marginMax)]], w, color);\n      }\n      return this.drawService.drawPath(this.gridAdapter.getPointsOnPlan([[0, this.gridAdapter.ptMin[1] * (1 + marginMin)], [0, 0], [0, this.gridAdapter.ptMax[1] * (1 + marginMax)]], false), w, color);\n    }\n    drawXAxis(w, color, marginMin, marginMax, adapt) {\n      if (typeof marginMin !== 'number') {\n        marginMin = 0;\n      }\n      if (typeof marginMax !== 'number') {\n        marginMax = 0;\n      }\n      if (adapt === false) {\n        return this.drawService.drawPath([[0, this.canvasHeight * (1 + marginMin)], [this.canvasWidth, this.canvasHeight * (1 + marginMax)]], w, color);\n      }\n      return this.drawService.drawPath(this.gridAdapter.getPointsOnPlan([[this.gridAdapter.ptMin[0] * (1 + marginMin), 0], [0, 0], [this.gridAdapter.ptMax[0] * (1 + marginMax), 0]], false), w, color);\n    }\n    rbgFilter(color) {\n      if (this.setOffScreenCanvas()) {\n        new _Filter.default().changeRgb(this.offScreenCanvas, color);\n      }\n    }\n    invertFilter() {\n      if (this.setOffScreenCanvas()) {\n        new _Filter.default().invert(this.offScreenCanvas);\n      }\n    }\n    monoColorFilter(color) {\n      if (this.setOffScreenCanvas()) {\n        new _Filter.default().monoColorFilter(this.offScreenCanvas, color);\n      }\n    }\n    gaussianFilter(a) {\n      if (this.setOffScreenCanvas()) {\n        new _Filter.default().generateGaussianKernel(this.offScreenCanvas, a);\n      }\n    }\n    grayScaleFilter() {\n      if (this.setOffScreenCanvas()) {\n        new _Filter.default().greyScale(this.offScreenCanvas);\n      }\n    }\n    edgeDetectFilter(level) {\n      if (this.setOffScreenCanvas()) {\n        this.filter = new _Filter.default();\n        this.filter.edgeDetect(this.offScreenCanvas, level);\n      }\n    }\n    edgeThinningFilter(color, level) {\n      if (this.edgeDetectFilter(level)) {\n        this.filter.edgeThinFilter(this.offScreenCanvas, color);\n      }\n    }\n    houghTransformFilter(level) {\n      if (this.edgeDetectFilter(level)) {\n        this.filter.houghTransform(this.offScreenCanvas);\n      }\n    }\n    applyFilter(data, colorsService) {\n      switch (data.type) {\n        case 'edgeDetectOn':\n          this.edgeDetectFilter(data.level);\n          return this.displayOffScreenCanvas(false);\n        case 'edgeDetect':\n          this.edgeDetectFilter(data.level);\n          return this.displayOffScreenCanvas(true, [255, 255, 255]);\n        case 'edgeDetectInvert':\n          this.edgeDetectFilter(data.level);\n          return this.displayOffScreenCanvas(true, [0, 0, 0], 'invert', 1);\n        case 'invertColors':\n          this.invertFilter();\n          return this.displayOffScreenCanvas(true);\n        case 'monoColor':\n          if (typeof data.colorHexa === 'string') {\n            this.monoColorFilter(colorsService.hexToRgb(data.colorHexa));\n          } else {\n            this.monoColorFilter([255, 255, 255]);\n          }\n          return this.displayOffScreenCanvas(true);\n        case 'RG':\n          this.rbgFilter([null, null, 0, null]);\n          return this.displayOffScreenCanvas(true);\n        case 'GB':\n          this.rbgFilter([0, null, null, null]);\n          return this.displayOffScreenCanvas(true);\n        case 'RB':\n          this.rbgFilter([null, 0, null, null]);\n          return this.displayOffScreenCanvas(true);\n        case 'gaussian':\n          if (data.filter) {\n            this.gaussianFilter(data.level);\n          } else {\n            this.gaussianFilter(4);\n          }\n          return this.displayOffScreenCanvas(true);\n        case 'sepia':\n          return this.displayOffScreenCanvas(true, null, 'sepia', parseInt(data.level) / 100);\n        case 'drop-shadow':\n          return this.displayOffScreenCanvas(true, null, 'drop-shadow', parseInt(data.level));\n        case 'white-balance':\n          return this.displayOffScreenCanvas(true, null, 'white-balance', parseInt(data.level));\n        case 'invert':\n          return this.displayOffScreenCanvas(true, null, 'invert', 1);\n        case 'hue-rotate':\n          return this.displayOffScreenCanvas(true, null, 'hue-rotate', data.level);\n        default:\n          return false;\n      }\n    }\n    displayOffScreenCanvas(clear, bgColor, filter, level) {\n      if (this.urlImgDrawComplete === '') {\n        this.setUrlImgDrawComplete();\n      }\n      this.setUrlImg();\n      if (this.offScreenCanvas === null) {\n        this.setOffScreenCanvas();\n      }\n      if (this.offScreenCanvas !== null) {\n        this.offScreenCanvas.setUrlImg();\n        if (clear === true) {\n          this.clear();\n        }\n        if (typeof bgColor === 'object' && bgColor !== null) {\n          this.drawService.drawOneObject(new _CRect.default(this.limitX0, this.limitY0, this.limitWidth, this.limitHeight, bgColor), false, 0, 0);\n        }\n        switch (filter) {\n          case 'sepia':\n            this.context.filter = `sepia(${level})`;\n            break;\n          case 'invert':\n            this.context.filter = `invert(${level})`;\n            break;\n          case 'hue-rotate':\n            this.context.filter = `hue-rotate(${level}deg)`;\n            break;\n          case 'grayscale':\n            this.context.filter = `grayscale(${level})`;\n            break;\n          case 'drop-shadow':\n            this.context.filter = `drop-shadow(${level}px ${level}px ${level}px gray)`;\n            break;\n          case 'contrast':\n            this.context.filter = `contrast(${level})`;\n            break;\n          case 'white-balance':\n            this.offScreenCanvas.updateCanvasWhiteBalance(level / 100);\n            this.offScreenCanvas.setUrlImg();\n            break;\n          default:\n            this.context.filter = 'none';\n            break;\n        }\n\n        // copy offscren canvas img to current canvas\n        this.drawService.drawImage(new _CImg.default(0, 0, 0, 0, null, this.offScreenCanvas.urlImg), null, 0, 0, null, 1, 1);\n        // reset offscreen canvas\n        this.offScreenCanvas.clear();\n        this.offScreenCanvas = null;\n        return true;\n      }\n      return false;\n    }\n    updateCanvasWhiteBalance(level) {\n      const imageData = this.context.getImageData(0, 0, this.canvasWidth, this.canvasHeight);\n      this.context.putImageData(new _Filter.default().performWhiteBalance(imageData, level), 0, 0);\n    }\n    displaySavedCanvas(autoResize) {\n      if (this.urlImg !== '') {\n        this.clear();\n        this.context.filter = 'none';\n        return this.drawService.drawImage(new _CImg.default(0, 0, 0, 0, null, this.urlImg), null, 0, 0, null, 1, 1, autoResize);\n      }\n      return false;\n    }\n    displayFirstSavedCanvas() {\n      if (this.urlImgDrawComplete !== '') {\n        this.clear();\n        this.context.filter = 'none';\n        return this.drawService.drawImage(new _CImg.default(0, 0, 0, 0, null, this.urlImgDrawComplete), null, 0, 0, null, 1, 1);\n      }\n      return false;\n    }\n    setOffScreenCanvas() {\n      if (this.context) {\n        if (this.offScreenCanvas) {\n          this.offScreenCanvas.clear();\n        }\n        this.offScreenCanvas = this.getOffScreenCanvas();\n        this.offScreenCanvas.context.putImageData(this.context.getImageData(0, 0, this.canvasWidth, this.canvasHeight), 0, 0);\n        return true;\n      }\n      return false;\n    }\n    getOffScreenCanvas() {\n      const offScreenCanvas = this.copyThis();\n      offScreenCanvas.canvasElement = document.getElementById(this.idElementCanvasOffscreen);\n      if (offScreenCanvas.canvasElement !== null) {\n        offScreenCanvas.setContext();\n        offScreenCanvas.setCanvasHTMLSizeAttributes(this.canvasWidth, this.canvasHeight);\n        offScreenCanvas.setSizeForServices();\n        offScreenCanvas.clear();\n        offScreenCanvas.idElementCanvas = this.idElementCanvasOffscreen;\n      }\n      return offScreenCanvas;\n    }\n    getPointOnProcessCanvas(pt) {\n      if (this.processCanvas == null) {\n        return pt;\n      }\n      return [pt[0] * this.processCanvas.width / this.limitWidth, pt[1] * this.processCanvas.height / this.limitHeight];\n    }\n    setProcessCanvas(w, h) {\n      this.processCanvas = new Canvas2dService();\n      this.processCanvas.width = w;\n      this.processCanvas.height = h;\n      this.processCanvas.responsive = false;\n      this.processCanvas.setParams(this.params);\n      this.processCanvas.initCanvas(this.params.idParent, this.params.idElementProcessCanvas);\n      this.processCanvas.initDimensions(w, h, [0, 0, 0, 0]);\n    }\n    copyFromProcessCanvas() {\n      this.context.drawImage(this.processCanvas.canvasElement, 0, 0, this.processCanvas.width, this.processCanvas.height, this.limitX0, this.limitY0, this.limitWidth, this.limitHeight);\n    }\n    copyCanvasToOffScreenCanvas() {\n      this.offScreenCanvas.clear();\n      this.offScreenCanvas.context.putImageData(this.context.getImageData(0, 0, this.canvasWidth, this.canvasHeight), 0, 0);\n      this.setUrlImg();\n    }\n    addUrlImg() {\n      this.urlImgs.push(this.getUrlImg('jpg', 1));\n    }\n    drawFromImgUrl(index) {\n      if (this.urlImgs[index]) {\n        return this.drawService.drawImage(new _CImg.default(0, 0, 0, 0, null, this.urlImgs[index]), null, 0, 0, null, 1, 1, false, this.drawingWidth, this.drawingHeight);\n      }\n      return false;\n    }\n    displayGrid(color) {\n      const w = Math.floor(this.canvasWidth);\n      const h = Math.floor(this.canvasHeight);\n      const a = Math.floor(w / 3);\n      const b = Math.floor(h / 3);\n      const x0 = w / 2;\n      const y0 = h / 2;\n      this.drawService.drawOneObject(new _CLine.default(0, y0, w, y0, color), false, 0, 0);\n      this.drawService.drawOneObject(new _CLine.default(0, y0 - b, w, y0 - b, color), false, 0, 0);\n      this.drawService.drawOneObject(new _CLine.default(0, y0 + b, w, y0 + b, color), false, 0, 0);\n      this.drawService.drawOneObject(new _CLine.default(x0, 0, x0, h, color), false, 0, 0);\n      this.drawService.drawOneObject(new _CLine.default(x0 - a, 0, x0 - a, h, color), false, 0, 0);\n      this.drawService.drawOneObject(new _CLine.default(x0 + a, 0, x0 + a, h, color), false, 0, 0);\n    }\n    copyThis() {\n      const copyObject = new Canvas2dService();\n      copyObject.canvasWidth = this.canvasWidth;\n      copyObject.canvasHeight = this.canvasHeight;\n      copyObject.drawingWidth = this.drawingWidth;\n      copyObject.drawingHeight = this.drawingHeight;\n      copyObject.limitWidth = this.limitWidth;\n      copyObject.limitHeight = this.limitHeight;\n      copyObject.limitX0 = this.limitX0;\n      copyObject.limitY0 = this.limitY0;\n      copyObject.portraitMode = this.portraitMode;\n      copyObject.ratioWH = this.ratioWH;\n      copyObject.heightResizeMode = this.heightResizeMode;\n      copyObject.widthLimitMode = this.widthLimitMode;\n      copyObject.inverseY = this.inverseY;\n      copyObject.margin = this.margin;\n      copyObject.portrait = this.portrait;\n      copyObject.idParent = this.idParent;\n      copyObject.position = this.position;\n      return copyObject;\n    }\n    fillCanvasParams(params) {\n      params.canvasWidth = this.canvasWidth;\n      params.canvasHeight = this.canvasHeight;\n      params.drawingWidth = this.drawingWidth;\n      params.drawingHeight = this.drawingHeight;\n      params.limitWidth = this.limitWidth;\n      params.limitHeight = this.limitHeight;\n      params.limitX0 = this.limitX0;\n      params.limitY0 = this.limitY0;\n      this.canvasParams = params;\n    }\n  }\n  _exports.default = Canvas2dService;\n});","define(\"addon-canvas/models/canvas3d-service\", [\"exports\", \"three\", \"three/addons/postprocessing/ShaderPass.js\", \"three/addons/shaders/LuminosityShader.js\", \"three/addons/postprocessing/RenderPass.js\", \"three/addons/postprocessing/EffectComposer.js\", \"three/addons/controls/OrbitControls.js\", \"addon-canvas/models/canvas-service\", \"addon-canvas/models/draw-3d-service\"], function (_exports, _three, _ShaderPass, _LuminosityShader, _RenderPass, _EffectComposer, _OrbitControls, _canvasService, _draw3dService) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Canvas3dService extends _canvasService.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"renderer\", null);\n      _defineProperty(this, \"scene\", null);\n      _defineProperty(this, \"camera\", null);\n      _defineProperty(this, \"bInitOk\", false);\n      _defineProperty(this, \"width\", 0);\n      _defineProperty(this, \"height\", 0);\n      _defineProperty(this, \"pX\", 10);\n      _defineProperty(this, \"idParent\", '');\n      _defineProperty(this, \"indexRender\", 0);\n      _defineProperty(this, \"autoRotateOn\", false);\n      _defineProperty(this, \"zoom\", 0);\n      _defineProperty(this, \"canvasParams\", []);\n      _defineProperty(this, \"drawService\", null);\n    }\n    clear() {\n      this.videoService.clearRecorder();\n      this.drawService = new _draw3dService.default();\n      this.camera = null;\n      this.controls = null;\n      if (this.renderer) {\n        this.renderer.dispose();\n      }\n      this.renderer = null;\n      this.urlImgs = [];\n      this.zoom = 0;\n      this.width = 0;\n      this.height = 0;\n      this.offSet = [];\n      this.limitWidth = 0;\n      this.limitHeight = 0;\n      this.autoRotate = false;\n      this.enable3D = true;\n\n      // remove canvas\n      const canvasContainerElement = document.getElementById(this.canvasParams.idContainerCanvas3D);\n      if (canvasContainerElement) {\n        const parent = document.getElementById(this.idParent);\n        if (parent) {\n          parent.removeChild(canvasContainerElement);\n        }\n      }\n    }\n    initComposer() {\n      this.composer = new _EffectComposer.EffectComposer(this.renderer);\n      const renderPass = new _RenderPass.RenderPass(this.drawService.scene, this.camera);\n      this.composer.addPass(renderPass);\n      const luminosityPass = new _ShaderPass.ShaderPass(_LuminosityShader.LuminosityShader);\n      this.composer.addPass(luminosityPass);\n\n      //const colorCorrectionPass = new ShaderPass(THREE.ColorCorrectionShader);\n      //composer.addPass(colorCorrectionPass);\n    }\n    clearScene(type) {\n      if (type == \"\") {\n        this.drawService.scene.clear();\n      }\n\n      // Remove all children from the scene\n      for (let i = 0; i < this.drawService.scene.children.length; i++) {\n        if (type == '' || this.drawService.scene.children[i].type == type) {\n          this.drawService.scene.remove(this.drawService.scene.children[i]);\n        }\n      }\n      return this.update();\n    }\n    render() {\n      if (this.renderer && this.drawService.scene && this.drawService.scene.isScene) {\n        if (this.composer) {\n          this.composer.render();\n        }\n        this.renderer.render(this.drawService.scene, this.camera);\n        return true;\n      }\n      return false;\n    }\n    setParams(canvasParams) {\n      this.canvasParams = canvasParams;\n      this.idElementCanvas = canvasParams.idCanvas3D;\n      this.idParent = canvasParams.idParent;\n    }\n    getNewContext(canvas) {\n      const gl = document.createElement('canvas').getContext('webgl2');\n      if (gl) {\n        return canvas.getContext('webgl2', {\n          antialias: false\n        });\n      }\n      return canvas.getContext('webgl', {\n        antialias: false\n      });\n    }\n    init3d(width, height, limitWidth, limitHeight, offSet, canvasParams) {\n      this.drawService = new _draw3dService.default();\n      this.setParams(canvasParams);\n      this.clear();\n      this.limitWidth = limitWidth;\n      this.limitHeight = limitHeight;\n      this.offSet = offSet;\n      this.width = width;\n      this.height = height;\n      this.drawService.scene = new _three.Scene();\n      this.drawService.setLimits(this.limitWidth, this.limitHeight);\n      const canvas = document.createElement('canvas');\n      canvas.id = canvasParams.idCanvas3D;\n      const newContext = this.getNewContext(canvas);\n      if (newContext === null) {\n        return false;\n      }\n      this.renderer = new _three.WebGLRenderer({\n        canvas: canvas,\n        context: newContext,\n        antialias: true,\n        preserveDrawingBuffer: false,\n        failIfMajorPerformanceCaveat: true\n      });\n      this.renderer.setSize(width, height);\n      const elementParent = document.getElementById(this.idParent);\n      if (elementParent) {\n        const canvasContainer = document.getElementById(this.canvasParams.idContainerCanvas3D);\n        if (canvasContainer) {\n          elementParent.removeChild(canvasContainer);\n        }\n        this.camera = new _three.PerspectiveCamera(100, width / height, 0.2, 10000);\n        this.camera.updateProjectionMatrix();\n        this.camera.rotation.order = 'YXZ';\n        this.camera.position.z = this.pX;\n\n        // add canvas container to main container\n        const newCanvasContainer = document.createElement('div');\n        newCanvasContainer.setAttribute('id', this.canvasParams.idContainerCanvas3D);\n        newCanvasContainer.appendChild(this.renderer.domElement);\n        elementParent.appendChild(newCanvasContainer);\n        this.controls = new _OrbitControls.OrbitControls(this.camera, this.renderer.domElement);\n        this.controls.mouseButtons = {\n          LEFT: _three.MOUSE.NONE,\n          // disable\n          MIDDLE: _three.MOUSE.DOLLY,\n          RIGHT: _three.MOUSE.ROTATE\n        };\n        this.controls.object.position.z = this.pX;\n\n        /*\n        this.controls.keys = {\n          LEFT: 37, // Flèche gauche\n          UP: 38, // Flèche haut\n          RIGHT: 39, // Flèche droite\n          BOTTOM: 40 // Flèche bas\n        };*/\n        this.controls.enableZoom = true;\n        this.controls.autoRotate = false;\n      }\n      return true;\n    }\n    setCameraPosition(position) {\n      this.camera.position.x = position[0];\n      this.camera.position.y = position[1];\n      this.camera.position.z = position[2];\n      this.update();\n      return true;\n    }\n    setControlsPosition(position) {\n      this.controls.object.position.x = position[0];\n      this.controls.object.position.y = position[1];\n      this.controls.object.position.z = position[2];\n      this.controls.update();\n      return true;\n    }\n    toggleZoomIn() {\n      this.zoom = this.zoom === 0 ? -0.01 : 0;\n      return true;\n    }\n    toggleAutoRotate() {\n      this.autoRotateOn = this.autoRotateOn === false;\n      return true;\n    }\n    setAutoRotate(b) {\n      this.autoRotateOn = b;\n    }\n    setControlsPositionZ(z) {\n      this.controls.object.position.z = z;\n      this.controls.update();\n      return true;\n    }\n    setControlsPositionY(y) {\n      this.controls.object.position.y = y;\n      this.controls.update();\n      return true;\n    }\n    setControlsPositionX(x) {\n      this.controls.object.position.x = x;\n      this.controls.update();\n      return true;\n    }\n    rotateZ(step) {\n      this.camera.rotateOnAxis(new _three.Vector3(0, 0, 1).normalize(), this.degInRad(step));\n      return true;\n    }\n    rotateY(step) {\n      this.camera.rotateOnAxis(new _three.Vector3(0, 1, 0).normalize(), this.degInRad(step));\n      return true;\n    }\n    rotateX(step) {\n      this.camera.rotateOnAxis(new _three.Vector3(1, 0, 0).normalize(), this.degInRad(step));\n      return true;\n    }\n    update() {\n      if (this.render()) {\n        let bUpdate = false;\n        if (this.autoRotateOn === true) {\n          this.controls.autoRotate = true;\n          bUpdate = true;\n        } else {\n          this.controls.autoRotate = false;\n        }\n        if (this.zoom !== 0) {\n          if (this.controls.object.position.z > 0) {\n            // + zoom\n            this.controls.object.position.z += this.zoom;\n            bUpdate = true;\n          } else {\n            // zoom end\n            this.controls.object.position.z = this.pX;\n            this.controls.update();\n            this.zoom = 0;\n          }\n        }\n        if (bUpdate === true) {\n          this.controls.update();\n          this.drawComplete = true;\n        }\n        return true;\n      }\n      return false;\n    }\n    degInRad(deg) {\n      return deg * Math.PI / 180;\n    }\n    getUrlPng() {\n      if (this.renderer) {\n        this.render();\n        return this.renderer.domElement.toDataURL();\n      }\n      return '';\n    }\n    getUrlJpeg() {\n      if (this.renderer) {\n        this.render();\n        return this.renderer.domElement.toDataURL('image/jpeg');\n      }\n      return '';\n    }\n    addUrlImg(type, quality) {\n      if (type === 'png') {\n        this.urlImgs.push(this.getUrlPng(quality));\n      } else if (type === 'jpg') {\n        this.urlImgs.push(this.getUrlJpeg(quality));\n      }\n    }\n    download(type, name, quality) {\n      const link = document.createElement('a');\n      link.download = `${name}.${type}`;\n      if (type === 'png') {\n        link.href = this.getUrlPng(quality);\n      } else if (type === 'jpg') {\n        link.href = this.getUrlJpeg(quality);\n      }\n      if (link.href !== '') {\n        document.body.appendChild(link);\n        link.click();\n        document.body.removeChild(link);\n      }\n      return true;\n    }\n  }\n  _exports.default = Canvas3dService;\n});","define(\"addon-canvas/models/draw-3d-service\", [\"exports\", \"three\", \"addon-canvas/models/ParametricGeometry\", \"addon-canvas/models/ParametrizedCurve\"], function (_exports, _three, _ParametricGeometry, _ParametrizedCurve) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Draw3dService {\n    constructor() {\n      _defineProperty(this, \"scene\", null);\n      _defineProperty(this, \"pX\", 10);\n      _defineProperty(this, \"width\", 10);\n      _defineProperty(this, \"height\", 10);\n      _defineProperty(this, \"depth\", 10);\n      _defineProperty(this, \"convertZ\", true);\n      _defineProperty(this, \"limitWidth\", 0);\n      _defineProperty(this, \"limitHeight\", 0);\n      _defineProperty(this, \"normalized\", false);\n      _defineProperty(this, \"inverseY\", false);\n      _defineProperty(this, \"ptMin\", []);\n    }\n    setNormalized(limits, marginCoef) {\n      this.normalized = true;\n      this.ptMin = limits[0];\n      this.ptMax = limits[1];\n      this.normalized = true;\n      this.width = this.width * marginCoef[0];\n      this.height = this.height * marginCoef[1];\n      this.depth = this.depth * marginCoef[2];\n    }\n    getNormalizeFunction() {\n      return pt => this.normalizePoint(pt);\n    }\n    getScale() {\n      const curveWidth = this.ptMax[0] - this.ptMin[0];\n      const curveHeight = this.ptMax[1] - this.ptMin[1];\n      const curveDepth = this.ptMax[2] - this.ptMin[2];\n      const scaleX = this.limitWidth / curveWidth;\n      const scaleY = this.limitHeight / curveHeight;\n      const scaleZ = Math.min(scaleX, scaleY);\n      return scaleZ;\n    }\n    setLimits(w, h) {\n      this.limitWidth = w;\n      this.limitHeight = h;\n    }\n    addObject(obj) {\n      if (this.scene && this.scene.isScene) {\n        this.scene.add(obj);\n        return true;\n      }\n      return false;\n    }\n    addDirectionalLight(color, intensity) {\n      const light = new _three.DirectionalLight(color, intensity);\n      light.position.set(0, 1, 0).normalize();\n      return this.addObject(light);\n    }\n    addAmbientLight(color, intensity) {\n      return this.addObject(new _three.AmbientLight(color, intensity));\n    }\n    AddPointLight(color, intensity) {\n      // Adding a light to better see the object\n      const light = new _three.PointLight(color, intensity);\n      light.position.set(10, 10, 10);\n      this.addObject(light);\n    }\n    drawCustomFunctionTube(color, size, parametrizedFuncion, args, nbSegments) {\n      const path = new _ParametrizedCurve.ParametrizedCurve(1, parametrizedFuncion, this.getNormalizeFunction(), args, this.limitWidth, this.limitHeight, this.pX);\n      const geometry = new _three.TubeGeometry(path, nbSegments, size, 16, false);\n      //const material = new MeshBasicMaterial({ color: color });\n      // Utilisation d'un matériau réactif à la lumière\n      const material = new _three.MeshStandardMaterial({\n        color: color,\n        roughness: 0.4 // Ajuste la rugosité pour un effet brillant\n      });\n      const mesh = new _three.Mesh(geometry, material);\n      this.addObject(mesh);\n    }\n    drawTube(pts, color, size, convert, catmull) {\n      if (convert === true) {\n        pts = this.convertPoints(pts, this.limitWidth, this.limitHeight, false);\n      }\n\n      // Create an array of vectors from the points\n      const vectors = pts.map(pt => new _three.Vector3(pt[0], pt[1], pt[2]));\n      if (catmull) {\n        // Créez une courbe à partir des vecteurs\n        const curve = new _three.CatmullRomCurve3(vectors);\n\n        // Créez une TubeGeometry à partir de la courbe\n        const tubeGeometry = new _three.TubeGeometry(curve, vectors.length / 10, size, 8, false);\n\n        // Créez un matériau\n        const material = new _three.MeshBasicMaterial({\n          color: color\n        });\n\n        // Créez un maillage à partir de la géométrie et du matériau\n        const tube = new _three.Mesh(tubeGeometry, material);\n\n        // Ajoutez le maillage à la scène\n        this.addObject(tube);\n        return;\n      } else {\n        // Create a path from the vectors\n        const path = new _three.CurvePath();\n        vectors.forEach((vector, i) => {\n          if (i < vectors.length - 1) {\n            path.add(new _three.LineCurve3(vector, vectors[i + 1]));\n          }\n        });\n\n        // Create the tube geometry following the path\n        const tubeGeometry = new _three.TubeGeometry(path, vectors.length, size, 16, false); // 2 is the tube radius, 8 segments\n\n        // Create a material with the given color\n        const material = new _three.MeshBasicMaterial({\n          color: color,\n          wireframe: true\n        });\n\n        // Create a mesh of the tube\n        const tube = new _three.Mesh(tubeGeometry, material);\n\n        // Add the tube to the scene\n        this.addObject(tube);\n        return;\n      }\n    }\n    drawLine(pts, color, convert) {\n      if (convert === true) {\n        pts = this.convertPoints(pts, this.limitWidth, this.limitHeight, false);\n      }\n      const vectors = [];\n      pts.forEach(pt => vectors.push(new _three.Vector3(pt[0], pt[1], pt[2])));\n      return this.addObject(new _three.Line(new _three.BufferGeometry().setFromPoints(vectors), new _three.LineBasicMaterial({\n        color: color,\n        // 'side: DoubleSide' means the line will be visible from both sides.\n        side: _three.DoubleSide,\n        // 'opacity: 1' sets the opacity of the line to 100%.\n        opacity: 1,\n        // enables fog in the scene for the line.\n        fog: true\n      })));\n    }\n    drawPoints(pts, color, size, convert, inverseY, multiColor, opacity) {\n      if (convert === true) {\n        pts = this.convertPoints(pts, this.limitWidth, this.limitHeight, inverseY);\n        pts.splice(0, 2);\n      }\n\n      //console.log(pts);\n      const vertices = pts.map(pt => {\n        if (pt[2] === null) {\n          pt[2] = 0;\n        }\n        return pt.slice(0, 3);\n      }).flat();\n      const geometry = new _three.BufferGeometry();\n      geometry.setAttribute('position', new _three.Float32BufferAttribute(vertices, 3));\n      if (multiColor) {\n        const colorsArray = pts.map(pt => pt[3]).flat();\n        if (colorsArray.length == pts.length * 3) {\n          geometry.setAttribute('color', new _three.Float32BufferAttribute(colorsArray, 3));\n          this.addObject(new _three.Points(geometry, new _three.PointsMaterial({\n            vertexColors: true,\n            size: size,\n            fog: false,\n            transparent: false\n          })));\n        }\n      } else if (color && typeof opacity !== 'undefined') {\n        this.addObject(new _three.Points(geometry, new _three.PointsMaterial({\n          color: color,\n          size: size,\n          transparent: true,\n          opacity: opacity\n        })));\n      } else if (color) {\n        this.addObject(new _three.Points(geometry, new _three.PointsMaterial({\n          color: color,\n          size: size\n        })));\n      }\n      geometry.dispose();\n      return true;\n    }\n    drawPoint(pt, color, size) {\n      const bufferGeometry = new _three.BufferGeometry();\n      bufferGeometry.setAttribute('position', new _three.Float32BufferAttribute([pt[0], pt[1], pt[2]], 3));\n      return this.addObject(new _three.Points(bufferGeometry, new _three.PointsMaterial({\n        color: color,\n        size: size\n      })));\n    }\n    drawSphere(color, size) {\n      const obj = this.getSphere(color, size);\n      return this.addObject(obj);\n    }\n    getSphere(color, size) {\n      // obj.castShadow = true;\n      return new _three.Mesh(new _three.SphereGeometry(size, 10, 32), new _three.MeshPhongMaterial({\n        color: color,\n        transparent: false,\n        opacity: 1,\n        castShadow: true\n      }));\n    }\n    drawCubes(pts, color) {\n      const geometry = new _three.BoxGeometry(0.04, 0.04);\n      const material = new _three.MeshPhongMaterial({\n        color: color,\n        transparent: false,\n        opacity: 1,\n        castShadow: true\n      });\n      for (let i = 0; i < pts.length; i++) {\n        const cube = new _three.Mesh(geometry, material);\n        //console.log(pts[i][0], pts[i][1], pts[i][2], color);\n        cube.position.set(pts[i][0], pts[i][1], pts[i][2]);\n        this.addObject(cube);\n      }\n      return true;\n    }\n    drawBoxHelper() {\n      const object = new _three.Mesh(new _three.SphereGeometry(), new _three.MeshBasicMaterial(0xff0000));\n      return this.addObject(new _three.BoxHelper(object, 0xffff00));\n    }\n    drawCubeHelper() {\n      const geometry = new _three.BoxGeometry(this.width, this.height, this.depth); // green\n      const material = new _three.MeshBasicMaterial({\n        color: 0x00ff00,\n        wireframe: true\n      });\n      const cube = new _three.Mesh(geometry, material);\n      this.addObject(cube);\n    }\n    drawCube(x, y, z, color, linewidth) {\n      // Création du cube avec un matériau transparent\n      const cubeGeometry = new _three.BoxGeometry(x, y, z);\n      const cubeMaterial = new _three.MeshPhysicalMaterial({\n        color: color,\n        metalness: 0.7,\n        roughness: 0.2,\n        opacity: 0.5,\n        transparent: true\n      });\n      const cube = new _three.Mesh(cubeGeometry, cubeMaterial);\n      this.addObject(cube);\n\n      // Ajout des arêtes colorées\n      const edgesGeometry = new _three.EdgesGeometry(cubeGeometry);\n      const edgesMaterial = new _three.LineBasicMaterial({\n        color: color,\n        linewidth: linewidth\n      });\n      const edges = new _three.LineSegments(edgesGeometry, edgesMaterial);\n      this.addObject(edges);\n    }\n    drawArrowHelper() {\n      const dir = new _three.Vector3(1, 2, 0);\n\n      //normalize the direction vector (convert to vector of length 1)\n      dir.normalize();\n      const origin = new _three.Vector3(0, 0, 0);\n      const length = 1;\n      // yellow\n      const hex = 0xffff00;\n      const arrowHelper = new _three.ArrowHelper(dir, origin, length, hex);\n      return this.addObject(arrowHelper);\n    }\n    drawAxesHelper() {\n      const axesHelper = new _three.AxesHelper(5);\n      return this.addObject(axesHelper);\n    }\n    drawMultiColorsPath(pts, convert) {\n      if (convert === true) {\n        pts = this.convertPoints(pts, this.limitWidth, this.limitHeight, false);\n      }\n      const vectors = pts.map(point => new _three.Vector3(point[0], point[1], point[2]));\n      const numSegments = vectors.length; // Augmentez ce nombre si nécessaire\n      const geometry = new _three.BufferGeometry().setFromPoints(vectors, numSegments);\n\n      // Create an array to store the color for each vertex of the line\n      const colors = pts.map(point => point[3]);\n      const colorsArray = colors.flat();\n\n      // Set colors attribute to the geometry\n      geometry.setAttribute('color', new _three.Float32BufferAttribute(colorsArray, 3));\n\n      // Create LineSegments with LineBasicMaterial for a continuous line\n\n      return this.addObject(new _three.LineSegments(geometry, new _three.LineBasicMaterial({\n        vertexColors: true,\n        opacity: 1,\n        fog: true\n      })));\n    }\n    convertPoints(pts, w, h, inverseY) {\n      if (this.normalized == true) {\n        return this.normalizePoints(pts);\n      }\n      return pts.map(point => this.convertPoint(point, w, h, inverseY, 10000));\n    }\n    normalizePoints(pts) {\n      return pts.map(point => this.normalizePoint(point));\n    }\n    normalizePoint(pt) {\n      if (this.normalized == true) {\n        if (pt && pt[0] != null && pt[1] != null) {\n          pt[0] = this.ptMax[0] == this.ptMin[0] ? 0 : (pt[0] - this.ptMin[0]) / (this.ptMax[0] - this.ptMin[0]) * this.width - this.width / 2;\n          pt[1] = this.ptMax[1] == this.ptMin[1] ? 0 : (pt[1] - this.ptMin[1]) / (this.ptMax[1] - this.ptMin[1]) * this.height - this.height / 2;\n          if (this.inverseY === true) {\n            pt[1] = pt[1] * -1;\n          }\n        }\n        if (pt[2] != null) {\n          pt[2] = this.ptMax[2] == this.ptMin[2] ? 0 : (pt[2] - this.ptMin[2]) / (this.ptMax[2] - this.ptMin[2]) * this.depth - this.depth / 2;\n        } else {\n          pt[2] = this.depth / 2;\n        }\n      }\n      return pt;\n    }\n    convertPoint(pt, w, h, inverseY, d) {\n      const p = this.pX * 1.2;\n      pt[0] = pt[0] / w * p * 2 - p;\n      pt[1] = pt[1] / h * p * 2 - p;\n      if (this.convertZ === true && pt[2]) {\n        pt[2] = pt[2] / h * p * 2 - p;\n      }\n      if (inverseY === true) {\n        pt[1] = pt[1] * -1;\n      }\n      return pt;\n    }\n    addParametricSurface(f, slices, stacks, color, materialType) {\n      const geometry = new _ParametricGeometry.default(f, slices, stacks);\n      let material;\n      if (materialType === \"mesh-pong\") {\n        material = new _three.MeshPhongMaterial({\n          color: color,\n          wireframe: true,\n          shininess: 100,\n          specular: 0xffffff\n        });\n      } else {\n        material = new _three.MeshStandardMaterial({\n          color: color,\n          wireframe: true,\n          emissive: color,\n          metalness: 0.8,\n          roughness: 0.3\n        });\n      }\n      return this.addObject(new _three.Mesh(geometry, material));\n    }\n    drawCatmullRomCurve(pts, color, convert) {\n      if (convert === true) {\n        pts = this.convertPoints(pts, this.limitWidth, this.limitHeight, false);\n      }\n      const vectors = [];\n      if (pts.length == 0) {\n        return true;\n      }\n      for (let i = 0; i < pts.length; i++) {\n        if (pts[i][0] && pts[i][0] && pts[i][1] && pts[i][2] && pts[i][0] != Infinity && pts[i][1] != Infinity && pts[i][2] != Infinity && pts[i][0] != -Infinity && pts[i][1] != -Infinity && pts[i][2] != -Infinity && !isNaN(pts[i][0]) && !isNaN(pts[i][1]) && !isNaN(pts[i][2])) {\n          vectors.push(new _three.Vector3(pts[i][0], pts[i][1], pts[i][2]));\n        }\n      }\n      const spline = new _three.CatmullRomCurve3(vectors);\n      spline.type = 'catmullrom';\n      spline.tension = 0.5;\n      const extrudeSettings = {\n        steps: Math.floor(vectors.length / 2),\n        bevelEnabled: false,\n        extrudePath: spline\n      };\n      const shaped = [];\n      const width = 0.03;\n      shaped.push(new _three.Vector2(0, 0));\n      shaped.push(new _three.Vector2(width, 0));\n      shaped.push(new _three.Vector2(width, width));\n      shaped.push(new _three.Vector2(0, width));\n      const shape = new _three.Shape(shaped);\n      const geometry = new _three.ExtrudeGeometry(shape, extrudeSettings);\n      const material = new _three.MeshBasicMaterial({\n        color: color\n      });\n\n      /*const material = new MeshLambertMaterial({\n          color: 0xff0000,\n          flatShading: true,\n          vertexColors: false\n      });*/\n      const mesh = new _three.Mesh(geometry, material);\n      mesh.castShadow = true;\n      mesh.receiveShadow = false;\n      this.addObject(mesh);\n      return true;\n    }\n    drawCatmullRomCurve_(points, convert) {\n      const scale = 1;\n      const vectors = [];\n      if (convert === true) {\n        points = this.convertPoints(points, this.limitWidth, this.limitHeight, false);\n      }\n      for (let i = 0; i < points.length; i++) {\n        if (points[i][0] && points[i][1]) {\n          // add new vector to the geometry\n          vectors.push(new _three.Vector3(points[i][0] * scale, points[i][1] * scale, points[i][2] * scale));\n        }\n      }\n    }\n  }\n  _exports.default = Draw3dService;\n});","define(\"addon-canvas/models/draw-service\", [\"exports\", \"addon-canvas/models/CLine\", \"addon-canvas/models/CPolygon\", \"addon-canvas/models/CRect\"], function (_exports, _CLine, _CPolygon, _CRect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class DrawService {\n    constructor() {\n      _defineProperty(this, \"canvasWidth\", 0);\n      _defineProperty(this, \"canvasHeight\", 0);\n      _defineProperty(this, \"drawingWidth\", 0);\n      _defineProperty(this, \"drawingHeight\", 0);\n      _defineProperty(this, \"limitWidth\", 0);\n      _defineProperty(this, \"limitHeight\", 0);\n      _defineProperty(this, \"limitX0\", 0);\n      _defineProperty(this, \"limitY0\", 0);\n      _defineProperty(this, \"context\", null);\n    }\n    applyOffset(pts) {\n      for (let i = 0, n = pts.length; i < n; i++) {\n        if (pts[i] !== null && typeof pts[i] === 'object') {\n          pts[i][0] += this.limitX0;\n          pts[i][1] += this.limitY0;\n        }\n      }\n    }\n    /**drawings*/\n    /**\n     *\n     * @param {type} objects\n     * @returns {boolean}\n     */\n    drawObjectsWithOffset(objects, rel, context, offSetX, offSetY) {\n      if (objects === null) {\n        return false;\n      }\n      for (let i = 0, n = objects.length; i < n; i++) {\n        if (context === null || typeof context !== 'object') {\n          this.drawOneObject(objects[i], rel, offSetX, offSetY);\n        } else {\n          this.drawOneObject(objects[i], rel, offSetX, offSetY, context);\n        }\n      }\n      return true;\n    }\n    drawObjectsOnLimitedCanvas(objects, rel, context) {\n      return this.drawObjectsWithOffset(objects, rel, context, this.limitX0, this.limitY0);\n    }\n    drawObjects(objects, rel, context) {\n      if (objects === null) {\n        return false;\n      }\n      for (let i = 0, n = objects.length; i < n; i++) {\n        if (typeof context !== 'object') {\n          this.drawOneObject(objects[i], rel);\n        } else {\n          this.drawOneObject(objects[i], rel, null, null, context);\n        }\n      }\n      return true;\n    }\n    drawFrame(sizes, color) {\n      // top\n      if (sizes[0] > 0) {\n        this.drawOneObject(new _CRect.default(0, 0, this.canvasWidth, sizes[0], color), false, 0, 0);\n      }\n      // right\n      if (sizes[1] > 0) {\n        this.drawOneObject(new _CRect.default(this.canvasWidth - sizes[1], 0, sizes[1], this.canvasHeight, color), false, 0, 0);\n      }\n      // bottom\n      if (sizes[2] > 0) {\n        this.drawOneObject(new _CRect.default(0, this.canvasHeight - sizes[2], this.canvasWidth, sizes[2], color), false, 0, 0);\n      }\n      // left\n      if (sizes[3] > 0) {\n        this.drawOneObject(new _CRect.default(0, 0, sizes[3], this.canvasHeight, color), false, 0, 0);\n      }\n      //\n    }\n    drawImage(img, callback, offsetX, offsetY, context, resizeRatio, centerPosition, autoResize, w, h) {\n      if (typeof w !== 'number') {\n        w = this.drawingWidth;\n      }\n      if (typeof h !== 'number') {\n        h = this.drawingHeight;\n      }\n      if (typeof offsetX !== 'number') {\n        offsetX = this.offsetX;\n      }\n      if (typeof offsetY !== 'number') {\n        offsetY = this.offsetY;\n      }\n      if (context) {\n        return img.displayWithCallBack(context, [offsetX, offsetY], callback, resizeRatio, w, h, centerPosition, autoResize);\n      }\n      return img.displayWithCallBack(this.context, [offsetX, offsetY], callback, resizeRatio, w, h, centerPosition, autoResize);\n    }\n    /**\n     *\n     * @param {type} o\n     * @param {type} rel\n     * @returns {boolean}\n     */\n    drawOneObject(o, rel, offsetX, offsetY, context) {\n      if (o === null || typeof o !== 'object') {\n        return false;\n      }\n      if (typeof offsetX !== 'number') {\n        offsetX = this.limitX0;\n      }\n      if (typeof offsetY !== 'number') {\n        offsetY = this.limitY0;\n      }\n      if (rel === true) {\n        o.resizeShape(this.limitWidth, this.limitHeight);\n      }\n      o.roundValues(0);\n      if (context) {\n        o.display(context, [offsetX, offsetY]);\n        return true;\n      }\n      if (!this.context) {\n        return false;\n      }\n      o.display(this.context, [offsetX, offsetY]);\n      return true;\n    }\n    drawPoint(pt, color, size) {\n      if (pt === null) {\n        return false;\n      }\n      return new _CRect.default(pt[0], pt[1], size, size, color, color).display(this.context, [0, 0]);\n    }\n    drawPoints(pts, color, size) {\n      if (pts) {\n        return new _CRect.default().displayPoints(this.context, pts, [this.limitX0, this.limitY0], color, size, this.canvasWidth, this.canvasHeight);\n      }\n      return false;\n    }\n    drawRect(pt1, pt2, fillColor, strokeColor, size) {\n      if (pt1 !== null) {\n        return new _CRect.default(pt1[0], pt1[1], pt2[0] - pt1[0], pt2[1] - pt1[1], fillColor, strokeColor, size).display(this.context, [0, 0]);\n      }\n      return false;\n    }\n    drawBackgroundWithGradient(color, gradientType, gradientColors) {\n      const r = new _CRect.default(0, 0, this.canvasWidth, this.canvasHeight, color);\n      r.setGradientType(gradientType);\n      r.setGradientBackground(gradientColors);\n      this.drawOneObject(r, false, 0, 0);\n    }\n    drawBlackBackground() {\n      return this.drawOneObject(new _CRect.default(0, 0, this.canvasWidth, this.canvasHeight, [0, 0, 0]), false, 0, 0);\n    }\n    drawBackground(color, colorB, lineWidth) {\n      if (colorB) {\n        return this.drawOneObject(new _CRect.default(0, 0, this.canvasWidth, this.canvasHeight, color, colorB, lineWidth), false, 0, 0);\n      } else if (color) {\n        return this.drawOneObject(new _CRect.default(0, 0, this.canvasWidth, this.canvasHeight, color), false, 0, 0);\n      }\n      return false;\n    }\n    drawImageBackground(img) {\n      if (img && img !== '') {\n        const background = new Image();\n        background.src = img;\n        background.onload = () => {\n          const ptrn = this.context.createPattern(background, 'repeat');\n          this.context.fillStyle = ptrn;\n          this.context.fillRect(0, 0, this.drawingWidth, this.drawingHeight);\n        };\n      }\n    }\n    drawLine(pt1, pt2, color, w, lineJoin) {\n      if (typeof lineJoin !== 'string') {\n        lineJoin = '';\n      }\n      this.drawOneObject(new _CLine.default(pt1[0], pt1[1], pt2[0], pt2[1], color, w).setLineJoin(lineJoin));\n    }\n    drawPolygon(pts, w, fillColor, strokeColor, p) {\n      if (pts === null) {\n        return false;\n      }\n      if (typeof pts !== 'object') {\n        return false;\n      }\n      if (pts.length === 0) {\n        return false;\n      }\n      if (fillColor === null && pts[1][3] !== null && typeof pts[1][3] === 'object') {\n        fillColor = pts[1][3];\n      }\n      if (typeof p !== 'object') {\n        p = new _CPolygon.default();\n        p.setLineWidth(w);\n        p.setFillColor(fillColor);\n        if (strokeColor !== null) {\n          p.setStrokeColor(strokeColor);\n        }\n      }\n      p.setPoints(pts);\n      this.drawOneObject(p);\n      return true;\n    }\n    drawPath(pts, w, color, l) {\n      if (pts === null) {\n        return false;\n      }\n      if (typeof pts !== 'object') {\n        return false;\n      }\n      if (pts.length === 0) {\n        return false;\n      }\n      if (color === null && typeof pts[1][3] === 'object' && pts[1][3] !== null) {\n        color = pts[1][3];\n      }\n      if (typeof l !== 'object') {\n        l = new _CLine.default(0, 0, 0, 0);\n        l.setLineWidth(w);\n        l.setStrokeColor(color);\n      }\n      l.setPts(pts);\n      this.drawOneObject(l);\n      return true;\n    }\n    drawMultiColorsPath(pts, w, color, l) {\n      if (pts === null || typeof pts !== 'object') {\n        return false;\n      }\n      if (typeof l !== 'object') {\n        l = new _CLine.default();\n        l.setLineWidth(w);\n        l.setStrokeColor(color);\n      }\n      for (let i = 0, n = pts.length - 1; i < n; i++) {\n        if (typeof pts[i] === 'object' && typeof pts[i + 1] === 'object' && pts[i] !== null && pts[i + 1] !== null) {\n          if (typeof pts[i][3] === 'object') {\n            l.setStrokeColor(pts[i][3]);\n          }\n          l.setTwoPoints(pts[i], pts[i + 1], false);\n          this.drawOneObject(l);\n        }\n      }\n      return true;\n    }\n    rotatePoints(cx, cy, pts, a) {\n      if (a === 0 || a % (2 * Math.PI) === 0) {\n        return pts;\n      }\n      if (pts === null) {\n        return false;\n      }\n      for (let i = 0, n = pts.length; i < n; i++) {\n        pts[i] = this.rotatePoint(cx, cy, a, pts[i]);\n      }\n      return pts;\n    }\n    rotatePoint(cx, cy, angle, pt) {\n      const s = Math.sin(angle);\n      const c = Math.cos(angle);\n\n      // translate point back to origin:\n      pt[0] -= cx;\n      pt[1] -= cy;\n\n      // rotate point\n      const xnew = pt[0] * c - pt[1] * s;\n      const ynew = pt[0] * s + pt[1] * c;\n\n      // translate point back:\n      pt[0] = xnew + cx;\n      pt[1] = ynew + cy;\n      return pt;\n    }\n    translatePoints(pts, v) {\n      if (pts === null) {\n        return false;\n      }\n      for (let i = 0, n = pts.length; i < n; i++) {\n        pts[i] = this.translatePoint(pts[i], v);\n      }\n      return pts;\n    }\n    translatePoint(pt, v) {\n      pt[0] = pt[0] + v[0];\n      pt[1] = pt[1] + v[1];\n      return pt;\n    }\n  }\n  _exports.default = DrawService;\n});","define(\"addon-canvas/models/filters/EdgeDetect\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // \"author\": \"Sher Minn Chong\"\n  class EdgeDetect {\n    constructor(opt) {\n      this.options = opt;\n      this.kernels = {\n        sobel: {\n          x: [[-1, 0, 1], [-2, 0, 2], [-1, 0, 1]],\n          y: [[-1, -2, -1], [0, 0, 0], [1, 2, 1]]\n        },\n        sobel2: {\n          x: [[null, 0, 1], [null, 0, 2], [null, 0, 1]],\n          y: [[null, -2, -1], [null, 0, 0], [null, 2, 1]]\n        }\n      };\n    }\n    execDetect(canvas) {\n      return this.execSobelDetect(canvas);\n    }\n    execSobelDetect(canvas) {\n      const res = this.sobel(canvas, this.options.kernel); // return magnitudes only\n      const mags = res[0];\n      const dirs = res[1];\n      return [mags, dirs];\n    }\n    sobel(c, type) {\n      // array of pixel data\n      const data = c.getDataArr();\n\n      // convolution kernels\n      const kernelX = this.kernels[type].x;\n      const kernelY = this.kernels[type].y;\n      const kernelSize = kernelX.length;\n\n      // offset value to get window of pixels\n      const rowOffset = c.canvasWidth;\n\n      // math to get 3x3 window of pixels because image data given is just a 1D array of pixels\n      const maxPixelOffset = c.canvasWidth * 2 + kernelSize - 1;\n\n      // optimizations\n      const SQRT = Math.sqrt;\n      const ATAN2 = Math.atan2;\n      const dataLength = data.length - maxPixelOffset;\n      const magnitudes = new Array(dataLength);\n      const directions = new Array(dataLength);\n      for (let i = 0; i < dataLength; i++) {\n        // sum of each pixel * kernel value\n        let sumX = 0,\n          sumY = 0;\n        for (let x = 0; x < kernelSize; x++) {\n          if (kernelX[x]) {\n            for (let y = 0; y < kernelSize; y++) {\n              const px = data[i + rowOffset * y + x];\n              const r = px[0];\n\n              // use px[0] (i.e. R value) because grayscale anyway)\n              sumX += r * kernelX[y][x];\n              sumY += r * kernelY[y][x];\n            }\n          }\n        }\n        const mag = SQRT(sumX * sumX + sumY * sumY);\n        const direction = ATAN2(sumX, sumY);\n\n        // compare neighbours\n        // set magnitude to 0 if doesn't exceed threshold, else set to magnitude\n        magnitudes[i] = mag > this.options.threshold ? mag : 0;\n        directions[i] = mag > this.options.threshold ? direction : 0;\n      }\n      return [magnitudes, directions];\n    }\n  }\n  _exports.default = EdgeDetect;\n});","define(\"addon-canvas/models/filters/EdgeThinner\", [\"exports\", \"addon-canvas/models/CShape\"], function (_exports, _CShape) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class EdgeThinner {\n    constructor() {\n      this.type = 'skeleton';\n      this.iterations = 1;\n      this.color = [0, 50, 50];\n      this.kernels = {\n        skeleton: [[[0, 0, 0], [null, 1, null], [1, 1, 1]], [[null, 0, 0], [1, 1, 0], [null, 1, null]]],\n        '8-connected': [[[1, 1, 1], [1, 1, 1], [1, 1, 1]], [[0, 0, 0], [0, 1, 0], [0, null, null]], [[0, 0, 0], [0, 1, 0], [null, null, 0]]],\n        '4-connected': [[[null, 1, null], [1, 1, 1], [null, 1, null]], [[0, 0, 0], [0, 1, 0], [0, null, null]], [[0, 0, 0], [0, 1, 0], [null, null, 0]]]\n      };\n    }\n    doThinning(canvas, edges, directions, color) {\n      this.c = canvas;\n      this.edges = edges;\n      this.directions = directions;\n      this.color = color;\n      this.createRotations();\n      return this.nonMaxSupression();\n    }\n    createRotations() {\n      const kernels = this.kernels[this.type];\n      for (let k in kernels) {\n        const kern = kernels[k];\n\n        // do 3 times\n        let curr = kern;\n        for (let rot = 0; rot < 3; rot++) {\n          // make new grid\n          const newKern = new Array(curr.length);\n          for (let i = 0; i < newKern.length; i++) {\n            newKern[i] = new Array(curr[i].length);\n          }\n\n          // put rotated\n          for (let i = 0; i < curr.length; i++) {\n            for (let j = 0; j < curr[i].length; j++) {\n              newKern[i][j] = curr[j][i];\n            }\n          }\n          kernels.push(newKern);\n          curr = newKern;\n        }\n      }\n    }\n    thin() {\n      const edges = this.edges;\n      const kernels = this.kernels[this.type];\n      //let iterations = 3;\n\n      const width = this.c.canvasWith;\n      const height = this.canvasHeight;\n      const newEdges = new Array(edges.length);\n      // for each kernel, apply them and rotations (TODO)\n      for (let times = 0; times < this.iterations; times++) {\n        for (let n = 0; n < kernels.length; n++) {\n          // get a kernel\n          const kernel = kernels[n];\n          //var count = 0;\n          let e = null;\n          let edgeIdx = 0;\n          let centerIdx = 0; // for each pixel\n          for (let x = 0; x < height; x++) {\n            for (let y = 0; y < width; y++) {\n              // 3x3 window of neighbours\n              let keepEdge = true;\n              for (let k = -1; k <= 1; k++) {\n                for (let l = -1; l <= 1; l++) {\n                  // get kernel value for that pixel\n                  const kx = k + 1;\n                  const ky = l + 1;\n                  const kxy = kernel[kx][ky];\n\n                  // pixel index\n                  edgeIdx = (x + k) * width - 1 + (y + l) - 1;\n                  centerIdx = x * width - 1 + y - 1;\n                  if (!(edgeIdx > -1 && edgeIdx < edges.length)) {\n                    continue;\n                  }\n\n                  // check if pixels exist in accordance to kernel\n                  e = edges[edgeIdx];\n                  if (kxy) {\n                    const isOne = kxy === 1 && e;\n                    const isZero = kxy === 0 && !e;\n                    if (!(isOne || isZero)) {\n                      keepEdge = false;\n                    }\n                  }\n                }\n              }\n              if (keepEdge) {\n                newEdges[centerIdx] = e;\n              }\n            }\n          }\n        }\n      }\n      this.drawLines(newEdges, width, height);\n      return newEdges;\n    }\n    drawLines(edges, width, height) {\n      // draw the thinned edge\n      const context = this.c.context;\n      context.clearRect(0, 0, width, height);\n      context.fillStyle = new _CShape.default().getColor(this.color);\n      for (let x = 0; x < width; x++) {\n        for (let y = 0; y < height; y++) {\n          const edgeIdx = y * width + x;\n          if (edges[edgeIdx]) {\n            context.fillRect(x, y, 1, 1);\n          }\n        }\n      }\n    }\n    forEachEdge(edges, width, height, func) {\n      for (let x = 0; x < height; x++) {\n        for (let y = 0; y < width; y++) {\n          let i = x * width + y;\n          func(x, y, edges[i], i);\n        }\n      }\n    }\n    nonMaxSupression() {\n      const width = this.c.canvasWidth;\n      const height = this.c.canvasHeight;\n      const edges = this.edges;\n      const directions = this.directions;\n      const newEdges = new Array(edges.length);\n      this.forEachEdge(edges, width, height, function (x, y, mag, i) {\n        if (x === 0 || y === 0 || x === edges.length - 1 || y === edges.length - 1) {\n          return;\n        }\n\n        // simplify directions of tangent\n        const dir = directions[i];\n\n        // get rounded down angle\n        const which = Math.abs(Math.floor(dir / Math.PI / 4));\n        const nidx = [];\n        switch (which) {\n          case 0: //north-south, check east and west\n          case 4:\n            nidx.push([x + 1, y], [x - 1, y]);\n            break;\n          case 1:\n            //northwest-southeast, check northest-southwest\n            nidx.push([x - 1, y - 1], [x + 1, y + 1]);\n            break;\n          case 2:\n            //east west, check north-south\n            nidx.push([x, y + 1], [x, y - 1]);\n            break;\n          case 3:\n            //northest-southwest, check northwest-souteast\n            nidx.push([x - 1, y + 1], [x + 1, y - 1]);\n            break;\n          default:\n            // invalid\n            return;\n        }\n\n        // if neighbours are less, is center of edge\n        let isMax = true;\n        for (let n of nidx) {\n          const idx = n[0] * width + n[1];\n          if (mag <= edges[idx]) {\n            isMax = false;\n          }\n        }\n        newEdges[i] = isMax === true ? mag : 0;\n      });\n      this.drawLines(newEdges, width, height);\n      return newEdges;\n    }\n  }\n  _exports.default = EdgeThinner;\n});","define(\"addon-canvas/models/filters/Filter\", [\"exports\", \"addon-canvas/models/filters/EdgeDetect\", \"addon-canvas/models/filters/EdgeThinner\", \"addon-canvas/models/filters/HoughTransform\"], function (_exports, _EdgeDetect, _EdgeThinner, _HoughTransform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Filter {\n    constructor(opt) {\n      this.options = opt;\n      this.edges = null;\n      this.directions = null;\n    }\n    greyScale(canvas) {\n      // get image data (gives us pixels)\n      const context = canvas.context;\n      if (context) {\n        const imageData = context.getImageData(0, 0, canvas.canvasWidth, canvas.canvasHeight);\n        const data = imageData.data;\n\n        // loop through each pixel and set it to grey\n        for (let i = 0; i < data.length; i += 4) {\n          // use luminosity formula to calculate brightness of grey\n          const r = data[i],\n            g = data[i + 1],\n            b = data[i + 2];\n          const luminosity = 0.21 * r + 0.72 * g + 0.07 * b;\n          data[i] = data[i + 1] = data[i + 2] = luminosity;\n        }\n        // overwrite image\n        context.putImageData(imageData, 0, 0);\n      }\n    }\n    generateGaussianKernel(canvas, n) {\n      const k = (n - 1) / 2;\n      const kernel = [];\n      const rho = 0.7;\n      const rhoSq = Math.pow(rho, 2);\n      // generate nxn kernel\n      for (let i = 0; i < n; i++) {\n        const krow = [];\n        for (let j = 0; j < n; j++) {\n          // Gaussian formula\n          krow.push(1 / (2 * Math.PI * rhoSq) * Math.exp(-1 / (2 * rhoSq) * (Math.pow(i - k - 1, 2) + Math.pow(j - k - 1, 2))));\n        }\n        kernel.push(krow);\n      }\n      this.convolve(canvas, kernel);\n    }\n    edgeThinFilter(canvas, color) {\n      this.color = color;\n      if (this.edges && this.edges.length > 0) {\n        this.edges = new _EdgeThinner.default().doThinning(canvas, this.edges, this.directions, color);\n      }\n    }\n    edgeDetect(canvas, threshold) {\n      const results = new _EdgeDetect.default({\n        kernel: 'sobel',\n        threshold: threshold\n      }).execDetect(canvas);\n      if (results) {\n        this.displayEdgeDetect(canvas, results[0], results[1]);\n      }\n    }\n    houghTransform(canvas) {\n      new _HoughTransform.default({\n        type: 'lines',\n        threshold: 120\n      }).doTransform(canvas, this.edges);\n    }\n    displayEdgeDetect(canvas, magnitudes, directions) {\n      // pad missing edges. edge detected image will be smaller than\n      // original because cannot determine edges at image edges\n      const dataLength = canvas.canvasWidth * canvas.canvasHeight * 4;\n\n      // keep edge and direction magnitude for each pixel\n      this.edges = new Array(dataLength / 4);\n      this.directions = new Array(dataLength / 4);\n      const edges = new Array(dataLength);\n      for (let i = 0; i < dataLength; i++) {\n        edges[i] = 0;\n        if (!(i % 4)) {\n          const m = magnitudes[i / 4];\n          this.edges[i / 4] = m;\n          this.directions[i / 4] = directions[i / 4];\n          if (m !== 0) {\n            edges[i - 1] = m / 4;\n          }\n        }\n        i++;\n      }\n      canvas.context.putImageData(new ImageData(new Uint8ClampedArray(edges), canvas.canvasWidth, canvas.canvasHeight), 2, 0);\n    }\n    performWhiteBalance(imageData, level) {\n      let sumR = 0,\n        sumG = 0,\n        sumB = 0;\n      const numPixels = imageData.width * imageData.height;\n      for (let i = 0; i < imageData.data.length; i += 4) {\n        sumR += imageData.data[i];\n        sumG += imageData.data[i + 1];\n        sumB += imageData.data[i + 2];\n      }\n      const avgR = sumR / numPixels;\n      const avgG = sumG / numPixels;\n      const avgB = sumB / numPixels;\n      const avg = [avgR, avgG, avgB];\n      const max = Math.max(...avg);\n      const white = avg.map(c => 255 * c / max);\n      for (let i = 0; i < imageData.data.length; i += 4) {\n        imageData.data[i] = (255 / white[0]) ** level * imageData.data[i]; // red\n        imageData.data[i + 1] = (255 / white[1]) ** level * imageData.data[i + 1]; // green\n        imageData.data[i + 2] = (255 / white[2]) ** level * imageData.data[i + 2]; // blue\n      }\n      return imageData;\n    }\n    changeRgb(canvas, rgb) {\n      // ctx.globalCompositeOperation='difference';\n      canvas.getImageData();\n      const data = canvas.canvasData.getData();\n      for (let i = 0; i < data.length; i += 4) {\n        if (data[i] !== 0 && i % 2 === 0) {\n          data[i] = rgb[0] !== null ? rgb[0] : data[i]; // RED\n          data[i + 1] = rgb[1] !== null ? rgb[1] : data[i + 1]; // GREEN\n          data[i + 2] = rgb[2] !== null ? rgb[2] : data[i + 2]; // BLUE\n          data[i + 3] = rgb[3] !== null ? rgb[3] : 255; // ALPHA\n        }\n      }\n      canvas.putImageData(false, null, 0, 0);\n    }\n    monoColorFilter(canvas, color) {\n      canvas.getImageData();\n      const data = canvas.canvasData.getData();\n      for (let i = 0; i < data.length; i += 4) {\n        if (data[i] !== 0 && i % 2 === 0) {\n          data[i] = color[0]; // RED\n          data[i + 1] = color[1]; // GREEN\n          data[i + 2] = color[2]; // BLUE\n        }\n      }\n      canvas.putImageData(false, null, 0, 0);\n    }\n    invert(canvas) {\n      canvas.getImageData();\n      const data = canvas.canvasData.getData();\n      for (let i = 0; i < data.length; i += 4) {\n        if (data[i] !== 0 && i % 2 === 0) {\n          data[i] = 255 - data[i]; // RED\n          data[i + 1] = 255 - data[i + 1]; // GREEN\n          data[i + 2] = 255 - data[i + 2]; // BLUE\n        }\n      }\n      canvas.putImageData(false, null, 0, 0);\n    }\n    convolve(canvas, kernel) {\n      // does convolution given a kernel. missing edge pixels because\n      // of how kernel works centered on a something\n\n      const data = canvas.getDataArr();\n      const maxPixelOffset = canvas.canvasWidth * kernel.length * 2 - 2;\n      const newPixels = [];\n      for (let i = 0; i < data.length - maxPixelOffset; i++) {\n        let sum = 0;\n        for (let a = 0; a < kernel.length; a++) {\n          for (let b = 0; b < kernel[a].length; b++) {\n            // math to get px position in window\n            const offset = canvas.canvasWidth * a;\n            const px = data[i + offset + b];\n\n            // new value for pixel\n            sum += kernel[a][b] * px[0];\n          }\n        }\n        Array.prototype.push.apply(newPixels, [sum, sum, sum, 255]);\n      }\n      for (let i = 0; i < maxPixelOffset; i++) {\n        Array.prototype.push.apply(newPixels, [0, 0, 0, 0]);\n      }\n\n      // overwrite image with the edges\n      canvas.context.putImageData(new ImageData(new Uint8ClampedArray(newPixels), canvas.canvasWidth), 0, 0);\n    }\n  }\n  _exports.default = Filter;\n});","define(\"addon-canvas/models/filters/HoughTransform\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class HoughTransform {\n    constructor(options) {\n      // given an array edges, use hough transform to detect lines/etc\n      this.accumulators = {\n        lines: {},\n        circles: {}\n      };\n      this.threshold = options.threshold;\n      this.type = options.type;\n\n      // optional, for circle detection\n      this.radius = options.radius / 2;\n\n      // precalculate tables for sin, cos and radian values\n      this.tables = {\n        sin: {},\n        cos: {}\n      };\n      for (let deg = 0; deg < 360; deg++) {\n        const rad = deg * Math.PI / 180;\n        this.tables.sin[rad] = Math.sin(rad);\n        this.tables.cos[rad] = Math.cos(rad);\n      }\n\n      // get radians from keys\n      this.tables.radians = Object.keys(this.tables.sin);\n    }\n    doTransform(c, edges) {\n      switch (this.type) {\n        case 'lines':\n          this.lines(c, edges);\n          this.drawLines(c, edges);\n          break;\n        case 'circles':\n          this.circles(c, edges, this.radius);\n          this.drawCircles(c, edges, this.radius);\n      }\n    }\n    lines(c, edges) {\n      const width = c.canvasWidth;\n      const height = c.canvasHeight;\n      const centerX = Math.ceil(width / 2);\n      const centerY = Math.ceil(height / 2);\n      const acc = this.accumulators['lines'];\n\n      //use precalculated values\n      const sin = this.tables.sin;\n      const cos = this.tables.cos;\n      const radians = this.tables.radians;\n\n      //detects lines and returns array with line locations\n      for (let x = 0; x < width; x++) {\n        for (let y = 0; y < width; y++) {\n          const i = x * width + y;\n\n          // don't calculate for non-edges\n          const e = edges[i];\n          if (typeof e === 'undefined' || e === 0) {\n            continue;\n          }\n\n          // calculate r for thetas\n          for (let j = 0; j < radians.length; j++) {\n            //normalize x and y values with center as origin\n            const xnorm = x - centerX;\n            const ynorm = y - centerY;\n            const rad = radians[j];\n            const r = Math.floor(xnorm * cos[rad] + ynorm * sin[rad]);\n\n            // increment accumulator by 1 for every r found\n            if ([r, rad] in acc) {\n              acc[[r, rad]].x.push(xnorm);\n              acc[[r, rad]].y.push(ynorm);\n            } else {\n              acc[[r, rad]] = {\n                x: [xnorm],\n                y: [ynorm]\n              };\n            }\n          }\n        }\n      }\n      return acc;\n    }\n    circles(c, edges, radius) {\n      const acc = this.accumulators['circles'];\n      const width = c.canvasWidth;\n      const height = c.canvasHeight;\n      // for each edge pixel\n      for (let x = 0; x < height; x++) {\n        for (let y = 0; y < width; y++) {\n          const e = edges[x * width + y];\n\n          // ignore non-edges\n          if (typeof e === 'undefined' || e === 0) {\n            continue;\n          }\n\n          // find circle points (a, b) where e = (x,y) can be center of circle\n          // formula: x = a + r * cos (theta), a = x - r * cos (theta)\n          //          y = b + r * sin (theta), b = y - r * sin (theta)\n\n          const sin = this.tables.sin;\n          const cos = this.tables.cos;\n          const radians = this.tables.radians;\n          const R = radius;\n\n          // for each possible angle, find these points\n          for (let r = 0; r < radians.length; r++) {\n            const rad = radians[r];\n            const a = Math.floor(x - R * cos[rad]);\n            const b = Math.floor(y - R * sin[rad]);\n\n            // add votes to this points in accumulator\n            if ([a, b] in acc) {\n              acc[[a, b]]++;\n            } else {\n              acc[[a, b]] = 1;\n            }\n          }\n        }\n      }\n    }\n    drawCircles(c, edges, radius) {\n      const acc = this.accumulators['circles'];\n      const context = c.context;\n      const threshold = this.threshold;\n      const points = Object.keys(acc);\n      for (let i = 0; i < points.length; i++) {\n        let point = points[i];\n\n        // enough intersections, is probably circle\n        if (acc[point] > threshold) {\n          // draw circle\n          point = point.split(',');\n          const x = point[1];\n          const y = point[0];\n          context.beginPath();\n          context.strokeStyle = 'rgba(255,100,0,0.5)';\n          context.arc(x, y, radius, 0, 2 * Math.PI);\n          context.stroke();\n        }\n      }\n    }\n    drawLines(c) {\n      // clear canvas\n      // c.context.clearRect(0,0,c.canvas.width,c.canvas.height);\n\n      // list of all r, deg pairs in accumulator\n      const acc = this.accumulators['lines'];\n      const rhoRads = Object.keys(acc);\n      const width = c.canvasWidth;\n      const height = c.canvasHeight;\n      const centerX = Math.floor(width / 2);\n      const centerY = Math.floor(height / 2);\n\n      //use precalculated values\n      const sin = this.tables.sin;\n      const cos = this.tables.cos;\n      //const radians = this.tables.radians;\n\n      //parameters\n      const threshold = this.threshold; //min num of points on line\n      const colorG = 0;\n\n      // draw lines detected from accumulator data. takes in original image data\n      for (let i = rhoRads.length - 1; i >= 0; i--) {\n        // get xCoords associated with rho and radian pair\n        let rd = rhoRads[i];\n        const xCoords = acc[rd].x;\n        const yCoords = acc[rd].y;\n\n        //##TODO: check for local maxima\n        rd = rd.split(',');\n        const r = rd[0]; //rho val\n        const rad = rd[1]; //radian val\n\n        if (xCoords.length > threshold) {\n          // all possible xs\n          for (let j = 0; j < xCoords.length; j++) {\n            const x1 = xCoords[j];\n            const y1 = Math.floor((r - x1 * cos[rad]) / sin[rad]);\n            c.context.fillStyle = `rgb(255,${colorG},255)`;\n            c.context.fillRect(y1 + centerY, x1 + centerX, 1, 1);\n            const x2 = yCoords[j];\n            const y2 = Math.floor((r - x2 * sin[rad]) / cos[rad]);\n            c.context.fillStyle = `rgb(0,${colorG},255)`;\n            c.context.fillRect(x2 + centerY, y2 + centerX, 1, 1);\n          }\n        }\n      }\n    }\n  }\n  _exports.default = HoughTransform;\n});","define(\"addon-canvas/models/shapesgenerator\", [\"exports\", \"addon-canvas/models/CCircle\", \"addon-canvas/models/CLine\", \"addon-canvas/models/CPolygon\", \"addon-canvas/models/CRect\", \"addon-canvas/models/CTriangle\", \"addon-canvas/models/CEllipse\"], function (_exports, _CCircle, _CLine, _CPolygon, _CRect, _CTriangle, _CEllipse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class ShapesGenerator {\n    constructor() {\n      _defineProperty(this, \"width\", 0);\n      _defineProperty(this, \"height\", 0);\n    }\n    /**\n     *\n     * @param {type} h height\n     * @param {type} w width\n     * @returns {ShapesGenerator}\n     */\n    setDimension(h, w) {\n      this.width = w;\n      this.height = h;\n    }\n    getCenter() {\n      return [this.getXCenter(), this.getYCenter()];\n    }\n    getXCenter() {\n      return this.width / 2;\n    }\n    getYCenter() {\n      return this.height / 2;\n    }\n    getWidth() {\n      return this.width;\n    }\n    getHeight() {\n      return this.height;\n    }\n    setWidth(w) {\n      this.width = w;\n    }\n    setHeight(h) {\n      this.height = h;\n    }\n    getPoint(pt, colors, size, rel) {\n      if (pt === null || typeof pt !== 'object') {\n        return false;\n      }\n      if ((typeof colors !== 'object' || colors === null) && pt[3]) {\n        colors = pt[3];\n      }\n      if (typeof colors !== 'object') {\n        colors = [0, 0, 0];\n      }\n      if (typeof size !== 'number') {\n        size = 2;\n      }\n      if (rel === true) {\n        pt[0] = pt[0] * this.getWidth();\n        pt[1] = pt[1] * this.getHeight();\n      }\n      pt[0] = Math.floor(pt[0]);\n      pt[1] = Math.floor(pt[1]);\n      return new _CRect.default(pt[0] - size / 2, pt[1] - size / 2, size, size, colors, colors, 1);\n    }\n    getRandomTriangle(c1, angle, maxRandom, cDeltaAngle) {\n      let step = 0;\n      if (typeof maxRandom !== 'number') {\n        maxRandom = 1 / 2;\n      }\n      if (typeof cDeltaAngle !== 'number') {\n        cDeltaAngle = 1 / 2;\n      }\n      if (typeof angle !== 'number') {\n        angle = 0;\n        angle += Math.random() * Math.PI;\n      }\n\n      // first point\n      const p1 = c1.getPointOnCircle(angle);\n      const p = new _CTriangle.default(null, [255, 255, 204], null, 'p');\n      p.addPoint(p1);\n      step = Math.random() * (Math.PI * maxRandom) + Math.PI * cDeltaAngle;\n      angle += step;\n      p.addPoint(c1.getPointOnCircle(angle));\n      step = Math.random() * (Math.PI * maxRandom) + Math.PI * cDeltaAngle;\n      angle += step;\n      p.addPoint(c1.getPointOnCircle(angle));\n      p.defLines();\n      p.angleCalculation();\n      p.roundValues();\n      return p;\n    }\n    getFitCube2() {\n      const shapes = [];\n      const v = [1 / 10 * this.getWidth(), 1 / 10 * this.getHeight()];\n      const p1 = this.getFitPolygon(4);\n      p1.translation([-v[0], -v[1]]);\n      p1.setStrokeColor([0, 0, 0]);\n      shapes.push(p1);\n      const p2 = this.getFitPolygon(4);\n      p2.translation([v[0], v[1]]);\n      p1.setStrokeColor([0, 0, 0]);\n      shapes.push(p2);\n      return shapes;\n    }\n    getFitEllipse(p, q, strokeColor, fillColor) {\n      let w = 0;\n      let h = 0;\n      if (typeof strokeColor !== 'object') {\n        strokeColor = [0, 0, 0];\n      }\n      w = this.getWidth() * p / 100;\n      h = this.getHeight() * q / 100;\n      return new _CEllipse.default(this.getXCenter() - w / 2, this.getYCenter() - h / 2, w, h, fillColor, strokeColor);\n    }\n    getFitCircle(p, strokeColor, fillColor, lineWidth) {\n      let diameter = 0;\n      if (typeof lineWidth !== 'number') {\n        lineWidth = 1;\n      }\n      if (typeof p !== 'number') {\n        p = 80;\n      }\n      if (typeof strokeColor !== 'object') {\n        strokeColor = [0, 0, 0];\n      }\n      if (typeof p !== 'number') {\n        fillColor = null;\n      }\n      if (this.getHeight() > this.getWidth()) {\n        diameter = this.getWidth() * p / 100;\n      } else {\n        diameter = this.getHeight() * p / 100;\n      }\n      return new _CCircle.default(this.getXCenter() - diameter / 2, this.getYCenter() - diameter / 2, diameter, diameter, fillColor, strokeColor, lineWidth);\n    }\n    /**\n     *\n     * @param {type} nb\n     * @param {type} p\n     * @param {type} a\n     * @param {type} regular\n     * @returns {CPolygon}\n     */\n    getFitPolygon(nb, size, a, regular) {\n      const c = this.getFitCircle(size);\n      if (typeof a !== 'number') {\n        a = 0;\n      }\n      return this.getPolygonFromCircle(c, a, nb, regular);\n    }\n\n    /**\n     *\n     * @param {type} c\n     * @param {type} a\n     * @param {type} nb\n     * @param {type} regular\n     * @returns {CPolygon}\n     */\n    getPolygonFromCircle(c, a, nb, regular) {\n      const pts = [];\n      for (let i = 0; i < nb; i++) {\n        pts.push(c.getPointOnCircle(a));\n        if (regular === false) {\n          a += Math.random() * (2 * Math.PI / nb - Math.PI / nb) + Math.PI / nb;\n        } else {\n          a += 2 * Math.PI / nb;\n        }\n      }\n      return new _CPolygon.default(pts);\n    }\n    getFitCube(m, size, bHiddenFace) {\n      const squares = [];\n      const c = this.getFitCircle(size);\n      const pts = Array();\n      let angle = m * Math.PI;\n      for (let i = 0; i < 6; i++) {\n        pts.push(c.getPointOnCircle(angle));\n        angle += 2 * Math.PI / 6;\n      }\n\n      // points of each face\n      const indPts = new Array([0, 1, 6, 5], [1, 2, 3, 6], [6, 3, 4, 5]);\n      if (bHiddenFace === true) {\n        indPts.push([0, 1, 2, 6]);\n        indPts.push([5, 0, 6, 4]);\n      }\n      pts.push(c.getCenter());\n      for (let i = 0; i < indPts.length; i++) {\n        const p = new _CPolygon.default([pts[indPts[i][0]], pts[indPts[i][1]], pts[indPts[i][2]], pts[indPts[i][3]]], [255, 0, 0]);\n        p.roundValues();\n        p.defLines();\n        squares.push(p);\n      }\n      return squares;\n    }\n    getDividedPolygon(nb, nb2, size) {\n      const c = this.getFitCircle(size);\n      const p = this.getFitPolygon(nb, size, 0);\n      let j = 0;\n      const pts = p.getPoints();\n      const ptC = c.getCenter();\n      const parts = [];\n      for (let i = 0; i < nb; i++) {\n        const subParts = [];\n        j = i < nb - 1 ? i + 1 : i + 1 - nb;\n        const l1 = new _CLine.default();\n        l1.setTwoPoints(pts[i], ptC, true);\n        const l2 = new _CLine.default();\n        l2.setTwoPoints(pts[j], ptC, true);\n        const d = l1.getDistance();\n        let pt1 = pts[i];\n        let pt2 = pts[j];\n        for (let k = 0; k < nb2 - 1; k++) {\n          const pt4 = l1.getPointsMoveOnSegment(pt1, ptC, d / (nb2 - 1));\n          const pt3 = l2.getPointsMoveOnSegment(pt2, ptC, d / (nb2 - 1));\n          const t = new _CPolygon.default();\n          t.setPoints([pt1, pt2, pt3, pt4]);\n          pt1 = pt4;\n          pt2 = pt3;\n          subParts.push(t);\n        }\n        parts.push(subParts);\n      }\n      return parts;\n    }\n    getDistance(point1, point2) {\n      return Math.sqrt(Math.pow(point1[0] - point2[0], 2) + Math.pow(point1[1] - point2[1], 2));\n    }\n    getClosestPoint(point1, point2, point3) {\n      const d1 = Math.sqrt(Math.pow(point2[0] - point1[0], 2) + Math.pow(point2[1] - point1[1], 2));\n      const d2 = Math.sqrt(Math.pow(point3[0] - point1[0], 2) + Math.pow(point3[1] - point1[1], 2));\n      if (d1 > d2) {\n        return point3;\n      } else {\n        return point2;\n      }\n    }\n    mulVector(v1, a, b) {\n      return [v1[0] * a, v1[1] * b];\n    }\n    addVector(v1, v2) {\n      return [v1[0] + v2[0], v1[1] + v2[1]];\n    }\n    getFarthestPoint(point1, point2, point3) {\n      const d1 = Math.sqrt(Math.pow(point2[0] - point1[0], 2) + Math.pow(point2[1] - point1[1], 2));\n      const d2 = Math.sqrt(Math.pow(point3[0] - point1[0], 2) + Math.pow(point3[1] - point1[1], 2));\n      if (d1 > d2) {\n        return point2;\n      } else {\n        return point3;\n      }\n    }\n  }\n  _exports.default = ShapesGenerator;\n});","define(\"addon-canvas/models/shapesgenerator3d\", [\"exports\", \"three\"], function (_exports, _three) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class ShapesGenerator3d {\n    constructor() {\n      _defineProperty(this, \"width\", 0);\n      _defineProperty(this, \"height\", 0);\n    }\n    setDimension(h, w) {\n      this.width = w;\n      this.height = h;\n    }\n    getCenter() {\n      return [this.getXCenter(), this.getYCenter()];\n    }\n    getXCenter() {\n      return this.width / 2;\n    }\n    getYCenter() {\n      return this.height / 2;\n    }\n    getWidth() {\n      return this.width;\n    }\n    getHeight() {\n      return this.height;\n    }\n    setWidth(w) {\n      this.width = w;\n    }\n    setHeight(h) {\n      this.height = h;\n    }\n    getVector3(x, y, z) {\n      return new _three.Vector3(x, y, z);\n    }\n    getEuler(x, y, z) {\n      return new _three.Euler(x, y, z);\n    }\n    createColorMaterial(color) {\n      return new _three.MeshBasicMaterial({\n        color,\n        side: _three.DoubleSide\n      });\n    }\n    getGroup() {\n      return new _three.Group();\n    }\n    createSquare(x, y, z, color, rotation) {\n      const square = new _three.Mesh(new _three.PlaneGeometry(1, 1), this.createColorMaterial(color));\n      square.position.set(x, y, z);\n      square.rotation.set(rotation.x, rotation.y, rotation.z);\n      return square;\n    }\n    createColorMaterial(color) {\n      return new _three.MeshBasicMaterial({\n        color,\n        side: _three.DoubleSide\n      });\n    }\n    getPoint(pt, colors, size, rel) {\n      return null;\n    }\n    getRandomTriangle(c1, angle, maxRandom, cDeltaAngle) {\n      return p;\n    }\n    getFitCube2() {\n      return shapes;\n    }\n    getFitEllipse(p, q, strokeColor, fillColor) {\n      return null;\n    }\n    getFitCircle(p, strokeColor, fillColor, lineWidth) {\n      return null;\n    }\n    getFitPolygon(nb, size, a, regular) {\n      return this.getPolygonFromCircle(c, a, nb, regular);\n    }\n    getPolygonFromCircle(c, a, nb, regular) {}\n    getFitCube(m, size, bHiddenFace) {\n      return squares;\n    }\n  }\n  _exports.default = ShapesGenerator3d;\n});","define(\"addon-canvas/models/trochoid\", [\"exports\", \"addon-canvas/models/CLine\"], function (_exports, _CLine) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Trochoid {\n    getObjects(shaphesGenerator, d, angleLim, angle0, r1, r2, out, w) {\n      if (typeof w !== 'number') {\n        w = 0.025;\n      }\n      const objects = [];\n      const r2a = r2;\n      const c2 = shaphesGenerator.getFitCircle(r2 * 2);\n      const c1 = shaphesGenerator.getFitCircle(r1 * 2);\n      let x = 0;\n      let y = 0;\n      const c3 = shaphesGenerator.getFitCircle(out === true ? (r1 + r2) * 2 : (r1 - r2) * 2);\n\n      // 2*Math.PI => 360\n      angle0 = angle0 * (2 * Math.PI) / 360;\n      angleLim = angleLim * (2 * Math.PI) / 360;\n      r1 = c1.getWidth() / 2;\n      r2 = c2.getWidth() / 2;\n      const x0 = c1.getXCenter();\n      const y0 = c1.getYCenter();\n      d = d * r2 / r2a;\n      let angle = angle0;\n      let pt2 = null;\n      objects.pts = [];\n      objects.ptsC = [];\n      objects.lines = [];\n      while (angle < angleLim + 0.1 + angle0) {\n        if (out === true) {\n          x = (r1 + r2) * Math.cos(angle) - d * Math.cos((r1 + r2) / r2 * angle) + x0;\n          y = (r1 + r2) * Math.sin(angle) - d * Math.sin((r1 + r2) / r2 * angle) + y0;\n        } else {\n          x = (r1 - r2) * Math.cos(angle) + d * Math.cos((r1 - r2) / r2 * angle) + x0;\n          y = (r1 - r2) * Math.sin(angle) - d * Math.sin((r1 - r2) / r2 * angle) + y0;\n        }\n        const pt1 = [x, y];\n        if (pt2) {\n          objects.lines.push(new _CLine.default(0, 0, 0, 0, null, 1, pt1, pt2));\n        }\n        pt2 = pt1;\n        objects.pts.push([pt2[0], pt2[1]]);\n        objects.ptsC.push(c3.getPointOnCircle(angle));\n        angle += w;\n      }\n      objects.c1 = c1;\n      objects.c2 = c2;\n      objects.c3 = c3;\n      return objects;\n    }\n  }\n  _exports.default = Trochoid;\n});","define(\"addon-canvas/models/video-service\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class VideoService {\n    constructor() {\n      _defineProperty(this, \"stream\", null);\n      _defineProperty(this, \"chunks\", []);\n      _defineProperty(this, \"mediaRecorder\", null);\n      _defineProperty(this, \"currentImageIndex\", 0);\n      _defineProperty(this, \"currentListener\", '');\n      this.eventVideoReadyTarget = new EventTarget();\n    }\n    clearRecorder() {\n      if (this.mediaRecorder) {\n        this.mediaRecorder.stop();\n      }\n      this.mediaRecorder = null;\n      this.chunks = [];\n      this.triggerVideo = false;\n      this.videoUrl = '';\n      this.currentListener = '';\n      this.currentImageIndex = 0;\n      this.eventVideoReadyTarget = new EventTarget();\n      this.revokeUrl();\n    }\n    triggerVideoEvent(data) {\n      if (this.currentListener) {\n        this.eventVideoReadyTarget.dispatchEvent(new CustomEvent(this.currentListener, {\n          detail: data\n        }));\n      }\n    }\n    sendRecordingEvent() {}\n    setVideoListener(f, id) {\n      this.currentListener = `videoReady${id}`;\n      this.eventVideoReadyTarget.addEventListener(this.currentListener, f);\n    }\n    snapShot(triggerVideo) {\n      if (this.mediaRecorder) {\n        if (triggerVideo === true) {\n          this.triggerVideo = true;\n        }\n        this.mediaRecorder.requestData();\n        return true;\n      }\n      return false;\n    }\n    getCanvasElement() {\n      return document.getElementById(this.idElementCanvas);\n    }\n    setCurrentRecorder() {\n      if (this.mediaRecorder === null) {\n        return this.startNewRecorder();\n      }\n      return true;\n    }\n    startNewRecorder() {\n      try {\n        if (this.mediaRecorder) {\n          this.mediaRecorder.stop();\n          this.mediaRecorder = null;\n          this.triggerVideo = false;\n          this.chunks = [];\n        }\n        const stream = this.getCanvasElement().captureStream();\n        if (typeof stream == \"undefined\" || stream == null) {\n          return false;\n        }\n        this.triggerVideoEvent({\n          videoUrl: '',\n          info: '...'\n        });\n        this.mediaRecorder = new MediaRecorder(stream, {\n          mimeType: 'video/webm',\n          videoBitsPerSecond: 100000000 // Set desired bitrate (e.g., 10 Mbps)\n        });\n        if (typeof this.mediaRecorder == \"undefined\" || this.mediaRecorder == null) {\n          return false;\n        }\n        this.mediaRecorder.ondataavailable = event => {\n          if (this.mediaRecorder && event.data.size > 0) {\n            this.triggerVideoEvent({\n              videoUrl: '',\n              info: '...'\n            });\n            this.chunks.push(event.data);\n            if (this.triggerVideo === true) {\n              this.createVideo(this.idElementCanvas);\n            }\n          }\n        };\n        this.mediaRecorder.start();\n        return this.mediaRecorder !== null;\n      } catch (error) {\n        console.error(error);\n        return false;\n      }\n    }\n    createVideo() {\n      this.videoUrl = '';\n      if (this.chunks.length > 0) {\n        // create video from snapshots\n        const blob = new Blob(this.chunks, {\n          type: 'video/webm'\n        });\n        if (blob) {\n          this.videoUrl = URL.createObjectURL(blob);\n\n          // clear\n          this.chunks = [];\n          if (this.mediaRecorder) {\n            // stop and free\n            this.mediaRecorder.stop();\n            this.mediaRecorder = null;\n          }\n          if (this.videoUrl) {\n            this.triggerVideoEvent({\n              videoUrl: this.videoUrl,\n              info: 'ready'\n            });\n          }\n        }\n      }\n    }\n    loadScript(src) {\n      return new Promise((resolve, reject) => {\n        const script = document.createElement('script');\n        script.src = src;\n        script.onload = () => resolve();\n        script.onerror = () => reject(new Error(`Failed to load script ${src}`));\n        document.head.appendChild(script);\n      });\n    }\n    revokeUrl() {\n      if (this.videoUrl) {\n        URL.revokeObjectURL(this.videoUrl);\n      }\n    }\n  }\n  _exports.default = VideoService;\n});","define(\"addon-canvas/services/animation-service\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class AnimationService {\n    constructor() {\n      _defineProperty(this, \"id\", 0);\n      _defineProperty(this, \"fpsInterval\", 0);\n      _defineProperty(this, \"startAnimationTime\", null);\n      _defineProperty(this, \"startFrameTime\", null);\n      _defineProperty(this, \"time2\", null);\n      _defineProperty(this, \"elapsedTime\", 0);\n      _defineProperty(this, \"sumTime\", 0);\n      _defineProperty(this, \"hits\", 0);\n      _defineProperty(this, \"animationRunning\", false);\n      _defineProperty(this, \"animationEnd\", true);\n      _defineProperty(this, \"functions\", null);\n      this.initialize();\n    }\n    initialize() {\n      this.id = 0;\n      this.fpsInterval = 0;\n      this.sumTime = 0;\n      this.hits = 0;\n      this.startAnimationTime = null;\n      this.startFrameTime = null;\n      this.animationRunning = false;\n      this.animationEnd = true;\n      this.functions = [];\n      this.animationParams = {};\n    }\n    stopAnimationRunning() {\n      this.setAnimationRunning(false);\n    }\n    getAnimationEnd() {\n      return this.animationEnd;\n    }\n    /**\n     * \n     * @param {type} b\n     * @returns {boolean}\n     */\n    setAnimationEnd(b) {\n      if (b === true) {\n        this.animationRunning = false;\n      }\n      this.animationEnd = b;\n    }\n    /**\n     * \n     * @param {type} b\n     * @returns {boolean}\n     */\n    setAnimationRunning(b) {\n      if (b === true) {\n        this.animationEnd = false;\n      }\n      this.animationRunning = b;\n      return b;\n    }\n    /**\n     * \n     * @returns {type}\n     */\n    getAnimationRunning() {\n      return this.animationRunning;\n    }\n    startAnimation(fps, f, bFirstDraw, params) {\n      this.bRafSupport = this.testRafSupport();\n      if (typeof this.functions[f] !== 'function') {\n        this.setAnimationEnd(true);\n        return false;\n      }\n      this.id = `${Date.now()}_${Math.floor(Math.random() * 10000000)}`;\n      if (params === null || typeof params !== 'object') {\n        params = {};\n      }\n      params.i = 0;\n      if (bFirstDraw === true) {\n        this.functions[f](params);\n        params.i++;\n      }\n      this.fpsInterval = 1000 / fps;\n      this.startFrameTime = Date.now();\n      this.setAnimationRunning(true);\n      this.animationEnd = false;\n      this.startAnimationTime = new Date();\n      if (this.bRafSupport === true) {\n        return this.animateWithRaf(f, params, this.id, 1);\n      } else {\n        return this.animateWithTimeOut(f, this, this.fpsInterval, params, this.id);\n      }\n    }\n    getFpsRate() {\n      return Math.round(this.hits / (new Date() - this.startAnimationTime) / 1000);\n    }\n    getAnimationTime() {\n      return Math.round((new Date() - this.startAnimationTime) / 1000);\n    }\n    /**\n     * \n     * @returns {Boolean}\n     */\n    ctrlFps() {\n      // calc elapsed time since last loop\n      const currentTime = Date.now();\n      this.elapsedTime = currentTime - this.startFrameTime;\n      if (this.elapsedTime > this.fpsInterval) {\n        // Get ready for next frame by setting then=now, but...\n        // Also, adjust for fpsInterval not being multiple of 16.67\n        this.startFrameTime = currentTime - this.elapsedTime % this.fpsInterval;\n        return true;\n      }\n      return false;\n    }\n    animateWithRaf(f, params, id, indice) {\n      if (indice !== 1 && this.animationEnd === true) {\n        return false;\n      }\n      if (this.id !== id) {\n        // if id has changed\n        return false;\n      }\n      if (this.requestAnimationFrame_(() => this.animateWithRaf(f, params, id)) < 0) {\n        return false;\n      }\n      if (this.animationEnd === true) {\n        return false;\n      }\n      if (this.animationRunning === true) {\n        if (this.ctrlFps() === true) {\n          this.hits++;\n          try {\n            // execute function\n            if (this.functions[f](params) === false) {\n              // function return false, stop animation\n              this.setAnimationEnd(true);\n              return false;\n            }\n          } catch (error) {\n            console.error(error);\n            this.setAnimationEnd(true);\n            return false;\n          }\n          params.i++;\n        }\n      }\n      return true;\n    }\n    /**\n     * \n     * @param {type} f\n     * @returns {Number|Window.webkitRequestAnimationFrame|window.webkitRequestAnimationFrame}\n     */\n    requestAnimationFrame_(f) {\n      try {\n        return window.requestAnimationFrame(f) || window.mozRequestAnimationFrame(f) || window.webkitRequestAnimationFrame || window.oRequestAnimationFrame(f) || window.msRequestAnimationFrame(f) || null;\n      } catch (err) {\n        console.error(err);\n        return -1;\n      }\n    }\n    /**\n     * \n     * @param {type} f_\n     * @param {type} that_\n     * @param {type} t_\n     * @param {type} params_\n     * @param {type} id_\n     * @returns {Boolean}\n     */\n    animateWithTimeOut(f_, that_, t_, params_, id_) {\n      if (typeof f_ === 'function') {\n        that_.animationParams.f = f_;\n        that_.animationParams.t = t_;\n        that_.animationParams.params = params_;\n        that_.animationParams.id_ = id_;\n        window.that = that_;\n      }\n      if (window.that.getAnimationRunning() === true) {\n        // execute function\n        if (window.that.functions[window.that.animationParams.f](window.that.animationParams.params) === false) {\n          window.that.stopAnimationRunning(true);\n          return false;\n        } else {\n          window.that.animationParams.params.i++;\n          setTimeout(window.that.animateWithTimeOut, window.that.animationParams.t);\n          return true;\n        }\n      }\n      return false;\n    }\n\n    /**\n     * \n     * * \n     * @returns {Boolean}\n     */\n    testRafSupport() {\n      try {\n        const rafTest = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || null;\n        if (rafTest === null) {\n          // animation frame not available\n          return false;\n        }\n      } catch (err) {\n        return false;\n      }\n\n      // test\n      return this.requestAnimationFrame_(function () {}) !== -1;\n    }\n  }\n  _exports.default = AnimationService;\n});","define(\"addon-canvas/services/colors-service\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class ColorsService {\n    addColors(colors) {\n      const color = [0, 0, 0];\n      for (let j = 0; j < color.length; j++) {\n        for (let index = 0; index < colors.length; index++) {\n          color[j] += colors[index][j];\n        }\n      }\n      for (let j = 0; j < color.length; j++) {\n        if (color[j] > 255) {\n          color[j] = 0;\n        }\n      }\n      return color;\n    }\n    degree_2_radian(deg) {\n      return deg * (Math.PI / 180);\n    }\n    lchaToRgba(lcha) {\n      const radH = lcha[2] * Math.PI / 180; // Convertir les degrés en radians\n      const a = Math.cos(radH) * lcha[1];\n      const b = Math.sin(radH) * lcha[1];\n\n      // Conversion LCHab → XYZ\n      const var_Y = (lcha[0] + 16) / 116;\n      const var_X = a / 500 + var_Y;\n      const var_Z = var_Y - b / 200;\n      const labToXyz = v => v > 0.008856 ? v ** 3 : (v - 16 / 116) / 7.787;\n      const X = 95.047 * labToXyz(var_X);\n      const Y = 100.000 * labToXyz(var_Y);\n      const Z = 108.883 * labToXyz(var_Z);\n\n      // Conversion XYZ → RGB\n      const R = 3.2406 * X - 1.5372 * Y - 0.4986 * Z;\n      const G = -0.9689 * X + 1.8758 * Y + 0.0415 * Z;\n      const B = 0.0557 * X - 0.2040 * Y + 1.0570 * Z;\n      const gammaCorrect = v => v > 0.0031308 ? 1.055 * v ** (1 / 2.4) - 0.055 : 12.92 * v;\n      const rgb = [Math.min(Math.max(gammaCorrect(R / 100) * 255, 0), 255), Math.min(Math.max(gammaCorrect(G / 100) * 255, 0), 255), Math.min(Math.max(gammaCorrect(B / 100) * 255, 0), 255)];\n      return this.addAlphaChannel(rgb, lcha);\n    }\n    addAlphaChannel(rgb, color) {\n      if (color.length >= 4 && typeof color[3] === \"number\" && color[3] !== Infinity) {\n        // alpha\n        if (color[3] > 100) {\n          color[3] = 100;\n        }\n        if (color[3] < 0) {\n          color[3] = 0;\n        }\n        rgb[3] = color[3] * 255 / 100;\n        return rgb;\n      }\n      return rgb;\n    }\n    lchToHsl(lch) {\n      return this.rgbToHsla(this.lchaToRgba(lch));\n    }\n    hslToRgbText(hsl) {\n      return this.rgbText(this.hslToRgb(hsl));\n    }\n    relativeRgb(rgb) {\n      return [Math.round(rgb[0]) / 255, Math.round(rgb[1]) / 255, Math.round(rgb[2]) / 255];\n    }\n    rgbText(rgb) {\n      if (rgb.length === 4) {\n        return `rgba(${Math.round(rgb[0])},${Math.round(rgb[1])},${Math.round(rgb[2])},${Math.round(rgb[3])})`;\n      }\n      return `rgb(${Math.round(rgb[0])},${Math.round(rgb[1])},${Math.round(rgb[2])})`;\n    }\n    rgbToIntColor(rgb) {\n      // Convert each RGB component to hexadecimal\n      const hexR = rgb[0] << 16;\n      const hexG = rgb[1] << 8;\n      const hexB = rgb[2];\n\n      // Combine the hexadecimal values into a single integer\n      return hexR | hexG | hexB;\n    }\n    rgbToHex(rgb) {\n      const componentToHex = function (c) {\n        const hex = c.toString(16);\n        return hex.length === 1 ? `0${hex}` : hex;\n      };\n      return `#${componentToHex(rgb[0])}${componentToHex(rgb[1])}${componentToHex(rgb[2])}`;\n    }\n    rgbToHsl(rgb) {\n      if (rgb === null) {\n        return null;\n      }\n      const r = rgb[0] / 255;\n      const g = rgb[1] / 255;\n      const b = rgb[2] / 255;\n      const max = Math.max(r, g, b),\n        min = Math.min(r, g, b);\n      let h = (max + min) / 2;\n      let s = 0;\n      const l = (max + min) / 2;\n      if (max === min) {\n        h = 0;\n      } else {\n        const d = max - min;\n        s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n        switch (max) {\n          case r:\n            h = (g - b) / d + (g < b ? 6 : 0);\n            break;\n          case g:\n            h = (b - r) / d + 2;\n            break;\n          case b:\n            h = (r - g) / d + 4;\n            break;\n        }\n        h = h * 60;\n      }\n      return [Math.round(h), Math.round(s * 100), Math.round(l * 100)];\n    }\n    hslToHex(hsl) {\n      return this.rgbToHex(this.hslToRgb(hsl));\n    }\n    getRandomHueColor(s, l) {\n      return this.hslToRgb([Math.floor(Math.random() * 360), s, l]);\n    }\n    hslToRgba(hsla) {\n      const a = typeof hsla[3] == \"undefined\" ? 100 : hsla[3];\n      const color = this.hslToRgb(hsla);\n      color[3] = a;\n      return color;\n    }\n    rgbToHsla(rgb) {\n      const a = typeof rgb[3] == \"undefined\" ? 100 : rgb[3];\n      const color = this.rgbToHsl(rgb);\n      color[3] = a;\n      return color;\n    }\n    hslToRgb(hsl) {\n      if (hsl === null) {\n        return null;\n      }\n      let rgb = [0, 0, 0];\n      let m, c, x;\n      let h = parseInt(hsl[0], 10);\n      if (h < 0) {\n        h = h * -1;\n      }\n      if (h > 360) {\n        h = Math.floor(h % 360) + 1;\n      }\n      let s = parseInt(hsl[1], 10);\n      let l = parseInt(hsl[2], 10);\n      if (!isFinite(h)) h = 0;\n      if (!isFinite(s)) s = 0;\n      if (!isFinite(l)) l = 0;\n      h /= 60;\n      if (h < 0) {\n        h = 6 - -h % 6;\n      }\n      h %= 6;\n      s = Math.max(0, Math.min(1, s / 100));\n      l = Math.max(0, Math.min(1, l / 100));\n      c = (1 - Math.abs(2 * l - 1)) * s;\n      x = c * (1 - Math.abs(h % 2 - 1));\n      if (h < 1) {\n        rgb[0] = c;\n        rgb[1] = x;\n        rgb[2] = 0;\n      } else if (h < 2) {\n        rgb[0] = x;\n        rgb[1] = c;\n        rgb[2] = 0;\n      } else if (h < 3) {\n        rgb[0] = 0;\n        rgb[1] = c;\n        rgb[2] = x;\n      } else if (h < 4) {\n        rgb[0] = 0;\n        rgb[1] = x;\n        rgb[2] = c;\n      } else if (h < 5) {\n        rgb[0] = x;\n        rgb[1] = 0;\n        rgb[2] = c;\n      } else {\n        rgb[0] = c;\n        rgb[1] = 0;\n        rgb[2] = x;\n      }\n      m = l - c / 2;\n      rgb[0] = Math.round((rgb[0] + m) * 255);\n      rgb[1] = Math.round((rgb[1] + m) * 255);\n      rgb[2] = Math.round((rgb[2] + m) * 255);\n      return this.addAlphaChannel(rgb, hsl);\n    }\n    hexToRgb(hex) {\n      if (hex === null || typeof hex === \"undefined\") {\n        return null;\n      }\n      if (hex.length > 7) {\n        hex = hex.substring(0, 6);\n      }\n      for (let index = 0; index < 6; index++) {\n        if (hex.length < 6) {\n          hex = `0${hex}`;\n        } else {\n          break;\n        }\n      }\n      const result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n      return result ? [parseInt(result[1], 16), parseInt(result[2], 16), parseInt(result[3], 16)] : null;\n    }\n    numberToRgb(number) {\n      return this.hexToRgb(this.decimalToHexString(number));\n    }\n    decimalToHexString(number) {\n      if (number < 0) {\n        number = 0xFFFFFFFF + number + 1;\n      }\n      return `#${number.toString(16).toUpperCase()}`;\n    }\n    setPointsPerlinNoiseColor(pts, h, s, l, dh, ds, dl) {\n      for (let index = 0; index < pts.length; index++) {\n        pts[index][3] = this.getPerlinNoiseColor(pts[index], h, s, l, dh, ds, dl);\n      }\n      return pts;\n    }\n    getPerlinNoiseColor(pt, h, s, l, dh, ds, dl) {\n      if (pt !== null) {\n        return this.hslToRgb([h + dh * this.noise2d(pt[0], pt[1]), s + ds * this.noise2d(pt[0], pt[1]), l + dl * this.noise2d(pt[0], pt[1])]);\n      }\n      return [0, 0, 0];\n    }\n    noise2d(x, y) {\n      return this.smoothNoise(this.smoothNoise(x) * 850000 + y);\n    }\n    linearInterpolate(a, b, t) {\n      return (1. - t) * a + t * b;\n    }\n    smoothNoise(x) {\n      //Bruit du point précédent\n      //Bruit du point suivant\n      //Interpolation :\n      return this.linearInterpolate(this.randNoise(x), this.randNoise(x + 1), 0);\n    }\n    //Fournit une valeur aléatoire entre -1 et 1\n    randNoise(t) {\n      //t = (t << 13) ^ t;\n      return (1.0 - (t * (t * t * 15731 + 889221) + 1376312589 & 0x7fffffff) / 1073741824.0 + 1.) / 2;\n    }\n    lerpForPoint(x, y, t) {\n      const pi = Math.PI;\n      return this.lerp((Math.cos(t * 2 * pi) + 1) / 2, x * Math.sin(t * 2 * pi), y) * -1;\n    }\n    lerp(v0, v1, amt, maxMove = 0, minDiff = 0.0001) {\n      let diff = v1 - v0;\n      if (maxMove > 0) {\n        diff = Math.min(diff, maxMove);\n        diff = Math.max(diff, -maxMove);\n      }\n      if (Math.abs(diff) < minDiff) {\n        return v1;\n      }\n      return v0 + diff * amt;\n    }\n    isWhite(rgb) {\n      return rgb[0] == 255 && rgb[1] == 255 && rgb[1] == 255;\n    }\n    getIndexColorRgb(color, k, rules) {\n      if (typeof rules == \"undefined\") {\n        rules = [\"i\", \"i\", \"i\", \"i\"];\n      } else if (rules.length == 1) {\n        rules = [rules[0], rules[0], rules[0], rules[0]];\n      }\n      if (k.length == 1) {\n        k = [k[0], k[0], k[0], k[0]];\n      }\n      const hsla = [color[0], color[1], color[2], color[3]];\n      for (let j = 0; j < 4; j++) {\n        if (typeof color[j + 4] != \"undefined\" && color[j + 4] != 0) {\n          if (rules[j] == \"abslog\") {\n            hsla[j] += Math.abs(Math.log(k[j])) * color[j + 4];\n          } else if (rules[j] == \"log\") {\n            hsla[j] += Math.log(k[j]) * color[j + 4];\n          } else {\n            hsla[j] += k[j] * color[j + 4];\n          }\n        }\n        if (j > 0 && hsla[j] > 100) {\n          hsla[j] = 100;\n        }\n      }\n      return this.hslToRgb(hsla);\n    }\n  }\n  _exports.default = ColorsService;\n});","define(\"calc-utils/models/BigDecimal\", [\"exports\", \"decimal.js\"], function (_exports, _decimal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class BigDecimal {\n    constructor(value, precision, rounding) {\n      // Set the precision and rounding of the default Decimal constructor\n      _decimal.Decimal.set({\n        precision: precision,\n        rounding: rounding\n      });\n      this.d = new _decimal.Decimal(value);\n      this.defaultPrecision = precision;\n      this.defaultRounding = rounding;\n    }\n    get(value) {\n      _decimal.Decimal.set({\n        precision: this.defaultPrecision,\n        rounding: this.defaultRounding\n      });\n      return new _decimal.Decimal(value);\n    }\n  }\n  _exports.default = BigDecimal;\n});","define(\"calc-utils/models/BitSet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class BitSet {\n    constructor(size) {\n      this.size = size;\n      this.bits = new Array(Math.ceil(size / 32)).fill(0);\n    }\n    set(bit) {\n      const index = Math.floor(bit / 32);\n      const offset = bit % 32;\n      this.bits[index] |= 1 << offset;\n    }\n    clear(bit) {\n      const index = Math.floor(bit / 32);\n      const offset = bit % 32;\n      this.bits[index] &= ~(1 << offset);\n    }\n    get(bit) {\n      const index = Math.floor(bit / 32);\n      const offset = bit % 32;\n      return (this.bits[index] & 1 << offset) !== 0;\n    }\n  }\n  _exports.default = BitSet;\n});","define(\"calc-utils/models/CTrigonometry\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class CTrigonometry {\n    cos2(t) {\n      return (Math.cos(2 * t) + 1) / 2;\n    }\n    cos3(t) {\n      return (Math.cos(3 * t) + 3 * Math.cos(t)) / 4;\n    }\n    cos4(t) {\n      return (Math.cos(4 * t) + 4 * Math.cos(2 * t) + 3) / 8;\n    }\n    sin2(t) {\n      return (1 - Math.cos(2 * t)) / 2;\n    }\n    sin3(t) {\n      return (-Math.sin(3 * t) + 3 * Math.sin(t)) / 4;\n    }\n    sin4(t) {\n      return (Math.cos(4 * t) - 4 * Math.cos(2 * t) + 3) / 4;\n    }\n    csc(t) {\n      return 1 / Math.sin(t);\n    }\n    sec(t) {\n      return 1 / Math.cos(t);\n    }\n    cot(t) {\n      // cos/sin\n      return Math.cos(t) / Math.sin(t);\n    }\n    cos(t) {\n      return Math.cos(t);\n    }\n    sin(t) {\n      return Math.sin(t);\n    }\n    sin3cos3(t) {\n      return (-Math.sin(6 * t) + 3 * Math.sin(2 * t)) / 32;\n    }\n  }\n  _exports.default = CTrigonometry;\n});","define(\"calc-utils/models/Matrix\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Matrix {\n    constructor(rows, cols, fillValue) {\n      this.data = Array.from({\n        length: rows\n      }, () => new Array(cols).fill(fillValue));\n    }\n  }\n  _exports.default = Matrix;\n});","define(\"calc-utils/models/MersenneTwister\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /*\n    I've wrapped Makoto Matsumoto and Takuji Nishimura's code in a namespace\n    so it's better encapsulated. Now you can have multiple random number generators\n    and they won't stomp all over eachother's state.\n    \n    If you want to use this as a substitute for Math.random(), use the random()\n    method like so:\n    \n    let m = new MersenneTwister();\n    let randomNumber = m.random();\n    \n    You can also call the other genrand_{foo}() methods on the instance.\n    If you want to use a specific seed in order to get a repeatable random\n    sequence, pass an integer into the constructor:\n    let m = new MersenneTwister(123);\n    and that will always produce the same random sequence.\n    Sean McCullough (banksean@gmail.com)\n  */\n\n  /* \n     A C-program for MT19937, with initialization improved 2002/1/26.\n     Coded by Takuji Nishimura and Makoto Matsumoto.\n   \n     Before using, initialize the state by using init_genrand(seed)  \n     or init_by_array(init_key, key_length).\n   \n     Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,\n     All rights reserved.                          \n   \n     Redistribution and use in source and binary forms, with or without\n     modification, are permitted provided that the following conditions\n     are met:\n   \n       1. Redistributions of source code must retain the above copyright\n          notice, this list of conditions and the following disclaimer.\n   \n       2. Redistributions in binary form must reproduce the above copyright\n          notice, this list of conditions and the following disclaimer in the\n          documentation and/or other materials provided with the distribution.\n   \n       3. The names of its contributors may not be used to endorse or promote \n          products derived from this software without specific prior written \n          permission.\n   \n     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n     \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n     A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR\n     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n     EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n     PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n     LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n     SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n   \n   \n     Any feedback is very welcome.\n     http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html\n     email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)\n  */\n\n  class MersenneTwister {\n    constructor() {\n      /* Period parameters */\n      this.N = 624;\n      this.M = 397;\n      this.MATRIX_A = 0x9908b0df; /* constant vector a */\n      this.UPPER_MASK = 0x80000000; /* most significant w-r bits */\n      this.LOWER_MASK = 0x7fffffff; /* least significant r bits */\n\n      this.mt = new Array(this.N); /* the array for the state vector */\n      this.mti = this.N + 1; /* mti==N+1 means mt[N] is not initialized */\n\n      this.init_genrand(new Date().getTime());\n    }\n    init_genrand(s) {\n      this.mt[0] = s >>> 0;\n      for (this.mti = 1; this.mti < this.N; this.mti++) {\n        const s = this.mt[this.mti - 1] ^ this.mt[this.mti - 1] >>> 30;\n        this.mt[this.mti] = (((s & 0xffff0000) >>> 16) * 1812433253 << 16) + (s & 0x0000ffff) * 1812433253 + this.mti;\n        /* See Knuth TAOCP Vol2. 3rd Ed. P.106 for multiplier. */\n        /* In the previous versions, MSBs of the seed affect   */\n        /* only MSBs of the array mt[].                        */\n        /* 2002/01/09 modified by Makoto Matsumoto             */\n        this.mt[this.mti] >>>= 0;\n        /* for >32 bit machines */\n      }\n    }\n\n    /* initialize by an array with array-length */\n    /* init_key is the array for initializing keys */\n    /* key_length is its length */\n    /* slight change for C++, 2004/2/26 */\n    init_by_array(init_key, key_length) {\n      let i, j, k;\n      this.init_genrand(19650218);\n      i = 1;\n      j = 0;\n      k = this.N > key_length ? this.N : key_length;\n      for (; k; k--) {\n        let s = this.mt[i - 1] ^ this.mt[i - 1] >>> 30;\n        this.mt[i] = (this.mt[i] ^ (((s & 0xffff0000) >>> 16) * 1664525 << 16) + (s & 0x0000ffff) * 1664525) + init_key[j] + j; /* non linear */\n        this.mt[i] >>>= 0; /* for WORDSIZE > 32 machines */\n        i++;\n        j++;\n        if (i >= this.N) {\n          this.mt[0] = this.mt[this.N - 1];\n          i = 1;\n        }\n        if (j >= key_length) j = 0;\n      }\n      for (k = this.N - 1; k; k--) {\n        let s = this.mt[i - 1] ^ this.mt[i - 1] >>> 30;\n        this.mt[i] = (this.mt[i] ^ (((s & 0xffff0000) >>> 16) * 1566083941 << 16) + (s & 0x0000ffff) * 1566083941) - i; /* non linear */\n        this.mt[i] >>>= 0; /* for WORDSIZE > 32 machines */\n        i++;\n        if (i >= this.N) {\n          this.mt[0] = this.mt[this.N - 1];\n          i = 1;\n        }\n      }\n      this.mt[0] = 0x80000000; /* MSB is 1; assuring non-zero initial array */\n    }\n\n    /* generates a random number on [0,0xffffffff]-interval */\n    genrand_int32() {\n      let y;\n      const mag01 = new Array(0x0, this.MATRIX_A);\n      /* mag01[x] = x * MATRIX_A  for x=0,1 */\n\n      if (this.mti >= this.N) {\n        /* generate N words at one time */\n        let kk;\n        if (this.mti === this.N + 1) /* if init_genrand() has not been called, */\n          this.init_genrand(5489); /* a default initial seed is used */\n\n        for (kk = 0; kk < this.N - this.M; kk++) {\n          y = this.mt[kk] & this.UPPER_MASK | this.mt[kk + 1] & this.LOWER_MASK;\n          this.mt[kk] = this.mt[kk + this.M] ^ y >>> 1 ^ mag01[y & 0x1];\n        }\n        for (; kk < this.N - 1; kk++) {\n          y = this.mt[kk] & this.UPPER_MASK | this.mt[kk + 1] & this.LOWER_MASK;\n          this.mt[kk] = this.mt[kk + (this.M - this.N)] ^ y >>> 1 ^ mag01[y & 0x1];\n        }\n        y = this.mt[this.N - 1] & this.UPPER_MASK | this.mt[0] & this.LOWER_MASK;\n        this.mt[this.N - 1] = this.mt[this.M - 1] ^ y >>> 1 ^ mag01[y & 0x1];\n        this.mti = 0;\n      }\n      y = this.mt[this.mti++];\n\n      /* Tempering */\n      y ^= y >>> 11;\n      y ^= y << 7 & 0x9d2c5680;\n      y ^= y << 15 & 0xefc60000;\n      y ^= y >>> 18;\n      return y >>> 0;\n    }\n\n    /* generates a random number on [0,0x7fffffff]-interval */\n    genrand_int31() {\n      return this.genrand_int32() >>> 1;\n    }\n\n    /* generates a random number on [0,1]-real-interval */\n    rand() {\n      return this.genrand_int32() * (1.0 / 4294967295.0);\n      /* divided by 2^32-1 */\n    }\n\n    /* generates a random number on [0,1)-real-interval */\n    random() {\n      return this.genrand_int32() * (1.0 / 4294967296.0);\n      /* divided by 2^32 */\n    }\n\n    /* generates a random number on (0,1)-real-interval */\n    genrand_real3() {\n      return (this.genrand_int32() + 0.5) * (1.0 / 4294967296.0);\n      /* divided by 2^32 */\n    }\n\n    /* generates a random number on [0,1) with 53-bit resolution*/\n    genrand_res53() {\n      const a = this.genrand_int32() >>> 5,\n        b = this.genrand_int32() >>> 6;\n      return (a * 67108864.0 + b) * (1.0 / 9007199254740992.0);\n    }\n  }\n\n  /* These real versions are due to Isaku Wada, 2002/01/09 added */\n  _exports.default = MersenneTwister;\n});","define(\"calc-utils/models/PointSet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class PointSet {\n    constructor() {\n      this.points = [];\n    }\n\n    // Méthode pour ajouter un vecteur au PointSet\n    addPoint(vector) {\n      this.points.push(vector);\n    }\n\n    // Autres méthodes utiles en fonction de vos besoins\n  }\n  _exports.default = PointSet;\n});","define(\"calc-utils/models/Variations\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Variations {\n    static sinusoidal(x) {\n      const ret = new Vector(x.data.length + 1);\n      for (let i = 0; i < x.data.length; i++) {\n        ret.data[i] = Math.sin(x.data[i]);\n      }\n      ret.data[x.data.length] = 1;\n      return ret;\n    }\n    static spherical(x) {\n      const ret = new Vector(x.data.length + 1);\n      let rSq = 0;\n      for (let i = 0; i < x.data.length; i++) {\n        rSq += x.data[i] * x.data[i];\n      }\n      if (rSq === 0) {\n        for (let i = 0; i < x.data.length; i++) {\n          ret.data[i] = x.data[i];\n        }\n        return ret;\n      }\n      for (let i = 0; i < x.data.length; i++) {\n        ret.data[i] = x.data[i] / rSq;\n      }\n      ret.data[x.data.length] = 1;\n      return ret;\n    }\n    static fishEye(x) {\n      const ret = new Vector(x.data.length + 1);\n      let r = 0;\n      for (let i = 0; i < x.data.length; i++) {\n        r += (x.data[i] - 0.5) * (x.data[i] - 0.5);\n      }\n      r = Math.sqrt(r);\n      const multiplier = 2 * r / (r + 1);\n      for (let i = 0; i < x.data.length; i++) {\n        ret.data[i] *= multiplier;\n      }\n      ret.data[x.data.length] = 1;\n      return ret;\n    }\n    static swirl(x) {\n      const ret = new Vector(3);\n      const r = Math.sqrt(x.data[0] * x.data[0] + x.data[1] * x.data[1]);\n      const theta = Math.atan(x.data[1] / x.data[0]);\n      ret.data[0] = r * Math.cos(theta + r);\n      ret.data[1] = r * Math.sin(theta + r);\n      ret.data[2] = 1;\n      return ret;\n    }\n  }\n  _exports.default = Variations;\n});","define(\"calc-utils/models/Vector\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Vector {\n    constructor(size, fillValue) {\n      this.size = size;\n      this.data = new Array(size).fill(fillValue);\n    }\n    fill(fillValue) {\n      this.data = new Array(this.size).fill(fillValue);\n    }\n    setElement(index, value) {\n      this.data[index] = value;\n    }\n    getElement(index) {\n      return this.data[index];\n    }\n    copy() {\n      const v = new Vector(this.size, 0);\n      for (let j = 0; j < this.data.length; j++) {\n        v.setElement(j, this.getElement(j));\n      }\n      return v;\n    }\n  }\n  _exports.default = Vector;\n});","define(\"calc-utils/models/grid-adapter-service\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class GridAdapterService {\n    constructor() {\n      _defineProperty(this, \"sqrtHalf\", Math.sqrt(2) / 2);\n      _defineProperty(this, \"grad\", null);\n      _defineProperty(this, \"ptMin\", null);\n      _defineProperty(this, \"ptMax\", null);\n      _defineProperty(this, \"margin\", null);\n      _defineProperty(this, \"drPtMin\", null);\n      _defineProperty(this, \"drPtMax\", null);\n      _defineProperty(this, \"indexes\", null);\n      _defineProperty(this, \"indexMin\", 0);\n      _defineProperty(this, \"indexMax\", 0);\n      _defineProperty(this, \"minCoord\", null);\n      _defineProperty(this, \"maxCoord\", null);\n      _defineProperty(this, \"arrIndexPts\", null);\n      _defineProperty(this, \"missedPts\", null);\n      _defineProperty(this, \"hitPts\", null);\n      _defineProperty(this, \"width\", 0);\n      _defineProperty(this, \"height\", 0);\n      _defineProperty(this, \"drWidth\", 0);\n      _defineProperty(this, \"drHeight\", 0);\n      _defineProperty(this, \"limitWidth\", 1000);\n      _defineProperty(this, \"limitHeight\", 1000);\n      _defineProperty(this, \"limitX0\", 0);\n      _defineProperty(this, \"limitY0\", 0);\n      _defineProperty(this, \"inverseY\", false);\n      _defineProperty(this, \"offSet\", null);\n      _defineProperty(this, \"grid\", null);\n      _defineProperty(this, \"centerAbs\", true);\n      _defineProperty(this, \"nbPts\", 0);\n      _defineProperty(this, \"nbHitPts\", 0);\n      _defineProperty(this, \"indexPt\", 0);\n      _defineProperty(this, \"useImageData\", false);\n      _defineProperty(this, \"real3d\", false);\n      _defineProperty(this, \"gridChanged\", false);\n      _defineProperty(this, \"paramsDefined\", false);\n      _defineProperty(this, \"gridElementMax\", 0);\n      _defineProperty(this, \"remainingPts\", 0);\n      _defineProperty(this, \"indexMissedPt\", 0);\n      _defineProperty(this, \"precision\", 1);\n      _defineProperty(this, \"rotationY\", 0);\n      this.offSet = [0, 0];\n      this.initialize();\n      this.initVarScan();\n    }\n    reset() {\n      this.grad = [0, 0, 0];\n      this.ptMin = [0, 0, 0];\n      this.margin = [0, 0, 0];\n      this.offSet = [0, 0, 0];\n      this.ptMax = [0, 0, 0];\n      this.inverseY = false;\n      this.useImageData = false;\n      this.centerAbs = true;\n      this.grid = null;\n    }\n    getArea() {\n      return this.limitHeight * this.limitHeight;\n    }\n    getCopy() {\n      const o = new GridAdapterService();\n      o.width = this.width;\n      o.height = this.height;\n      o.limitWidth = this.limitWidth;\n      o.limitHeight = this.limitHeight;\n      o.limitX0 = this.limitX0;\n      o.limitY0 = this.limitY0;\n      o.grad = [this.grad[0], this.grad[1], this.grad[2]];\n      o.ptMin = [this.ptMin[0], this.ptMin[1], this.ptMin[2]];\n      o.margin = [this.margin[0], this.margin[1], this.margin[2]];\n      o.offSet = [this.offSet[0], this.offSet[1], this.offSet[2]];\n      o.ptMax = [this.ptMax[0], this.ptMax[1], this.ptMax[2]];\n      o.inverseY = this.inverseY;\n      o.useImageData = this.useImageData;\n      o.centerAbs = this.centerAbs;\n      o.paramsDefined = this.paramsDefined;\n      o.setCoordLimits();\n      return o;\n    }\n    setCenterAbs(b) {\n      this.centerAbs = b;\n    }\n    setWidth(w) {\n      this.width = w;\n    }\n    setHeight(h) {\n      this.height = h;\n    }\n    getXCenter() {\n      return this.width / 2;\n    }\n    getYCenter() {\n      return this.height / 2;\n    }\n    getDrWidth() {\n      return this.drWidth;\n    }\n    getDrHeight() {\n      return this.drHeight;\n    }\n    getDrX0() {\n      if (this.drPtMin === null) {\n        return 0;\n      }\n      return this.drPtMin[0];\n    }\n    getDrY0() {\n      if (this.drPtMin === null) {\n        return 0;\n      }\n      return this.drPtMin[1];\n    }\n    initialize() {\n      this.ptMax = [this.width, this.height, 0];\n      this.ptMin = [0, 0, 0];\n      this.margin = [0, 0, 0];\n      this.grad = [1, 1, 0];\n      this.paramsDefined = false;\n    }\n    initVarScan() {\n      this.nbHitPts = 0;\n      this.nbPts = 0;\n      this.indexPt = 0;\n      this.indexMissedPt = 0;\n      this.remainingPts = 0;\n      this.missedPts = [];\n    }\n    setSize(w, h) {\n      this.width = w;\n      this.height = h;\n    }\n    setLimits(w, h) {\n      this.limitWidth = w;\n      this.limitHeight = h;\n    }\n    setCoordLimits() {\n      this.minCoord = [0, 0];\n      this.maxCoord = [this.limitWidth, this.limitHeight];\n    }\n    getXSymetricPoint(pt) {\n      let x = 0;\n      let y = 0;\n      if (pt[0] > this.limitWidth / 2) {\n        x = Math.abs(this.limitWidth - pt[0]);\n        y = pt[1];\n        return [x, y, pt[2], pt[3]];\n      } else if (pt[0] < this.limitWidth / 2) {\n        x = this.limitWidth - pt[0];\n        y = pt[1];\n        return [x, y, pt[2], pt[3]];\n      }\n      return null;\n    }\n    getSymetricPoint(pt) {\n      let x = 0;\n      let y = 0;\n      if (pt[1] > this.limitHeight / 2) {\n        x = pt[0];\n        y = this.limitHeight / 2 - (pt[1] - this.limitHeight / 2) + this.minCoord[1];\n        return [x, y, pt[2], pt[3]];\n      } else if (pt[1] < this.limitHeight / 2) {\n        x = pt[0];\n        y = this.limitHeight / 2 + (this.limitHeight / 2 - pt[1]) + this.minCoord[1];\n        return [x, y, pt[2], pt[3]];\n      }\n      return null;\n    }\n    isInCoordLimits(pt) {\n      return pt[0] >= this.minCoord[0] && pt[0] <= this.maxCoord[0] && pt[1] >= this.minCoord[1] && pt[1] <= this.maxCoord[1];\n    }\n    initGrid(size) {\n      const w = this.limitWidth;\n      const h = this.limitHeight;\n      if (size === 8) {\n        // 1 octet / pixel (0 to 255)\n        this.grid = new Uint8Array(w * h);\n      } else if (size === 16) {\n        // 2 octets / pixel (0 to 65535)\n        this.grid = new Uint16Array(w * h);\n      } else if (size === 32) {\n        // 4 octets / pixel (0 to 4294967295)\n        this.grid = new Uint32Array(w * h);\n      }\n      this.gridElementMax = Math.pow(2, size);\n      return true;\n    }\n    initPtsMem(size) {\n      this.initVarScan();\n      this.setCoordLimits();\n      this.initGrid(size);\n    }\n    setValueInGrid(pt, value) {\n      const x = Math.floor(pt[0]);\n      const y = Math.floor(pt[1]);\n      const k = this.getIndexInGrid(pt);\n      if (x >= 0 && x < this.limitWidth && y >= 0 && y < this.limitHeight && this.grid[k] < this.gridElementMax) {\n        this.grid[k] = value;\n      }\n    }\n    getValueInGrid(pt) {\n      return this.grid[this.getIndexInGrid(pt)];\n    }\n    pushInGrid(pt, value) {\n      this.grid[this.getIndexInGrid(pt)] = value;\n    }\n    getIndexInGrid(pt) {\n      return Math.floor(pt[1]) * this.limitWidth + Math.floor(pt[0]);\n    }\n    getGridLength() {\n      return this.grid.length;\n    }\n    incrementPtsInArrGrid(pts, inc, max) {\n      for (let index = 0; index < pts.length; index++) {\n        if (pts[index]) {\n          this.incrementInGrid(pts[index], inc, max);\n        }\n      }\n    }\n    incrementInGrid(pt, inc, max) {\n      const x = Math.floor(pt[0]);\n      const y = Math.floor(pt[1]);\n      const k = this.getIndexInGrid(pt);\n      if (x >= 0 && x < this.limitWidth && y >= 0 && y < this.limitHeight && this.grid[k] < this.gridElementMax && (max == -1 || typeof max === \"undefined\" || this.grid[k] + inc <= max)) {\n        this.grid[k] += inc;\n      }\n      return this.grid[k];\n    }\n    getGridPoints() {\n      const pts = [];\n      for (let index = 0; index < this.grid.length; index++) {\n        pts.push(this.getGridPoint(index));\n      }\n      return pts;\n    }\n    addMissedPts(start, end) {\n      for (let j = start; j <= end; j++) {\n        this.missedPts.push(j);\n      }\n      this.remainingPts += end - start + 1;\n    }\n    addMissedPt(j) {\n      this.missedPts.push(j);\n      this.remainingPts += 1;\n    }\n    getNewPoint(skipNb, useRemainingPoints, skipY) {\n      // get pt in grid\n      if (this.indexPt > this.grid.length) {\n        if (useRemainingPoints === false) {\n          return null;\n        }\n        // return remaining point\n        return this.getRemainingPoint();\n      }\n      this.skipPts(skipNb, skipY);\n      this.indexPt += 1;\n      this.nbHitPts++;\n      return this.getGridPoint(this.indexPt);\n    }\n    getGridPoint(i) {\n      const y = Math.floor(i / this.limitWidth);\n      return [i - y * this.limitWidth, y, 0, null, 0];\n    }\n    skipPts(nb, skipY) {\n      if (nb > 0) {\n        for (let j = 0; j < nb; j++) {\n          this.addMissedPt(this.indexPt + 1);\n          this.indexPt += 1;\n        }\n        if (skipY === true) {\n          if (this.indexPt % this.limitWidth == 0) {\n            for (let j = 0; j < this.limitWidth; j++) {\n              this.addMissedPt(this.indexPt + 1);\n              this.indexPt += 1;\n            }\n          }\n        }\n      }\n    }\n    getRemainingPoint() {\n      if (this.indexMissedPt < this.missedPts.length) {\n        const k = this.missedPts[this.indexMissedPt];\n        const yR = Math.floor(k / this.limitWidth);\n        const xR = k - yR * this.limitWidth;\n        this.remainingPts--;\n        this.indexMissedPt++;\n        return [xR, yR, 0, null, 0];\n      }\n      return null;\n    }\n    getOccurrenceInPtsMem(pt) {\n      if (this.getOnCanvas(pt) === false) {\n        return 1;\n      }\n      const x = Math.floor(pt[0]);\n      const y = Math.floor(pt[1]);\n      const k = y * this.limitWidth + x;\n      if (k < 0) {\n        return 0;\n      }\n      return typeof this.nbHitPts[k] === 'undefined' ? 0 : this.nbHitPts[k];\n    }\n    getEndSet(ignoreMissedPoints) {\n      return this.indexPt >= this.grid.length && (ignoreMissedPoints || this.remainingPts <= 0);\n    }\n    getEndGrid() {\n      return this.indexPt >= this.grid.length;\n    }\n    getScanProgress() {\n      let nb = this.indexPt / (this.grid.length + this.remainingPts) * 100;\n      if (nb === 0) {\n        nb = 1;\n      }\n      return nb;\n    }\n    getOnCanvas(pt) {\n      return pt[0] >= 0 && pt[1] >= 0 && pt[0] <= this.width && pt[1] <= this.height;\n    }\n    randomBetween(min, max, d) {\n      min -= d;\n      max += d;\n      return Math.random() * (max - min) + min;\n    }\n    isSet(v) {\n      return typeof v !== 'undefined' && v !== null;\n    }\n    getMinMax(pts) {\n      this.ptMin = this.getMinOfPts(pts);\n      this.ptMax = this.getMaxOfPts(pts);\n      return [this.ptMin, this.ptMax];\n    }\n    getMinOfPts(pts) {\n      let ptMin = [0, 0, 0];\n      for (let i = 0, n = pts.length; i < n; i++) {\n        if (this.isSet(pts[i])) {\n          for (let index = 0; index < 3; index++) {\n            if (this.isSet(pts[i][index]) && (i === 0 || pts[i][index] < ptMin[index]) && isFinite(pts[i][index])) {\n              ptMin[index] = pts[i][index];\n            }\n          }\n        }\n      }\n      return ptMin;\n    }\n    getMaxOfPts(pts) {\n      let ptMax = [0, 0, 0, null];\n      for (let i = 0, n = pts.length; i < n; i++) {\n        if (this.isSet(pts[i])) {\n          for (let index = 0; index < 3; index++) {\n            if (this.isSet(pts[i][index]) && isFinite(pts[i][index]) && (i === 0 || pts[i][index] > ptMax[index])) {\n              ptMax[index] = pts[i][index];\n            }\n          }\n        }\n      }\n      return ptMax;\n    }\n    getMinByIndex(pts, index) {\n      let ptMin = [-1, -1, -1];\n      for (let i = 0, n = pts.length; i < n; i++) {\n        if (this.isSet(pts[i])) {\n          if (this.isSet(pts[i][index]) && (i === 0 || pts[i][index] < ptMin[index]) && isFinite(pts[i][index])) {\n            this.indexMin = i;\n            ptMin[index] = pts[i][index];\n          }\n        }\n      }\n      return ptMin;\n    }\n    getMaxByIndex(pts, index) {\n      let ptMax = [-1, -1, -1];\n      for (let i = 0, n = pts.length; i < n; i++) {\n        if (this.isSet(pts[i])) {\n          if (this.isSet(pts[i][index]) && isFinite(pts[i][index]) && (i === 0 || pts[i][index] > ptMax[index])) {\n            this.indexMax = i;\n            ptMax[index] = pts[i][index];\n          }\n        }\n      }\n      return ptMax;\n    }\n    removeMinMax(pts) {\n      for (let index = 0; index < 3; index++) {\n        this.indexMin = -1;\n        this.indexMax = -1;\n        this.getMinByIndex(pts, index);\n        if (this.indexMin > 0) {\n          pts.splice(this.indexMin, 1);\n        }\n        this.indexMin = -1;\n        this.indexMax = -1;\n        this.getMaxByIndex(pts, index);\n        if (this.indexMax > 0) {\n          pts.splice(this.indexMax, 1);\n        }\n      }\n      return pts;\n    }\n    defGridLimit(pts) {\n      this.drPtMin = this.getMinOfPts(pts);\n      this.drPtMax = this.getMaxOfPts(pts, true);\n      this.drWidth = Math.floor(this.drPtMax[0] - this.drPtMin[0]) + 1;\n      this.drHeight = Math.floor(this.drPtMax[1] - this.drPtMin[1]) + 1;\n    }\n    copyPts(pts) {\n      return pts.map(point => point.slice());\n    }\n    defParameters(initialPts, coefMargins, coefZAjust, bSquare, coefAdjusts) {\n      if (coefMargins === null || typeof coefMargins !== 'object') {\n        coefMargins = [0, 0, 0];\n      }\n      this.initialize();\n      if (initialPts === null || typeof initialPts !== 'object') {\n        return false;\n      }\n      if (initialPts.length === 0) {\n        return false;\n      }\n      let is3D = this.isSet(initialPts[0][2]);\n      let pts = initialPts.map(point => [point[0], point[1], is3D ? point[2] : 0]);\n      if (typeof bSquare !== 'boolean') {\n        if (this.useImageData === false) {\n          this.setCenterAbs(true);\n        }\n      }\n      const dimensions = [this.limitWidth, this.limitHeight];\n      if (this.rotationY > 0) {\n        pts = this.rotatePointsY(pts, this.rotationY);\n      }\n      if (is3D && typeof coefZAjust === 'number' && coefZAjust !== 0) {\n        this.ptMax = this.getMaxOfPts(pts);\n        this.ptMin = this.getMinOfPts(pts);\n        pts = this.adaptPointsOn3DPlan(pts, coefZAjust);\n      }\n      this.ptMax = this.getMaxOfPts(pts);\n      if (coefAdjusts && typeof coefAdjusts === 'object' && coefAdjusts.length > 1) {\n        this.ptMax = this.ptMax.map((value, index) => value * coefAdjusts[index]);\n      }\n      this.ptMin = this.getMinOfPts(pts);\n      if (coefAdjusts && typeof coefAdjusts === 'object' && coefAdjusts.length > 1) {\n        this.ptMin = this.ptMin.map((value, index) => value * coefAdjusts[index]);\n      }\n\n      // x, y\n      for (let i = 0; i < 2; i++) {\n        this.margin[i] = dimensions[i] * coefMargins[i];\n        if (this.ptMax[i] - this.ptMin[i] !== 0) {\n          this.grad[i] = (dimensions[i] - this.margin[i] * 2) / (this.ptMax[i] - this.ptMin[i]);\n        }\n      }\n\n      // Z\n      this.margin[2] = dimensions[1] * coefMargins[2];\n      if (is3D && this.ptMax[2] != 0 && this.ptMin[2] != 0) {\n        this.grad[2] = (dimensions[1] - this.margin[2] * 2) / (this.ptMax[2] - this.ptMin[2]);\n      } else {\n        this.grad[2] = 0;\n      }\n      this.paramsDefined = true;\n      return true;\n    }\n    adaptPointsOn3DPlan(pts, coefZAjust) {\n      if (pts.length > 0 && this.ptMax[2] - this.ptMin[2] !== 0 && typeof pts[0] === 'object' && this.isSet(pts[0][2])) {\n        pts.forEach(point => this.adaptPointOn3DPlan(point, coefZAjust));\n      }\n      return pts;\n    }\n    adaptPointOn3DPlan(pt, coefZAjust) {\n      //if ((this.ptMax[2] - this.ptMin[2]) !== 0) {\n      // adapt x & y\n      for (let i = 0; i < 2; i++) {\n        pt[i] -= this.sqrtHalf * pt[2];\n      }\n      //}\n      //pt;\n    }\n    rotatePointsY(points, angleY) {\n      const cosTheta = Math.cos(angleY);\n      const sinTheta = Math.sin(angleY);\n      return points.map(([x, y, z, c, i]) => [x * cosTheta + z * sinTheta, y, -x * sinTheta + z * cosTheta, c, i]);\n    }\n    getObjectsPointsOnPlan(objects, init, margin, coefZAjust) {\n      if (init === true) {\n        let pts = [];\n        for (let i = 0, n = objects.length; i < n; i++) {\n          pts = pts.concat(objects[i].getPoints().map(point => [point[0], point[1]]));\n        }\n        this.defParameters(pts, margin, coefZAjust, true);\n      }\n      for (let i = 0, n = objects.length; i < n; i++) {\n        const pts1 = this.getPointsOnPlan(objects[i].getPoints());\n        pts1.forEach((point, index1) => objects[i].setPointI(point, index1));\n        objects[i].setHeight(this.grad[1] * objects[i].getHeight());\n        objects[i].setWidth(this.grad[0] * objects[i].getWidth());\n      }\n      return objects;\n    }\n    getDistanceOnPlan(d) {\n      return d * this.grad[0];\n    }\n    getObjectsOnPlan(objects, init, margin, coefZAjust, bSquare, coefAdjusts) {\n      if (init === true) {\n        const pts = [];\n        for (let i = 0, n = objects.length; i < n; i++) {\n          if (typeof objects[i] === 'object' && objects[i].getType() === 'line') {\n            pts.push(objects[i].getPoint1());\n            pts.push(objects[i].getPoint2());\n          }\n          if (typeof objects[i] === 'object' && objects[i].getType() === 'polygon') {\n            const polygonPts = objects[i].getPoints();\n            for (let j = 0, m = polygonPts.length; j < m; j++) {\n              pts.push(polygonPts[j]);\n            }\n          }\n          if (typeof objects[i] === 'object' && objects[i].getType() === 'circle') {\n            pts.push(objects[i].getX());\n            pts.push(objects[i].getY());\n          }\n        }\n        this.initialize();\n        this.defParameters(pts, margin, coefZAjust, bSquare, coefAdjusts);\n      }\n      const newObjects = [];\n      for (let i = 0; i < objects.length; i++) {\n        newObjects.push(this.getObjectOnPlan(objects[i]));\n      }\n      return newObjects;\n    }\n    getObjectOnPlan(object) {\n      if (typeof object === 'object') {\n        if (object.getType() === 'line') {\n          object.setPoint1(this.getPointOnPlan(object.getPoint1()));\n          object.setPoint2(this.getPointOnPlan(object.getPoint2()));\n          const pointsC = object.getPointsC();\n          if (pointsC !== null) {\n            object.setPointsC(pointsC.map(point => this.getPointOnPlan(point)));\n          }\n          return object;\n        } else if (object.getType() === 'polygon') {\n          const p = object.getCopy();\n          const polygonPts = p.getPoints();\n          const newPts = this.getPointsOnPlan(polygonPts, false);\n          p.setPoints(newPts);\n          return p;\n        } else if (object.getType() === 'circle') {\n          object.setPosition(this.getPointOnPlan(object.getPosition()));\n          return object;\n        }\n      }\n    }\n    getObjectsPoints(objects) {\n      const pts = [];\n      for (let i = 0; i < objects.length; i++) {\n        pts.push(...objects[i]);\n      }\n    }\n    getObjectPoints(object) {\n      if (typeof object === 'object') {\n        if (object.getType() === 'line') {\n          return object.getPointsC();\n        } else if (object.getType() === 'polygon') {\n          return polygonPts;\n        }\n      }\n    }\n    getPointsOnPlan(pts, init, margin, coefZAjust, removeOutsideMinMax, bSquare, coefAdjusts) {\n      if (pts === null || typeof pts !== 'object') {\n        return null;\n      }\n      if (init === true) {\n        this.initialize();\n        this.defParameters(pts, margin, coefZAjust, bSquare, coefAdjusts);\n      }\n      if (this.rotationY > 0) {\n        pts = this.rotatePointsY(pts, this.rotationY);\n      }\n      pts = pts.map(point => this.getPointOnPlan(point));\n      if (removeOutsideMinMax === true) {\n        for (let i = pts.length - 1, n = pts.length; i < n; i++) {\n          if (this.isSet(pts[i])) {\n            for (let index = 0; index < 3; index++) {\n              if (pts[i][index] < 0) {\n                pts[i] = [0, 0, 0];\n                pts.splice(i, 1);\n                break;\n              }\n              if (this.isSet(pts[i][index]) && pts[i][index] > this.ptMax[index]) {\n                pts[i] = [0, 0, 0];\n                pts.splice(i, 1);\n                break;\n              }\n              if (this.isSet(pts[i][index]) && pts[i][index] < this.ptMin[index] && isFinite(pts[i][index])) {\n                pts[i] = [0, 0, 0];\n                pts.splice(i, 1);\n                break;\n              }\n            }\n          }\n        }\n      }\n      return pts;\n    }\n    getPointOnPlan(pt, addX0) {\n      let z = 0;\n      let color = null;\n      if (this.isSet(pt) === false) {\n        return pt;\n      }\n      if (typeof pt[3] === 'object') {\n        color = pt[3];\n      }\n      if (this.grad[0] === 0 && this.grad[1] === 0) {\n        return pt;\n      }\n      let x = (pt[0] - this.ptMin[0]) * this.grad[0] + this.margin[0];\n      let y = (pt[1] - this.ptMin[1]) * this.grad[1] + this.margin[1];\n      if (this.real3d === true) {\n        if (this.grad[2] !== 0) {\n          z = (pt[2] - this.ptMin[2]) * this.grad[2] + this.margin[2];\n        }\n      } else if (this.isSet(pt[2]) && pt[2] !== 0) {\n        // z projection\n        x -= this.sqrtHalf * pt[2] * this.grad[2];\n        y += this.sqrtHalf * pt[2] * this.grad[2];\n      }\n      if (addX0 === true) {\n        x += this.limitX0;\n      }\n      if (this.inverseY === true) {\n        y = this.height - y;\n      }\n      x = x + this.offSet[0] * this.grad[0];\n      y = y + this.offSet[1] * this.grad[1];\n      if (typeof pt[4] !== 'undefined') {\n        // add extra information\n        return [Math.round(x * this.precision) / this.precision, Math.round(y * this.precision) / this.precision, Math.round(z * this.precision) / this.precision, color, pt[4]];\n      }\n      if (this.precision == 0) {\n        return [x, y, z, color];\n      }\n      return [Math.round(x * this.precision) / this.precision, Math.round(y * this.precision) / this.precision, Math.round(z * this.precision) / this.precision, color];\n    }\n    getPtMaxOnPlan() {\n      return this.getPointOnPlan(this.ptMax);\n    }\n    addZ(pt, gradZ) {\n      if (this.isSet(pt) === false) {\n        return pt;\n      }\n      if (this.isSet(pt[2])) {\n        // z\n        pt[0] -= this.sqrtHalf * pt[2] * gradZ;\n        pt[1] += this.sqrtHalf * pt[2] * gradZ;\n      }\n      return pt;\n    }\n    getPointFromPlan(pt, withLimit, decimals) {\n      if (typeof decimals !== 'number') {\n        decimals = 6;\n      }\n      if (this.isSet(pt) === false) {\n        return pt;\n      }\n      if (withLimit) {\n        pt[0] -= this.limitX0;\n      }\n      if (this.grad[0] === 0 && this.grad[1] === 0) {\n        return pt;\n      }\n      const xC = this.centerAbs ? (pt[0] - (this.limitWidth - this.limitHeight) / 2 - this.margin[0] + this.ptMin[0] * this.grad[0]) / this.grad[0] - this.offSet[1] * this.grad[1] : (pt[0] - this.margin[0] + this.ptMin[0] * this.grad[0]) / this.grad[0] - this.offSet[1] * this.grad[1];\n      const yC = (pt[1] - this.margin[1] + this.ptMin[1] * this.grad[1]) / this.grad[1] - this.offSet[0] * this.grad[0];\n      const d = Math.pow(10, decimals);\n      return [Math.round(xC * d) / d, Math.round(yC * d) / d, 0, typeof pt[3] !== 'undefined' ? pt[3] : null];\n    }\n    bottcherTransformation(x, y, d, ratio, cx, cy, width, height) {\n      if (typeof width == \"undefined\") {\n        width = this.width / d;\n      }\n      if (typeof height == \"undefined\") {\n        height = this.height / d;\n      }\n      x = x - cx;\n      y = y - cy;\n      const centerX = cx;\n      const centerY = cy;\n      const radius = Math.min(width, height) / 2;\n      const u = x / (width - Math.sqrt(x * x + y * y) / ratio);\n      const v = y / (height - Math.sqrt(x * x + y * y) / ratio);\n      const canvasX = centerX + u * radius;\n      const canvasY = centerY - v * radius;\n      return [canvasX, canvasY];\n    }\n    invertPoint(x, y, cx, cy, R) {\n      const dx = x - cx;\n      const dy = y - cy;\n      const distanceSquared = dx * dx + dy * dy;\n      if (distanceSquared === 0) {\n        return {\n          x: x,\n          y: y\n        };\n      }\n      const factor = R * R / distanceSquared;\n      return {\n        x: factor * dx,\n        y: factor * dy\n      };\n    }\n  }\n  _exports.default = GridAdapterService;\n});","define(\"color/routes\", [\"exports\", \"ember-engines/routes\"], function (_exports, _routes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-engines/routes\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _routes.default)(function () {\n    this.route('dissimilarity');\n    this.route('lightness');\n    this.route('color-wheel');\n    this.route('image-manipulation');\n    this.route('mix');\n    this.route('mix-2');\n    this.route('number');\n    this.route('spiral');\n    this.route('hsl');\n    this.route('lch');\n    this.route('perlin-noise');\n  });\n});","define(\"common-components/components/form/canvas-menu\", [\"exports\", \"@ember/component\", \"@ember/object\", \"common-components/components/form/form-component\", \"@glimmer/tracking\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _object, _formComponent, _tracking, _service, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n    id={{this.id}}\n    data-canvas-id=\"{{this.canvasParams.idElementCanvas}}\"\n    class=\"{{if\n        this.showMenu\n        'canvas-menu btn-group'\n        'd-none canvas-menu btn-group'\n      }}\"\n  >\n    <ul class=\"nav nav-pills text-black pt-2\">\n      <li class=\"nav-item\">\n        <button\n          type=\"button\"\n          role=\"button\"\n          data-action-name=\"toggleAnimation\"\n          data-hide-cancel-buttons=\"1\"\n          data-close-menu=\"1\"\n          class=\"button-svg\"\n          title=\"{{tr 'Play'}}\"\n          aria-label=\"{{tr 'Play'}}\"\n          {{on \"click\" (fn this.menuToComponentAction @event)}}\n        >\n          <svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            data-source=\"Solar Line Duotone Icons Collection\"\n            onclick=\"event.stopPropagation();\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <circle\n              opacity=\"0.5\"\n              cx=\"12\"\n              cy=\"12\"\n              r=\"10\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n            <path\n              d=\"M13.8876 9.9348C14.9625 10.8117 15.5 11.2501 15.5 12C15.5 12.7499 14.9625 13.1883 13.8876 14.0652C13.5909 14.3073 13.2966 14.5352 13.0261 14.7251C12.7888 14.8917 12.5201 15.064 12.2419 15.2332C11.1695 15.8853 10.6333 16.2114 10.1524 15.8504C9.6715 15.4894 9.62779 14.7336 9.54038 13.2222C9.51566 12.7947 9.5 12.3757 9.5 12C9.5 11.6243 9.51566 11.2053 9.54038 10.7778C9.62779 9.26636 9.6715 8.51061 10.1524 8.1496C10.6333 7.78859 11.1695 8.11466 12.2419 8.76679C12.5201 8.93597 12.7888 9.10831 13.0261 9.27492C13.2966 9.46483 13.5909 9.69274 13.8876 9.9348Z\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n          </svg>\n        </button>\n      </li>\n      <li class=\"nav-item\">\n        <button\n          type=\"button\"\n          role=\"button\"\n          class=\"button-svg\"\n          data-action-name=\"reload\"\n          data-hide-cancel-buttons=\"1\"\n          data-close-menu=\"1\"\n          title=\"{{tr 'Reload'}}\"\n          aria-label=\"{{tr 'Reload'}}\"\n          {{on \"click\" (fn this.menuToComponentAction @event)}}\n        >\n          <svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            onclick=\"event.stopPropagation();\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <path\n              d=\"M7.37756 11.6296H6.62756H7.37756ZM7.37756 12.5556L6.81609 13.0528C6.95137 13.2056 7.14306 13.2966 7.34695 13.3049C7.55084 13.3133 7.74932 13.2382 7.89662 13.0969L7.37756 12.5556ZM9.51905 11.5414C9.81805 11.2547 9.82804 10.7799 9.54137 10.4809C9.2547 10.182 8.77994 10.172 8.48095 10.4586L9.51905 11.5414ZM6.56148 10.5028C6.28686 10.1927 5.81286 10.1639 5.50277 10.4385C5.19267 10.7131 5.16391 11.1871 5.43852 11.4972L6.56148 10.5028ZM14.9317 9.0093C15.213 9.31337 15.6875 9.33184 15.9915 9.05055C16.2956 8.76927 16.3141 8.29476 16.0328 7.9907L14.9317 9.0093ZM12.0437 6.25C9.05802 6.25 6.62756 8.653 6.62756 11.6296H8.12756C8.12756 9.49251 9.87531 7.75 12.0437 7.75V6.25ZM6.62756 11.6296L6.62756 12.5556H8.12756L8.12756 11.6296H6.62756ZM7.89662 13.0969L9.51905 11.5414L8.48095 10.4586L6.85851 12.0142L7.89662 13.0969ZM7.93904 12.0583L6.56148 10.5028L5.43852 11.4972L6.81609 13.0528L7.93904 12.0583ZM16.0328 7.9907C15.0431 6.9209 13.6212 6.25 12.0437 6.25V7.75C13.1879 7.75 14.2154 8.23504 14.9317 9.0093L16.0328 7.9907Z\"\n              fill=\"#1C274C\"\n            />\n            <path\n              d=\"M16.6188 11.4443L17.1795 10.9462C17.044 10.7937 16.8523 10.703 16.6485 10.6949C16.4447 10.6868 16.2464 10.7621 16.0993 10.9034L16.6188 11.4443ZM14.4805 12.4581C14.1817 12.745 14.1722 13.2198 14.4591 13.5185C14.746 13.8173 15.2208 13.8269 15.5195 13.54L14.4805 12.4581ZM17.4393 13.4972C17.7144 13.8068 18.1885 13.8348 18.4981 13.5597C18.8078 13.2846 18.8358 12.8106 18.5607 12.5009L17.4393 13.4972ZM9.04688 15.0047C8.76342 14.7027 8.28879 14.6876 7.98675 14.9711C7.68472 15.2545 7.66966 15.7292 7.95312 16.0312L9.04688 15.0047ZM11.9348 17.7499C14.9276 17.7499 17.3688 15.3496 17.3688 12.3703H15.8688C15.8688 14.5047 14.1158 16.2499 11.9348 16.2499V17.7499ZM17.3688 12.3703V11.4443H15.8688V12.3703H17.3688ZM16.0993 10.9034L14.4805 12.4581L15.5195 13.54L17.1383 11.9853L16.0993 10.9034ZM16.0581 11.9425L17.4393 13.4972L18.5607 12.5009L17.1795 10.9462L16.0581 11.9425ZM7.95312 16.0312C8.94543 17.0885 10.3635 17.7499 11.9348 17.7499V16.2499C10.792 16.2499 9.76546 15.7704 9.04688 15.0047L7.95312 16.0312Z\"\n              fill=\"#1C274C\"\n            />\n            <circle\n              opacity=\"0.5\"\n              cx=\"12\"\n              cy=\"12\"\n              r=\"10\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n          </svg>\n        </button>\n      </li>\n      <li class=\"nav-item\">\n        <button\n          class=\"button-svg d-none d-md-block\"\n          type=\"button\"\n          role=\"button\"\n          data-action-name=\"fullScreen\"\n          data-hide-cancel-buttons=\"1\"\n          data-close-menu=\"1\"\n          title=\"{{tr 'Full screen'}}\"\n          aria-label=\"{{tr 'Full screen'}}\"\n          {{on \"click\" (fn this.menuToComponentAction @event)}}\n        >\n          <svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            onclick=\"event.stopPropagation();\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <circle\n              opacity=\"0.5\"\n              cx=\"12\"\n              cy=\"12\"\n              r=\"10\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n            <path\n              d=\"M17 7H14M17 7V10M17 7L13.5 10.5M7 17H10M7 17V14M7 17L10.5 13.5\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n            />\n          </svg>\n        </button>\n      </li>\n      <li class=\"nav-item\">\n        <button\n          class=\"button-svg d-none d-md-block\"\n          type=\"button\"\n          role=\"button\"\n          data-action-name=\"setLongCanvas\"\n          data-hide-cancel-buttons=\"1\"\n          data-close-menu=\"1\"\n          title=\"Portrait\"\n          aria-label=\"Portrait\"\n          {{on \"click\" (fn this.menuToComponentAction @event)}}\n        >\n          <svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            onclick=\"event.stopPropagation();\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <path\n              opacity=\"0.5\"\n              d=\"M4 21H20\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n            />\n            <path\n              opacity=\"0.5\"\n              d=\"M4 3H20\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n            />\n            <path\n              d=\"M12 5.5L15 8.5M12 5.5L9 8.5M12 5.5V18.5M12 18.5L15 15.5M12 18.5L9 15.5\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n            />\n          </svg>\n        </button>\n      </li>\n      <li class=\"nav-item\">\n        <button\n          class=\"button-svg d-none d-md-block\"\n          type=\"button\"\n          role=\"button\"\n          data-action-name=\"setSquareCanvas\"\n          data-hide-cancel-buttons=\"1\"\n          data-close-menu=\"1\"\n          title=\"{{tr 'Enlarge'}}\"\n          aria-label=\"{{tr 'Enlarge'}}\"\n          {{on \"click\" (fn this.menuToComponentAction @event)}}\n        ><svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            onclick=\"event.stopPropagation();\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <g transform=\"rotate(90 12 12)\">\n              <path\n                opacity=\"0.5\"\n                d=\"M4 21H20\"\n                stroke=\"#1C274C\"\n                stroke-width=\"1.5\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n              />\n              <path\n                opacity=\"0.5\"\n                d=\"M4 3H20\"\n                stroke=\"#1C274C\"\n                stroke-width=\"1.5\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n              />\n              <path\n                d=\"M12 5.5L15 8.5M12 5.5L9 8.5M12 5.5V18.5M12 18.5L15 15.5M12 18.5L9 15.5\"\n                stroke=\"#1C274C\"\n                stroke-width=\"1.5\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n              />\n            </g>\n          </svg>\n        </button>\n      </li>\n  \n      <li class=\"nav-item\">\n        <button\n          class=\"button-svg d-none d-md-block\"\n          type=\"button\"\n          role=\"button\"\n          data-action-name=\"setLargeCanvas\"\n          data-hide-cancel-buttons=\"1\"\n          data-close-menu=\"1\"\n          title=\"{{tr 'Enlarge'}}\"\n          aria-label=\"{{tr 'Enlarge'}}\"\n          {{on \"click\" (fn this.menuToComponentAction @event)}}\n        ><svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            onclick=\"event.stopPropagation();\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <path\n              d=\"M9 12H18M18 12L15 9M18 12L15 15\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n            ></path>\n          </svg>\n  \n        </button>\n      </li>\n  \n      <li class=\"nav-item\">\n        <button\n          class=\"button-svg\"\n          type=\"button\"\n          role=\"button\"\n          data-action-name=\"downloadJpeg\"\n          title=\"JPEG download\"\n          aria-label=\"JPEG download\"\n          {{on \"click\" (fn this.menuToComponentAction @event)}}\n        >\n  \n          <svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <circle\n              opacity=\"0.5\"\n              cx=\"12\"\n              cy=\"12\"\n              r=\"10\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n            <text\n              x=\"12\"\n              y=\"14\"\n              font-family=\"Arial\"\n              font-size=\"7\"\n              fill=\"#1C274C\"\n              text-anchor=\"middle\"\n              stroke-width=\"1.5\"\n              alignment-baseline=\"middle\"\n            >JPG</text>\n          </svg>\n  \n        </button>\n      </li>\n      <li class=\"nav-item\">\n        <button\n          class=\"button-svg\"\n          type=\"button\"\n          role=\"button\"\n          data-action-name=\"downloadPng\"\n          title=\"PNG download\"\n          aria-label=\"PNG download\"\n          {{on \"click\" (fn this.menuToComponentAction @event)}}\n        >\n          <svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <circle\n              opacity=\"0.5\"\n              cx=\"12\"\n              cy=\"12\"\n              r=\"10\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n            <text\n              x=\"12\"\n              y=\"14\"\n              font-family=\"Arial\"\n              font-size=\"7\"\n              fill=\"#1C274C\"\n              text-anchor=\"middle\"\n              stroke-width=\"1.5\"\n              alignment-baseline=\"middle\"\n            >PNG</text>\n          </svg>\n  \n        </button>\n      </li>\n      <li\n        class=\"{{if this.showCancel 'nav-item' 'nav-item d-none'}}\"\n        id=\"{{this.canvasParams.idElementMenu}}-li-cancel-action-1\"\n      >\n        <button\n          class=\"button-svg\"\n          type=\"button\"\n          role=\"button\"\n          data-action-name=\"displaySavedCanvas\"\n          title=\"Cancel\"\n          aria-label=\"Cancel\"\n          {{on \"click\" (fn this.menuToComponentAction @event)}}\n        ><svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            onclick=\"event.stopPropagation();\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <circle\n              opacity=\"0.5\"\n              cx=\"12\"\n              cy=\"12\"\n              r=\"10\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n            <path\n              d=\"M13.5 9L10.5 12L13.5 15\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n            />\n          </svg>\n        </button>\n      </li>\n      <li\n        class=\"{{if this.showCancel2 'nav-item' 'nav-item d-none'}}\"\n        id=\"{{this.canvasParams.idElementMenu}}-li-cancel-action-2\"\n      >\n        <button\n          class=\"button-svg\"\n          type=\"button\"\n          role=\"button\"\n          data-action-name=\"displayFirstSavedCanvas\"\n          data-hide-cancel-buttons=\"1\"\n          title=\"Cancel all\"\n          aria-label=\"Cancel all\"\n          {{on \"click\" (fn this.menuToComponentAction @event)}}\n        >\n          <svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <circle\n              opacity=\"0.5\"\n              cx=\"12\"\n              cy=\"12\"\n              r=\"10\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n            <path\n              d=\"M15.5 9L12.5 12L15.5 15\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n            />\n            <path\n              d=\"M11.5 9L8.5 12L11.5 15\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n              stroke-linecap=\"round\"\n              stroke-linejoin=\"round\"\n            />\n          </svg>\n        </button>\n      </li>\n      <li class=\"nav-item list-inline-item\">\n        <button\n          type=\"button\"\n          role=\"button\"\n          class=\"button-svg\"\n          data-action-name=\"hideMenu\"\n          title=\"close\"\n          {{on \"click\" (fn this.hideMenuAction @event)}}\n        >\n          <svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            onclick=\"event.stopPropagation();\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <circle\n              opacity=\"0.5\"\n              cx=\"12\"\n              cy=\"12\"\n              r=\"10\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n            <path\n              d=\"M14.5 9.50002L9.5 14.5M9.49998 9.5L14.5 14.5\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n              stroke-linecap=\"round\"\n            />\n          </svg>\n        </button>\n      </li>\n    </ul>\n    <ul\n      class=\"{{if\n          this.menuFor3D\n          'nav nav-pills text-black pt-2'\n          'nav nav-pills text-black pt-2 d-none'\n        }}\"\n      id=\"{{this.canvasParams.idElementMenu}}-cmd-3d-list\"\n    >\n  \n      <li class=\"nav-item\">\n        <button\n          class=\"button-img button-rotate d-none d-md-block\"\n          data-bs-toggle=\"collapse\"\n          href=\"#collapseRT\"\n          role=\"button\"\n          aria-expanded=\"false\"\n          aria-controls=\"collapseRT\"\n        >\n          RT\n        </button>\n      </li>\n  \n      <li class=\"nav-item\">\n        <button\n          type=\"button\"\n          role=\"button\"\n          class=\"button-img button-zoom d-none d-md-block\"\n          data-bs-toggle=\"collapse\"\n          href=\"#collapseZoom\"\n          role=\"button\"\n          aria-expanded=\"false\"\n          aria-controls=\"collapseZoom\"\n        >\n          RT\n        </button>\n      </li>\n    </ul>\n    <ul\n      class=\"{{if\n          this.menuFor2D\n          'nav nav-pills text-black pt-2'\n          'nav nav-pills text-black pt-2 d-none'\n        }}\"\n      id=\"{{this.canvasParams.idElementMenu}}-filters-list\"\n    >\n      <li class=\"nav-item\">\n        <button\n          type=\"button\"\n          role=\"button\"\n          class=\"button-img d-none d-md-block\"\n          data-action-name=\"filter\"\n          data-type=\"edgeDetectOn\"\n          data-input-id=\"context-menu-input-text\"\n          data-option-element-id=\"item-option\"\n          data-id=\"filter-edge-detect-on\"\n          data-input-name=\"level\"\n          data-label=\"Edge detect On\"\n          data-level=\"50\"\n          aria-label=\"Edge detection On\"\n          title=\"Edge detection on\"\n          {{on \"click\" (fn this.selectAction @event)}}\n        >\n          <svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            onclick=\"event.stopPropagation();\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <circle\n              opacity=\"0.5\"\n              cx=\"12\"\n              cy=\"12\"\n              r=\"10\"\n              fill=\"PeachPuff\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n            <path\n              opacity=\"0.5\"\n              d=\"M2 12.5001L3.75159 10.9675C4.66286 10.1702 6.03628 10.2159 6.89249 11.0721L11.1822 15.3618C11.8694 16.0491 12.9512 16.1428 13.7464 15.5839L14.0446 15.3744C15.1888 14.5702 16.7369 14.6634 17.7765 15.599L21 18.5001\"\n              stroke=\"gray\"\n              stroke-width=\"1.5\"\n              stroke-linecap=\"round\"\n            />\n            <path\n              d=\"M18.562 2.9354L18.9791 2.5183C19.6702 1.82723 20.7906 1.82723 21.4817 2.5183C22.1728 3.20937 22.1728 4.32981 21.4817 5.02087L21.0646 5.43797M18.562 2.9354C18.562 2.9354 18.6142 3.82172 19.3962 4.60378C20.1783 5.38583 21.0646 5.43797 21.0646 5.43797M18.562 2.9354L14.7275 6.76995C14.4677 7.02968 14.3379 7.15954 14.2262 7.30273C14.0945 7.47163 13.9815 7.65439 13.8894 7.84776C13.8112 8.01169 13.7532 8.18591 13.637 8.53437L13.2651 9.65M21.0646 5.43797L17.23 9.27253C16.9703 9.53225 16.8405 9.66211 16.6973 9.7738C16.5284 9.90554 16.3456 10.0185 16.1522 10.1106C15.9883 10.1888 15.8141 10.2468 15.4656 10.363L14.35 10.7349M14.35 10.7349L13.6281 10.9755C13.4567 11.0327 13.2676 10.988 13.1398 10.8602C13.012 10.7324 12.9673 10.5433 13.0245 10.3719L13.2651 9.65M14.35 10.7349L13.2651 9.65\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n          </svg>\n        </button>\n      </li>\n      <li class=\"nav-item\">\n        <button\n          type=\"button\"\n          role=\"button\"\n          class=\"button-img d-none d-md-block\"\n          data-action-name=\"filter\"\n          data-type=\"edgeDetect\"\n          data-input-id=\"context-menu-input-text\"\n          data-option-element-id=\"item-option\"\n          data-id=\"filter-edge-detect\"\n          data-input-name=\"level\"\n          data-label=\"Edge detect\"\n          data-level=\"50\"\n          aria-label=\"Edge detection\"\n          title=\"Edge detection\"\n          {{on \"click\" (fn this.selectAction @event)}}\n        >\n          <svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            onclick=\"event.stopPropagation();\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <circle\n              opacity=\"0.5\"\n              cx=\"12\"\n              cy=\"12\"\n              r=\"10\"\n              fill=\"white\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n            <path\n              opacity=\"0.5\"\n              d=\"M2 12.5001L3.75159 10.9675C4.66286 10.1702 6.03628 10.2159 6.89249 11.0721L11.1822 15.3618C11.8694 16.0491 12.9512 16.1428 13.7464 15.5839L14.0446 15.3744C15.1888 14.5702 16.7369 14.6634 17.7765 15.599L21 18.5001\"\n              stroke=\"black\"\n              stroke-width=\"1.5\"\n              stroke-linecap=\"round\"\n            />\n            <path\n              d=\"M18.562 2.9354L18.9791 2.5183C19.6702 1.82723 20.7906 1.82723 21.4817 2.5183C22.1728 3.20937 22.1728 4.32981 21.4817 5.02087L21.0646 5.43797M18.562 2.9354C18.562 2.9354 18.6142 3.82172 19.3962 4.60378C20.1783 5.38583 21.0646 5.43797 21.0646 5.43797M18.562 2.9354L14.7275 6.76995C14.4677 7.02968 14.3379 7.15954 14.2262 7.30273C14.0945 7.47163 13.9815 7.65439 13.8894 7.84776C13.8112 8.01169 13.7532 8.18591 13.637 8.53437L13.2651 9.65M21.0646 5.43797L17.23 9.27253C16.9703 9.53225 16.8405 9.66211 16.6973 9.7738C16.5284 9.90554 16.3456 10.0185 16.1522 10.1106C15.9883 10.1888 15.8141 10.2468 15.4656 10.363L14.35 10.7349M14.35 10.7349L13.6281 10.9755C13.4567 11.0327 13.2676 10.988 13.1398 10.8602C13.012 10.7324 12.9673 10.5433 13.0245 10.3719L13.2651 9.65M14.35 10.7349L13.2651 9.65\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n          </svg>\n        </button>\n      </li>\n      <li class=\"nav-item\">\n        <button\n          type=\"button\"\n          role=\"button\"\n          class=\"button-img d-none d-md-block\"\n          data-action-name=\"filter\"\n          data-type=\"edgeDetectInvert\"\n          data-input-id=\"context-menu-input-text\"\n          data-option-element-id=\"item-option\"\n          data-id=\"filter-edge-detect-invert\"\n          data-input-name=\"level\"\n          data-label=\"Edge detect 2\"\n          data-level=\"50\"\n          aria-label=\"Edge detect (black)\"\n          title=\"Edge detect (black)\"\n          {{on \"click\" (fn this.selectAction @event)}}\n        ><svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"gray\"\n            onclick=\"event.stopPropagation();\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <circle\n              opacity=\"0.5\"\n              cx=\"12\"\n              cy=\"12\"\n              r=\"10\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n            <path\n              opacity=\"0.5\"\n              d=\"M2 12.5001L3.75159 10.9675C4.66286 10.1702 6.03628 10.2159 6.89249 11.0721L11.1822 15.3618C11.8694 16.0491 12.9512 16.1428 13.7464 15.5839L14.0446 15.3744C15.1888 14.5702 16.7369 14.6634 17.7765 15.599L21 18.5001\"\n              stroke=\"white\"\n              stroke-width=\"1.5\"\n              stroke-linecap=\"round\"\n            />\n            <path\n              d=\"M18.562 2.9354L18.9791 2.5183C19.6702 1.82723 20.7906 1.82723 21.4817 2.5183C22.1728 3.20937 22.1728 4.32981 21.4817 5.02087L21.0646 5.43797M18.562 2.9354C18.562 2.9354 18.6142 3.82172 19.3962 4.60378C20.1783 5.38583 21.0646 5.43797 21.0646 5.43797M18.562 2.9354L14.7275 6.76995C14.4677 7.02968 14.3379 7.15954 14.2262 7.30273C14.0945 7.47163 13.9815 7.65439 13.8894 7.84776C13.8112 8.01169 13.7532 8.18591 13.637 8.53437L13.2651 9.65M21.0646 5.43797L17.23 9.27253C16.9703 9.53225 16.8405 9.66211 16.6973 9.7738C16.5284 9.90554 16.3456 10.0185 16.1522 10.1106C15.9883 10.1888 15.8141 10.2468 15.4656 10.363L14.35 10.7349M14.35 10.7349L13.6281 10.9755C13.4567 11.0327 13.2676 10.988 13.1398 10.8602C13.012 10.7324 12.9673 10.5433 13.0245 10.3719L13.2651 9.65M14.35 10.7349L13.2651 9.65\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n          </svg>\n        </button>\n      </li>\n  \n      <li class=\"nav-item\">\n        <button\n          type=\"button\"\n          role=\"button\"\n          title=\"plus\"\n          class=\"button-svg d-none d-md-block\"\n          data-action-name=\"filter\"\n          data-type=\"monoColor\"\n          data-id=\"filter-color-tools\"\n          data-label=\"Mono color\"\n          data-input-name=\"colorTools\"\n          data-option-element-id=\"item-option-color-tools\"\n          {{on \"click\" (fn this.selectAction @event)}}\n        >\n          <svg\n            width=\"36px\"\n            height=\"36px\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            onclick=\"event.stopPropagation();\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <path\n              d=\"M9 12C9 12.5523 8.55228 13 8 13C7.44772 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11C8.55228 11 9 11.4477 9 12Z\"\n              fill=\"#1C274C\"\n            />\n            <path\n              d=\"M13 12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12C11 11.4477 11.4477 11 12 11C12.5523 11 13 11.4477 13 12Z\"\n              fill=\"#1C274C\"\n            />\n            <path\n              d=\"M17 12C17 12.5523 16.5523 13 16 13C15.4477 13 15 12.5523 15 12C15 11.4477 15.4477 11 16 11C16.5523 11 17 11.4477 17 12Z\"\n              fill=\"#1C274C\"\n            />\n            <circle\n              opacity=\"0.5\"\n              cx=\"12\"\n              cy=\"12\"\n              r=\"10\"\n              stroke=\"#1C274C\"\n              stroke-width=\"1.5\"\n            />\n          </svg>\n        </button>\n      </li>\n  \n      <li class=\"nav-item\">\n        <button\n          type=\"button\"\n          role=\"button\"\n          class=\"button-text d-none\"\n          data-action-name=\"rotation-y\"\n          data-type=\"rotation-y\"\n          data-input-id=\"context-menu-input-text\"\n          data-option-element-id=\"item-option\"\n          data-id=\"rotation-y\"\n          data-input-name=\"ry\"\n          id=\"rotation-y\"\n          data-label=\"y\"\n          data-ry=\"1\"\n          title=\"rotation Y\"\n          {{on \"click\" (fn this.selectAction @event)}}\n        >\n          RY\n        </button>\n      </li>\n    </ul>\n    <ul\n      class=\"nav nav-pills text-black p-2 d-none list-inline\"\n      id=\"{{this.canvasParams.idElementMenu}}-item-option\"\n    >\n      <li class=\"nav-item list-inline-item\">\n        <label\n          class=\"form-label\"\n          for=\"{{this.canvasParams.idElementMenu}}-context-menu-input-text\"\n          id=\"span-label-{{this.canvasParams.idElementMenu}}-context-menu-input-text\"\n        >\n        </label>\n      </li>\n  \n      <li class=\"nav-item list-inline-item\">\n        <input\n          class=\"form-control\"\n          id=\"{{this.canvasParams.idElementMenu}}-context-menu-input-text\"\n          data-name=\"level\"\n          type=\"text\"\n        />\n      </li>\n  \n      <li class=\"nav-item list-inline-item\">\n        <button\n          type=\"button\"\n          class=\"button-text\"\n          data-action-name=\"ok\"\n          {{on \"click\" (fn this.applySelectedAction @event)}}\n        >\n          OK\n        </button>\n      </li>\n    </ul>\n  \n    <div\n      class=\"d-none\"\n      id=\"{{this.canvasParams.idElementMenu}}-item-option-color-tools\"\n    >\n      <ul class=\"nav nav-pills text-black p-2 list-inline\">\n        <li class=\"nav-item list-inline-item\">\n  \n          <button\n            class=\"button-img button-black-filter d-none d-md-block\"\n            type=\"button\"\n            role=\"button\"\n            data-action-name=\"filter\"\n            data-type=\"gaussian\"\n            data-input-id=\"context-menu-input-text\"\n            data-option-element-id=\"item-option\"\n            data-id=\"gaussian-filter\"\n            data-input-name=\"level\"\n            data-label=\"Gray filter\"\n            data-level=\"5\"\n            title=\"Gray filter\"\n            title=\"Gray filter\"\n            aria-label=\"Gray filter\"\n            {{on \"click\" (fn this.selectAction @event)}}\n          >\n          </button>\n        </li>\n  \n        <li class=\"nav-item list-inline-item\">\n          <button\n            type=\"button\"\n            role=\"button\"\n            class=\"button-img button-colors-sepia d-none d-md-block\"\n            data-action-name=\"filter\"\n            data-type=\"sepia\"\n            data-input-id=\"context-menu-input-text\"\n            data-option-element-id=\"item-option\"\n            data-id=\"filter-sepia\"\n            data-input-name=\"level\"\n            id=\"filter-sepia\"\n            data-label=\"Sepia\"\n            data-level=\"100\"\n            title=\"Sepia\"\n            {{on \"click\" (fn this.selectAction @event)}}\n          >\n          </button>\n        </li>\n        <li class=\"nav-item list-inline-item\">\n          <button\n            class=\"button-img button-colors-green-red d-none d-md-block\"\n            type=\"button\"\n            role=\"button\"\n            data-action-name=\"filter\"\n            data-type=\"RG\"\n            title=\"Red green\"\n            aria-label=\"Red green\"\n            {{on \"click\" (fn this.menuToComponentAction @event)}}\n          >\n            RG\n          </button>\n        </li>\n  \n        <li class=\"nav-item list-inline-item\">\n          <button\n            class=\"button-img button-colors-green-blue d-none d-md-block\"\n            type=\"button\"\n            role=\"button\"\n            data-action-name=\"filter\"\n            data-type=\"GB\"\n            aria-label=\"Green blue\"\n            title=\"Green blue\"\n            {{on \"click\" (fn this.menuToComponentAction @event)}}\n          >\n            GB\n          </button>\n        </li>\n  \n        <li class=\"nav-item list-inline-item\">\n          <button\n            class=\"button-img button-colors-red-blue d-none d-md-block\"\n            type=\"button\"\n            role=\"button\"\n            data-action-name=\"filter\"\n            data-type=\"RB\"\n            aria-label=\"Red blue\"\n            title=\"Red blue\"\n            {{on \"click\" (fn this.menuToComponentAction @event)}}\n          >\n            RB\n          </button>\n        </li>\n  \n        <li class=\"nav-item\">\n          <button\n            type=\"button\"\n            role=\"button\"\n            class=\"button-img button-hue-rotate d-none d-md-block\"\n            data-id=\"filter-hue-rotate\"\n            data-action-name=\"filter\"\n            data-label=\"Hue rotate\"\n            data-input-name=\"level\"\n            data-input-id=\"context-menu-input-text\"\n            data-option-element-id=\"item-option\"\n            data-level=\"90\"\n            data-type=\"hue-rotate\"\n            title=\"Hue color rotation\"\n            {{on \"click\" (fn this.selectAction @event)}}\n          >\n            HR\n          </button>\n        </li>\n        <li class=\"nav-item\">\n          <button\n            type=\"button\"\n            role=\"button\"\n            class=\"button-img button-paint d-none d-md-block\"\n            data-action-name=\"filter\"\n            data-type=\"monoColor\"\n            data-id=\"filter-monocolor\"\n            data-label=\"Mono color\"\n            data-input-name=\"colorHexa\"\n            data-input-id=\"context-menu-input-color\"\n            data-option-element-id=\"item-option-color\"\n            data-color-hexa=\"#ffffff\"\n            {{on \"click\" (fn this.selectAction @event)}}\n          >\n            1C\n          </button>\n        </li>\n        <li class=\"nav-item list-inline-item\">\n          <button\n            class=\"button-img button-invert d-none d-md-block\"\n            type=\"button\"\n            role=\"button\"\n            data-action-name=\"filter\"\n            data-type=\"invert\"\n            title=\"Invert colors\"\n            aria-label=\"Invert colors\"\n            {{on \"click\" (fn this.menuToComponentAction @event)}}\n          >\n          </button>\n        </li>\n        <li class=\"nav-item\">\n          <button\n            type=\"button\"\n            role=\"button\"\n            class=\"button-text d-none d-md-block\"\n            data-action-name=\"filter\"\n            data-type=\"white-balance\"\n            data-input-id=\"context-menu-input-text\"\n            data-option-element-id=\"item-option\"\n            data-id=\"filter-white-balance\"\n            data-input-name=\"level\"\n            id=\"filter-white-balance\"\n            data-label=\"wb\"\n            data-level=\"50\"\n            title=\"White balance\"\n            {{on \"click\" (fn this.selectAction @event)}}\n          >\n            WB\n          </button>\n        </li>\n        <li>\n          <button\n            class=\"button-text\"\n            type=\"button\"\n            role=\"button\"\n            data-action-name=\"displayGrid\"\n            title=\"Grid\"\n            aria-label=\"Grid\"\n            {{on \"click\" (fn this.menuToComponentAction @event)}}\n          >\n            GRID\n          </button>\n        </li>\n      </ul>\n    </div>\n  \n    <ul\n      class=\"nav nav-pills text-black p-2 d-none list-inline\"\n      id=\"{{this.canvasParams.idElementMenu}}-item-option-color\"\n    >\n      <li class=\"nav-item list-inline-item\">\n        <label\n          class=\"form-label\"\n          for=\"{{this.canvasParams.idElementMenu}}-li-context-menu-input-color\"\n          id=\"span-label-{{this.canvasParams.idElementMenu}}-context-menu-input-color\"\n        >\n        </label>\n      </li>\n  \n      <li\n        class=\"nav-item list-inline-item\"\n        id=\"{{this.canvasParams.idElementMenu}}-li-context-menu-input-color\"\n      >\n        <input\n          type=\"color\"\n          name=\"context-menu-input-color\"\n          id=\"{{this.canvasParams.idElementMenu}}-context-menu-input-color\"\n          value=\"#8f1ea8\"\n          class=\"form-control form-control-color\"\n        />\n      </li>\n  \n      <li class=\"nav-item list-inline-item\">\n        <button\n          type=\"button\"\n          class=\"nav-link\"\n          data-action-name=\"ok\"\n          {{on \"click\" (fn this.applySelectedAction @event)}}\n        >\n          OK\n        </button>\n      </li>\n    </ul>\n    <div class=\"collapse\" id=\"collapseZoom\">\n      <div class=\"m-2 p-2\">\n        <div class=\"mb-3\">\n          <p class=\"mb-3\">Position</p>\n  \n          <InputNumberPlusMinus\n            @value={{1}}\n            @min={{-12}}\n            @max={{20}}\n            @field={{\"position3dX\"}}\n            @title={{\"X\"}}\n            @step={{\"1\"}}\n            @typeRange={{true}}\n            @componentID={{this.canvasParams.idElementMenu}}\n            @plusMinusButtons={{false}}\n          />\n  \n          <InputNumberPlusMinus\n            @value={{1}}\n            @min={{-12}}\n            @max={{20}}\n            @field={{\"position3dY\"}}\n            @title={{\"Y\"}}\n            @step={{\"1\"}}\n            @typeRange={{true}}\n            @componentID={{this.canvasParams.idElementMenu}}\n            @plusMinusButtons={{false}}\n          />\n  \n          <InputNumberPlusMinus\n            @value={{1}}\n            @min={{-12}}\n            @max={{20}}\n            @field={{\"position3dZ\"}}\n            @title={{\"Z\"}}\n            @step={{\"1\"}}\n            @typeRange={{true}}\n            @componentID={{this.canvasParams.idElementMenu}}\n            @plusMinusButtons={{false}}\n          />\n  \n        </div>\n  \n        <div class=\"input-group mb-3\">\n          <button\n            type=\"button\"\n            role=\"button\"\n            class=\"btn btn-primary text-white\"\n            data-action-name=\"toggleZoomIn\"\n            title=\"zoom in\"\n            aria-label=\"zoom in\"\n            {{on \"click\" (fn this.menuToComponentAction @event)}}\n          >\n            Auto zoom\n          </button>\n        </div>\n      </div>\n    </div>\n    <div class=\"collapse\" id=\"collapseRT\">\n      <div class=\"m-2 p-2\">\n        <div class=\"mb-3\">\n          <p class=\"mb-3\">Rotate</p>\n  \n          <InputNumberPlusMinus\n            @value={{1}}\n            @min={{-20}}\n            @max={{20}}\n            @field={{\"rotate3dX\"}}\n            @title={{\"X\"}}\n            @step={{\"0.1\"}}\n            @typeRange={{true}}\n            @componentID={{this.canvasParams.idElementMenu}}\n            @plusMinusButtons={{false}}\n          />\n  \n          <InputNumberPlusMinus\n            @value={{1}}\n            @min={{-20}}\n            @max={{20}}\n            @field={{\"rotate3dY\"}}\n            @title={{\"Y\"}}\n            @step={{\"0.1\"}}\n            @typeRange={{true}}\n            @componentID={{this.canvasParams.idElementMenu}}\n            @plusMinusButtons={{false}}\n          />\n  \n          <InputNumberPlusMinus\n            @value={{1}}\n            @min={{-20}}\n            @max={{20}}\n            @field={{\"rotate3dZ\"}}\n            @title={{\"Z\"}}\n            @step={{\"0.1\"}}\n            @typeRange={{true}}\n            @componentID={{this.canvasParams.idElementMenu}}\n            @plusMinusButtons={{false}}\n          />\n        </div>\n  \n        <button\n          class=\"btn btn-primary text-white\"\n          type=\"button\"\n          role=\"button\"\n          data-action-name=\"toggleAutoRotate\"\n          title=\"rotation\"\n          aria-label=\"rotation\"\n          {{on \"click\" (fn this.menuToComponentAction @event)}}\n        >\n          auto\n        </button>\n      </div>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"sG/AT2jZ\",\n    \"block\": \"[[[10,0],[15,1,[30,0,[\\\"id\\\"]]],[15,\\\"data-canvas-id\\\",[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementCanvas\\\"]]]]],[15,0,[29,[[52,[30,0,[\\\"showMenu\\\"]],\\\"canvas-menu btn-group\\\",\\\"d-none canvas-menu btn-group\\\"]]]],[12],[1,\\\"\\\\n  \\\"],[10,\\\"ul\\\"],[14,0,\\\"nav nav-pills text-black pt-2\\\"],[12],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"toggleAnimation\\\"],[24,\\\"data-hide-cancel-buttons\\\",\\\"1\\\"],[24,\\\"data-close-menu\\\",\\\"1\\\"],[24,0,\\\"button-svg\\\"],[16,\\\"title\\\",[29,[[28,[37,5],[\\\"Play\\\"],null]]]],[16,\\\"aria-label\\\",[29,[[28,[37,5],[\\\"Play\\\"],null]]]],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"data-source\\\",\\\"Solar Line Duotone Icons Collection\\\"],[14,\\\"onclick\\\",\\\"event.stopPropagation();\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"circle\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"cx\\\",\\\"12\\\"],[14,\\\"cy\\\",\\\"12\\\"],[14,\\\"r\\\",\\\"10\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13.8876 9.9348C14.9625 10.8117 15.5 11.2501 15.5 12C15.5 12.7499 14.9625 13.1883 13.8876 14.0652C13.5909 14.3073 13.2966 14.5352 13.0261 14.7251C12.7888 14.8917 12.5201 15.064 12.2419 15.2332C11.1695 15.8853 10.6333 16.2114 10.1524 15.8504C9.6715 15.4894 9.62779 14.7336 9.54038 13.2222C9.51566 12.7947 9.5 12.3757 9.5 12C9.5 11.6243 9.51566 11.2053 9.54038 10.7778C9.62779 9.26636 9.6715 8.51061 10.1524 8.1496C10.6333 7.78859 11.1695 8.11466 12.2419 8.76679C12.5201 8.93597 12.7888 9.10831 13.0261 9.27492C13.2966 9.46483 13.5909 9.69274 13.8876 9.9348Z\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"button-svg\\\"],[24,\\\"data-action-name\\\",\\\"reload\\\"],[24,\\\"data-hide-cancel-buttons\\\",\\\"1\\\"],[24,\\\"data-close-menu\\\",\\\"1\\\"],[16,\\\"title\\\",[29,[[28,[37,5],[\\\"Reload\\\"],null]]]],[16,\\\"aria-label\\\",[29,[[28,[37,5],[\\\"Reload\\\"],null]]]],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"onclick\\\",\\\"event.stopPropagation();\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M7.37756 11.6296H6.62756H7.37756ZM7.37756 12.5556L6.81609 13.0528C6.95137 13.2056 7.14306 13.2966 7.34695 13.3049C7.55084 13.3133 7.74932 13.2382 7.89662 13.0969L7.37756 12.5556ZM9.51905 11.5414C9.81805 11.2547 9.82804 10.7799 9.54137 10.4809C9.2547 10.182 8.77994 10.172 8.48095 10.4586L9.51905 11.5414ZM6.56148 10.5028C6.28686 10.1927 5.81286 10.1639 5.50277 10.4385C5.19267 10.7131 5.16391 11.1871 5.43852 11.4972L6.56148 10.5028ZM14.9317 9.0093C15.213 9.31337 15.6875 9.33184 15.9915 9.05055C16.2956 8.76927 16.3141 8.29476 16.0328 7.9907L14.9317 9.0093ZM12.0437 6.25C9.05802 6.25 6.62756 8.653 6.62756 11.6296H8.12756C8.12756 9.49251 9.87531 7.75 12.0437 7.75V6.25ZM6.62756 11.6296L6.62756 12.5556H8.12756L8.12756 11.6296H6.62756ZM7.89662 13.0969L9.51905 11.5414L8.48095 10.4586L6.85851 12.0142L7.89662 13.0969ZM7.93904 12.0583L6.56148 10.5028L5.43852 11.4972L6.81609 13.0528L7.93904 12.0583ZM16.0328 7.9907C15.0431 6.9209 13.6212 6.25 12.0437 6.25V7.75C13.1879 7.75 14.2154 8.23504 14.9317 9.0093L16.0328 7.9907Z\\\"],[14,\\\"fill\\\",\\\"#1C274C\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M16.6188 11.4443L17.1795 10.9462C17.044 10.7937 16.8523 10.703 16.6485 10.6949C16.4447 10.6868 16.2464 10.7621 16.0993 10.9034L16.6188 11.4443ZM14.4805 12.4581C14.1817 12.745 14.1722 13.2198 14.4591 13.5185C14.746 13.8173 15.2208 13.8269 15.5195 13.54L14.4805 12.4581ZM17.4393 13.4972C17.7144 13.8068 18.1885 13.8348 18.4981 13.5597C18.8078 13.2846 18.8358 12.8106 18.5607 12.5009L17.4393 13.4972ZM9.04688 15.0047C8.76342 14.7027 8.28879 14.6876 7.98675 14.9711C7.68472 15.2545 7.66966 15.7292 7.95312 16.0312L9.04688 15.0047ZM11.9348 17.7499C14.9276 17.7499 17.3688 15.3496 17.3688 12.3703H15.8688C15.8688 14.5047 14.1158 16.2499 11.9348 16.2499V17.7499ZM17.3688 12.3703V11.4443H15.8688V12.3703H17.3688ZM16.0993 10.9034L14.4805 12.4581L15.5195 13.54L17.1383 11.9853L16.0993 10.9034ZM16.0581 11.9425L17.4393 13.4972L18.5607 12.5009L17.1795 10.9462L16.0581 11.9425ZM7.95312 16.0312C8.94543 17.0885 10.3635 17.7499 11.9348 17.7499V16.2499C10.792 16.2499 9.76546 15.7704 9.04688 15.0047L7.95312 16.0312Z\\\"],[14,\\\"fill\\\",\\\"#1C274C\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"circle\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"cx\\\",\\\"12\\\"],[14,\\\"cy\\\",\\\"12\\\"],[14,\\\"r\\\",\\\"10\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"button-svg d-none d-md-block\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"fullScreen\\\"],[24,\\\"data-hide-cancel-buttons\\\",\\\"1\\\"],[24,\\\"data-close-menu\\\",\\\"1\\\"],[16,\\\"title\\\",[29,[[28,[37,5],[\\\"Full screen\\\"],null]]]],[16,\\\"aria-label\\\",[29,[[28,[37,5],[\\\"Full screen\\\"],null]]]],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"onclick\\\",\\\"event.stopPropagation();\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"circle\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"cx\\\",\\\"12\\\"],[14,\\\"cy\\\",\\\"12\\\"],[14,\\\"r\\\",\\\"10\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M17 7H14M17 7V10M17 7L13.5 10.5M7 17H10M7 17V14M7 17L10.5 13.5\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"button-svg d-none d-md-block\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"setLongCanvas\\\"],[24,\\\"data-hide-cancel-buttons\\\",\\\"1\\\"],[24,\\\"data-close-menu\\\",\\\"1\\\"],[24,\\\"title\\\",\\\"Portrait\\\"],[24,\\\"aria-label\\\",\\\"Portrait\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"onclick\\\",\\\"event.stopPropagation();\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"d\\\",\\\"M4 21H20\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"d\\\",\\\"M4 3H20\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 5.5L15 8.5M12 5.5L9 8.5M12 5.5V18.5M12 18.5L15 15.5M12 18.5L9 15.5\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"button-svg d-none d-md-block\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"setSquareCanvas\\\"],[24,\\\"data-hide-cancel-buttons\\\",\\\"1\\\"],[24,\\\"data-close-menu\\\",\\\"1\\\"],[16,\\\"title\\\",[29,[[28,[37,5],[\\\"Enlarge\\\"],null]]]],[16,\\\"aria-label\\\",[29,[[28,[37,5],[\\\"Enlarge\\\"],null]]]],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"onclick\\\",\\\"event.stopPropagation();\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"g\\\"],[14,\\\"transform\\\",\\\"rotate(90 12 12)\\\"],[12],[1,\\\"\\\\n            \\\"],[10,\\\"path\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"d\\\",\\\"M4 21H20\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n            \\\"],[10,\\\"path\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"d\\\",\\\"M4 3H20\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n            \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M12 5.5L15 8.5M12 5.5L9 8.5M12 5.5V18.5M12 18.5L15 15.5M12 18.5L9 15.5\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"button-svg d-none d-md-block\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"setLargeCanvas\\\"],[24,\\\"data-hide-cancel-buttons\\\",\\\"1\\\"],[24,\\\"data-close-menu\\\",\\\"1\\\"],[16,\\\"title\\\",[29,[[28,[37,5],[\\\"Enlarge\\\"],null]]]],[16,\\\"aria-label\\\",[29,[[28,[37,5],[\\\"Enlarge\\\"],null]]]],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"onclick\\\",\\\"event.stopPropagation();\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9 12H18M18 12L15 9M18 12L15 15\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"button-svg\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"downloadJpeg\\\"],[24,\\\"title\\\",\\\"JPEG download\\\"],[24,\\\"aria-label\\\",\\\"JPEG download\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n\\\\n        \\\"],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"circle\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"cx\\\",\\\"12\\\"],[14,\\\"cy\\\",\\\"12\\\"],[14,\\\"r\\\",\\\"10\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"text\\\"],[14,\\\"x\\\",\\\"12\\\"],[14,\\\"y\\\",\\\"14\\\"],[14,\\\"font-family\\\",\\\"Arial\\\"],[14,\\\"font-size\\\",\\\"7\\\"],[14,\\\"fill\\\",\\\"#1C274C\\\"],[14,\\\"text-anchor\\\",\\\"middle\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"alignment-baseline\\\",\\\"middle\\\"],[12],[1,\\\"JPG\\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"button-svg\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"downloadPng\\\"],[24,\\\"title\\\",\\\"PNG download\\\"],[24,\\\"aria-label\\\",\\\"PNG download\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"circle\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"cx\\\",\\\"12\\\"],[14,\\\"cy\\\",\\\"12\\\"],[14,\\\"r\\\",\\\"10\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"text\\\"],[14,\\\"x\\\",\\\"12\\\"],[14,\\\"y\\\",\\\"14\\\"],[14,\\\"font-family\\\",\\\"Arial\\\"],[14,\\\"font-size\\\",\\\"7\\\"],[14,\\\"fill\\\",\\\"#1C274C\\\"],[14,\\\"text-anchor\\\",\\\"middle\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"alignment-baseline\\\",\\\"middle\\\"],[12],[1,\\\"PNG\\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[15,0,[29,[[52,[30,0,[\\\"showCancel\\\"]],\\\"nav-item\\\",\\\"nav-item d-none\\\"]]]],[15,1,[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-li-cancel-action-1\\\"]]],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"button-svg\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"displaySavedCanvas\\\"],[24,\\\"title\\\",\\\"Cancel\\\"],[24,\\\"aria-label\\\",\\\"Cancel\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"onclick\\\",\\\"event.stopPropagation();\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"circle\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"cx\\\",\\\"12\\\"],[14,\\\"cy\\\",\\\"12\\\"],[14,\\\"r\\\",\\\"10\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13.5 9L10.5 12L13.5 15\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[15,0,[29,[[52,[30,0,[\\\"showCancel2\\\"]],\\\"nav-item\\\",\\\"nav-item d-none\\\"]]]],[15,1,[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-li-cancel-action-2\\\"]]],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"button-svg\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"displayFirstSavedCanvas\\\"],[24,\\\"data-hide-cancel-buttons\\\",\\\"1\\\"],[24,\\\"title\\\",\\\"Cancel all\\\"],[24,\\\"aria-label\\\",\\\"Cancel all\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"circle\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"cx\\\",\\\"12\\\"],[14,\\\"cy\\\",\\\"12\\\"],[14,\\\"r\\\",\\\"10\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M15.5 9L12.5 12L15.5 15\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M11.5 9L8.5 12L11.5 15\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[14,\\\"stroke-linejoin\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"button-svg\\\"],[24,\\\"data-action-name\\\",\\\"hideMenu\\\"],[24,\\\"title\\\",\\\"close\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"hideMenuAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"onclick\\\",\\\"event.stopPropagation();\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"circle\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"cx\\\",\\\"12\\\"],[14,\\\"cy\\\",\\\"12\\\"],[14,\\\"r\\\",\\\"10\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M14.5 9.50002L9.5 14.5M9.49998 9.5L14.5 14.5\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,\\\"ul\\\"],[15,0,[29,[[52,[30,0,[\\\"menuFor3D\\\"]],\\\"nav nav-pills text-black pt-2\\\",\\\"nav nav-pills text-black pt-2 d-none\\\"]]]],[15,1,[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-cmd-3d-list\\\"]]],[12],[1,\\\"\\\\n\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"button\\\"],[14,0,\\\"button-img button-rotate d-none d-md-block\\\"],[14,\\\"data-bs-toggle\\\",\\\"collapse\\\"],[14,6,\\\"#collapseRT\\\"],[14,\\\"role\\\",\\\"button\\\"],[14,\\\"aria-expanded\\\",\\\"false\\\"],[14,\\\"aria-controls\\\",\\\"collapseRT\\\"],[12],[1,\\\"\\\\n        RT\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"button\\\"],[14,\\\"role\\\",\\\"button\\\"],[14,0,\\\"button-img button-zoom d-none d-md-block\\\"],[14,\\\"data-bs-toggle\\\",\\\"collapse\\\"],[14,6,\\\"#collapseZoom\\\"],[14,\\\"role\\\",\\\"button\\\"],[14,\\\"aria-expanded\\\",\\\"false\\\"],[14,\\\"aria-controls\\\",\\\"collapseZoom\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n        RT\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,\\\"ul\\\"],[15,0,[29,[[52,[30,0,[\\\"menuFor2D\\\"]],\\\"nav nav-pills text-black pt-2\\\",\\\"nav nav-pills text-black pt-2 d-none\\\"]]]],[15,1,[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-filters-list\\\"]]],[12],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"button-img d-none d-md-block\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-type\\\",\\\"edgeDetectOn\\\"],[24,\\\"data-input-id\\\",\\\"context-menu-input-text\\\"],[24,\\\"data-option-element-id\\\",\\\"item-option\\\"],[24,\\\"data-id\\\",\\\"filter-edge-detect-on\\\"],[24,\\\"data-input-name\\\",\\\"level\\\"],[24,\\\"data-label\\\",\\\"Edge detect On\\\"],[24,\\\"data-level\\\",\\\"50\\\"],[24,\\\"aria-label\\\",\\\"Edge detection On\\\"],[24,\\\"title\\\",\\\"Edge detection on\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"selectAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"onclick\\\",\\\"event.stopPropagation();\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"circle\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"cx\\\",\\\"12\\\"],[14,\\\"cy\\\",\\\"12\\\"],[14,\\\"r\\\",\\\"10\\\"],[14,\\\"fill\\\",\\\"PeachPuff\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"d\\\",\\\"M2 12.5001L3.75159 10.9675C4.66286 10.1702 6.03628 10.2159 6.89249 11.0721L11.1822 15.3618C11.8694 16.0491 12.9512 16.1428 13.7464 15.5839L14.0446 15.3744C15.1888 14.5702 16.7369 14.6634 17.7765 15.599L21 18.5001\\\"],[14,\\\"stroke\\\",\\\"gray\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18.562 2.9354L18.9791 2.5183C19.6702 1.82723 20.7906 1.82723 21.4817 2.5183C22.1728 3.20937 22.1728 4.32981 21.4817 5.02087L21.0646 5.43797M18.562 2.9354C18.562 2.9354 18.6142 3.82172 19.3962 4.60378C20.1783 5.38583 21.0646 5.43797 21.0646 5.43797M18.562 2.9354L14.7275 6.76995C14.4677 7.02968 14.3379 7.15954 14.2262 7.30273C14.0945 7.47163 13.9815 7.65439 13.8894 7.84776C13.8112 8.01169 13.7532 8.18591 13.637 8.53437L13.2651 9.65M21.0646 5.43797L17.23 9.27253C16.9703 9.53225 16.8405 9.66211 16.6973 9.7738C16.5284 9.90554 16.3456 10.0185 16.1522 10.1106C15.9883 10.1888 15.8141 10.2468 15.4656 10.363L14.35 10.7349M14.35 10.7349L13.6281 10.9755C13.4567 11.0327 13.2676 10.988 13.1398 10.8602C13.012 10.7324 12.9673 10.5433 13.0245 10.3719L13.2651 9.65M14.35 10.7349L13.2651 9.65\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"button-img d-none d-md-block\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-type\\\",\\\"edgeDetect\\\"],[24,\\\"data-input-id\\\",\\\"context-menu-input-text\\\"],[24,\\\"data-option-element-id\\\",\\\"item-option\\\"],[24,\\\"data-id\\\",\\\"filter-edge-detect\\\"],[24,\\\"data-input-name\\\",\\\"level\\\"],[24,\\\"data-label\\\",\\\"Edge detect\\\"],[24,\\\"data-level\\\",\\\"50\\\"],[24,\\\"aria-label\\\",\\\"Edge detection\\\"],[24,\\\"title\\\",\\\"Edge detection\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"selectAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"onclick\\\",\\\"event.stopPropagation();\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"circle\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"cx\\\",\\\"12\\\"],[14,\\\"cy\\\",\\\"12\\\"],[14,\\\"r\\\",\\\"10\\\"],[14,\\\"fill\\\",\\\"white\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"d\\\",\\\"M2 12.5001L3.75159 10.9675C4.66286 10.1702 6.03628 10.2159 6.89249 11.0721L11.1822 15.3618C11.8694 16.0491 12.9512 16.1428 13.7464 15.5839L14.0446 15.3744C15.1888 14.5702 16.7369 14.6634 17.7765 15.599L21 18.5001\\\"],[14,\\\"stroke\\\",\\\"black\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18.562 2.9354L18.9791 2.5183C19.6702 1.82723 20.7906 1.82723 21.4817 2.5183C22.1728 3.20937 22.1728 4.32981 21.4817 5.02087L21.0646 5.43797M18.562 2.9354C18.562 2.9354 18.6142 3.82172 19.3962 4.60378C20.1783 5.38583 21.0646 5.43797 21.0646 5.43797M18.562 2.9354L14.7275 6.76995C14.4677 7.02968 14.3379 7.15954 14.2262 7.30273C14.0945 7.47163 13.9815 7.65439 13.8894 7.84776C13.8112 8.01169 13.7532 8.18591 13.637 8.53437L13.2651 9.65M21.0646 5.43797L17.23 9.27253C16.9703 9.53225 16.8405 9.66211 16.6973 9.7738C16.5284 9.90554 16.3456 10.0185 16.1522 10.1106C15.9883 10.1888 15.8141 10.2468 15.4656 10.363L14.35 10.7349M14.35 10.7349L13.6281 10.9755C13.4567 11.0327 13.2676 10.988 13.1398 10.8602C13.012 10.7324 12.9673 10.5433 13.0245 10.3719L13.2651 9.65M14.35 10.7349L13.2651 9.65\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"button-img d-none d-md-block\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-type\\\",\\\"edgeDetectInvert\\\"],[24,\\\"data-input-id\\\",\\\"context-menu-input-text\\\"],[24,\\\"data-option-element-id\\\",\\\"item-option\\\"],[24,\\\"data-id\\\",\\\"filter-edge-detect-invert\\\"],[24,\\\"data-input-name\\\",\\\"level\\\"],[24,\\\"data-label\\\",\\\"Edge detect 2\\\"],[24,\\\"data-level\\\",\\\"50\\\"],[24,\\\"aria-label\\\",\\\"Edge detect (black)\\\"],[24,\\\"title\\\",\\\"Edge detect (black)\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"selectAction\\\"]],[30,1]],null]],null],[12],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"gray\\\"],[14,\\\"onclick\\\",\\\"event.stopPropagation();\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"circle\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"cx\\\",\\\"12\\\"],[14,\\\"cy\\\",\\\"12\\\"],[14,\\\"r\\\",\\\"10\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"d\\\",\\\"M2 12.5001L3.75159 10.9675C4.66286 10.1702 6.03628 10.2159 6.89249 11.0721L11.1822 15.3618C11.8694 16.0491 12.9512 16.1428 13.7464 15.5839L14.0446 15.3744C15.1888 14.5702 16.7369 14.6634 17.7765 15.599L21 18.5001\\\"],[14,\\\"stroke\\\",\\\"white\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[14,\\\"stroke-linecap\\\",\\\"round\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M18.562 2.9354L18.9791 2.5183C19.6702 1.82723 20.7906 1.82723 21.4817 2.5183C22.1728 3.20937 22.1728 4.32981 21.4817 5.02087L21.0646 5.43797M18.562 2.9354C18.562 2.9354 18.6142 3.82172 19.3962 4.60378C20.1783 5.38583 21.0646 5.43797 21.0646 5.43797M18.562 2.9354L14.7275 6.76995C14.4677 7.02968 14.3379 7.15954 14.2262 7.30273C14.0945 7.47163 13.9815 7.65439 13.8894 7.84776C13.8112 8.01169 13.7532 8.18591 13.637 8.53437L13.2651 9.65M21.0646 5.43797L17.23 9.27253C16.9703 9.53225 16.8405 9.66211 16.6973 9.7738C16.5284 9.90554 16.3456 10.0185 16.1522 10.1106C15.9883 10.1888 15.8141 10.2468 15.4656 10.363L14.35 10.7349M14.35 10.7349L13.6281 10.9755C13.4567 11.0327 13.2676 10.988 13.1398 10.8602C13.012 10.7324 12.9673 10.5433 13.0245 10.3719L13.2651 9.65M14.35 10.7349L13.2651 9.65\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"title\\\",\\\"plus\\\"],[24,0,\\\"button-svg d-none d-md-block\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-type\\\",\\\"monoColor\\\"],[24,\\\"data-id\\\",\\\"filter-color-tools\\\"],[24,\\\"data-label\\\",\\\"Mono color\\\"],[24,\\\"data-input-name\\\",\\\"colorTools\\\"],[24,\\\"data-option-element-id\\\",\\\"item-option-color-tools\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"selectAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[10,\\\"svg\\\"],[14,\\\"width\\\",\\\"36px\\\"],[14,\\\"height\\\",\\\"36px\\\"],[14,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[14,\\\"fill\\\",\\\"none\\\"],[14,\\\"onclick\\\",\\\"event.stopPropagation();\\\"],[14,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M9 12C9 12.5523 8.55228 13 8 13C7.44772 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11C8.55228 11 9 11.4477 9 12Z\\\"],[14,\\\"fill\\\",\\\"#1C274C\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M13 12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12C11 11.4477 11.4477 11 12 11C12.5523 11 13 11.4477 13 12Z\\\"],[14,\\\"fill\\\",\\\"#1C274C\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"path\\\"],[14,\\\"d\\\",\\\"M17 12C17 12.5523 16.5523 13 16 13C15.4477 13 15 12.5523 15 12C15 11.4477 15.4477 11 16 11C16.5523 11 17 11.4477 17 12Z\\\"],[14,\\\"fill\\\",\\\"#1C274C\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[10,\\\"circle\\\"],[14,\\\"opacity\\\",\\\"0.5\\\"],[14,\\\"cx\\\",\\\"12\\\"],[14,\\\"cy\\\",\\\"12\\\"],[14,\\\"r\\\",\\\"10\\\"],[14,\\\"stroke\\\",\\\"#1C274C\\\"],[14,\\\"stroke-width\\\",\\\"1.5\\\"],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"button-text d-none\\\"],[24,\\\"data-action-name\\\",\\\"rotation-y\\\"],[24,\\\"data-type\\\",\\\"rotation-y\\\"],[24,\\\"data-input-id\\\",\\\"context-menu-input-text\\\"],[24,\\\"data-option-element-id\\\",\\\"item-option\\\"],[24,\\\"data-id\\\",\\\"rotation-y\\\"],[24,\\\"data-input-name\\\",\\\"ry\\\"],[24,1,\\\"rotation-y\\\"],[24,\\\"data-label\\\",\\\"y\\\"],[24,\\\"data-ry\\\",\\\"1\\\"],[24,\\\"title\\\",\\\"rotation Y\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"selectAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        RY\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,\\\"ul\\\"],[14,0,\\\"nav nav-pills text-black p-2 d-none list-inline\\\"],[15,1,[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-item-option\\\"]]],[12],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"form-label\\\"],[15,\\\"for\\\",[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-context-menu-input-text\\\"]]],[15,1,[29,[\\\"span-label-\\\",[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-context-menu-input-text\\\"]]],[12],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"input\\\"],[14,0,\\\"form-control\\\"],[15,1,[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-context-menu-input-text\\\"]]],[14,\\\"data-name\\\",\\\"level\\\"],[14,4,\\\"text\\\"],[12],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"button-text\\\"],[24,\\\"data-action-name\\\",\\\"ok\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"applySelectedAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        OK\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,0],[14,0,\\\"d-none\\\"],[15,1,[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-item-option-color-tools\\\"]]],[12],[1,\\\"\\\\n    \\\"],[10,\\\"ul\\\"],[14,0,\\\"nav nav-pills text-black p-2 list-inline\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[12],[1,\\\"\\\\n\\\\n        \\\"],[11,\\\"button\\\"],[24,0,\\\"button-img button-black-filter d-none d-md-block\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-type\\\",\\\"gaussian\\\"],[24,\\\"data-input-id\\\",\\\"context-menu-input-text\\\"],[24,\\\"data-option-element-id\\\",\\\"item-option\\\"],[24,\\\"data-id\\\",\\\"gaussian-filter\\\"],[24,\\\"data-input-name\\\",\\\"level\\\"],[24,\\\"data-label\\\",\\\"Gray filter\\\"],[24,\\\"data-level\\\",\\\"5\\\"],[24,\\\"title\\\",\\\"Gray filter\\\"],[24,\\\"title\\\",\\\"Gray filter\\\"],[24,\\\"aria-label\\\",\\\"Gray filter\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"selectAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"button-img button-colors-sepia d-none d-md-block\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-type\\\",\\\"sepia\\\"],[24,\\\"data-input-id\\\",\\\"context-menu-input-text\\\"],[24,\\\"data-option-element-id\\\",\\\"item-option\\\"],[24,\\\"data-id\\\",\\\"filter-sepia\\\"],[24,\\\"data-input-name\\\",\\\"level\\\"],[24,1,\\\"filter-sepia\\\"],[24,\\\"data-label\\\",\\\"Sepia\\\"],[24,\\\"data-level\\\",\\\"100\\\"],[24,\\\"title\\\",\\\"Sepia\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"selectAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[24,0,\\\"button-img button-colors-green-red d-none d-md-block\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-type\\\",\\\"RG\\\"],[24,\\\"title\\\",\\\"Red green\\\"],[24,\\\"aria-label\\\",\\\"Red green\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n          RG\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[24,0,\\\"button-img button-colors-green-blue d-none d-md-block\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-type\\\",\\\"GB\\\"],[24,\\\"aria-label\\\",\\\"Green blue\\\"],[24,\\\"title\\\",\\\"Green blue\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n          GB\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[24,0,\\\"button-img button-colors-red-blue d-none d-md-block\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-type\\\",\\\"RB\\\"],[24,\\\"aria-label\\\",\\\"Red blue\\\"],[24,\\\"title\\\",\\\"Red blue\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n          RB\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"button-img button-hue-rotate d-none d-md-block\\\"],[24,\\\"data-id\\\",\\\"filter-hue-rotate\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-label\\\",\\\"Hue rotate\\\"],[24,\\\"data-input-name\\\",\\\"level\\\"],[24,\\\"data-input-id\\\",\\\"context-menu-input-text\\\"],[24,\\\"data-option-element-id\\\",\\\"item-option\\\"],[24,\\\"data-level\\\",\\\"90\\\"],[24,\\\"data-type\\\",\\\"hue-rotate\\\"],[24,\\\"title\\\",\\\"Hue color rotation\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"selectAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n          HR\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"button-img button-paint d-none d-md-block\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-type\\\",\\\"monoColor\\\"],[24,\\\"data-id\\\",\\\"filter-monocolor\\\"],[24,\\\"data-label\\\",\\\"Mono color\\\"],[24,\\\"data-input-name\\\",\\\"colorHexa\\\"],[24,\\\"data-input-id\\\",\\\"context-menu-input-color\\\"],[24,\\\"data-option-element-id\\\",\\\"item-option-color\\\"],[24,\\\"data-color-hexa\\\",\\\"#ffffff\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"selectAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n          1C\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[24,0,\\\"button-img button-invert d-none d-md-block\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-type\\\",\\\"invert\\\"],[24,\\\"title\\\",\\\"Invert colors\\\"],[24,\\\"aria-label\\\",\\\"Invert colors\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"button-text d-none d-md-block\\\"],[24,\\\"data-action-name\\\",\\\"filter\\\"],[24,\\\"data-type\\\",\\\"white-balance\\\"],[24,\\\"data-input-id\\\",\\\"context-menu-input-text\\\"],[24,\\\"data-option-element-id\\\",\\\"item-option\\\"],[24,\\\"data-id\\\",\\\"filter-white-balance\\\"],[24,\\\"data-input-name\\\",\\\"level\\\"],[24,1,\\\"filter-white-balance\\\"],[24,\\\"data-label\\\",\\\"wb\\\"],[24,\\\"data-level\\\",\\\"50\\\"],[24,\\\"title\\\",\\\"White balance\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"selectAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n          WB\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"li\\\"],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[24,0,\\\"button-text\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"displayGrid\\\"],[24,\\\"title\\\",\\\"Grid\\\"],[24,\\\"aria-label\\\",\\\"Grid\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n          GRID\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,\\\"ul\\\"],[14,0,\\\"nav nav-pills text-black p-2 d-none list-inline\\\"],[15,1,[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-item-option-color\\\"]]],[12],[1,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[14,0,\\\"form-label\\\"],[15,\\\"for\\\",[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-li-context-menu-input-color\\\"]]],[15,1,[29,[\\\"span-label-\\\",[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-context-menu-input-color\\\"]]],[12],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[15,1,[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-li-context-menu-input-color\\\"]]],[12],[1,\\\"\\\\n      \\\"],[10,\\\"input\\\"],[14,3,\\\"context-menu-input-color\\\"],[15,1,[29,[[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],\\\"-context-menu-input-color\\\"]]],[14,2,\\\"#8f1ea8\\\"],[14,0,\\\"form-control form-control-color\\\"],[14,4,\\\"color\\\"],[12],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item list-inline-item\\\"],[12],[1,\\\"\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"nav-link\\\"],[24,\\\"data-action-name\\\",\\\"ok\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"applySelectedAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        OK\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"collapse\\\"],[14,1,\\\"collapseZoom\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"m-2 p-2\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"mb-3\\\"],[12],[1,\\\"\\\\n        \\\"],[10,2],[14,0,\\\"mb-3\\\"],[12],[1,\\\"Position\\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,16],null,[[\\\"@value\\\",\\\"@min\\\",\\\"@max\\\",\\\"@field\\\",\\\"@title\\\",\\\"@step\\\",\\\"@typeRange\\\",\\\"@componentID\\\",\\\"@plusMinusButtons\\\"],[1,-12,20,\\\"position3dX\\\",\\\"X\\\",\\\"1\\\",true,[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],false]],null],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,16],null,[[\\\"@value\\\",\\\"@min\\\",\\\"@max\\\",\\\"@field\\\",\\\"@title\\\",\\\"@step\\\",\\\"@typeRange\\\",\\\"@componentID\\\",\\\"@plusMinusButtons\\\"],[1,-12,20,\\\"position3dY\\\",\\\"Y\\\",\\\"1\\\",true,[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],false]],null],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,16],null,[[\\\"@value\\\",\\\"@min\\\",\\\"@max\\\",\\\"@field\\\",\\\"@title\\\",\\\"@step\\\",\\\"@typeRange\\\",\\\"@componentID\\\",\\\"@plusMinusButtons\\\"],[1,-12,20,\\\"position3dZ\\\",\\\"Z\\\",\\\"1\\\",true,[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],false]],null],[1,\\\"\\\\n\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"input-group mb-3\\\"],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"btn btn-primary text-white\\\"],[24,\\\"data-action-name\\\",\\\"toggleZoomIn\\\"],[24,\\\"title\\\",\\\"zoom in\\\"],[24,\\\"aria-label\\\",\\\"zoom in\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n          Auto zoom\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"collapse\\\"],[14,1,\\\"collapseRT\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"m-2 p-2\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"mb-3\\\"],[12],[1,\\\"\\\\n        \\\"],[10,2],[14,0,\\\"mb-3\\\"],[12],[1,\\\"Rotate\\\"],[13],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,16],null,[[\\\"@value\\\",\\\"@min\\\",\\\"@max\\\",\\\"@field\\\",\\\"@title\\\",\\\"@step\\\",\\\"@typeRange\\\",\\\"@componentID\\\",\\\"@plusMinusButtons\\\"],[1,-20,20,\\\"rotate3dX\\\",\\\"X\\\",\\\"0.1\\\",true,[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],false]],null],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,16],null,[[\\\"@value\\\",\\\"@min\\\",\\\"@max\\\",\\\"@field\\\",\\\"@title\\\",\\\"@step\\\",\\\"@typeRange\\\",\\\"@componentID\\\",\\\"@plusMinusButtons\\\"],[1,-20,20,\\\"rotate3dY\\\",\\\"Y\\\",\\\"0.1\\\",true,[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],false]],null],[1,\\\"\\\\n\\\\n        \\\"],[8,[39,16],null,[[\\\"@value\\\",\\\"@min\\\",\\\"@max\\\",\\\"@field\\\",\\\"@title\\\",\\\"@step\\\",\\\"@typeRange\\\",\\\"@componentID\\\",\\\"@plusMinusButtons\\\"],[1,-20,20,\\\"rotate3dZ\\\",\\\"Z\\\",\\\"0.1\\\",true,[30,0,[\\\"canvasParams\\\",\\\"idElementMenu\\\"]],false]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[11,\\\"button\\\"],[24,0,\\\"btn btn-primary text-white\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"data-action-name\\\",\\\"toggleAutoRotate\\\"],[24,\\\"title\\\",\\\"rotation\\\"],[24,\\\"aria-label\\\",\\\"rotation\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"menuToComponentAction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n        auto\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@event\\\"],false,[\\\"div\\\",\\\"if\\\",\\\"ul\\\",\\\"li\\\",\\\"button\\\",\\\"tr\\\",\\\"on\\\",\\\"fn\\\",\\\"svg\\\",\\\"circle\\\",\\\"path\\\",\\\"g\\\",\\\"text\\\",\\\"label\\\",\\\"input\\\",\\\"p\\\",\\\"input-number-plus-minus\\\"]]\",\n    \"moduleName\": \"common-components/components/form/canvas-menu.hbs\",\n    \"isStrictMode\": false\n  });\n  let CanvasMenu = _exports.default = (_class = class CanvasMenu extends _formComponent.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _defineProperty(this, \"itemID\", \"\");\n      _defineProperty(this, \"itemData\", null);\n      _defineProperty(this, \"actionOk\", false);\n      _defineProperty(this, \"idInstance\", \"\");\n      _defineProperty(this, \"canvasParams\", {});\n      _initializerDefineProperty(this, \"actionsHandler\", _descriptor, this);\n      _initializerDefineProperty(this, \"menuFor3D\", _descriptor2, this);\n      _initializerDefineProperty(this, \"menuFor2D\", _descriptor3, this);\n      _initializerDefineProperty(this, \"showCancel\", _descriptor4, this);\n      _initializerDefineProperty(this, \"showCancel2\", _descriptor5, this);\n      _defineProperty(this, \"menuElement\", null);\n      this.canvasParams = args.canvasParams;\n      if (this.canvasParams) {\n        // set id\n        this.id = this.canvasParams.idElementMenu;\n        this.componentActionHandler = event => {\n          this.componentAction(event.detail.actionName, event.detail);\n        };\n        this.actionsHandler.eventTarget.addEventListener(`componentAction${this.id}`, this.componentActionHandler);\n      }\n    }\n    get showMenu() {\n      // update from parent\n      if (this.canvasParams) {\n        this.menuElement = document.getElementById(this.args.canvasParams.idElementMenu);\n        if (this.args.showMenu === true) {\n          // show menu\n          this.menuFor3D = this.canvasParams.enable3D;\n          this.menuFor2D = this.menuFor3D === false;\n          if (this.menuElement != null) {\n            if (this.actionsHandler.idInstance !== this.canvasParams.instanceId) {\n              this.hideCancelButtons();\n            }\n            this.menuElement.style.top = `${this.args.canvasParams.menuPosition[1]}px`;\n            this.menuElement.style.left = `${this.args.canvasParams.menuPosition[0]}px`;\n          }\n        }\n        return this.args.showMenu;\n      }\n      return false;\n    }\n    get newData() {\n      return this.args.newData;\n    }\n    componentAction(actionName, data) {\n      this.actionsHandler.displayLabel(data.id, data.value, this.id);\n      this.args.actionToCanvas(data);\n    }\n    handleAction() {\n      // Invoke the callback function to send the action to the parent component\n      this.args.onAction();\n    }\n    hideMenuAction() {\n      this.hideMenu();\n    }\n    menuToComponentAction(value, e) {\n      if (this.itemData !== null) {\n        // hide input\n        this.actionsHandler.toggleHTMLElement(this.getElementId(this.itemData.optionElementId), true);\n        this.itemData = null;\n      }\n      this.itemID = \"\";\n      const itemData = this.actionsHandler.handleDataSet(e.target.dataset);\n      if (itemData.hideCancelButtons === \"1\") {\n        this.hideCancelButtons();\n      } else {\n        this.displayCancelButtons();\n      }\n      if (itemData.closeMenu === \"1\") {\n        this.hideMenu();\n      }\n      if (this.args.actionToCanvas(itemData) === false) {\n        this.hideMenu();\n      }\n    }\n    selectAction(value, e) {\n      if (this.itemData) {\n        this.actionsHandler.toggleHTMLElement(this.getElementId(this.itemData.optionElementId), true);\n      }\n      this.itemData = this.actionsHandler.handleDataSet(e.target.dataset);\n      if (this.itemData.id === this.itemID) {\n        this.actionsHandler.toggleHTMLElement(this.getElementId(this.itemData.optionElementId), true);\n        this.itemID = \"\";\n        this.itemData = null;\n        return false;\n      }\n      if (typeof this.itemData.optionElementId === \"string\") {\n        // show input\n        this.actionsHandler.toggleHTMLElement(this.getElementId(this.itemData.optionElementId));\n        if (typeof this.itemData.inputId === \"string\") {\n          this.actionsHandler.displayLabel(this.getElementId(this.itemData.inputId), this.itemData.label);\n          this.actionsHandler.displayInputValue(this.getElementId(this.itemData.inputId), this.itemData[this.itemData.inputName]);\n        }\n      }\n      this.itemID = this.itemData.id;\n      return true;\n    }\n    applySelectedAction() {\n      if (this.itemData) {\n        if (typeof this.itemData.inputId === \"string\" && typeof this.itemData.inputName === \"string\") {\n          const inputElement = document.getElementById(this.getElementId(this.itemData.inputId));\n          if (inputElement !== null && inputElement.value !== \"\") {\n            // set input value\n            this.itemData[this.itemData.inputName] = inputElement.value;\n          }\n        }\n        this.displayCancelButtons();\n        if (this.args.actionToCanvas(this.itemData) === false) {\n          this.hideMenu();\n        }\n      }\n    }\n    changeValue(value, e) {\n      const itemData = this.actionsHandler.handleDataSet(e.target.dataset);\n      const inputId = itemData.inputId;\n      const inputName = itemData.inputName;\n      if (typeof inputId === \"string\" && typeof inputName === \"string\") {\n        const inputElement = document.getElementById(inputId);\n        if (inputElement !== null && inputElement.value !== \"\") {\n          // set input value\n          itemData[inputName] = inputElement.value;\n        }\n      }\n      this.args.actionToCanvas(itemData);\n    }\n    displayCancelButtons() {\n      // show\n      this.showCancel = true;\n      if (this.actionOk) {\n        this.showCancel2 = true;\n      }\n      this.actionOk = true;\n    }\n    hideCancelButtons() {\n      // hide\n      this.showCancel = false;\n      this.showCancel2 = false;\n      this.actionOk = false;\n    }\n    getElementId(id) {\n      return `${this.canvasParams.idElementMenu}-${id}`;\n    }\n    hideMenu() {\n      this.args.actionToCanvas({\n        actionName: \"hideMenu\"\n      });\n    }\n    hideAllMenus() {\n      const elements = document.getElementsByClassName(\"canvas-menu\");\n      if (elements !== null) {\n        for (let j = 0; j < elements.length; j++) {\n          this.actionsHandler.setHtmlElementVisibility(elements[j].id, false);\n        }\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"actionsHandler\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"menuFor3D\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"menuFor2D\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"showCancel\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"showCancel2\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"handleAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hideMenuAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"hideMenuAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"menuToComponentAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"menuToComponentAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"selectAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"selectAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applySelectedAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"applySelectedAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"changeValue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changeValue\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, CanvasMenu);\n});","define(\"common-components/components/form/form-component\", [\"exports\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\"], function (_exports, _component, _service, _object, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let FormComponent = _exports.default = (_class = class FormComponent extends _component.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"actionsHandler\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n      _defineProperty(this, \"class\", \"\");\n      _defineProperty(this, \"id\", \"\");\n      _defineProperty(this, \"componentLabelID\", \"\");\n      _initializerDefineProperty(this, \"componentData\", _descriptor3, this);\n      this.componentData = [];\n      if (args.componentData) {\n        this.componentData = args.componentData;\n      }\n      this.actionsHandler.activeForm = true;\n      this.componentID = args.componentID;\n      if (typeof this.componentID !== \"string\") {\n        this.componentID = \"componentID-1\";\n      }\n      this.id = `${this.componentID}-form-component`;\n      this.componentLabelID = `${this.componentID}-span-label-`;\n      this.activateRouteChange();\n    }\n    activateRouteChange() {\n      this.router.on('routeDidChange', transition => {\n        if (transition.to.attributes) {\n          this.componentData = transition.to.attributes;\n        }\n      });\n    }\n    componentChangeInputValue(eValue, e) {\n      if (e.target && e.type && e.target.id) {\n        const data = this.actionsHandler.handleDataSet(e.target.dataset);\n        const id = data['id'];\n        this.actionsHandler.displayLabel(id, parseFloat(e.target.value), this.componentID);\n        this.actionsHandler.componentEventAction(e, e.target.value, this.componentID);\n      }\n    }\n    restartAnimation() {\n      this.actionsHandler.componentDataAction({\n        \"parentActionName\": \"reload\"\n      }, this.componentID);\n    }\n    startAnimation() {\n      this.actionsHandler.componentDataAction({\n        \"parentActionName\": \"toggleAnimation\"\n      }, this.componentID);\n    }\n    componentExecAction(eValue, e) {\n      this.actionsHandler.componentEventAction(e, \"\", this.componentID);\n    }\n    formAction(eValue, e) {\n      const data = this.actionsHandler.handleDataSet(e.target.dataset);\n      if (typeof data.actionName === \"string\") {\n        switch (data.actionName) {\n          case \"menuA\":\n            break;\n        }\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"actionsHandler\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"componentData\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"componentChangeInputValue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"componentChangeInputValue\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"restartAnimation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"restartAnimation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"startAnimation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"startAnimation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"componentExecAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"componentExecAction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"formAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"formAction\"), _class.prototype), _class);\n});","define(\"common-components/components/form/input-check-box\", [\"exports\", \"@ember/component\", \"common-components/components/form/input-master\", \"@ember/template-factory\"], function (_exports, _component, _inputMaster, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div {{did-insert this.notifyReady}}>\n    <label class=\"toggle\">\n      <input\n        class=\"toggle-checkbox\"\n        type=\"checkbox\"\n        name={{this.field}}\n        id={{this.inputId}}\n        title={{this.title}}\n        {{on \"change\" (fn this.changeCheckValue)}}\n      />\n      <div class=\"toggle-switch\"></div>\n      <span class=\"toggle-label\">{{this.title}}</span>\n    </label>\n  </div>\n  */\n  {\n    \"id\": \"+yeva5ez\",\n    \"block\": \"[[[11,0],[4,[38,1],[[30,0,[\\\"notifyReady\\\"]]],null],[12],[1,\\\"\\\\n  \\\"],[10,\\\"label\\\"],[14,0,\\\"toggle\\\"],[12],[1,\\\"\\\\n    \\\"],[11,\\\"input\\\"],[24,0,\\\"toggle-checkbox\\\"],[16,3,[30,0,[\\\"field\\\"]]],[16,1,[30,0,[\\\"inputId\\\"]]],[16,\\\"title\\\",[30,0,[\\\"title\\\"]]],[24,4,\\\"checkbox\\\"],[4,[38,4],[\\\"change\\\",[28,[37,5],[[30,0,[\\\"changeCheckValue\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"toggle-switch\\\"],[12],[13],[1,\\\"\\\\n    \\\"],[10,1],[14,0,\\\"toggle-label\\\"],[12],[1,[30,0,[\\\"title\\\"]]],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"div\\\",\\\"did-insert\\\",\\\"label\\\",\\\"input\\\",\\\"on\\\",\\\"fn\\\",\\\"span\\\"]]\",\n    \"moduleName\": \"common-components/components/form/input-check-box.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, class extends _inputMaster.default {});\n});","define(\"common-components/components/form/input-master\", [\"exports\", \"common-components/components/form/form-component\", \"@ember/object\", \"@glimmer/tracking\"], function (_exports, _formComponent, _object, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let InputMaster = _exports.default = (_class = class InputMaster extends _formComponent.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _defineProperty(this, \"value\", 0);\n      _defineProperty(this, \"min\", 0);\n      _defineProperty(this, \"max\", 0);\n      _defineProperty(this, \"field\", \"\");\n      _defineProperty(this, \"step\", 0);\n      _defineProperty(this, \"title\", \"\");\n      _defineProperty(this, \"componentID\", \"\");\n      _defineProperty(this, \"hasInitialValue\", false);\n      _defineProperty(this, \"headerInfo\", \"\");\n      _initializerDefineProperty(this, \"typeRange\", _descriptor, this);\n      _defineProperty(this, \"hasHeader\", false);\n      _defineProperty(this, \"plusMinusButtons\", false);\n      _initializerDefineProperty(this, \"inputNumberClass\", _descriptor2, this);\n      this.value = args.value;\n      this.hasInitialValue = typeof args.value !== \"undefined\";\n      this.min = parseFloat(args.min);\n      this.max = parseFloat(args.max);\n      this.componentID = args.componentID;\n      this.field = args.field;\n      this.step = parseFloat(args.step);\n      if (typeof this.step === \"undefined\") {\n        this.step = 1;\n      }\n      if (typeof this.min === \"undefined\") {\n        this.min = 0;\n      }\n      this.title = args.title;\n      this.typeRange = args.typeRange;\n      this.plusMinusButtons = args.plusMinusButtons;\n      this.oklabel = args.oklabel;\n      this.headerInfo = args.headerInfo;\n      this.hasHeader = args.hasHeader;\n      this.inputId = `${this.componentID}-${this.field}`;\n      this.parentID = this.getParentID();\n    }\n    notifyReady() {}\n    getParentID() {\n      return this.componentID;\n    }\n    changeValue() {\n      const currentValue = this.actionsHandler.getInputValue(this.inputId);\n      if (currentValue != null && currentValue != \"\") {\n        const value = parseFloat(currentValue);\n        if (value <= this.max) {\n          // trigger change action\n          this.actionsHandler.componentValueAction(`change_${this.field}`, value, this.parentID, this.field);\n          this.inputNumberClass = \"\";\n        } else {\n          this.inputNumberClass = \"text-red bg-orange\";\n        }\n      }\n    }\n    changeNumFunction() {\n      this.changeValue();\n    }\n    changeRangeValue() {\n      this.changeValue();\n    }\n    changeCheckValue() {\n      const inputElement = document.getElementById(this.inputId);\n      if (inputElement) {\n        this.actionsHandler.componentValueAction(`change_${this.field}`, inputElement.checked ? 1 : 0, this.parentID, this.field);\n      }\n    }\n    plusFunction() {\n      const currentValue = this.actionsHandler.getInputValue(this.inputId);\n      if (currentValue != null && currentValue != \"\") {\n        let value = Math.round(parseFloat(currentValue) * 1000000) / 1000000;\n        if (value + this.step <= this.max) {\n          value = value + this.step;\n          value = Math.round(value * 100000) / 100000;\n          this.actionsHandler.displayInputValue(this.inputId, value);\n          this.actionsHandler.displayLabel(this.field, value, this.componentID);\n          this.actionsHandler.componentValueAction(`change_${this.field}`, value, this.parentID, this.field);\n        }\n      }\n    }\n    minusFunction() {\n      const currentValue = this.actionsHandler.getInputValue(this.inputId);\n      if (currentValue != null && currentValue != \"\") {\n        let value = Math.round(parseFloat(currentValue) * 100000) / 100000;\n        if (value - this.step >= this.min) {\n          value = value - this.step;\n          value = Math.round(value * 100000) / 100000;\n          this.actionsHandler.displayInputValue(this.inputId, value);\n          this.actionsHandler.displayLabel(this.field, value, this.componentID);\n          this.actionsHandler.componentValueAction(`change_${this.field}`, value, this.parentID, this.field);\n        }\n      }\n    }\n    submitInputText() {\n      const currentValue = this.actionsHandler.getInputValue(this.inputId);\n      if (currentValue != null) {\n        const value = currentValue;\n        this.actionsHandler.componentValueAction(`change_${this.field}`, value, this.parentID, this.field);\n      }\n    }\n    contextMenuPlusFunction(eValue, event) {\n      const contextMenu = document.getElementById(`${this.inputId}-context-menu`);\n      contextMenu.style.top = `${event.offsetX}px`;\n      contextMenu.style.left = `${event.offsetY}px`;\n      contextMenu.classList.remove('hidden');\n      event.preventDefault();\n    }\n    optionSelected(option) {\n      if (option == \"switch-number\") {\n        const inputElement = document.getElementById(this.inputId);\n        if (inputElement) {\n          const value = Math.round(parseFloat(inputElement.value) * 100000) / 100000;\n          this.typeRange = !this.typeRange;\n          setTimeout(() => {\n            this.actionsHandler.displayInputValue(this.inputId, value);\n            this.actionsHandler.displayLabel(this.field, value, this.componentID);\n          }, 300);\n        }\n      }\n\n      // Hide the context menu after selection\n      const contextMenu = document.getElementById(`${this.inputId}-context-menu`);\n      contextMenu.classList.add('hidden');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"typeRange\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"inputNumberClass\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return \"\";\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"notifyReady\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"notifyReady\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"changeNumFunction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changeNumFunction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"changeRangeValue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changeRangeValue\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"changeCheckValue\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"changeCheckValue\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"plusFunction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"plusFunction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"minusFunction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"minusFunction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"submitInputText\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"submitInputText\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"contextMenuPlusFunction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"contextMenuPlusFunction\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"optionSelected\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"optionSelected\"), _class.prototype), _class);\n});","define(\"common-components/components/form/input-number-plus-minus\", [\"exports\", \"@ember/component\", \"common-components/components/form/input-master\", \"@ember/template-factory\"], function (_exports, _component, _inputMaster, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div {{did-insert this.notifyReady}}>\n    <div class=\"{{this.inputNumberClass}}\">\n      {{#if this.typeRange}}\n        <div class=\"text-center fs-90 mb-2\">\n          {{#if this.hasHeader}}\n            <span>{{this.headerInfo}}</span>\n            :\n          {{/if}}\n          <span id=\"{{this.componentLabelID}}{{this.field}}\">\n            {{this.value}}\n          </span>\n        </div>\n      {{else}}\n        {{#if this.hasHeader}}\n          <div class=\"text-center\">{{this.headerInfo}}</div>\n        {{/if}}\n      {{/if}}\n  \n      <div class=\"input-group\">\n        {{#if this.title}}\n          <div class=\"input-group-prepend\">\n            <div class=\"input-group-text border-0 bg-transparent min-width-6\">\n              <label for={{this.inputId}}>\n                <span>\n                  {{this.title}}\n                </span>\n              </label>\n            </div>\n          </div>\n        {{/if}}\n        {{#if this.plusMinusButtons}}\n          <div class=\"input-group-prepend\">\n            <div class=\"input-group-text div-btn-plus-minus\">\n              <button\n                type=\"button\"\n                role=\"button\"\n                title=\"- {{this.title}}\"\n                aria-label=\"Minus\"\n                id=\"{{this.inputId}}-btn-minus\"\n                class=\"text-center btn-plus-minus btn btn-sm\"\n                {{on \"click\" (fn this.minusFunction)}}\n              >\n                -\n              </button>\n            </div>\n          </div>\n        {{/if}}\n  \n        {{#if this.typeRange}}\n          <input\n            type=\"range\"\n            id={{this.inputId}}\n            class=\"form-control text-primary border-1-light form-range\"\n            value={{this.value}}\n            min={{this.min}}\n            max={{this.max}}\n            step={{this.step}}\n            name={{this.field}}\n            title={{this.title}}\n            {{on \"change\" (fn this.changeRangeValue)}}\n          />\n        {{else}}\n          <input\n            type=\"number\"\n            id={{this.inputId}}\n            class=\"form-control text-primary border-1-light input-number\"\n            pattern=\"[0-9,.]+\"\n            title={{this.title}}\n            value={{this.value}}\n            min={{this.min}}\n            max={{this.max}}\n            step={{this.step}}\n            name={{this.field}}\n            {{on \"change\" (fn this.changeNumFunction)}}\n          />\n        {{/if}}\n  \n        {{#if this.plusMinusButtons}}\n          <div class=\"input-group-prepend\">\n            <div class=\"input-group-text div-btn-plus-minus\">\n              <button\n                type=\"button\"\n                role=\"button\"\n                aria-label=\"Plus\"\n                id=\"{{this.inputId}}-btn-plus\"\n                class=\"text-center btn-plus-minus btn btn-sm\"\n                {{on \"click\" (fn this.plusFunction)}}\n                {{on \"contextmenu\" (fn this.contextMenuPlusFunction @event)}}\n              >\n                +\n              </button>\n              <div id=\"{{this.inputId}}-context-menu\" class=\"context-menu hidden\">\n                <button\n                  role=\"button\"\n                  type=\"button\"\n                  class=\"btn btn-sm\"\n                  {{action \"optionSelected\" \"switch-number\"}}\n                >number / range</button>\n              </div>\n            </div>\n          </div>\n        {{/if}}\n      </div>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"R6/XMn3j\",\n    \"block\": \"[[[11,0],[4,[38,1],[[30,0,[\\\"notifyReady\\\"]]],null],[12],[1,\\\"\\\\n  \\\"],[10,0],[15,0,[29,[[30,0,[\\\"inputNumberClass\\\"]]]]],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"typeRange\\\"]],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"text-center fs-90 mb-2\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"hasHeader\\\"]],[[[1,\\\"          \\\"],[10,1],[12],[1,[30,0,[\\\"headerInfo\\\"]]],[13],[1,\\\"\\\\n          :\\\\n\\\"]],[]],null],[1,\\\"        \\\"],[10,1],[15,1,[29,[[30,0,[\\\"componentLabelID\\\"]],[30,0,[\\\"field\\\"]]]]],[12],[1,\\\"\\\\n          \\\"],[1,[30,0,[\\\"value\\\"]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"hasHeader\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"text-center\\\"],[12],[1,[30,0,[\\\"headerInfo\\\"]]],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"input-group\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"title\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"input-group-prepend\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"input-group-text border-0 bg-transparent min-width-6\\\"],[12],[1,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[30,0,[\\\"inputId\\\"]]],[12],[1,\\\"\\\\n              \\\"],[10,1],[12],[1,\\\"\\\\n                \\\"],[1,[30,0,[\\\"title\\\"]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[41,[30,0,[\\\"plusMinusButtons\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"input-group-prepend\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"input-group-text div-btn-plus-minus\\\"],[12],[1,\\\"\\\\n            \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[16,\\\"title\\\",[29,[\\\"- \\\",[30,0,[\\\"title\\\"]]]]],[24,\\\"aria-label\\\",\\\"Minus\\\"],[16,1,[29,[[30,0,[\\\"inputId\\\"]],\\\"-btn-minus\\\"]]],[24,0,\\\"text-center btn-plus-minus btn btn-sm\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"minusFunction\\\"]]],null]],null],[12],[1,\\\"\\\\n              -\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"typeRange\\\"]],[[[1,\\\"        \\\"],[11,\\\"input\\\"],[16,1,[30,0,[\\\"inputId\\\"]]],[24,0,\\\"form-control text-primary border-1-light form-range\\\"],[16,2,[30,0,[\\\"value\\\"]]],[16,\\\"min\\\",[30,0,[\\\"min\\\"]]],[16,\\\"max\\\",[30,0,[\\\"max\\\"]]],[16,\\\"step\\\",[30,0,[\\\"step\\\"]]],[16,3,[30,0,[\\\"field\\\"]]],[16,\\\"title\\\",[30,0,[\\\"title\\\"]]],[24,4,\\\"range\\\"],[4,[38,6],[\\\"change\\\",[28,[37,7],[[30,0,[\\\"changeRangeValue\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[11,\\\"input\\\"],[16,1,[30,0,[\\\"inputId\\\"]]],[24,0,\\\"form-control text-primary border-1-light input-number\\\"],[24,\\\"pattern\\\",\\\"[0-9,.]+\\\"],[16,\\\"title\\\",[30,0,[\\\"title\\\"]]],[16,2,[30,0,[\\\"value\\\"]]],[16,\\\"min\\\",[30,0,[\\\"min\\\"]]],[16,\\\"max\\\",[30,0,[\\\"max\\\"]]],[16,\\\"step\\\",[30,0,[\\\"step\\\"]]],[16,3,[30,0,[\\\"field\\\"]]],[24,4,\\\"number\\\"],[4,[38,6],[\\\"change\\\",[28,[37,7],[[30,0,[\\\"changeNumFunction\\\"]]],null]],null],[12],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"plusMinusButtons\\\"]],[[[1,\\\"        \\\"],[10,0],[14,0,\\\"input-group-prepend\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"input-group-text div-btn-plus-minus\\\"],[12],[1,\\\"\\\\n            \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,\\\"aria-label\\\",\\\"Plus\\\"],[16,1,[29,[[30,0,[\\\"inputId\\\"]],\\\"-btn-plus\\\"]]],[24,0,\\\"text-center btn-plus-minus btn btn-sm\\\"],[24,4,\\\"button\\\"],[4,[38,6],[\\\"click\\\",[28,[37,7],[[30,0,[\\\"plusFunction\\\"]]],null]],null],[4,[38,6],[\\\"contextmenu\\\",[28,[37,7],[[30,0,[\\\"contextMenuPlusFunction\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n              +\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[15,1,[29,[[30,0,[\\\"inputId\\\"]],\\\"-context-menu\\\"]]],[14,0,\\\"context-menu hidden\\\"],[12],[1,\\\"\\\\n              \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"btn btn-sm\\\"],[24,4,\\\"button\\\"],[4,[38,9],[[30,0],\\\"optionSelected\\\",\\\"switch-number\\\"],null],[12],[1,\\\"number / range\\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@event\\\"],false,[\\\"div\\\",\\\"did-insert\\\",\\\"if\\\",\\\"span\\\",\\\"label\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\",\\\"input\\\",\\\"action\\\"]]\",\n    \"moduleName\": \"common-components/components/form/input-number-plus-minus.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, class extends _inputMaster.default {});\n});","define(\"common-components/components/form/input-text\", [\"exports\", \"@ember/component\", \"common-components/components/form/input-master\", \"@ember/template-factory\"], function (_exports, _component, _inputMaster, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div {{did-insert this.notifyReady}}>\n    <div class=\"center\">\n      <div class=\"input-group\">\n        <div class=\"input-group-prepend\">\n          <div class=\"input-group-text bg-black text-white\">\n            <label\n              class={{this.labelstyle}}\n              for=\"{{this.componentID}}-{{this.field}}\"\n            >\n              {{this.title}}\n            </label>\n          </div>\n        </div>\n        <input\n          type=\"text\"\n          id=\"{{this.componentID}}-{{this.field}}\"\n          class=\"form-control text-primary input-text\"\n          value={{this.value}}\n          name={{this.field}}\n          placeholder=\"{{this.title}}\"\n          title=\"{{this.title}}\"\n          \n        />\n        <div class=\"input-group-append\">\n          <button\n            type=\"button\"\n            role=\"button\"\n            class=\"text-center form-control btn-list-page btn btn-outline-secondary\"\n            \n            data-action-name={{this.actionName}}\n            {{on \"click\" (fn this.submitInputText @event)}}\n          >\n            {{this.oklabel}}\n          </button>\n        </div>\n      </div>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"XLxSTV1e\",\n    \"block\": \"[[[11,0],[4,[38,1],[[30,0,[\\\"notifyReady\\\"]]],null],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"center\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"input-group\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"input-group-prepend\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"input-group-text bg-black text-white\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[15,0,[30,0,[\\\"labelstyle\\\"]]],[15,\\\"for\\\",[29,[[30,0,[\\\"componentID\\\"]],\\\"-\\\",[30,0,[\\\"field\\\"]]]]],[12],[1,\\\"\\\\n            \\\"],[1,[30,0,[\\\"title\\\"]]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"input\\\"],[15,1,[29,[[30,0,[\\\"componentID\\\"]],\\\"-\\\",[30,0,[\\\"field\\\"]]]]],[14,0,\\\"form-control text-primary input-text\\\"],[15,2,[30,0,[\\\"value\\\"]]],[15,3,[30,0,[\\\"field\\\"]]],[15,\\\"placeholder\\\",[29,[[30,0,[\\\"title\\\"]]]]],[15,\\\"title\\\",[29,[[30,0,[\\\"title\\\"]]]]],[14,4,\\\"text\\\"],[12],[13],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"input-group-append\\\"],[12],[1,\\\"\\\\n        \\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"text-center form-control btn-list-page btn btn-outline-secondary\\\"],[16,\\\"data-action-name\\\",[30,0,[\\\"actionName\\\"]]],[24,4,\\\"button\\\"],[4,[38,5],[\\\"click\\\",[28,[37,6],[[30,0,[\\\"submitInputText\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n          \\\"],[1,[30,0,[\\\"oklabel\\\"]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@event\\\"],false,[\\\"div\\\",\\\"did-insert\\\",\\\"label\\\",\\\"input\\\",\\\"button\\\",\\\"on\\\",\\\"fn\\\"]]\",\n    \"moduleName\": \"common-components/components/form/input-text.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, class extends _inputMaster.default {});\n});","define(\"common-components/components/form/tabbed-form\", [\"exports\", \"common-components/components/form/form-component\", \"@ember/object\", \"@glimmer/tracking\"], function (_exports, _formComponent, _object, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let TabbedForm = _exports.default = (_class = class TabbedForm extends _formComponent.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"openMenuA\", _descriptor, this);\n      _initializerDefineProperty(this, \"openMenuB\", _descriptor2, this);\n      _initializerDefineProperty(this, \"openMenuC\", _descriptor3, this);\n      _initializerDefineProperty(this, \"openMenuD\", _descriptor4, this);\n      this.openMenuA = true;\n    }\n    tabbedAction(eValue, e) {\n      const data = this.actionsHandler.handleDataSet(e.target.dataset);\n      if (typeof data.actionName === \"string\") {\n        switch (data.actionName) {\n          case \"menuA\":\n            this.menuA();\n            break;\n          case \"menuB\":\n            this.menuB();\n            break;\n          case \"menuC\":\n            this.menuC();\n            break;\n          case \"menuD\":\n            this.menuD();\n            break;\n        }\n      }\n    }\n    menuA() {\n      this.openMenuA = this.openMenuA ? false : true;\n      this.openMenuB = false;\n      this.openMenuC = false;\n      this.openMenuD = false;\n    }\n    menuB() {\n      this.openMenuB = this.openMenuB ? false : true;\n      this.openMenuA = false;\n      this.openMenuC = false;\n      this.openMenuD = false;\n    }\n    menuC() {\n      this.openMenuC = this.openMenuC ? false : true;\n      this.openMenuB = false;\n      if (this.openMenuA) {\n        this.openMenuA = false;\n      } else if (this.openMenuD) {\n        this.openMenuD = false;\n      }\n    }\n    menuD() {\n      this.openMenuD = this.openMenuD ? false : true;\n      this.openMenuA = false;\n      this.openMenuB = false;\n      this.openMenuC = false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"openMenuA\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"openMenuB\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"openMenuC\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"openMenuD\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"tabbedAction\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"tabbedAction\"), _class.prototype), _class);\n});","define(\"common-components/helpers/tr\", [\"exports\", \"@ember/component/helper\", \"@ember/service\"], function (_exports, _helper, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor; // app/helpers/translate.js\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let TranslateHelperBase = _exports.default = (_class = class TranslateHelperBase extends _helper.default {\n    constructor() {\n      super(...arguments);\n\n      // Initialize the locale when the helper is created\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      this.initializeLocale();\n    }\n    initializeLocale() {\n      let browserLang = (navigator.language || navigator.userLanguage).toLowerCase();\n      if (browserLang === 'fr') {\n        browserLang = \"fr-fr\";\n      }\n      let locale = browserLang === \"fr-fr\" ? \"fr-fr\" : \"en-us\";\n      let localeLang = localStorage.getItem(\"user_lang\");\n      if (localeLang && localeLang != \"\") {\n        locale = localeLang;\n      }\n      this.currentInt = this.intl.getIntl(locale);\n    }\n    compute([key, ...params]) {\n      if (this.currentInt.messages[key]) {\n        return this.currentInt.messages[key];\n      }\n      return key;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"common-components/initializers/navigation-service\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  function initialize() {}\n  var _default = _exports.default = {\n    name: 'navigation-service',\n    initialize\n  };\n});","define(\"common-components/models/audio/sound\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Sound {\n    load(fileName) {\n      let id = fileName;\n      id = id.replace('/', '_');\n      id = id.replace('/', '_');\n      id = id.replace('/', '_');\n      id = id.replace('/', '_');\n      id = id.replace('.', '_');\n      let audioElement = document.getElementById(id);\n      if (typeof audioElement === 'undefined' || audioElement === null) {\n        //Create the audio tag\n        audioElement = document.createElement(\"audio\");\n        audioElement.preload = \"auto\";\n        audioElement.setAttribute(\"id\", id);\n\n        //Load the sound file (using a source element for expandability)\n        const srcElement = document.createElement(\"source\");\n        srcElement.src = fileName;\n        audioElement.appendChild(srcElement);\n        document.body.appendChild(audioElement);\n      }\n\n      //It auto plays as a fallback\n      audioElement.load();\n      //audioElement.volume = 0.000000;\n      audioElement.play();\n    }\n  }\n  _exports.default = Sound;\n});","define(\"curve/routes\", [\"exports\", \"ember-engines/routes\"], function (_exports, _routes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-engines/routes\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _routes.default)(function () {\n    this.route('/');\n    this.route('attractor', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('attractor-3d', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('borromean-rings');\n    this.route('borromean-rings-2');\n    this.route('clifford-attractor-2');\n    this.route('chrysanthemum');\n    this.route('constant-precession-2');\n    this.route('constant-precession');\n    this.route('curve-3d', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('decorative');\n    this.route('butterfly');\n    this.route('gielis-curve');\n    this.route('harmonograph', function () {\n      this.route('list', {\n        path: '/p/:p'\n      });\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('helix');\n    this.route('helix', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('hypotrochoid-2');\n    this.route('polar', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('jong-attractor-2');\n    this.route('jong-attractor', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('lissajous');\n    this.route('lorenz-attractor');\n    this.route('lorenz-attractor-2');\n    this.route('maurer-rose');\n    this.route('pow');\n    this.route('rosaly');\n    this.route('rose');\n    this.route('rosette-2');\n    this.route('rosette');\n    this.route('sinus');\n    this.route('spiral');\n    this.route('spirograph', function () {\n      this.route('list', {\n        path: '/p/:p'\n      });\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('spirograph-2', function () {\n      this.route('list', {\n        path: '/p/:p'\n      });\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('trochoid');\n    this.route('toroid', function () {\n      this.route('list', {\n        path: '/p/:p'\n      });\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('trochor', function () {\n      this.route('list', {\n        path: '/p/:p'\n      });\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('yinyo');\n    this.route('zoobie', function () {\n      this.route('view', {\n        path: '/:type'\n      });\n    });\n    this.route('tinkerbell');\n  });\n});","define(\"drawings/routes\", [\"exports\", \"ember-engines/routes\"], function (_exports, _routes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-engines/routes\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _routes.default)(function () {\n    this.route('star3d');\n    this.route('broken-circle');\n    this.route('broken-lines');\n    this.route('carousel');\n    this.route('crop-circle');\n    this.route('constellation');\n    this.route('divided-circles');\n    this.route('divided-circles-2');\n    this.route('divided-circles-3');\n    this.route('distorsion');\n    this.route('donut');\n    this.route('eclipse');\n    this.route('hive');\n    this.route('hour');\n    this.route('penrose-triangle'); //\n    this.route('image-manipulation'); //\n    this.route('incircle-triangles');\n    this.route('mill');\n    this.route('moving-shapes');\n    this.route('orbit');\n    this.route('pacific-station');\n    this.route('particles');\n    this.route('pattern'); //\n    this.route('polygons');\n    this.route('psychadelic');\n    this.route('ringlets');\n    this.route('rings');\n    this.route('rings-gallery');\n    this.route('rosace');\n    this.route('scrawl');\n    this.route('spider');\n    this.route('spiro');\n    this.route('rotating-points');\n    this.route('rotating-points-2');\n    this.route('rotating-square');\n    this.route('spring');\n    this.route('star');\n    this.route('star-bloom');\n    this.route('triangle');\n    this.route('wheel');\n    this.route('snow');\n    this.route('shimmia');\n    this.route('yinyang');\n    this.route('filling-space-circles');\n  });\n});","define(\"ember-asset-loader/errors/asset-load\", [\"exports\", \"ember-asset-loader/errors/load\", \"ember-asset-loader/services/asset-loader\"], function (_exports, _load, _assetLoader) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Represents an error that occurred while trying to load an asset.\n   *\n   * @class AssetLoadError\n   * @extends LoadError\n   */\n  class AssetLoadError extends _load.default {\n    /**\n     * Constructs a new AssetLoadError from the original error and the info of the\n     * asset that was attempting to load.\n     *\n     * @param {AssetLoader} assetLoader\n     * @param {Asset} asset\n     * @param {Error} error\n     */\n    constructor(assetLoader, asset, error) {\n      super(`The ${asset.type} asset with uri \"${asset.uri}\" failed to load with the error: ${error}.`, assetLoader);\n      this.name = 'AssetLoadError';\n      this.asset = asset;\n      this.originalError = error;\n    }\n    retryLoad() {\n      return this._invokeAndCache('loadAsset', this.asset, _assetLoader.RETRY_LOAD_SECRET);\n    }\n  }\n  _exports.default = AssetLoadError;\n});","define(\"ember-asset-loader/errors/bundle-load\", [\"exports\", \"ember-asset-loader/errors/load\", \"ember-asset-loader/services/asset-loader\"], function (_exports, _load, _assetLoader) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Represents an error, or errors, that occurred while trying to load a bundle\n   * of assets.\n   *\n   * @class BundleLoadError\n   * @extends LoadError\n   */\n  class BundleLoadError extends _load.default {\n    /**\n     * Constructs a new BundleLoadError from the original error, or errors, and\n     * the name of the bundle that was attempting to load.\n     *\n     * @param {AssetLoader} assetLoader\n     * @param {String} bundleName\n     * @param {Error[]} errors\n     */\n    constructor(assetLoader, bundleName, errors) {\n      super(`The bundle \"${bundleName}\" failed to load.`, assetLoader);\n      this.name = 'BundleLoadError';\n      this.bundleName = bundleName;\n      this.errors = errors;\n    }\n    retryLoad() {\n      return this._invokeAndCache('loadBundle', this.bundleName, _assetLoader.RETRY_LOAD_SECRET);\n    }\n  }\n  _exports.default = BundleLoadError;\n});","define(\"ember-asset-loader/errors/load\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = LoadError;\n  /**\n   * A simple Error type to represent an error that occured while loading a\n   * resource.\n   *\n   * The hack to make stack and instanceof Error work is from\n   * https://stackoverflow.com/questions/1382107/whats-a-good-way-to-extend-error-in-javascript\n   *\n   * @class LoadError\n   * @extends Error\n   */\n\n  let captureErrorForStack;\n  if (new Error().stack) {\n    captureErrorForStack = () => new Error();\n  } else {\n    captureErrorForStack = () => {\n      try {\n        __undef__();\n      } catch (e) {\n        return e;\n      } // eslint-disable-line\n    };\n  }\n\n  /**\n   * Constructs a new LoadError with a supplied error message and an instance\n   * of the AssetLoader service to use when retrying a load.\n   *\n   * @param {String} message\n   * @param {AssetLoader} assetLoader\n   */\n  function LoadError(message, assetLoader) {\n    this.name = 'LoadError';\n    this.message = message;\n    this.loader = assetLoader;\n    this.stack = captureErrorForStack().stack;\n  }\n  LoadError.prototype = new Error();\n\n  /**\n   * An abstract hook to define in a sub-class that specifies how to retry\n   * loading the errored resource.\n   */\n  LoadError.prototype.retryLoad = function () {\n    throw new Error(`You must define a behavior for 'retryLoad' in a subclass.`);\n  };\n\n  /**\n   * Invokes a specified method on the AssetLoader service and caches the\n   * result. Should be used in implementations of the retryLoad hook.\n   *\n   * @protected\n   */\n  LoadError.prototype._invokeAndCache = function (method, ...args) {\n    return this._retry || (this._retry = this.loader[method](...args));\n  };\n});","define(\"ember-asset-loader/loaders/css\", [\"exports\", \"rsvp\", \"ember-asset-loader/loaders/utilities\"], function (_exports, _rsvp, _utilities) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Default loader function for CSS assets. Loads them by inserting a link tag\n   * with onload/onerror handlers that correspond to the resolve/reject callbacks\n   * of the return Promise.\n   *\n   * In the event that a browser does not support onload/onerror handlers for link\n   * elements, we fallback to polling the document.styleSheets property. In those\n   * cases, the Promise will always resolve successfully.\n   *\n   * @param {String} uri\n   * @return {Promise}\n   */\n  var _default = _exports.default = (0, _utilities.nodeLoader)(function css(uri) {\n    return new _rsvp.default.Promise((resolve, reject) => {\n      if (document.querySelector(`link[href=\"${uri}\"]`)) {\n        return resolve();\n      }\n\n      // Try using the default onload/onerror handlers...\n      const link = (0, _utilities.createLoadElement)('link', resolve, function (error) {\n        if (this.parentNode) {\n          this.parentNode.removeChild(this);\n        }\n        reject(error);\n      });\n      link.rel = 'stylesheet';\n      link.href = uri;\n      document.head.appendChild(link);\n\n      // In case the browser doesn't fire onload/onerror events, we poll the\n      // the list of stylesheets to see when it loads...\n      function checkSheetLoad() {\n        const resolvedHref = link.href;\n        const stylesheets = document.styleSheets;\n        let i = stylesheets.length;\n        while (i--) {\n          const sheet = stylesheets[i];\n          if (sheet.href === resolvedHref) {\n            // Unfortunately we have no way of knowing if the load was\n            // successful or not, so we always resolve.\n            setTimeout(resolve);\n            return;\n          }\n        }\n        setTimeout(checkSheetLoad);\n      }\n      setTimeout(checkSheetLoad);\n    });\n  });\n});","define(\"ember-asset-loader/loaders/js\", [\"exports\", \"rsvp\", \"ember-asset-loader/loaders/utilities\"], function (_exports, _rsvp, _utilities) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Default loader function for JS assets. Loads them by inserting a script tag\n   * with onload/onerror handlers that correspond to the resolve/reject callbacks\n   * of the return Promise.\n   *\n   * @param {String} uri\n   * @return {Promise}\n   */\n  var _default = _exports.default = (0, _utilities.nodeLoader)(function js(uri) {\n    return new _rsvp.default.Promise((resolve, reject) => {\n      if (document.querySelector(`script[src=\"${uri}\"]`)) {\n        return resolve();\n      }\n      const script = (0, _utilities.createLoadElement)('script', resolve, function (error) {\n        if (this.parentNode) {\n          this.parentNode.removeChild(this);\n        }\n        reject(error);\n      });\n      script.src = uri;\n      script.async = false;\n      document.head.appendChild(script);\n    });\n  });\n});","define(\"ember-asset-loader/loaders/utilities\", [\"exports\", \"rsvp\"], function (_exports, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.createLoadElement = createLoadElement;\n  _exports.nodeLoader = nodeLoader;\n  const isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';\n\n  /**\n   * Creates a DOM element with the specified onload and onerror handlers.\n   *\n   * @method createLoadElement\n   * @param {String} tag\n   * @param {Function} load\n   * @param {Function} error\n   * @return {HTMLElement} el\n   */\n  function createLoadElement(tag, load, error) {\n    const el = document.createElement(tag);\n    el.onload = load;\n    el.onerror = error;\n    return el;\n  }\n\n  /**\n   * Creates a loader function that is compatible with Node environments (such as\n   * FastBoot). If we're in the browser, we'll use the passed in loader function,\n   * but when in Node, we'll just return a Promise that resolves (we assume assets\n   * will be pre-loaded).\n   *\n   * @method nodeLoader\n   * @param {Function} loader\n   * @return {Function}\n   */\n  function nodeLoader(loader) {\n    if (isBrowser) {\n      return loader;\n    } else {\n      return () => _rsvp.default.resolve();\n    }\n  }\n});","define(\"ember-asset-loader/services/asset-loader\", [\"exports\", \"rsvp\", \"ember\", \"ember-asset-loader/errors/asset-load\", \"ember-asset-loader/errors/bundle-load\", \"ember-asset-loader/loaders/js\", \"ember-asset-loader/loaders/css\"], function (_exports, _rsvp, _ember, _assetLoad, _bundleLoad, _js, _css) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.RETRY_LOAD_SECRET = RETRY_LOAD_SECRET;\n  _exports.default = void 0;\n  function RETRY_LOAD_SECRET() {}\n\n  /**\n   * Merges two manifests' bundles together and returns a new manifest.\n   *\n   * @param {AssetManifest} input\n   * @param {AssetManifest} manifest\n   * @return {AssetManifest} output\n   */\n  function reduceManifestBundles(input, manifest) {\n    // If manifest doesn't have any bundles, then no reducing to do\n    if (!manifest.bundles) {\n      return input;\n    }\n\n    // Merge the bundles together, checking for collisions\n    return Object.keys(manifest.bundles).reduce((output, bundle) => {\n      _ember.default.assert(`The bundle \"${bundle}\" already exists.`, !output.bundles[bundle]);\n      output.bundles[bundle] = manifest.bundles[bundle];\n      return output;\n    }, input);\n  }\n\n  /**\n   * A Service class to load additional assets into the Ember application.\n   *\n   * @class AssetLoader\n   */\n  var _default = _exports.default = _ember.default.Service.extend({\n    /**\n     * Setup the caches for the service to use when loading assets.\n     *\n     * @override\n     */\n    init() {\n      this._super(...arguments);\n      this.__manifests = [];\n      this._setupCache();\n      this._initAssetLoaders();\n    },\n    /**\n     * Adds a manifest to the service by merging its bundles with any previously\n     * added manifests. Bundle collisions result in an error being thrown.\n     *\n     * @public\n     * @method pushManifest\n     * @param {AssetManifest} manifest\n     * @return {Void}\n     */\n    pushManifest(manifest) {\n      this.__manifests.push(manifest);\n      this.__manifest = this.__manifests.reduce(reduceManifestBundles, {\n        bundles: {}\n      });\n    },\n    /**\n     * Loads a bundle by fetching all of its assets and its dependencies.\n     *\n     * Returns a Promise that resolve when all assets have been loaded or rejects\n     * when one of the assets fails to load. Subsequent calls will return the same\n     * Promise.\n     *\n     * @public\n     * @method loadBundle\n     * @param {String} name\n     * @param {Boolean} retryLoad Warning: only used internally to re-initiate loads, NOT public API\n     * @return {Promise} bundlePromise\n     */\n    loadBundle(name, retryLoad) {\n      const cachedPromise = this._getFromCache('bundle', name, retryLoad === RETRY_LOAD_SECRET);\n      if (cachedPromise) {\n        return cachedPromise;\n      }\n      const bundle = this._getBundle(name);\n      const dependencies = bundle.dependencies || [];\n      const dependencyPromises = dependencies.map(dependency => this.loadBundle(dependency, retryLoad));\n      const assets = bundle.assets || [];\n      const assetPromises = assets.map(asset => this.loadAsset(asset, retryLoad));\n\n      // ember-auto-import creates window.__eaiEngineLookup when a lazy engine uses eai v2.\n      // this enables lazy engine's imports to be lazy themselves.\n      if (typeof __eaiEngineLookup === 'object' && __eaiEngineLookup[name]) {\n        assetPromises.push(__eaiEngineLookup[name]());\n      }\n      const bundlePromise = _rsvp.default.allSettled([...dependencyPromises, ...assetPromises]);\n      const bundleWithFail = bundlePromise.then(promises => {\n        const rejects = promises.filter(promise => promise.state === 'rejected');\n        const errors = rejects.map(reject => reject.reason);\n        if (errors.length) {\n          // Evict rejected promise.\n          this._getFromCache('bundle', name, true);\n          throw new _bundleLoad.default(this, name, errors);\n        }\n        return name;\n      });\n      return this._setInCache('bundle', name, bundleWithFail);\n    },\n    /**\n     * Loads a single asset into the application. Expects a given asset to specify\n     * a URI and type.\n     *\n     * @public\n     * @method loadAsset\n     * @param {Object} asset\n     * @param {String} asset.uri\n     * @param {String} asset.type\n     * @return {Promise} assetPromise\n     */\n    loadAsset({\n      uri,\n      type\n    }, retryLoad) {\n      const cacheKey = `${type}:${uri}`;\n      const cachedPromise = this._getFromCache('asset', cacheKey, retryLoad === RETRY_LOAD_SECRET);\n      if (cachedPromise) {\n        return cachedPromise;\n      }\n      const loader = this._getAssetLoader(type);\n      const assetPromise = loader(uri);\n      const assetWithFail = assetPromise.then(() => ({\n        uri,\n        type\n      }), error => {\n        // Evict rejected promise.\n        this._getFromCache('asset', cacheKey, true);\n        throw new _assetLoad.default(this, {\n          uri,\n          type\n        }, error);\n      });\n      return this._setInCache('asset', cacheKey, assetWithFail);\n    },\n    /**\n     * Define a loader function for assets of a specified type. Any previously\n     * defined loaders for that type will be overriden.\n     *\n     * @public\n     * @param {String} type\n     * @param {Function} loader\n     * @return {Void}\n     */\n    defineLoader(type, loader) {\n      this.__assetLoaders[type] = loader;\n    },\n    /**\n     * Gets the current, reduced manifest.\n     *\n     * @private\n     * @method getManifest\n     * @return {AssetManifest} manifest\n     */\n    getManifest() {\n      const manifest = this.__manifest;\n      _ember.default.assert('No asset manifest found. Ensure you call pushManifest before attempting to use the AssetLoader.', manifest);\n      return manifest;\n    },\n    /**\n     * Sets up the cache used to store Promise values for asset/bundle requests.\n     *\n     * @private\n     * @return {Void}\n     */\n    _setupCache() {\n      this.__cache = {};\n      this.__cache.asset = {};\n      this.__cache.bundle = {};\n    },\n    /**\n     * Gets a value from the cache according to the type and key it was stored\n     * under. Optionally, evicts the cached value and returns undefined.\n     *\n     * @private\n     * @param {String} type\n     * @param {String} key\n     * @param {Boolean} evict\n     * @return {*}\n     */\n    _getFromCache(type, key, evict) {\n      if (evict) {\n        this.__cache[type][key] = undefined;\n        return;\n      }\n      return this.__cache[type][key];\n    },\n    /**\n     * Sets a value in the cache under a type and key.\n     *\n     * @private\n     * @param {String} type\n     * @param {String} key\n     * @param {*} value\n     * @return {*}\n     */\n    _setInCache(type, key, value) {\n      return this.__cache[type][key] = value;\n    },\n    /**\n     * Gets the info for a bundle from the reduced manifest.\n     *\n     * @private\n     * @method _getBundle\n     * @param {String} name\n     * @return {Bundle} bundle\n     */\n    _getBundle(name) {\n      const manifest = this.getManifest();\n      const bundles = manifest.bundles;\n      _ember.default.assert('Asset manifest does not list any available bundles.', Object.keys(bundles).length);\n      const bundle = bundles[name];\n      _ember.default.assert(`No bundle with name \"${name}\" exists in the asset manifest.`, bundle);\n      return bundle;\n    },\n    /**\n     * Gets the asset loader method for a specified type.\n     *\n     * @private\n     * @method _getAssetLoader\n     * @param {String} type\n     * @return {Function} loader\n     */\n    _getAssetLoader(type) {\n      const loader = this.__assetLoaders[type];\n      _ember.default.assert(`No loader for assets of type \"${type}\" defined.`, loader);\n      return loader;\n    },\n    /**\n     * Initializes the __assetLoaders object and defines our default loaders.\n     */\n    _initAssetLoaders() {\n      this.__assetLoaders = {};\n      this.defineLoader('js', _js.default);\n      this.defineLoader('css', _css.default);\n    },\n    /**\n     * Defines loader methods for various types of assets. Each loader is stored\n     * under a key corresponding to the type of asset it loads.\n     *\n     * @private\n     * @property __assetLoaders\n     * @type {Object}\n     */\n    __assetLoaders: undefined\n  });\n});","define(\"ember-cached-decorator-polyfill/index\", [\"exports\", \"@glimmer/tracking/primitives/cache\", \"@ember/debug\"], function (_exports, _cache, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cached = cached;\n  function cached(...args) {\n    const [target, key, descriptor] = args;\n\n    // Error on `@cached()`, `@cached(...args)`, and `@cached propName = value;`\n    (true && !(target !== undefined) && (0, _debug.assert)('You attempted to use @cached(), which is not necessary nor supported. Remove the parentheses and you will be good to go!', target !== undefined));\n    (true && !(typeof target === 'object' && typeof key === 'string' && typeof descriptor === 'object' && args.length === 3) && (0, _debug.assert)(`You attempted to use @cached on with ${args.length > 1 ? 'arguments' : 'an argument'} ( @cached(${args.map(d => `'${d}'`).join(', ')}), which is not supported. Dependencies are automatically tracked, so you can just use ${'`@cached`'}`, typeof target === 'object' && typeof key === 'string' && typeof descriptor === 'object' && args.length === 3));\n    (true && !(typeof descriptor.get == 'function') && (0, _debug.assert)(`The @cached decorator must be applied to getters. '${key}' is not a getter.`, typeof descriptor.get == 'function'));\n    const caches = new WeakMap();\n    const getter = descriptor.get;\n    descriptor.get = function () {\n      if (!caches.has(this)) caches.set(this, (0, _cache.createCache)(getter.bind(this)));\n      return (0, _cache.getValue)(caches.get(this));\n    };\n  }\n});","define(\"ember-cli-app-version/initializer-factory\", [\"exports\", \"ember\"], function (_exports, _ember) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = initializerFactory;\n  const {\n    libraries\n  } = _ember.default;\n  function initializerFactory(name, version) {\n    let registered = false;\n    return function () {\n      if (!registered && name && version) {\n        libraries.register(name, 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  _exports.versionRegExp = _exports.versionExtendedRegExp = _exports.shaRegExp = void 0;\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(\"ember-data/-private/core\", [\"exports\", \"@ember/application/namespace\", \"ember\", \"ember-data/version\"], function (_exports, _namespace, _ember, _version) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.DS = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application/namespace\",0,\"ember\",0,\"ember-data/version\"eaimeta@70e063a35619d71f\n  const DS = _exports.DS = _namespace.default.create({\n    // @ts-expect-error ember-source types are wrong\n    VERSION: _version.default,\n    name: 'DS'\n  });\n  if (_ember.default.libraries) {\n    _ember.default.libraries.registerCoreLibrary('Ember Data', _version.default);\n  }\n  var _default = _exports.default = DS;\n});","define(\"ember-data/-private/index\", [\"exports\", \"@ember/array/proxy\", \"@ember/debug\", \"@ember/object/promise-proxy-mixin\", \"@ember/object/proxy\", \"ember-data/store\", \"ember-data/-private/core\", \"@ember-data/model/-private\", \"@ember-data/legacy-compat/-private\", \"@ember-data/store/-private\"], function (_exports, _proxy, _debug, _promiseProxyMixin, _proxy2, _store, _core, _private, _private2, _private3) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"DS\", {\n    enumerable: true,\n    get: function () {\n      return _core.DS;\n    }\n  });\n  Object.defineProperty(_exports, \"Errors\", {\n    enumerable: true,\n    get: function () {\n      return _private.Errors;\n    }\n  });\n  Object.defineProperty(_exports, \"ManyArray\", {\n    enumerable: true,\n    get: function () {\n      return _private.ManyArray;\n    }\n  });\n  _exports.PromiseArray = void 0;\n  Object.defineProperty(_exports, \"PromiseManyArray\", {\n    enumerable: true,\n    get: function () {\n      return _private.PromiseManyArray;\n    }\n  });\n  _exports.PromiseObject = void 0;\n  Object.defineProperty(_exports, \"RecordArrayManager\", {\n    enumerable: true,\n    get: function () {\n      return _private3.RecordArrayManager;\n    }\n  });\n  Object.defineProperty(_exports, \"Snapshot\", {\n    enumerable: true,\n    get: function () {\n      return _private2.Snapshot;\n    }\n  });\n  Object.defineProperty(_exports, \"SnapshotRecordArray\", {\n    enumerable: true,\n    get: function () {\n      return _private2.SnapshotRecordArray;\n    }\n  });\n  Object.defineProperty(_exports, \"Store\", {\n    enumerable: true,\n    get: function () {\n      return _store.default;\n    }\n  });\n  Object.defineProperty(_exports, \"coerceId\", {\n    enumerable: true,\n    get: function () {\n      return _private3.coerceId;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/array/proxy\",0,\"@ember/debug\",0,\"@ember/object/promise-proxy-mixin\",0,\"@ember/object/proxy\",0,\"ember-data/store\",0,\"ember-data/-private/core\",0,\"@ember-data/model/-private\",0,\"@ember-data/legacy-compat/-private\",0,\"@ember-data/store/-private\",0,\"@ember-data/model/-private\",0,\"@ember-data/legacy-compat/-private\"eaimeta@70e063a35619d71f\n  // public\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/-private` is deprecated without replacement.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n  const PromiseArray = _exports.PromiseArray = _proxy.default.extend(_promiseProxyMixin.default);\n  const PromiseObject = _exports.PromiseObject = _proxy2.default.extend(_promiseProxyMixin.default);\n});","define(\"ember-data/adapter\", [\"exports\", \"@ember/debug\", \"@ember-data/adapter\"], function (_exports, _debug, _adapter) {\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 _adapter.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/adapter\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/adapter` is deprecated. Please import from `@ember-data/adapter` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/adapters/errors\", [\"exports\", \"@ember/debug\", \"@ember-data/adapter/error\"], function (_exports, _debug, _error) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"AbortError\", {\n    enumerable: true,\n    get: function () {\n      return _error.AbortError;\n    }\n  });\n  Object.defineProperty(_exports, \"AdapterError\", {\n    enumerable: true,\n    get: function () {\n      return _error.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ConflictError\", {\n    enumerable: true,\n    get: function () {\n      return _error.ConflictError;\n    }\n  });\n  Object.defineProperty(_exports, \"ForbiddenError\", {\n    enumerable: true,\n    get: function () {\n      return _error.ForbiddenError;\n    }\n  });\n  Object.defineProperty(_exports, \"InvalidError\", {\n    enumerable: true,\n    get: function () {\n      return _error.InvalidError;\n    }\n  });\n  Object.defineProperty(_exports, \"NotFoundError\", {\n    enumerable: true,\n    get: function () {\n      return _error.NotFoundError;\n    }\n  });\n  Object.defineProperty(_exports, \"ServerError\", {\n    enumerable: true,\n    get: function () {\n      return _error.ServerError;\n    }\n  });\n  Object.defineProperty(_exports, \"TimeoutError\", {\n    enumerable: true,\n    get: function () {\n      return _error.TimeoutError;\n    }\n  });\n  Object.defineProperty(_exports, \"UnauthorizedError\", {\n    enumerable: true,\n    get: function () {\n      return _error.UnauthorizedError;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/adapter/error\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/adapters/errors` is deprecated. Please import from `@ember-data/adapter` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/adapters/json-api\", [\"exports\", \"@ember/debug\", \"@ember-data/adapter/json-api\"], function (_exports, _debug, _jsonApi) {\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 _jsonApi.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/adapter/json-api\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/adapters/json-api` is deprecated. Please import from `@ember-data/adapter/json-api` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/adapters/rest\", [\"exports\", \"@ember/debug\", \"@ember-data/adapter/rest\"], function (_exports, _debug, _rest) {\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 _rest.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/adapter/rest\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/adapters/rest` is deprecated. Please import from `@ember-data/adapter/rest` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/attr\", [\"exports\", \"@ember/debug\", \"@ember-data/model\"], function (_exports, _debug, _model) {\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 _model.attr;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/attr` is deprecated. Please import from `@ember-data/model` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/index\", [\"exports\", \"@ember/debug\", \"@ember-data/adapter\", \"@ember-data/adapter/error\", \"@ember-data/adapter/json-api\", \"@ember-data/adapter/rest\", \"@ember-data/model\", \"@ember-data/serializer\", \"@ember-data/serializer/-private\", \"@ember-data/serializer/json\", \"@ember-data/serializer/json-api\", \"@ember-data/serializer/rest\", \"@ember-data/serializer/transform\", \"ember-data/-private\", \"ember-data/setup-container\", \"@embroider/macros/es-compat2\"], function (_exports, _debug, _adapter, _error, _jsonApi, _rest, _model, _serializer, _private, _json, _jsonApi2, _rest2, _transform, _private2, _setupContainer, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-inflector\",0,\"@ember/debug\",0,\"@embroider/macros\",0,\"@ember-data/adapter\",0,\"@ember-data/adapter/error\",0,\"@ember-data/adapter/json-api\",0,\"@ember-data/adapter/rest\",0,\"@ember-data/model\",0,\"@ember-data/serializer\",0,\"@ember-data/serializer/-private\",0,\"@ember-data/serializer/json\",0,\"@ember-data/serializer/json-api\",0,\"@ember-data/serializer/rest\",0,\"@ember-data/serializer/transform\",0,\"ember-data/-private\",0,\"ember-data/setup-container\",0,\"@ember-data/debug\"eaimeta@70e063a35619d71f\n  /**\n   <p align=\"center\">\n    <img\n      class=\"project-logo\"\n      src=\"https://raw.githubusercontent.com/emberjs/data/4612c9354e4c54d53327ec2cf21955075ce21294/ember-data-logo-light.svg#gh-light-mode-only\"\n      alt=\"EmberData\"\n      width=\"240px\"\n      title=\"EmberData\"\n      />\n  </p>\n  \n  <p align=\"center\">The lightweight reactive data library for JavaScript applications</p>\n  \n  ---\n  \n  Wrangle your application's data management with scalable patterns for developer productivity.\n  \n  - ⚡️  Committed to Best-In-Class Performance\n  - 🌲 Focused on being as svelte as possible\n  - 🚀 SSR Ready\n  - 🔜 Typescript Support\n  - 🐹 Built with ♥️ by [Ember](https://emberjs.com)\n  - ⚛️ Supports any API: `GraphQL` `JSON:API` `REST` `tRPC` ...bespoke or a mix\n  \n  ### 📖 On This Page\n  \n  - [Overview](./#overview)\n    - [Architecture](#🪜-architecture)\n    - [Basic Installation](#basic-installation)\n    - [Advanced Installation](#advanced-installation)\n  - [Configuration](#configuration)\n    - [Deprecation Stripping](#deprecation-stripping)\n    - [randomUUID polyfill](#randomuuid-polyfill)\n    - [Removing inspector support in production](#removing-inspector-support-in-production)\n    - [Debugging](#debugging)\n  \n  \n  # Overview\n  \n  *Ember*‍**Data** is a lightweight reactive data library for JavaScript applications that provides composable primitives for ordering query/mutation/peek flows, managing network and cache, and reducing data for presentation.\n  \n  ## 🪜 Architecture\n  \n  The core of *Ember*‍**Data** is the `Store`, which coordinates interaction between your application, the `Cache`, and sources of data (such as your `API` or a local persistence layer).\n  Optionally, the Store can be configured to hydrate the response data into rich presentation classes.\n  \n  *Ember*‍**Data** is both resource centric and document centric in it's approach to caching, requesting and presenting data. Your application's configuration and usage drives which is important and when.\n  \n  The `Store` is a **coordinator**. When using a `Store` you configure what cache to use, how cache data should be presented to the UI, and where it should look for requested data when it is not available in the cache.\n  \n  This coordination is handled opaquely to the nature of the requests issued and the format of the data being handled. This approach gives applications broad flexibility to configure *Ember*‍**Data** to best suite their needs. This makes *Ember*‍**Data** a powerful solution for applications regardless of their size and complexity.\n  \n  *Ember*‍**Data** is designed to scale, with a religious focus on performance and asset-size to keep its footprint small but speedy while still being able to handle large complex APIs in huge data-driven applications with no additional code and no added application complexity. It's goal is to prevent applications from writing code to manage data that is difficult to maintain or reason about.\n  \n  *Ember*‍**Data**'s power comes not from specific features, data formats, or adherence to specific API specs such as `JSON:API` `trpc` or `GraphQL`, but from solid conventions around requesting and mutating data developed over decades of experience scaling developer productivity.\n  \n  ## Basic Installation\n  \n  Install using your javascript package manager of choice. For instance with [pnpm](https://pnpm.io/)\n  \n  ```no-highlight\n  pnpm add ember-data\n  ```\n  \n  `ember-data` is installed by default for new applications generated with `ember-cli`. You can check what version is installed by looking in the `devDependencies` hash of your project's [package.json](https://docs.npmjs.com/cli/v8/configuring-npm/package-json) file.\n  \n  If you have generated a new `Ember` application using `ember-cli` but do\n  not wish to use `ember-data`, remove `ember-data` from your project's `package.json` file and run your package manager's install command to update your lockfile.\n  \n  ## Advanced Installation\n  \n  *Ember*‍**Data** is organized into primitives that compose together via public APIs.\n  \n  - [@ember-data/store](/ember-data/release/modules/@ember-data%2Fstore) is the core and handles coordination\n  - [@ember-data/json-api](/ember-data/release/modules/@ember-data%2Fjson-api) provides a resource cache for JSON:API structured data. It integrates with the store via the hook `createCache`\n  - [@ember-data/model](/ember-data/release/modules/@ember-data%2Fmodel) is a presentation layer, it integrates with the store via the hooks `instantiateRecord` and `teardownRecord`.\n  - [@ember-data/adapter](/ember-data/release/modules/@ember-data%2Fadapter) provides various network API integrations for APIS built over specific REST or JSON:API conventions.\n  - [@ember-data/serializer](/ember-data/release/modules/@ember-data%2Fserializer) pairs with `@ember-data/adapter` to normalize and serialize data to and from an API format into the `JSON:API` format understood by `@ember-data/json-api`.\n  - [@ember-data/debug](/ember-data/release/modules/@ember-data%2Fdebug) provides debugging support for the `ember-inspector`.\n  - **ember-data** is a \"meta\" package which bundles all of these together for convenience\n  \n  The packages interop with each other through well defined public API boundaries. The core\n  of the library is the store provided by `@ember-data/store`, while each of the other libraries plugs into the store when installed. Because these packages interop via fully\n  public APIs, other libraries or applications may provide their own implementations. For instance, [ember-m3](https://github.com/hjdivad/ember-m3) is a commonly used presentation and cache implementation suitable for complex resource objects and graphs.\n  \n  ## Configuration\n  \n  ### Deprecation Stripping\n  \n  *Ember*‍**Data** allows users to opt-in and remove code that exists to support deprecated behaviors.\n  \n  If your app has resolved all deprecations present in a given version, you may specify that version as your \"compatibility\" version to remove the code that supported the deprecated behavior from your app.\n  \n  ```ts\n  let app = new EmberApp(defaults, {\n    emberData: {\n      compatWith: '4.8',\n    },\n  });\n  ```\n  \n  - [Full Documentation](https://api.emberjs.com/ember-data/release/modules/@ember-data%2Fdeprecations)\n  \n  ### randomUUID polyfill\n  \n  *Ember*‍**Data** uses `UUID V4` by default to generate identifiers for new data created on the client. Identifier generation is configurable, but we also for convenience will polyfill\n  the necessary feature if your browser support or deployment environment demands it. To\n  activate this polyfill:\n  \n  ```ts\n  let app = new EmberApp(defaults, {\n    '@embroider/macros': {\n      setConfig: {\n        '@ember-data/store': {\n          polyfillUUID: true\n        },\n      },\n    },\n  });\n  ```\n  \n  ### removing inspector support in production\n  \n  If you do not with to ship inspector support in your production application, you can specify\n  that all support for it should be stripped from the build.\n  \n  ```ts\n  let app = new EmberApp(defaults, {\n    emberData: {\n      includeDataAdapterInProduction: false\n    }\n  });\n  ```\n  \n  - [Full Documentation](https://api.emberjs.com/ember-data/release/modules/@ember-data%2Fdebug)\n  \n  ### Debugging\n  \n  Many portions of the internals are helpfully instrumented with logging that can be activated\n  at build time. This instrumentation is always removed from production builds or any builds\n  that has not explicitly activated it. To activate it set the appropriate flag to `true`.\n  \n  ```ts\n    let app = new EmberApp(defaults, {\n      emberData: {\n        debug: {\n            LOG_PAYLOADS: false, // data store received to update cache with\n            LOG_OPERATIONS: false, // updates to cache remote state\n            LOG_MUTATIONS: false, // updates to cache local state\n            LOG_NOTIFICATIONS: false,\n            LOG_REQUESTS: false, // log Requests issued via the request manager\n            LOG_REQUEST_STATUS: false,\n            LOG_IDENTIFIERS: false,\n            LOG_GRAPH: false,\n            LOG_INSTANCE_CACHE: false,\n        }\n      }\n    });\n    ```\n  \n   @module ember-data-overview\n   @main ember-data-overview\n  */\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data` is deprecated. Please import from the appropriate `@ember-data/*` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n  function upgradeDS(obj) {}\n  upgradeDS(_private2.DS);\n  _private2.DS.Store = _private2.Store;\n  _private2.DS.PromiseArray = _private2.PromiseArray;\n  _private2.DS.PromiseObject = _private2.PromiseObject;\n  _private2.DS.PromiseManyArray = _private2.PromiseManyArray;\n  _private2.DS.Model = _model.default;\n  _private2.DS.attr = _model.attr;\n  _private2.DS.Errors = _private2.Errors;\n  _private2.DS.Snapshot = _private2.Snapshot;\n  _private2.DS.Adapter = _adapter.default;\n  _private2.DS.AdapterError = _error.default;\n  _private2.DS.InvalidError = _error.InvalidError;\n  _private2.DS.TimeoutError = _error.TimeoutError;\n  _private2.DS.AbortError = _error.AbortError;\n  _private2.DS.UnauthorizedError = _error.UnauthorizedError;\n  _private2.DS.ForbiddenError = _error.ForbiddenError;\n  _private2.DS.NotFoundError = _error.NotFoundError;\n  _private2.DS.ConflictError = _error.ConflictError;\n  _private2.DS.ServerError = _error.ServerError;\n  _private2.DS.Serializer = _serializer.default;\n  {\n    // @ts-expect-error untyped\n    _private2.DS.DebugAdapter = (0, _esCompat.default)(require(\"@ember-data/debug\")).default;\n  }\n  _private2.DS.ManyArray = _private2.ManyArray;\n  _private2.DS.RecordArrayManager = _private2.RecordArrayManager;\n  _private2.DS.RESTAdapter = _rest.default;\n  _private2.DS.BuildURLMixin = _adapter.BuildURLMixin;\n  _private2.DS.RESTSerializer = _rest2.default;\n  _private2.DS.JSONSerializer = _json.default;\n  _private2.DS.JSONAPIAdapter = _jsonApi.default;\n  _private2.DS.JSONAPISerializer = _jsonApi2.default;\n  _private2.DS.Transform = _transform.default;\n  _private2.DS.DateTransform = _private.DateTransform;\n  _private2.DS.StringTransform = _private.StringTransform;\n  _private2.DS.NumberTransform = _private.NumberTransform;\n  _private2.DS.BooleanTransform = _private.BooleanTransform;\n  _private2.DS.EmbeddedRecordsMixin = _rest2.EmbeddedRecordsMixin;\n  _private2.DS.belongsTo = _model.belongsTo;\n  _private2.DS.hasMany = _model.hasMany;\n  _private2.DS._setupContainer = _setupContainer.default;\n  var _default = _exports.default = _private2.DS;\n});","define(\"ember-data/model\", [\"exports\", \"@ember/debug\", \"@ember-data/model\"], function (_exports, _debug, _model) {\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 _model.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/model` is deprecated. Please import from `@ember-data/model` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/relationships\", [\"exports\", \"@ember/debug\", \"@ember-data/model\"], function (_exports, _debug, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"belongsTo\", {\n    enumerable: true,\n    get: function () {\n      return _model.belongsTo;\n    }\n  });\n  Object.defineProperty(_exports, \"hasMany\", {\n    enumerable: true,\n    get: function () {\n      return _model.hasMany;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/relationships` is deprecated. Please import from `@ember-data/model` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/serializer\", [\"exports\", \"@ember/debug\", \"@ember-data/serializer\"], function (_exports, _debug, _serializer) {\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 _serializer.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/serializer\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/serializer` is deprecated. Please import from `@ember-data/serializer` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/serializers/embedded-records-mixin\", [\"exports\", \"@ember/debug\", \"@ember-data/serializer/rest\"], function (_exports, _debug, _rest) {\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 _rest.EmbeddedRecordsMixin;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/serializer/rest\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/serializers/embedded-records-mixin` is deprecated. Please import from `@ember-data/serializer/rest` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/serializers/json-api\", [\"exports\", \"@ember/debug\", \"@ember-data/serializer/json-api\"], function (_exports, _debug, _jsonApi) {\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 _jsonApi.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/serializer/json-api\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/serializers/json-api` is deprecated. Please import from `@ember-data/serializer/json-api` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/serializers/json\", [\"exports\", \"@ember/debug\", \"@ember-data/serializer/json\"], function (_exports, _debug, _json) {\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 _json.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/serializer/json\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/serializers/json` is deprecated. Please import from `@ember-data/serializer/json` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/serializers/rest\", [\"exports\", \"@ember/debug\", \"@ember-data/serializer/rest\"], function (_exports, _debug, _rest) {\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 _rest.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/serializer/rest\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/serializers/rest` is deprecated. Please import from `@ember-data/serializer/rest` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/setup-container\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = setupContainer;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\"eaimeta@70e063a35619d71f\n  function initializeStore(application) {\n    application.registerOptionsForType('serializer', {\n      singleton: false\n    });\n    application.registerOptionsForType('adapter', {\n      singleton: false\n    });\n  }\n  function setupContainer(application) {\n    initializeStore(application);\n  }\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/setup-container` is deprecated without replacement', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/store\", [\"exports\", \"@ember-data/json-api\", \"@ember-data/legacy-compat\", \"@ember-data/model/hooks\", \"@ember-data/request\", \"@ember-data/request/fetch\", \"@ember-data/store\"], function (_exports, _jsonApi, _legacyCompat, _hooks, _request, _fetch, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/json-api\",0,\"@ember-data/legacy-compat\",0,\"@ember-data/model/hooks\",0,\"@ember-data/request\",0,\"@ember-data/request/fetch\",0,\"@ember-data/store\"eaimeta@70e063a35619d71f\n  function hasRequestManager(store) {\n    return 'requestManager' in store;\n  }\n  class Store extends _store.default {\n    constructor(args) {\n      super(args);\n      this.adapterFor = _legacyCompat.adapterFor;\n      this.serializerFor = _legacyCompat.serializerFor;\n      this.pushPayload = _legacyCompat.pushPayload;\n      this.normalize = _legacyCompat.normalize;\n      this.serializeRecord = _legacyCompat.serializeRecord;\n      if (!hasRequestManager(this)) {\n        this.requestManager = new _request.default();\n        this.requestManager.use([_legacyCompat.LegacyNetworkHandler, _fetch.default]);\n      }\n      this.requestManager.useCache(_store.CacheHandler);\n      this.registerSchema((0, _hooks.buildSchema)(this));\n    }\n    createCache(storeWrapper) {\n      return new _jsonApi.default(storeWrapper);\n    }\n    instantiateRecord(identifier, createRecordArgs) {\n      return _hooks.instantiateRecord.call(this, identifier, createRecordArgs);\n    }\n    teardownRecord(record) {\n      _hooks.teardownRecord.call(this, record);\n    }\n    modelFor(type) {\n      return _hooks.modelFor.call(this, type) || super.modelFor(type);\n    }\n    destroy() {\n      _legacyCompat.cleanup.call(this);\n      super.destroy();\n    }\n  }\n  _exports.default = Store;\n});","define(\"ember-data/transform\", [\"exports\", \"@ember/debug\", \"@ember-data/serializer/transform\"], function (_exports, _debug, _transform) {\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 _transform.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember-data/serializer/transform\"eaimeta@70e063a35619d71f\n  (true && !(false) && (0, _debug.deprecate)('Importing from `ember-data/transform` is deprecated. Please import from `@ember-data/serializer/transform` instead.', false, {\n    id: 'ember-data:deprecate-legacy-imports',\n    for: 'ember-data',\n    until: '6.0',\n    since: {\n      enabled: '5.2',\n      available: '5.2'\n    }\n  }));\n});","define(\"ember-data/version\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  var _default = _exports.default = \"5.3.3\";\n});","define(\"ember-engines/-private/controller-ext\", [\"@ember/controller\", \"@ember/application\", \"ember-engines/-private/deprecate-transition-methods\"], function (_controller, _application, _deprecateTransitionMethods) {\n  \"use strict\";\n\n  _controller.default.reopen({\n    /*\n      Creates an aliased form of a method that properly resolves external routes.\n    */\n    transitionToExternalRoute(routeName, ...args) {\n      (0, _deprecateTransitionMethods.deprecateTransitionMethods)('controller', 'transitionToExternalRoute');\n      let externalRoute = (0, _application.getOwner)(this)._getExternalRoute(routeName);\n      let target = this.target;\n      let method = target.transitionToRoute || target.transitionTo;\n      return method.apply(target, [externalRoute, ...args]);\n    }\n  });\n});","define(\"ember-engines/-private/deprecate-transition-methods\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.deprecateTransitionMethods = deprecateTransitionMethods;\n  function deprecateTransitionMethods(frameworkClass, methodName) {\n    (true && !(false) && (0, _debug.deprecate)(`Calling ${methodName} on a ${frameworkClass} is deprecated. Use the RouterService provided by \\`ember-engines-router-service\\` instead.`, false, {\n      id: 'ember-engines.transition-methods',\n      for: 'ember-engines',\n      since: {\n        available: '0.10.0',\n        enabled: '0.10.0'\n      },\n      until: '1.0.0',\n      url: 'https://ember-engines.com/docs/deprecations#-transition-methods-of-controller-and-route'\n    }));\n  }\n});","define(\"ember-engines/-private/engine-ext\", [\"@ember/application\", \"@ember/engine\", \"ember-engines/components/link-to-external\"], function (_application, _engine, _linkToExternal) {\n  \"use strict\";\n\n  _engine.default.reopen({\n    buildRegistry() {\n      let registry = this._super(...arguments);\n      if (!(this instanceof _application.default)) {\n        registry.register('component:link-to-external', _linkToExternal.default);\n      }\n      return registry;\n    }\n  });\n});","define(\"ember-engines/-private/engine-instance-ext\", [\"@ember/debug\", \"@ember/engine/instance\"], function (_debug, _instance) {\n  \"use strict\";\n\n  function deprecateHostRouterService() {\n    (true && !(false) && (0, _debug.deprecate)(`Support for the host's router service has been deprecated. Please use a different name as 'hostRouter' or 'appRouter' instead of 'router'.`, false, {\n      id: 'ember-engines.deprecation-router-service-from-host',\n      for: 'ember-engines',\n      until: '0.9.0',\n      url: 'https://ember-engines.com/docs/deprecations#-use-alias-for-inject-router-service-from-host-application',\n      since: {\n        enabled: '0.8.16'\n      }\n    }));\n  }\n  _instance.default.reopen({\n    /**\n      The root DOM element of the `EngineInstance` 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      A mapping of dependency names and values, grouped by category.\n       `dependencies` should be set by the parent of this engine instance upon\n      instantiation and prior to boot.\n       During the boot process, engine instances verify that their required\n      dependencies, as defined on the parent `Engine` class, have been assigned\n      by the parent.\n       @private\n      @property {Object} dependencies\n    */\n    dependencies: null,\n    /**\n      A cache of dependency names and values, grouped by engine name.\n       This cache is maintained by `buildChildEngineInstance()` for every engine\n      that's a child of this parent instance.\n       Only dependencies that are singletons are currently allowed, which makes\n      this safe.\n       @private\n      @property {Object} _dependenciesForChildEngines\n    */\n    _dependenciesForChildEngines: null,\n    init() {\n      this._super(...arguments);\n      this._externalRoutes = {};\n    },\n    buildChildEngineInstance(name, options = {}) {\n      // Check dependencies cached by engine name\n      let dependencies = this._dependenciesForChildEngines && this._dependenciesForChildEngines[name];\n\n      // Prepare dependencies if none are cached\n      if (!dependencies) {\n        dependencies = {};\n        let engineConfigurations = this.base.engines || {};\n        let engineConfigurationKey = name;\n        let engineConfiguration = engineConfigurations[engineConfigurationKey];\n        if (engineConfiguration) {\n          let engineDependencies = engineConfiguration.dependencies;\n          if (engineDependencies) {\n            ['services'].forEach(category => {\n              if (engineDependencies[category]) {\n                dependencies[category] = {};\n                let dependencyType = this._dependencyTypeFromCategory(category);\n                for (let i = 0; i < engineDependencies[category].length; i++) {\n                  let engineDependency = engineDependencies[category][i];\n                  let dependencyName;\n                  let dependencyNameInParent;\n                  if (typeof engineDependency === 'object') {\n                    dependencyName = Object.keys(engineDependency)[0];\n                    dependencyNameInParent = engineDependency[dependencyName];\n                  } else {\n                    dependencyName = dependencyNameInParent = engineDependency;\n                  }\n                  let dependencyKey = `${dependencyType}:${dependencyNameInParent}`;\n                  let dependency = this.lookup(dependencyKey);\n                  if (category === 'services' && dependencyName === 'router') {\n                    deprecateHostRouterService();\n                  }\n                  (true && !(dependency) && (0, _debug.assert)(`Engine parent failed to lookup '${dependencyKey}' dependency, as declared in 'engines.${engineConfigurationKey}.dependencies.${category}'.`, dependency));\n                  dependencies[category][dependencyName] = dependency;\n                }\n              }\n            });\n            if (engineDependencies.externalRoutes) {\n              dependencies.externalRoutes = engineDependencies.externalRoutes;\n            }\n          }\n        }\n\n        // Cache dependencies for child engines for faster instantiation in the future\n        this._dependenciesForChildEngines = this._dependenciesForChildEngines || {};\n        this._dependenciesForChildEngines[name] = dependencies;\n      }\n      options.dependencies = dependencies;\n      return this._super(name, options);\n    },\n    /*\n      Gets the application-scoped route path for an external route.\n       @private\n      @method _getExternalRoute\n      @param {String} routeName\n      @return {String} route\n    */\n    _getExternalRoute(routeName) {\n      const route = this._externalRoutes[routeName];\n      (true && !(route) && (0, _debug.assert)(`The external route ${routeName} does not exist`, route));\n      return route;\n    },\n    cloneParentDependencies() {\n      this._super();\n      let requiredDependencies = this.base.dependencies;\n      if (requiredDependencies) {\n        Object.keys(requiredDependencies).forEach(category => {\n          let dependencyType = this._dependencyTypeFromCategory(category);\n          requiredDependencies[category].forEach(dependencyName => {\n            let dependency = this.dependencies[category] && this.dependencies[category][dependencyName];\n            (true && !(dependency) && (0, _debug.assert)(`A dependency mapping for '${category}.${dependencyName}' must be declared on this engine's parent.`, dependency));\n            if (category === 'externalRoutes') {\n              this._externalRoutes[dependencyName] = dependency;\n            } else {\n              let key = `${dependencyType}:${dependencyName}`;\n              this.register(key, dependency, {\n                instantiate: false\n              });\n            }\n          });\n        });\n      }\n    },\n    _dependencyTypeFromCategory(category) {\n      switch (category) {\n        case 'services':\n          return 'service';\n        case 'externalRoutes':\n          return 'externalRoute';\n      }\n      (true && !(false) && (0, _debug.assert)(`Dependencies of category '${category}' can not be shared with engines.`, false));\n    },\n    // mount(view) {\n    //   assert('EngineInstance must be booted before it can be mounted', this._booted);\n    //\n    //   view.append()\n    // },\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      @private\n    */\n    didCreateRootView(view) {\n      view.appendTo(this.rootElement);\n    }\n  });\n});","define(\"ember-engines/-private/route-ext\", [\"@ember/routing/route\", \"@ember/application\", \"ember-engines/-private/deprecate-transition-methods\"], function (_route, _application, _deprecateTransitionMethods) {\n  \"use strict\";\n\n  /*\n    Creates an aliased form of a method that properly resolves external routes.\n  */\n  function externalAlias(methodName, deprecatedMethodName) {\n    return function _externalAliasMethod(routeName, ...args) {\n      (0, _deprecateTransitionMethods.deprecateTransitionMethods)('route', deprecatedMethodName);\n      let externalRoute = (0, _application.getOwner)(this)._getExternalRoute(routeName);\n      let router = this._router || this.router;\n      return router[methodName](externalRoute, ...args);\n    };\n  }\n  _route.default.reopen({\n    transitionToExternal: externalAlias('transitionTo', 'transitionToExternal'),\n    replaceWithExternal: externalAlias('replaceWith', 'replaceWithExternal')\n  });\n});","define(\"ember-engines/-private/router-ext\", [\"@ember/routing/router\", \"rsvp\", \"@ember/debug\", \"@ember/object\", \"@ember/application\", \"@ember/routing/route\"], function (_router, _rsvp, _debug, _object, _application, _route) {\n  \"use strict\";\n\n  /* eslint-disable ember/no-private-routing-service,ember/no-get */\n\n  const defaultSerialize = _route.default.proto().serialize;\n  function hasDefaultSerialize(handler) {\n    return handler.serialize === defaultSerialize;\n  }\n\n  // NOTE:\n  // This needed because we need to infer the setup of the router.js\n  // Prior to https://github.com/emberjs/ember.js/pull/16974 we used to\n  // call `_getHandlerFunction` to get the closed over function to resolve\n  // a name to a handler. PR#16974 removed this private method.\n  let newSetup = true;\n  _router.default.reopen({\n    init() {\n      this._super(...arguments);\n      this._enginePromises = Object.create(null);\n      this._seenHandlers = Object.create(null);\n\n      // We lookup the asset loader service instead of injecting it so that we\n      // don't blow up unit tests for consumers\n      this._assetLoader = (0, _application.getOwner)(this).lookup('service:asset-loader');\n    },\n    /**\n     * When going to an Engine route, we check for QP meta in the BucketCache\n     * instead of checking the Route (which may not exist yet). We populate\n     * the BucketCache after loading the Route the first time.\n     *\n     * @override\n     */\n    _getQPMeta(handlerInfo) {\n      let routeName = handlerInfo.name;\n      let isWithinEngine = this._engineInfoByRoute[routeName];\n      let hasBeenLoaded = this._seenHandlers[routeName];\n      if (isWithinEngine && !hasBeenLoaded) {\n        return undefined;\n      }\n      return this._super(...arguments);\n    },\n    /**\n     * We override this to fetch assets when crossing into a lazy Engine for the\n     * first time. For other cases we do the normal thing.\n     *\n     * @override\n     */\n    _getHandlerFunction() {\n      newSetup = false;\n      return this._handlerResolver();\n    },\n    setupRouter() {\n      let isSetup = this._super(...arguments);\n      if (newSetup) {\n        // This method used to be called `getHandler` and it is going to be called `getRoute`.\n        if (this._routerMicrolib.getRoute !== undefined) {\n          this._routerMicrolib.getRoute = this._handlerResolver();\n        } else if (this._routerMicrolib.getHandler !== undefined) {\n          this._routerMicrolib.getHandler = this._handlerResolver();\n        }\n      }\n      return isSetup;\n    },\n    _handlerResolver() {\n      let seen = this._seenHandlers;\n      let owner = (0, _application.getOwner)(this);\n      return name => {\n        let engineInfo = this._engineInfoByRoute[name];\n        if (engineInfo) {\n          let engineInstance = this._getEngineInstance(engineInfo);\n          if (engineInstance) {\n            return this._getHandlerForEngine(seen, name, engineInfo.localFullName, engineInstance);\n          } else {\n            return this._loadEngineInstance(engineInfo).then(instance => {\n              return this._getHandlerForEngine(seen, name, engineInfo.localFullName, instance);\n            });\n          }\n        }\n\n        // If we don't cross into an Engine, then the routeName and localRouteName\n        // are the same.\n        return this._internalGetHandler(seen, name, name, owner);\n      };\n    },\n    /**\n     * Gets the handler for a route from an Engine instance, proxies to the\n     * _internalGetHandler method.\n     *\n     * @private\n     * @method _getHandlerForEngine\n     * @param {Object} seen\n     * @param {String} routeName\n     * @param {String} localRouteName\n     * @param {Owner} routeOwner\n     * @return {EngineInstance} engineInstance\n     */\n    _getHandlerForEngine(seen, routeName, localRouteName, engineInstance) {\n      let handler = this._internalGetHandler(seen, routeName, localRouteName, engineInstance);\n      if (!hasDefaultSerialize(handler)) {\n        throw new Error('Defining a custom serialize method on an Engine route is not supported.');\n      }\n      return handler;\n    },\n    /**\n     * This method is responsible for actually doing the lookup in getHandler.\n     * It is separate so that it can be used from different code paths.\n     *\n     * @private\n     * @method _internalGetHandler\n     * @param {Object} seen\n     * @param {String} routeName\n     * @param {String} localRouteName\n     * @param {Owner} routeOwner\n     * @return {Route} handler\n     */\n    _internalGetHandler(seen, routeName, localRouteName, routeOwner) {\n      const fullRouteName = 'route:' + localRouteName;\n      let handler = routeOwner.lookup(fullRouteName);\n      if (seen[routeName] && handler) {\n        return handler;\n      }\n      seen[routeName] = true;\n      if (!handler) {\n        const DefaultRoute = routeOwner.factoryFor ? routeOwner.factoryFor('route:basic').class : routeOwner._lookupFactory('route:basic');\n        routeOwner.register(fullRouteName, DefaultRoute.extend());\n        handler = routeOwner.lookup(fullRouteName);\n        if ((0, _object.get)(this, 'namespace.LOG_ACTIVE_GENERATION')) {\n          // eslint-disable-next-line no-console\n          console.info(`generated -> ${fullRouteName}`, {\n            fullName: fullRouteName\n          });\n        }\n      }\n      handler._setRouteName(localRouteName);\n      if (handler._populateQPMeta) {\n        handler._populateQPMeta();\n      }\n      return handler;\n    },\n    /**\n     * Checks the owner to see if it has a registration for an Engine. This is a\n     * proxy to tell if an Engine's assets are loaded or not.\n     *\n     * @private\n     * @method _engineIsLoaded\n     * @param {String} name\n     * @return {Boolean}\n     */\n    _engineIsLoaded(name) {\n      let owner = (0, _application.getOwner)(this);\n      return owner.hasRegistration('engine:' + name);\n    },\n    /**\n     * Registers an Engine that was recently loaded.\n     *\n     * @private\n     * @method _registerEngine\n     * @param {String} name\n     * @return {Void}\n     */\n    _registerEngine(name) {\n      let owner = (0, _application.getOwner)(this);\n      if (!owner.hasRegistration('engine:' + name)) {\n        owner.register('engine:' + name, window.require(name + '/engine').default);\n      }\n    },\n    /**\n     * Gets the instance of an Engine with the specified name and instanceId.\n     *\n     * @private\n     * @method _getEngineInstance\n     * @param {Object} engineInfo\n     * @param {String} engineInfo.name\n     * @param {String} engineInfo.instanceId\n     * @return {EngineInstance}\n     */\n    _getEngineInstance({\n      name,\n      instanceId\n    }) {\n      let engineInstances = this._engineInstances;\n      return engineInstances[name] && engineInstances[name][instanceId];\n    },\n    /**\n     * Loads an instance of an Engine with the specified name and instanceId.\n     * Returns a Promise for both Eager and Lazy Engines. This function loads the\n     * assets for any Lazy Engines.\n     *\n     * @private\n     * @method _loadEngineInstance\n     * @param {Object} engineInfo\n     * @param {String} engineInfo.name\n     * @param {String} engineInfo.instanceId\n     * @param {String} engineInfo.mountPoint\n     * @return {Promise<EngineInstance>}\n     */\n    _loadEngineInstance({\n      name,\n      instanceId,\n      mountPoint\n    }) {\n      let enginePromises = this._enginePromises;\n      if (!enginePromises[name]) {\n        enginePromises[name] = Object.create(null);\n      }\n      let enginePromise = enginePromises[name][instanceId];\n\n      // We already have a Promise for this engine instance\n      if (enginePromise) {\n        return enginePromise;\n      }\n      if (this._engineIsLoaded(name)) {\n        // The Engine is loaded, but has no Promise\n        enginePromise = _rsvp.default.resolve();\n      } else {\n        // The Engine is not loaded and has no Promise\n        enginePromise = this._assetLoader.loadBundle(name).then(() => this._registerEngine(name), error => {\n          enginePromises[name][instanceId] = undefined;\n          throw error;\n        });\n      }\n      return enginePromises[name][instanceId] = enginePromise.then(() => {\n        return this._constructEngineInstance({\n          name,\n          instanceId,\n          mountPoint\n        });\n      });\n    },\n    /**\n     * Constructs an instance of an Engine based on an engineInfo object.\n     * TODO: Figure out if this works with nested Engines.\n     *\n     * @private\n     * @method _constructEngineInstance\n     * @param {Object} engineInfo\n     * @param {String} engineInfo.name\n     * @param {String} engineInfo.instanceId\n     * @param {String} engineInfo.mountPoint\n     * @return {Promise<EngineInstance>}\n     */\n    _constructEngineInstance({\n      name,\n      instanceId,\n      mountPoint\n    }) {\n      let owner = (0, _application.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 cannot be found.\", owner.hasRegistration(`engine:${name}`)));\n      let engineInstances = this._engineInstances;\n      if (!engineInstances[name]) {\n        engineInstances[name] = Object.create(null);\n      }\n      let engineInstance = owner.buildChildEngineInstance(name, {\n        routable: true,\n        mountPoint\n      });\n      engineInstances[name][instanceId] = engineInstance;\n      return engineInstance.boot().then(() => {\n        return engineInstance;\n      });\n    }\n  });\n});","define(\"ember-engines/components/link-to-external-component\", [\"exports\", \"ember-engines/components/link-to-external\"], function (_exports, _linkToExternal) {\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 _linkToExternal.default;\n    }\n  });\n});","define(\"ember-engines/components/link-to-external\", [\"exports\", \"@ember/routing\", \"@ember/application\", \"@ember/object\", \"@embroider/macros/es-compat2\"], function (_exports, _routing, _application, _object, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* eslint-disable ember/no-component-lifecycle-hooks */\n\n  let LinkToExternal;\n  let LinkComponent;\n  {\n    let {\n      LinkComponent: LegacyLinkComponent\n    } = (0, _esCompat.default)(require(\"@ember/legacy-built-in-components\"));\n    LinkComponent = LegacyLinkComponent;\n  }\n  {\n    LinkToExternal = class LinkToExternal extends LinkComponent {\n      _namespaceRoute(targetRouteName) {\n        const owner = (0, _application.getOwner)(this);\n        if (!owner.mountPoint) {\n          return super._namespaceRoute(...arguments);\n        }\n        const externalRoute = owner._getExternalRoute(targetRouteName);\n        return externalRoute;\n      }\n\n      // override LinkTo's assertLinkToOrigin method to noop. In LinkTo, this assertion\n      // checks to make sure LinkTo is not being used inside a routeless engine\n      // See this PR here for more details: https://github.com/emberjs/ember.js/pull/19477\n      assertLinkToOrigin() {}\n    };\n  }\n  var _default = _exports.default = LinkToExternal;\n});","define(\"ember-engines/engine\", [\"exports\", \"@ember/engine\"], function (_exports, _engine) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _engine.default;\n});","define(\"ember-engines/initializers/engines\", [\"exports\", \"ember-engines/-private/route-ext\", \"ember-engines/-private/router-ext\", \"ember-engines/-private/engine-ext\", \"ember-engines/-private/engine-instance-ext\", \"ember-engines/-private/controller-ext\"], function (_exports, _routeExt, _routerExt, _engineExt, _engineInstanceExt, _controllerExt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  // Load extensions to Ember\n\n  // TODO: Move to ensure they run prior to instantiating Ember.Application\n  function initialize() {}\n  var _default = _exports.default = {\n    name: 'engines',\n    initialize\n  };\n});","define(\"ember-engines/routes\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = buildRoutes;\n  function buildRoutes(callback) {\n    callback.isRouteMap = true;\n    return callback;\n  }\n});","define(\"ember-fetch/errors\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isAbortError = isAbortError;\n  _exports.isBadRequestResponse = isBadRequestResponse;\n  _exports.isConflictResponse = isConflictResponse;\n  _exports.isForbiddenResponse = isForbiddenResponse;\n  _exports.isGoneResponse = isGoneResponse;\n  _exports.isInvalidResponse = isInvalidResponse;\n  _exports.isNotFoundResponse = isNotFoundResponse;\n  _exports.isServerErrorResponse = isServerErrorResponse;\n  _exports.isUnauthorizedResponse = isUnauthorizedResponse;\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  /**\n   * Checks if the given response represents a forbidden request error\n   */\n  function isForbiddenResponse(response) {\n    return response.status === 403;\n  }\n\n  /**\n   * Checks if the given response represents an invalid request error\n   */\n  function isInvalidResponse(response) {\n    return response.status === 422;\n  }\n\n  /**\n   * Checks if the given response represents a bad request error\n   */\n  function isBadRequestResponse(response) {\n    return response.status === 400;\n  }\n\n  /**\n   * Checks if the given response represents a \"not found\" error\n   */\n  function isNotFoundResponse(response) {\n    return response.status === 404;\n  }\n\n  /**\n   * Checks if the given response represents a \"gone\" error\n   */\n  function isGoneResponse(response) {\n    return response.status === 410;\n  }\n\n  /**\n   * Checks if the given error is an \"abort\" error\n   */\n  function isAbortError(error) {\n    return error.name == 'AbortError';\n  }\n\n  /**\n   * Checks if the given response represents a conflict error\n   */\n  function isConflictResponse(response) {\n    return response.status === 409;\n  }\n\n  /**\n   * Checks if the given response represents a server error\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  function isPlainObject(obj) {\n    return Object.prototype.toString.call(obj) === '[object Object]';\n  }\n});","define(\"ember-fetch/utils/determine-body-promise\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = determineBodyPromise;\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      try {\n        ret = JSON.parse(payload);\n      } catch (error) {\n        if (!(error instanceof SyntaxError)) {\n          throw error;\n        }\n        const status = response.status;\n        if (response.ok && (status === 204 || status === 205 || requestData.method === 'HEAD')) {\n          ret = undefined;\n        } else {\n          (0, _debug.debug)(`This response was unable to be parsed as json: ${payload}`);\n        }\n      }\n      return ret;\n    });\n  }\n});","define(\"ember-fetch/utils/mung-options-for-fetch\", [\"exports\", \"@ember/polyfills\", \"ember-fetch/utils/serialize-query-params\", \"ember-fetch/types\"], function (_exports, _polyfills, _serializeQueryParams, _types) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = mungOptionsForFetch;\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 = (0, _polyfills.assign)({\n      credentials: 'same-origin'\n    }, options);\n\n    // Default to 'GET' in case `type` is not passed in (mimics jQuery.ajax).\n    hash.method = (hash.method || hash.type || 'GET').toUpperCase();\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    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.default = void 0;\n  _exports.serializeQueryParams = serializeQueryParams;\n  const RBRACKET = /\\[\\]$/;\n\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  function serializeQueryParams(queryParamsObject) {\n    var s = [];\n    function buildParams(prefix, obj) {\n      var i, len, key;\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      return s;\n    }\n    return buildParams('', queryParamsObject).join('&').replace(/%20/g, '+');\n  }\n\n  /**\n   * Part of the `serializeQueryParams` helper function.\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    v = typeof v === 'function' ? v() : v;\n    s[s.length] = `${encodeURIComponent(k)}=${encodeURIComponent(v)}`;\n  }\n  var _default = _exports.default = serializeQueryParams;\n});","define(\"ember-inflector/index\", [\"exports\", \"ember-inflector/lib/system\"], function (_exports, _system) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  Object.defineProperty(_exports, \"pluralize\", {\n    enumerable: true,\n    get: function () {\n      return _system.pluralize;\n    }\n  });\n  Object.defineProperty(_exports, \"singularize\", {\n    enumerable: true,\n    get: function () {\n      return _system.singularize;\n    }\n  });\n  var _default = _exports.default = _system.Inflector;\n});","define(\"ember-inflector/lib/helpers/pluralize\", [\"exports\", \"ember-inflector\", \"ember-inflector/lib/utils/make-helper\"], function (_exports, _emberInflector, _makeHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *\n   * If you have Ember Inflector (such as if Ember Data is present),\n   * pluralize a word. For example, turn \"ox\" into \"oxen\".\n   *\n   * Example:\n   *\n   * {{pluralize count myProperty}}\n   * {{pluralize 1 \"oxen\"}}\n   * {{pluralize myProperty}}\n   * {{pluralize \"ox\"}}\n   *\n   * @for Ember.HTMLBars.helpers\n   * @method pluralize\n   * @param {Number|Property} [count] count of objects\n   * @param {String|Property} word word to pluralize\n   */\n  var _default = _exports.default = (0, _makeHelper.default)(function (params, hash) {\n    let fullParams = new Array(...params);\n    if (fullParams.length === 2) {\n      fullParams.push({\n        withoutCount: hash[\"without-count\"]\n      });\n    }\n    return (0, _emberInflector.pluralize)(...fullParams);\n  });\n});","define(\"ember-inflector/lib/helpers/singularize\", [\"exports\", \"ember-inflector\", \"ember-inflector/lib/utils/make-helper\"], function (_exports, _emberInflector, _makeHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *\n   * If you have Ember Inflector (such as if Ember Data is present),\n   * singularize a word. For example, turn \"oxen\" into \"ox\".\n   *\n   * Example:\n   *\n   * {{singularize myProperty}}\n   * {{singularize \"oxen\"}}\n   *\n   * @for Ember.HTMLBars.helpers\n   * @method singularize\n   * @param {String|Property} word word to singularize\n  */\n  var _default = _exports.default = (0, _makeHelper.default)(function (params) {\n    return (0, _emberInflector.singularize)(params[0]);\n  });\n});","define(\"ember-inflector/lib/system\", [\"exports\", \"ember-inflector/lib/system/inflector\", \"ember-inflector/lib/system/string\"], function (_exports, _inflector, _string) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Inflector\", {\n    enumerable: true,\n    get: function () {\n      return _inflector.default;\n    }\n  });\n  Object.defineProperty(_exports, \"pluralize\", {\n    enumerable: true,\n    get: function () {\n      return _string.pluralize;\n    }\n  });\n  Object.defineProperty(_exports, \"singularize\", {\n    enumerable: true,\n    get: function () {\n      return _string.singularize;\n    }\n  });\n});","define(\"ember-inflector/lib/system/inflections\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    plurals: [[/$/, 's'], [/s$/i, 's'], [/^(ax|test)is$/i, '$1es'], [/(octop|vir)us$/i, '$1i'], [/(octop|vir)i$/i, '$1i'], [/(alias|status|bonus)$/i, '$1es'], [/(bu)s$/i, '$1ses'], [/(buffal|tomat)o$/i, '$1oes'], [/([ti])um$/i, '$1a'], [/([ti])a$/i, '$1a'], [/sis$/i, 'ses'], [/(?:([^f])fe|([lr])f)$/i, '$1$2ves'], [/(hive)$/i, '$1s'], [/([^aeiouy]|qu)y$/i, '$1ies'], [/(x|ch|ss|sh)$/i, '$1es'], [/(matr|vert|ind)(?:ix|ex)$/i, '$1ices'], [/^(m|l)ouse$/i, '$1ice'], [/^(m|l)ice$/i, '$1ice'], [/^(ox)$/i, '$1en'], [/^(oxen)$/i, '$1'], [/(quiz)$/i, '$1zes']],\n    singular: [[/s$/i, ''], [/(ss)$/i, '$1'], [/(n)ews$/i, '$1ews'], [/([ti])a$/i, '$1um'], [/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)(sis|ses)$/i, '$1sis'], [/(^analy)(sis|ses)$/i, '$1sis'], [/([^f])ves$/i, '$1fe'], [/(hive)s$/i, '$1'], [/(tive)s$/i, '$1'], [/([lr])ves$/i, '$1f'], [/([^aeiouy]|qu)ies$/i, '$1y'], [/(s)eries$/i, '$1eries'], [/(m)ovies$/i, '$1ovie'], [/(x|ch|ss|sh)es$/i, '$1'], [/^(m|l)ice$/i, '$1ouse'], [/(bus)(es)?$/i, '$1'], [/(o)es$/i, '$1'], [/(shoe)s$/i, '$1'], [/(cris|test)(is|es)$/i, '$1is'], [/^(a)x[ie]s$/i, '$1xis'], [/(octop|vir)(us|i)$/i, '$1us'], [/(alias|status|bonus)(es)?$/i, '$1'], [/^(ox)en/i, '$1'], [/(vert|ind)ices$/i, '$1ex'], [/(matr)ices$/i, '$1ix'], [/(quiz)zes$/i, '$1'], [/(database)s$/i, '$1']],\n    irregularPairs: [['person', 'people'], ['man', 'men'], ['child', 'children'], ['sex', 'sexes'], ['move', 'moves'], ['cow', 'kine'], ['zombie', 'zombies']],\n    uncountable: ['equipment', 'information', 'rice', 'money', 'species', 'series', 'fish', 'sheep', 'jeans', 'police']\n  };\n});","define(\"ember-inflector/lib/system/inflector\", [\"exports\", \"@ember/string\", \"ember-inflector/lib/system/inflections\"], function (_exports, _string, _inflections) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const BLANK_REGEX = /^\\s*$/;\n  const LAST_WORD_DASHED_REGEX = /([\\w/-]+[_/\\s-])([a-z\\d]+$)/;\n  const LAST_WORD_CAMELIZED_REGEX = /([\\w/\\s-]+)([A-Z][a-z\\d]*$)/;\n  const CAMELIZED_REGEX = /[A-Z][a-z\\d]*$/;\n  function loadUncountable(rules, uncountable) {\n    for (let i = 0, length = uncountable.length; i < length; i++) {\n      rules.uncountable[uncountable[i].toLowerCase()] = true;\n    }\n  }\n  function loadIrregular(rules, irregularPairs) {\n    let pair;\n    for (let i = 0, length = irregularPairs.length; i < length; i++) {\n      pair = irregularPairs[i];\n\n      //pluralizing\n      rules.irregular[pair[0].toLowerCase()] = pair[1];\n      rules.irregular[pair[1].toLowerCase()] = pair[1];\n\n      //singularizing\n      rules.irregularInverse[pair[1].toLowerCase()] = pair[0];\n      rules.irregularInverse[pair[0].toLowerCase()] = pair[0];\n    }\n  }\n\n  /**\n    Inflector.Ember provides a mechanism for supplying inflection rules for your\n    application. Ember includes a default set of inflection rules, and provides an\n    API for providing additional rules.\n  \n    Examples:\n  \n    Creating an inflector with no rules.\n  \n    ```js\n    var inflector = new Ember.Inflector();\n    ```\n  \n    Creating an inflector with the default ember ruleset.\n  \n    ```js\n    var inflector = new Ember.Inflector(Ember.Inflector.defaultRules);\n  \n    inflector.pluralize('cow'); //=> 'kine'\n    inflector.singularize('kine'); //=> 'cow'\n    ```\n  \n    Creating an inflector and adding rules later.\n  \n    ```javascript\n    var inflector = Ember.Inflector.inflector;\n  \n    inflector.pluralize('advice'); // => 'advices'\n    inflector.uncountable('advice');\n    inflector.pluralize('advice'); // => 'advice'\n  \n    inflector.pluralize('formula'); // => 'formulas'\n    inflector.irregular('formula', 'formulae');\n    inflector.pluralize('formula'); // => 'formulae'\n  \n    // you would not need to add these as they are the default rules\n    inflector.plural(/$/, 's');\n    inflector.singular(/s$/i, '');\n    ```\n  \n    Creating an inflector with a nondefault ruleset.\n  \n    ```javascript\n    var rules = {\n      plurals:  [\n        [ /$/, 's' ]\n      ],\n      singular: [\n        [ /\\s$/, '' ]\n      ],\n      irregularPairs: [\n        [ 'cow', 'kine' ]\n      ],\n      uncountable: [ 'fish' ]\n    };\n  \n    var inflector = new Ember.Inflector(rules);\n    ```\n  \n    @class Inflector\n    @namespace Ember\n  */\n  function Inflector(ruleSet) {\n    ruleSet = ruleSet || {};\n    ruleSet.uncountable = ruleSet.uncountable || makeDictionary();\n    ruleSet.irregularPairs = ruleSet.irregularPairs || makeDictionary();\n    const rules = this.rules = {\n      plurals: ruleSet.plurals || [],\n      singular: ruleSet.singular || [],\n      irregular: makeDictionary(),\n      irregularInverse: makeDictionary(),\n      uncountable: makeDictionary()\n    };\n    loadUncountable(rules, ruleSet.uncountable);\n    loadIrregular(rules, ruleSet.irregularPairs);\n    this.enableCache();\n  }\n  if (!Object.create && !Object.create(null).hasOwnProperty) {\n    throw new Error(\"This browser does not support Object.create(null), please polyfil with es5-sham: http://git.io/yBU2rg\");\n  }\n  function makeDictionary() {\n    var cache = Object.create(null);\n    cache['_dict'] = null;\n    delete cache['_dict'];\n    return cache;\n  }\n  Inflector.prototype = {\n    /**\n      @public\n       As inflections can be costly, and commonly the same subset of words are repeatedly\n      inflected an optional cache is provided.\n       @method enableCache\n    */\n    enableCache() {\n      this.purgeCache();\n      this.singularize = function (word) {\n        this._cacheUsed = true;\n        return this._sCache[word] || (this._sCache[word] = this._singularize(word));\n      };\n      this.pluralize = function (numberOrWord, word, options = {}) {\n        this._cacheUsed = true;\n        var cacheKey = [numberOrWord, word, options.withoutCount];\n        return this._pCache[cacheKey] || (this._pCache[cacheKey] = this._pluralize(numberOrWord, word, options));\n      };\n    },\n    /**\n      @public\n       @method purgeCache\n    */\n    purgeCache() {\n      this._cacheUsed = false;\n      this._sCache = makeDictionary();\n      this._pCache = makeDictionary();\n    },\n    /**\n      @public\n      disable caching\n       @method disableCache;\n    */\n    disableCache() {\n      this._sCache = null;\n      this._pCache = null;\n      this.singularize = function (word) {\n        return this._singularize(word);\n      };\n      this.pluralize = function () {\n        return this._pluralize(...arguments);\n      };\n    },\n    /**\n      @method plural\n      @param {RegExp} regex\n      @param {String} string\n    */\n    plural(regex, string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      this.rules.plurals.push([regex, string.toLowerCase()]);\n    },\n    /**\n      @method singular\n      @param {RegExp} regex\n      @param {String} string\n    */\n    singular(regex, string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      this.rules.singular.push([regex, string.toLowerCase()]);\n    },\n    /**\n      @method uncountable\n      @param {String} regex\n    */\n    uncountable(string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      loadUncountable(this.rules, [string.toLowerCase()]);\n    },\n    /**\n      @method irregular\n      @param {String} singular\n      @param {String} plural\n    */\n    irregular(singular, plural) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      loadIrregular(this.rules, [[singular, plural]]);\n    },\n    /**\n      @method pluralize\n      @param {String} word\n    */\n    pluralize() {\n      return this._pluralize(...arguments);\n    },\n    _pluralize(wordOrCount, word, options = {}) {\n      if (word === undefined) {\n        return this.inflect(wordOrCount, this.rules.plurals, this.rules.irregular);\n      }\n      if (parseFloat(wordOrCount) !== 1) {\n        word = this.inflect(word, this.rules.plurals, this.rules.irregular);\n      }\n      return options.withoutCount ? word : `${wordOrCount} ${word}`;\n    },\n    /**\n      @method singularize\n      @param {String} word\n    */\n    singularize(word) {\n      return this._singularize(word);\n    },\n    _singularize(word) {\n      return this.inflect(word, this.rules.singular, this.rules.irregularInverse);\n    },\n    /**\n      @protected\n       @method inflect\n      @param {String} word\n      @param {Object} typeRules\n      @param {Object} irregular\n    */\n    inflect(word, typeRules, irregular) {\n      let inflection, substitution, result, lowercase, wordSplit, lastWord, isBlank, isCamelized, rule, isUncountable;\n      isBlank = !word || BLANK_REGEX.test(word);\n      isCamelized = CAMELIZED_REGEX.test(word);\n      if (isBlank) {\n        return word;\n      }\n      lowercase = word.toLowerCase();\n      wordSplit = LAST_WORD_DASHED_REGEX.exec(word) || LAST_WORD_CAMELIZED_REGEX.exec(word);\n      if (wordSplit) {\n        lastWord = wordSplit[2].toLowerCase();\n      }\n      isUncountable = this.rules.uncountable[lowercase] || this.rules.uncountable[lastWord];\n      if (isUncountable) {\n        return word;\n      }\n      for (rule in irregular) {\n        if (lowercase.match(rule + \"$\")) {\n          substitution = irregular[rule];\n          if (isCamelized && irregular[lastWord]) {\n            substitution = (0, _string.capitalize)(substitution);\n            rule = (0, _string.capitalize)(rule);\n          }\n          return word.replace(new RegExp(rule, 'i'), substitution);\n        }\n      }\n      for (var i = typeRules.length, min = 0; i > min; i--) {\n        inflection = typeRules[i - 1];\n        rule = inflection[0];\n        if (rule.test(word)) {\n          break;\n        }\n      }\n      inflection = inflection || [];\n      rule = inflection[0];\n      substitution = inflection[1];\n      result = word.replace(rule, substitution);\n      return result;\n    }\n  };\n  Inflector.defaultRules = _inflections.default;\n  Inflector.inflector = new Inflector(_inflections.default);\n  var _default = _exports.default = Inflector;\n});","define(\"ember-inflector/lib/system/string\", [\"exports\", \"ember-inflector/lib/system/inflector\"], function (_exports, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.pluralize = pluralize;\n  _exports.singularize = singularize;\n  function pluralize() {\n    return _inflector.default.inflector.pluralize(...arguments);\n  }\n  function singularize(word) {\n    return _inflector.default.inflector.singularize(word);\n  }\n});","define(\"ember-inflector/lib/utils/make-helper\", [\"exports\", \"ember\", \"@ember/component/helper\"], function (_exports, _ember, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = makeHelper;\n  function makeHelper(helperFunction) {\n    if (_helper.default) {\n      return _helper.default.helper(helperFunction);\n    }\n    if (_ember.default.HTMLBars) {\n      return _ember.default.HTMLBars.makeBoundHelper(helperFunction);\n    }\n    return _ember.default.Handlebars.makeBoundHelper(helperFunction);\n  }\n});","define(\"ember-intl/-private/formatjs/format-date\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.formatDate = formatDate;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function formatDate(intlShape, ...[value, formatOptions]) {\n    return intlShape.formatDate(value, formatOptions);\n  }\n});","define(\"ember-intl/-private/formatjs/format-list\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.formatList = formatList;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function formatList(intlShape, ...[value, formatOptions]) {\n    return intlShape.formatList(value, formatOptions);\n  }\n});","define(\"ember-intl/-private/formatjs/format-message\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.formatMessage = formatMessage;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function formatMessage(intlShape, ...[descriptor, parameters]) {\n    return intlShape.formatMessage(descriptor, parameters, {\n      ignoreTag: true\n    });\n  }\n});","define(\"ember-intl/-private/formatjs/format-number\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.formatNumber = formatNumber;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function formatNumber(intlShape, ...[value, formatOptions]) {\n    return intlShape.formatNumber(value, formatOptions);\n  }\n});","define(\"ember-intl/-private/formatjs/format-relative\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.formatRelative = formatRelative;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function formatRelative(intlShape, ...[value, unit, formatOptions]) {\n    return intlShape.formatRelativeTime(value, unit, formatOptions);\n  }\n});","define(\"ember-intl/-private/formatjs/format-time\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.formatTime = formatTime;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function formatTime(intlShape, ...[value, formatOptions]) {\n    return intlShape.formatTime(value, formatOptions);\n  }\n});","define(\"ember-intl/-private/formatjs/index\", [\"exports\", \"ember-intl/-private/formatjs/format-date\", \"ember-intl/-private/formatjs/format-list\", \"ember-intl/-private/formatjs/format-message\", \"ember-intl/-private/formatjs/format-number\", \"ember-intl/-private/formatjs/format-relative\", \"ember-intl/-private/formatjs/format-time\", \"@formatjs/intl\"], function (_exports, _formatDate, _formatList, _formatMessage, _formatNumber, _formatRelative, _formatTime, _intl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  var _exportNames = {\n    createIntl: true,\n    createIntlCache: true\n  };\n  Object.defineProperty(_exports, \"createIntl\", {\n    enumerable: true,\n    get: function () {\n      return _intl.createIntl;\n    }\n  });\n  Object.defineProperty(_exports, \"createIntlCache\", {\n    enumerable: true,\n    get: function () {\n      return _intl.createIntlCache;\n    }\n  });\n  Object.keys(_formatDate).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] === _formatDate[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _formatDate[key];\n      }\n    });\n  });\n  Object.keys(_formatList).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] === _formatList[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _formatList[key];\n      }\n    });\n  });\n  Object.keys(_formatMessage).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] === _formatMessage[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _formatMessage[key];\n      }\n    });\n  });\n  Object.keys(_formatNumber).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] === _formatNumber[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _formatNumber[key];\n      }\n    });\n  });\n  Object.keys(_formatRelative).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] === _formatRelative[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _formatRelative[key];\n      }\n    });\n  });\n  Object.keys(_formatTime).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] === _formatTime[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _formatTime[key];\n      }\n    });\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-intl/-private/formatjs/format-date\",0,\"ember-intl/-private/formatjs/format-list\",0,\"ember-intl/-private/formatjs/format-message\",0,\"ember-intl/-private/formatjs/format-number\",0,\"ember-intl/-private/formatjs/format-relative\",0,\"ember-intl/-private/formatjs/format-time\",0,\"@formatjs/intl\"eaimeta@70e063a35619d71f\n});","define(\"ember-intl/-private/utils/escape-format-message-options\", [\"exports\", \"@ember/template\"], function (_exports, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.escapeFormatMessageOptions = escapeFormatMessageOptions;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/template\"eaimeta@70e063a35619d71f\n  const escaped = {\n    '&': '&amp;',\n    '<': '&lt;',\n    '>': '&gt;',\n    '\"': '&quot;',\n    \"'\": '&#x27;',\n    '`': '&#x60;',\n    '=': '&#x3D;'\n  };\n  const needToEscape = /[&<>\"'`=]/;\n  const badCharacters = /[&<>\"'`=]/g;\n\n  // https://github.com/emberjs/ember.js/blob/v5.8.0/packages/%40ember/-internals/glimmer/lib/utils/string.ts#L103-L118\n  function escapeExpression(value) {\n    if (!needToEscape.test(value)) {\n      return value;\n    }\n    return value.replace(badCharacters, character => {\n      return escaped[character];\n    });\n  }\n\n  /**\n   * @private\n   * @hide\n   */\n  function escapeFormatMessageOptions(options) {\n    const escapedOptions = {};\n    for (const [key, value] of Object.entries(options)) {\n      let newValue;\n      if ((0, _template.isHTMLSafe)(value)) {\n        /*\n          Cast `value`, an instance of `SafeString`, to a string\n          using `.toHTML()`. Since `value` is assumed to be safe,\n          we don't need to call `escapeExpression()`.\n        */\n        newValue = value.toHTML();\n      } else if (typeof value === 'string') {\n        newValue = escapeExpression(value);\n      } else {\n        newValue = value;\n      }\n\n      // @ts-expect-error: Type not specific enough\n      escapedOptions[key] = newValue;\n    }\n    return escapedOptions;\n  }\n});","define(\"ember-intl/-private/utils/get-dom\", [\"exports\", \"@ember/application\"], function (_exports, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getDOM = getDOM;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application\"eaimeta@70e063a35619d71f\n  // https://github.com/yapplabs/ember-wormhole/blob/0.6.0/addon/utils/dom.js#L45-L63\n  /**\n   * @private\n   * @hide\n   */\n  function getDOM(context) {\n    // @ts-expect-error: Property 'renderer' does not exist on type 'unknown'.\n    let {\n      renderer\n    } = context;\n\n    // Pre-glimmer 2\n    if (!renderer || !renderer._dom) {\n      // @ts-expect-error: 'context' is of type 'unknown'.\n      const container = _application.getOwner ? (0, _application.getOwner)(context) : context.container;\n      const document = container.lookup('service:-document');\n      if (document) {\n        return document;\n      }\n      renderer = container.lookup('renderer:-dom');\n    }\n\n    // Pre-Ember 2.6\n    if (renderer._dom && renderer._dom.document) {\n      return renderer._dom.document;\n    }\n    return null;\n  }\n});","define(\"ember-intl/-private/utils/locale\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.convertToArray = convertToArray;\n  _exports.convertToString = convertToString;\n  _exports.hasLocaleChanged = hasLocaleChanged;\n  _exports.normalizeLocale = normalizeLocale;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  /**\n   * @private\n   * @hide\n   */\n  function convertToArray(locale) {\n    if (Array.isArray(locale)) {\n      return locale;\n    }\n    return [locale];\n  }\n\n  /**\n   * @private\n   * @hide\n   */\n  function convertToString(locale) {\n    if (Array.isArray(locale)) {\n      return locale[0];\n    }\n    return locale;\n  }\n  /**\n   * @private\n   * @hide\n   */\n  function hasLocaleChanged(locale1, locale2) {\n    if (!Array.isArray(locale2)) {\n      return true;\n    }\n    return locale1.toString() !== locale2.toString();\n  }\n\n  /**\n   * @private\n   * @hide\n   */\n  function normalizeLocale(locale) {\n    return locale.replace(/_/g, '-').toLowerCase();\n  }\n});","define(\"ember-intl/-private/utils/translations\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.flattenKeys = flattenKeys;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  /**\n   * @private\n   * @hide\n   */\n  function flattenKeys(object) {\n    const result = {};\n    for (const key in object) {\n      if (!Object.prototype.hasOwnProperty.call(object, key)) {\n        continue;\n      }\n      const value = object[key];\n\n      // If `value` is not `null`\n      if (value && typeof value === 'object') {\n        const hash = flattenKeys(value);\n        for (const suffix in hash) {\n          const translation = hash[suffix];\n          if (typeof translation !== 'undefined') {\n            result[`${key}.${suffix}`] = translation;\n          }\n        }\n      } else {\n        if (typeof value !== 'undefined') {\n          result[key] = value;\n        }\n      }\n    }\n    return result;\n  }\n});","define(\"ember-intl/helpers/format-date\", [\"exports\", \"@ember/component/helper\", \"@ember/service\"], function (_exports, _helper, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let FormatDateHelper = _exports.default = (_class = class FormatDateHelper extends _helper.default {\n    constructor() {\n      // eslint-disable-next-line prefer-rest-params\n      super(...arguments);\n\n      // @ts-expect-error: Property 'onLocaleChanged' is private and only accessible within class 'IntlService'.\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      this.intl.onLocaleChanged(this.recompute, this);\n    }\n    compute([value], options) {\n      return this.intl.formatDate(value, options);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-intl/helpers/format-list\", [\"exports\", \"@ember/component/helper\", \"@ember/service\"], function (_exports, _helper, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let FormatListHelper = _exports.default = (_class = class FormatListHelper extends _helper.default {\n    constructor() {\n      // eslint-disable-next-line prefer-rest-params\n      super(...arguments);\n\n      // @ts-expect-error: Property 'onLocaleChanged' is private and only accessible within class 'IntlService'.\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      this.intl.onLocaleChanged(this.recompute, this);\n    }\n    compute([value], options) {\n      return this.intl.formatList(value, options);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-intl/helpers/format-message\", [\"exports\", \"@ember/component/helper\", \"@ember/service\"], function (_exports, _helper, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let FormatMessageHelper = _exports.default = (_class = class FormatMessageHelper extends _helper.default {\n    constructor() {\n      // eslint-disable-next-line prefer-rest-params\n      super(...arguments);\n\n      // @ts-expect-error: Property 'onLocaleChanged' is private and only accessible within class 'IntlService'.\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      this.intl.onLocaleChanged(this.recompute, this);\n    }\n    compute([value], options) {\n      return this.intl.formatMessage(value, options);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-intl/helpers/format-number\", [\"exports\", \"@ember/component/helper\", \"@ember/service\"], function (_exports, _helper, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let FormatNumberHelper = _exports.default = (_class = class FormatNumberHelper extends _helper.default {\n    constructor() {\n      // eslint-disable-next-line prefer-rest-params\n      super(...arguments);\n\n      // @ts-expect-error: Property 'onLocaleChanged' is private and only accessible within class 'IntlService'.\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      this.intl.onLocaleChanged(this.recompute, this);\n    }\n    compute([value], options) {\n      return this.intl.formatNumber(value, options);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-intl/helpers/format-relative\", [\"exports\", \"@ember/component/helper\", \"@ember/service\"], function (_exports, _helper, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let FormatRelativeHelper = _exports.default = (_class = class FormatRelativeHelper extends _helper.default {\n    constructor() {\n      // eslint-disable-next-line prefer-rest-params\n      super(...arguments);\n\n      // @ts-expect-error: Property 'onLocaleChanged' is private and only accessible within class 'IntlService'.\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      this.intl.onLocaleChanged(this.recompute, this);\n    }\n    compute([value], options) {\n      return this.intl.formatRelative(value, options);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-intl/helpers/format-time\", [\"exports\", \"@ember/component/helper\", \"@ember/service\"], function (_exports, _helper, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let FormatTimeHelper = _exports.default = (_class = class FormatTimeHelper extends _helper.default {\n    constructor() {\n      // eslint-disable-next-line prefer-rest-params\n      super(...arguments);\n\n      // @ts-expect-error: Property 'onLocaleChanged' is private and only accessible within class 'IntlService'.\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      this.intl.onLocaleChanged(this.recompute, this);\n    }\n    compute([value], options) {\n      return this.intl.formatTime(value, options);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-intl/helpers/t\", [\"exports\", \"@ember/component/helper\", \"@ember/service\"], function (_exports, _helper, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/service\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let THelper = _exports.default = (_class = class THelper extends _helper.default {\n    constructor() {\n      // eslint-disable-next-line prefer-rest-params\n      super(...arguments);\n\n      // @ts-expect-error: Property 'onLocaleChanged' is private and only accessible within class 'IntlService'.\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      this.intl.onLocaleChanged(this.recompute, this);\n    }\n    compute([key, positionalOptions], namedOptions) {\n      const options = positionalOptions ? Object.assign({}, positionalOptions, namedOptions) : namedOptions;\n      return this.intl.t(key, options);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-intl/index\", [\"exports\", \"ember-intl/helpers/format-date\", \"ember-intl/helpers/format-list\", \"ember-intl/helpers/format-message\", \"ember-intl/helpers/format-number\", \"ember-intl/helpers/format-relative\", \"ember-intl/helpers/format-time\", \"ember-intl/helpers/t\"], function (_exports, _formatDate, _formatList, _formatMessage, _formatNumber, _formatRelative, _formatTime, _t) {\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, \"formatList\", {\n    enumerable: true,\n    get: function () {\n      return _formatList.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  Object.defineProperty(_exports, \"t\", {\n    enumerable: true,\n    get: function () {\n      return _t.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-intl/helpers/format-date\",0,\"ember-intl/helpers/format-list\",0,\"ember-intl/helpers/format-message\",0,\"ember-intl/helpers/format-number\",0,\"ember-intl/helpers/format-relative\",0,\"ember-intl/helpers/format-time\",0,\"ember-intl/helpers/t\"eaimeta@70e063a35619d71f\n});","define(\"ember-intl/services/intl\", [\"exports\", \"@ember/application\", \"@ember/destroyable\", \"@ember/runloop\", \"@ember/service\", \"@ember/template\", \"@glimmer/tracking\", \"eventemitter3\", \"ember-intl/-private/formatjs/index\", \"ember-intl/-private/utils/escape-format-message-options\", \"ember-intl/-private/utils/get-dom\", \"ember-intl/-private/utils/locale\", \"ember-intl/-private/utils/translations\", \"ember-intl/translations\"], function (_exports, _application, _destroyable, _runloop, _service, _template, _tracking, _eventemitter, _index, _escapeFormatMessageOptions, _getDom, _locale, _translations, _translations2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application\",0,\"@ember/destroyable\",0,\"@ember/runloop\",0,\"@ember/service\",0,\"@ember/template\",0,\"@glimmer/tracking\",0,\"eventemitter3\",0,\"ember-intl/-private/formatjs/index\",0,\"ember-intl/-private/utils/escape-format-message-options\",0,\"ember-intl/-private/utils/get-dom\",0,\"ember-intl/-private/utils/locale\",0,\"ember-intl/-private/utils/translations\",0,\"ember-intl/translations\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let IntlService = _exports.default = (_class = class IntlService extends _service.default {\n    get locales() {\n      return Object.keys(this._intls);\n    }\n    get primaryLocale() {\n      if (!this._locale) {\n        return;\n      }\n      return this._locale[0];\n    }\n    constructor() {\n      // eslint-disable-next-line prefer-rest-params\n      super(...arguments);\n      _initializerDefineProperty(this, \"_intls\", _descriptor, this);\n      _initializerDefineProperty(this, \"_locale\", _descriptor2, this);\n      _defineProperty(this, \"_cache\", (0, _index.createIntlCache)());\n      _defineProperty(this, \"_eventEmitter\", new _eventemitter.default());\n      _defineProperty(this, \"_formats\", void 0);\n      _defineProperty(this, \"_timer\", void 0);\n      _defineProperty(this, \"_onFormatjsError\", error => {\n        switch (error.code) {\n          case 'MISSING_TRANSLATION':\n            {\n              // Do nothing\n              break;\n            }\n          default:\n            {\n              throw error;\n            }\n        }\n      });\n      _defineProperty(this, \"_onMissingTranslation\", (key, locales) => {\n        const locale = locales.join(', ');\n        return `Missing translation \"${key}\" for locale \"${locale}\"`;\n      });\n      if (!this._formats) {\n        // @ts-expect-error: Property 'resolveRegistration' does not exist on type 'Owner'\n        this._formats = (0, _application.getOwner)(this).resolveRegistration('formats:main') ?? {};\n      }\n\n      // Hydrate\n      _translations2.default.forEach(([locale, translations]) => {\n        this.addTranslations(locale, translations);\n      });\n    }\n    willDestroy() {\n      super.willDestroy();\n\n      // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n      // @ts-ignore: Argument of type 'Timer | undefined' is not assignable to parameter of type 'EmberRunTimer | undefined'\n      // eslint-disable-next-line ember/no-runloop\n      (0, _runloop.cancel)(this._timer);\n    }\n    addTranslations(locale, translations) {\n      const messages = (0, _translations.flattenKeys)(translations);\n      this.updateIntl(locale, messages);\n    }\n    exists(key, locale) {\n      const locales = locale ? (0, _locale.convertToArray)(locale) : this._locale;\n      return locales.some(locale => {\n        return this.getTranslation(key, locale) !== undefined;\n      });\n    }\n    formatDate(value, options) {\n      if (value === undefined || value === null) {\n        return '';\n      }\n      const intlShape = this.getIntlShape(options?.locale);\n      return (0, _index.formatDate)(intlShape, value, options);\n    }\n    formatList(value, options) {\n      if (value === undefined || value === null) {\n        return '';\n      }\n      const intlShape = this.getIntlShape(options?.locale);\n      return (0, _index.formatList)(intlShape, value, options);\n    }\n    formatMessage(value, options) {\n      if (value === undefined || value === null) {\n        return '';\n      }\n      const intlShape = this.getIntlShape(options?.locale);\n      const descriptor = typeof value === 'object' ? value : {\n        defaultMessage: value,\n        description: undefined,\n        id: value\n      };\n      if (options?.htmlSafe) {\n        const output = (0, _index.formatMessage)(intlShape, descriptor, (0, _escapeFormatMessageOptions.escapeFormatMessageOptions)(options));\n        return (0, _template.htmlSafe)(output);\n      }\n      return (0, _index.formatMessage)(intlShape, descriptor, options);\n    }\n    formatNumber(value, options) {\n      if (value === undefined || value === null) {\n        return '';\n      }\n      const intlShape = this.getIntlShape(options?.locale);\n      return (0, _index.formatNumber)(intlShape, value, options);\n    }\n    formatRelative(value, options) {\n      if (value === undefined || value === null) {\n        return '';\n      }\n      const intlShape = this.getIntlShape(options?.locale);\n      return (0, _index.formatRelative)(intlShape, value, options?.unit, options);\n    }\n    formatTime(value, options) {\n      if (value === undefined || value === null) {\n        return '';\n      }\n      const intlShape = this.getIntlShape(options?.locale);\n      return (0, _index.formatTime)(intlShape, value, options);\n    }\n    getTranslation(key, locale) {\n      const messages = this.getIntl(locale)?.messages;\n      if (!messages) {\n        return;\n      }\n      return messages[key];\n    }\n    setLocale(locale) {\n      const proposedLocale = (0, _locale.convertToArray)(locale);\n      if ((0, _locale.hasLocaleChanged)(proposedLocale, this._locale)) {\n        this._locale = proposedLocale;\n\n        // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n        // @ts-ignore: Argument of type 'Timer | undefined' is not assignable to parameter of type 'EmberRunTimer | undefined'\n        // eslint-disable-next-line ember/no-runloop\n        (0, _runloop.cancel)(this._timer);\n\n        // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n        // @ts-ignore: Argument of type 'Timer | undefined' is not assignable to parameter of type 'EmberRunTimer | undefined'\n        // eslint-disable-next-line ember/no-runloop\n        this._timer = (0, _runloop.next)(() => {\n          this._eventEmitter.emit('localeChanged');\n          this.updateDocumentLanguage();\n        });\n      }\n      this.updateIntl(proposedLocale);\n    }\n    setOnFormatjsError(onFormatjsError) {\n      this._onFormatjsError = onFormatjsError;\n\n      // Call `updateIntl` to update `onError` for each locale\n      this.locales.forEach(locale => {\n        this.updateIntl(locale, {});\n      });\n    }\n    setOnMissingTranslation(onMissingTranslation) {\n      this._onMissingTranslation = onMissingTranslation;\n    }\n    t(key, options) {\n      const locales = options?.locale ? [options.locale] : this._locale;\n      let translation;\n      for (const locale of locales) {\n        translation = this.getTranslation(key, locale);\n        if (translation !== undefined) {\n          break;\n        }\n      }\n      if (translation === undefined) {\n        return this._onMissingTranslation(key, this._locale, options);\n      }\n\n      // Bypass @formatjs/intl\n      if (translation === '') {\n        return '';\n      }\n      return this.formatMessage({\n        defaultMessage: translation,\n        id: key\n      }, options);\n    }\n    createIntl(locale, messages = {}) {\n      const resolvedLocale = (0, _locale.convertToString)(locale);\n      const formats = this._formats;\n      return (0, _index.createIntl)({\n        defaultFormats: formats,\n        defaultLocale: resolvedLocale,\n        formats,\n        locale: resolvedLocale,\n        // @ts-expect-error: Type 'Record<string, unknown>' is not assignable\n        messages,\n        onError: this._onFormatjsError\n      }, this._cache);\n    }\n    getIntl(locale) {\n      const resolvedLocale = (0, _locale.normalizeLocale)((0, _locale.convertToString)(locale));\n      return this._intls[resolvedLocale];\n    }\n    getIntlShape(locale) {\n      if (locale) {\n        return this.createIntl(locale);\n      }\n      return this.getIntl(this._locale);\n    }\n    onLocaleChanged(fn, context) {\n      this._eventEmitter.on('localeChanged', fn, context);\n      (0, _destroyable.registerDestructor)(context, () => {\n        this._eventEmitter.off('localeChanged', fn, context);\n      });\n    }\n    updateDocumentLanguage() {\n      const dom = (0, _getDom.getDOM)(this);\n      if (dom) {\n        const html = dom.documentElement;\n        html.setAttribute('lang', this.primaryLocale);\n      }\n    }\n    updateIntl(locale, messages) {\n      const resolvedLocale = (0, _locale.normalizeLocale)((0, _locale.convertToString)(locale));\n      const intl = this._intls[resolvedLocale];\n      let newIntl;\n      if (!intl) {\n        newIntl = this.createIntl(resolvedLocale, messages);\n      } else if (messages) {\n        newIntl = this.createIntl(resolvedLocale, {\n          ...(intl.messages ?? {}),\n          ...messages\n        });\n      }\n      if (!newIntl) {\n        return;\n      }\n      this._intls = {\n        ...this._intls,\n        [resolvedLocale]: newIntl\n      };\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"_intls\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return {};\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"_locale\", [_tracking.tracked], {\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});","define(\"ember-intl/template-registry\", [], function () {\n  \"use strict\";\n\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\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  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  var _default = _exports.default = [[\"en-us\", {\n    \"About\": \"About\",\n    \"Additive synthesis\": \"Additive synthesis\",\n    \"Anchors\": \"Anchors\",\n    \"Animated rose\": \"Animated rose\",\n    \"Animated spiral\": \"Animated spiral\",\n    \"Animation\": \"Animation\",\n    \"Apple\": \"Apple\",\n    \"Attractors\": \"Attractors\",\n    \"Back\": \"Back\",\n    \"Back to gallery\": \"Back to gallery\",\n    \"Balls\": \"Balls\",\n    \"Barnsley fern\": \"Barnsley fern\",\n    \"Base\": \"Base\",\n    \"Basic torus\": \"Basic torus\",\n    \"Bat\": \"Bat\",\n    \"Binary\": \"Binary\",\n    \"Binary system\": \"Binary system\",\n    \"Bisectors\": \"Bisectors\",\n    \"Bissextrices\": \"Bissextrices\",\n    \"Blue\": \"Blue\",\n    \"Border line\": \"Border line\",\n    \"Borromean rings\": \"Borromean rings\",\n    \"Boss heart\": \"Boss heart\",\n    \"Boy surface\": \"Boy surface\",\n    \"Branch\": \"Branch\",\n    \"Broken circle\": \"Cercle brisé\",\n    \"Broken lines\": \"Broken lines\",\n    \"Buddhabrot\": \"Buddhabrot\",\n    \"Burning ship\": \"Burning ship\",\n    \"Butterfly\": \"Butterfly\",\n    \"Cabbage\": \"Cabbage\",\n    \"Cactus\": \"Cactus\",\n    \"Canopy\": \"Canopy\",\n    \"Canvas not supported or disabled\": \"Canvas not supported or disabled\",\n    \"Carousel\": \"Carousel\",\n    \"Cellular automata\": \"Cellular automata\",\n    \"Cesàro fractal\": \"Cesàro fractal\",\n    \"Chaos\": \"Chaos\",\n    \"Chaos game\": \"Chaos game\",\n    \"Checkboard\": \"Checkboard\",\n    \"Chromatic spiral\": \"Chromatic spiral\",\n    \"Chrysanthemum\": \"Chrysanthemum\",\n    \"Circles\": \"Circles\",\n    \"Circumscribed circle\": \"Circumscribed circle\",\n    \"Clearest color\": \"Clearest color\",\n    \"Clifford attractor\": \"Clifford attractor\",\n    \"Color wheel\": \"Color wheel\",\n    \"Colors\": \"Colors\",\n    \"Cone\": \"Cone\",\n    \"Confetti\": \"Confetti\",\n    \"Constant precession curve\": \"Constant precession curve\",\n    \"Constellation\": \"Constellation\",\n    \"Contrast\": \"Contrast\",\n    \"Convert\": \"Convert\",\n    \"Conway circle\": \"Conway circle\",\n    \"Coral\": \"Coral\",\n    \"Cornoid\": \"Cornoid\",\n    \"Crop circle\": \"Crop circle\",\n    \"Cross\": \"Cross\",\n    \"Cross 2\": \"Cross 2\",\n    \"Crown\": \"Crown\",\n    \"Crystal\": \"Crystal\",\n    \"Cube in room\": \"Cube in room\",\n    \"Curlicue\": \"Curlicue\",\n    \"Curves\": \"Curves\",\n    \"Cusp catastrophe\": \"Cusp catastrophe\",\n    \"Cyclone\": \"Cyclone\",\n    \"Cylinder\": \"Cylinder\",\n    \"DLA\": \"DLA\",\n    \"Decagon\": \"Decagon\",\n    \"Decimal\": \"Decimal\",\n    \"Decorative curves\": \"Decorative curves\",\n    \"Decorative curves (2)\": \"Decorative curves (2)\",\n    \"Diagonal\": \"Diagonal\",\n    \"Diamond\": \"Diamond\",\n    \"Dice roll\": \"Dice roll\",\n    \"Dini surface\": \"Dini surface\",\n    \"Disillusion\": \"Disillusion\",\n    \"Dispersion\": \"Dispersion\",\n    \"Dissimilarity\": \"Dissimilarity\",\n    \"Distorsion\": \"Distorsion\",\n    \"Divergent\": \"Divergent\",\n    \"Dog\": \"Dog\",\n    \"Donut\": \"Donut\",\n    \"Double pear\": \"Double pear\",\n    \"Dragon\": \"Dragon\",\n    \"Drawings\": \"Drawings\",\n    \"Eclipse\": \"Eclipse\",\n    \"Electronique\": \"Electronique\",\n    \"Ellipsoid\": \"Ellipsoid\",\n    \"Elliptical\": \"Elliptical\",\n    \"Elliptical Cone\": \"Elliptical Cone\",\n    \"Enlarge\": \"Enlarge\",\n    \"Estimation\": \"Estimation\",\n    \"Fern\": \"Fern\",\n    \"Fern 2\": \"Fern 2\",\n    \"Fibonacci sequence\": \"Fibonacci sequence\",\n    \"Find the number\": \"Find the number\",\n    \"Fir\": \"Fir\",\n    \"Flower\": \"Flower\",\n    \"Folium\": \"Folium\",\n    \"Fractals\": \"Fractals\",\n    \"Full screen\": \"Full screen\",\n    \"Function\": \"Function\",\n    \"Funnel\": \"Funnel\",\n    \"Galaxy\": \"Galaxy\",\n    \"Gallery\": \"Gallery\",\n    \"Games\": \"Games\",\n    \"Ganeshabrot\": \"Ganeshabrot\",\n    \"Gauss curve\": \"Gauss curve\",\n    \"Gauss-Legendre\": \"Gauss-Legendre\",\n    \"Gear\": \"Gear\",\n    \"Gergonne triangle\": \"Gergonne triangle\",\n    \"Gielis curve\": \"Gielis curve\",\n    \"Gingerbread Map\": \"Gingerbread Map\",\n    \"Golden angle\": \"Golden angle\",\n    \"Golden number and pentagon\": \"Golden number and pentagon\",\n    \"Golden spiral\": \"Golden spiral\",\n    \"Gosper curve\": \"Gosper curve\",\n    \"Gradient\": \"Gradient\",\n    \"Graffiti\": \"Graffiti\",\n    \"Gray points\": \"Gray points\",\n    \"Green\": \"Green\",\n    \"Gumowski-Mira fractal\": \"Gumowski-Mira fractal\",\n    \"Habenicht Clover\": \"Habenicht Clover\",\n    \"Harmonograph\": \"Harmonograph\",\n    \"Hat\": \"Hat\",\n    \"Heart\": \"Heart\",\n    \"Heights\": \"Heights\",\n    \"Helicoid\": \"Helicoid\",\n    \"Helix\": \"Helix\",\n    \"Hexadecimal\": \"Hexadecimal\",\n    \"Hexaflake\": \"Hexaflake\",\n    \"Hexagon\": \"Hexagon\",\n    \"Hilbert curve\": \"Hilbert curve\",\n    \"Hive\": \"Hive\",\n    \"Home\": \"Home\",\n    \"Hour\": \"Hour\",\n    \"Hyperboloid\": \"Hyperboloid\",\n    \"Hypotrochoid\": \"Hypotrochoid\",\n    \"IFF\": \"IFF\",\n    \"IFS\": \"IFS\",\n    \"Ikeda map\": \"Ikeda map\",\n    \"Illusion\": \"Illusion\",\n    \"Illusions\": \"Illusions\",\n    \"Image\": \"Image\",\n    \"Incircle\": \"Incircle\",\n    \"Incircle triangles\": \"Incircle triangles\",\n    \"Index\": \"Index\",\n    \"Island 1\": \"Island 1\",\n    \"Island 2\": \"Island 2\",\n    \"Island 3\": \"Island 3\",\n    \"Island 4\": \"Island 4\",\n    \"Island 5\": \"Island 5\",\n    \"Island 6\": \"Island 6\",\n    \"Island 7\": \"Island 7\",\n    \"Island 8\": \"Island 8\",\n    \"Iterated Function System\": \"Iterated Function System\",\n    \"Iterations\": \"Iterations\",\n    \"Johnson theorem\": \"Johnson theorem\",\n    \"Johnson theorem info\": \"Consider 3 circles with the same radius that pass through a point. The circle defined by the points of intersection of these circles has the same radius.\",\n    \"Jong attractor\": \"Jong attractor\",\n    \"Julia set\": \"Julia set\",\n    \"Julia stars\": \"Julia stars\",\n    \"Kaprekar constant\": \"Kaprekar constant\",\n    \"Kaprekar constant info\": \"Kaprekar's constant is equal to 6174.\",\n    \"Kissing circles\": \"Kissing circles\",\n    \"Kitaoka Spiral\": \"Kitaoka Spiral\",\n    \"Klein bottle\": \"Klein bottle\",\n    \"Knot\": \"Knot\",\n    \"Koch curve\": \"Koch curve\",\n    \"Kock snowflake\": \"Kock snowflake\",\n    \"Kock snowflake paving\": \"Paving\",\n    \"L-Systems\": \"L-Systems\",\n    \"Leave it to chance\": \"Leave it to chance\",\n    \"Lemniscate\": \"Lemniscate\",\n    \"Lignes\": \"Lines\",\n    \"Lines\": \"Lines\",\n    \"Links\": \"Links\",\n    \"Lissajous curve\": \"Lissajous curve\",\n    \"Looking for Pi\": \"Looking for Pi\",\n    \"Lorenz attractor\": \"Lorenz attractor\",\n    \"Mandelbrot\": \"Mandelbrot\",\n    \"Maple leaf\": \"Maple leaf\",\n    \"Maurer rose\": \"Maurer rose\",\n    \"Medians\": \"Medians\",\n    \"Middles theorem\": \"Middles theorem\",\n    \"Mill\": \"Mill\",\n    \"Miquel theorem\": \"Miquel theorem\",\n    \"Miquel theorem info\": \"Consider 5 circles whose center is located on the same circle and which intersect between neighbors. The 5 lines joining the points of intersection of a circle with its neighbors meet on the circles.\",\n    \"Mira fractal\": \"Mira fractal\",\n    \"Mobius strip\": \"Mobius strip\",\n    \"Modulo\": \"Modulo\",\n    \"Moiré\": \"Moiré\",\n    \"Moiré (circles)\": \"Moiré (circles)\",\n    \"Moiré (concentric circles)\": \"Moiré (concentric circles)\",\n    \"Moiré (curves)\": \"Moiré (curves)\",\n    \"Moiré (index)\": \"Moiré (index)\",\n    \"Moiré (lines)\": \"Moiré (lines)\",\n    \"Moiré (obliques)\": \"Moiré (obliques)\",\n    \"Moiré (parallels)\": \"Moiré (parallels)\",\n    \"Moiré (points)\": \"Moiré (points)\",\n    \"Moiré (polygons)\": \"Moiré (polygons)\",\n    \"Moiré (spiral)\": \"Moiré (spiral)\",\n    \"Monte-Carlo method\": \"Monte-Carlo method\",\n    \"More fractals\": \"More fractals\",\n    \"Mosaic\": \"Mosaic\",\n    \"Moving shapes\": \"Moving shapes\",\n    \"Multi-colors cube\": \"Multi-colors cube\",\n    \"Multiple\": \"Multiple\",\n    \"Multiplications\": \"Multiplications\",\n    \"Multiplications info\": \"We represent the multiplications on a circle where n points are placed at equal distance (10 in base 10). A line is drawn between the number and the result of the multiplication by the chosen multiple. Example, 6 x 2 = 12 so we draw a line between 6 and 2 (12-10).\",\n    \"New game\": \"New game\",\n    \"New triangle\": \"New triangle\",\n    \"Newton fractals\": \"Newton fractals\",\n    \"Next\": \"Next\",\n    \"Next [1]\": \"Next [1]\",\n    \"Next [2]\": \"Next [2]\",\n    \"Next [3]\": \"Next [3]\",\n    \"Next [4]\": \"Next [4]\",\n    \"Next [5]\": \"Next [5]\",\n    \"Next [6]\": \"Next [6]\",\n    \"Next [7]\": \"Next [7]\",\n    \"Nine points circle\": \"Nine points circle\",\n    \"Not found\": \"Not found\",\n    \"Number\": \"Number\",\n    \"Number of sides\": \"Number of sides\",\n    \"Numbers\": \"Numbers\",\n    \"Odds inverses\": \"Odds inverses\",\n    \"Optical illusions\": \"Optical illusions\",\n    \"Orbit\": \"Orbit\",\n    \"Orthic triangle\": \"Orthic triangle\",\n    \"Other functions\": \"Other functions\",\n    \"Pacific Station\": \"Pacific Station\",\n    \"Paraboloid\": \"Paraboloid\",\n    \"Particles\": \"Particles\",\n    \"Pascal modulo\": \"Pascal modulo\",\n    \"Pascal triangle\": \"Pascal triangle\",\n    \"Pattern\": \"Pattern\",\n    \"Peano curve\": \"Peano curve\",\n    \"Peano-Gosper curve\": \"Peano-Gosper curve\",\n    \"Pentaflake\": \"Pentaflake\",\n    \"Pentagon\": \"Pentagon\",\n    \"Pentagon info\": \"A regular pentagon has five equal sides and five equal angles. The ratio between a diagonal and a side is equal to the golden ratio. This is not true for other regular polygons.\",\n    \"Perlin noise\": \"Perlin noise\",\n    \"Perspective\": \"Perspective\",\n    \"Pi Monte-Carlo info\": \"The Monte-Carlo method consists of randomly choosing a point inside a square. The probability p that the point is in the circle inscribed in the square tends towards Pi/4 (thus Pi = p x 4).\",\n    \"Pi Odds inverses info\": \"The alternating sum (+/-) of the inverses of the odd tends towards π/4 (so π = sum x 4).\",\n    \"Pi Prime Numbers info\": \"The method of prime numbers tells us that the probability that two numbers are prime numbers is equal to 6/π^2\",\n    \"Pi Prime Numbers info 2\": \"To test this method, we choose two numbers at random and determine if they are coprime (mark a success in this case). The operation is repeated n times, recalculating the probability each time (number of successes/number of draws). 3.14... after +1000 iterations\",\n    \"Pi Square inverses info\": \"The sum of the inverses of the squares of the integers converges to π^2/6 (so π = √6).\",\n    \"Pi polygons info\": \"We draw a regular polygon inscribed in a circle. π is equal to perimeter of the polygon / (2 x radius of the circle). The polygon ends up merging with the circle whose perimeter is equal to 2π x radius of the circle.\",\n    \"Plane\": \"Plane\",\n    \"Play\": \"Play\",\n    \"Polar\": \"Polar\",\n    \"Polar system\": \"Polar system\",\n    \"Polygons\": \"Polygons\",\n    \"Polygons method\": \"Polygons method\",\n    \"Power function\": \"Power function\",\n    \"Prime numbers\": \"Prime numbers\",\n    \"Probability triangle\": \"Probability triangle\",\n    \"Psychadelic\": \"Psychadelic\",\n    \"Pythagoras tree\": \"Pythagoras tree\",\n    \"RGB\": \"RGB\",\n    \"Radar\": \"Radar\",\n    \"Red\": \"Red\",\n    \"Red dragon\": \"Red dragon\",\n    \"Red maple leaf\": \"Red maple leaf\",\n    \"References\": \"Sources\",\n    \"Reload\": \"Reload\",\n    \"Ribbon\": \"Ribbon\",\n    \"Ringlets\": \"Ringlets\",\n    \"Rings\": \"Rings\",\n    \"Rings (gallery)\": \"Rings (gallery)\",\n    \"Rosace\": \"Rosace\",\n    \"Rosace 3D\": \"Rosace 3D\",\n    \"Rose\": \"Rose\",\n    \"Rotating squares\": \"Rotating square\",\n    \"SITE_TITLE\": \"Univers logique\",\n    \"San-Marco Dragon\": \"San-Marco Dragon\",\n    \"Scrawl\": \"Scrawl\",\n    \"See more\": \"See more\",\n    \"Shapes\": \"Shapes\",\n    \"Shell\": \"Shell\",\n    \"Side\": \"Side\",\n    \"Sides\": \"Sides\",\n    \"Sierpinski carpet\": \"Sierpinski carpet\",\n    \"Sierpinski square\": \"Sierpinski square\",\n    \"Sierpinski triangle\": \"Sierpinski triangle\",\n    \"Sine and cosine\": \"Sine and cosine\",\n    \"Sinus\": \"Sinus\",\n    \"Size\": \"Size\",\n    \"Snow\": \"Snow\",\n    \"Snowflake\": \"Snowflake\",\n    \"Socials\": \"Socials\",\n    \"Sphere\": \"Sphere\",\n    \"Spider web\": \"Spider web\",\n    \"Spinning\": \"Spinning\",\n    \"Spiral\": \"Spiral\",\n    \"Spirals\": \"Spirals\",\n    \"Spiro\": \"Spiro\",\n    \"Spirograph\": \"Spirograph\",\n    \"Spirography\": \"Spirography\",\n    \"Spring\": \"Spring\",\n    \"Square\": \"Square\",\n    \"Square inverses\": \"Square inverses\",\n    \"Stairs\": \"Stairs\",\n    \"Star\": \"Star\",\n    \"Star 3D\": \"Star 3D\",\n    \"Star bloom\": \"Star bloom\",\n    \"Start\": \"Start\",\n    \"Steiner invariant\": \"Steiner invariant\",\n    \"Step\": \"Step\",\n    \"Stirling approximation\": \"Stirling approximation\",\n    \"Stirling approximation info\": \"On n \\\"heads or tails\\\", the probability of having n/2 \\\"heads\\\" draws converges to 1/√6\",\n    \"Stop\": \"Stop\",\n    \"Strip\": \"Strip\",\n    \"Surfaces\": \"Surfaces\",\n    \"Synthesizer\": \"Synthesizer\",\n    \"Tennis\": \"Tennis\",\n    \"The two squares connected by the line are the same color\": \"The two squares connected by the line are the same color\",\n    \"Thread\": \"Thread\",\n    \"Tinkerbell map\": \"Tinkerbell map\",\n    \"Toroids\": \"Toroids\",\n    \"Torus\": \"Torus\",\n    \"Tower\": \"Tower\",\n    \"Tree\": \"Tree\",\n    \"Tree 1\": \"Tree 1\",\n    \"Tree 1 b\": \"Tree 1 b\",\n    \"Tree 1 c\": \"Tree 1 c\",\n    \"Tree 2\": \"Tree 2\",\n    \"Tree 3\": \"Tree 3\",\n    \"Tree 4\": \"Tree 4\",\n    \"Tree 5\": \"Tree 5\",\n    \"Tree 6\": \"Tree 6\",\n    \"Tree 7\": \"Tree 7\",\n    \"Tree roots\": \"Tree roots\",\n    \"Trefoil knot\": \"Trefoil knot\",\n    \"Triangle\": \"Triangle\",\n    \"Triangle probabilities info\": \"For each line of level n, we calculate the relative probability of having 0 to n times \\\"tails\\\" for n consecutive flips of a coin. For 4 throws, there are thus 6 times more chances of obtaining 2 \\\"tails\\\" than of having 0 or 4 \\\"tails\\\".\",\n    \"Trianguloid\": \"Trianguloid\",\n    \"Triaxial tritorus\": \"Triaxial tritorus\",\n    \"Tritorus\": \"Tritorus\",\n    \"Trochoids\": \"Trochoids\",\n    \"Twin dragon\": \"Twin dragon\",\n    \"Twisted plan\": \"Twisted plan\",\n    \"Vase\": \"Vase\",\n    \"Vertical\": \"Vertical\",\n    \"Vortex\": \"Vortex\",\n    \"Waves\": \"Waves\",\n    \"Weierstrass function\": \"Weierstrass function\",\n    \"Weierstrass function info\": \"Weierstrass function is a a real-valued function that is continuous everywhere but differentiable nowhere. Drawn here in the polar system.\",\n    \"Well\": \"Well\",\n    \"What time is it\": \"What time is it ?\",\n    \"Wheel\": \"Wheel\",\n    \"Woggle\": \"Woggle\",\n    \"X\": \"X\",\n    \"Yin Yang\": \"Yin Yang\",\n    \"lives\": \"lives\",\n    \"site_index_description\": \"Created with mathematics and code\",\n    \"site_title\": \"Univers logique\"\n  }], [\"fr-fr\", {\n    \"About\": \"A propos\",\n    \"Additive synthesis\": \"Synthèse additive\",\n    \"Anchors\": \"Ancres\",\n    \"Animated rose\": \"Rose animée\",\n    \"Animated spiral\": \"Spirale animée\",\n    \"Animation\": \"Animation\",\n    \"Apple\": \"Pomme\",\n    \"Attractors\": \"Attracteurs\",\n    \"Back\": \"Retour\",\n    \"Back to gallery\": \"Retour galerie\",\n    \"Balls\": \"Billes\",\n    \"Barnsley fern\": \"Fougère de Barnsley\",\n    \"Base\": \"Base\",\n    \"Basic torus\": \"Tore classique\",\n    \"Bat\": \"Chauve-souris\",\n    \"Binary\": \"Binaire\",\n    \"Binary system\": \"Système binaire\",\n    \"Bisectors\": \"Médiatrices\",\n    \"Bissextrices\": \"Bissectrices\",\n    \"Blue\": \"Bleu\",\n    \"Border line\": \"Frontière\",\n    \"Borromean rings\": \"Anneaux borroméens\",\n    \"Boss heart\": \"Coeur de Boss\",\n    \"Boy surface\": \"Surface de Boy\",\n    \"Branch\": \"Branche\",\n    \"Broken circle\": \"Cercle brisé\",\n    \"Broken lines\": \"Lignes brisées\",\n    \"Buddhabrot\": \"Buddhabrot\",\n    \"Burning ship\": \"Burning ship\",\n    \"Butterfly\": \"Papillon\",\n    \"Cabbage\": \"Chou\",\n    \"Cactus\": \"Cactus\",\n    \"Canopy\": \"Canopée\",\n    \"Canvas not supported or disabled\": \"Canvas non supporté ou désactivé\",\n    \"Carousel\": \"Manège\",\n    \"Cellular automata\": \"Automate cellulaire\",\n    \"Cesàro fractal\": \"Fractale de Cesàro\",\n    \"Chaos\": \"Chaos\",\n    \"Chaos game\": \"Jeu du chaos\",\n    \"Checkboard\": \"Echiquier\",\n    \"Chromatic spiral\": \"Spirale chromatique\",\n    \"Chrysanthemum\": \"Chrysanthemum\",\n    \"Circles\": \"Cercles\",\n    \"Circumscribed circle\": \"Cercle circonscrit\",\n    \"Clearest color\": \"Couleur la plus claire\",\n    \"Clifford attractor\": \"Attracteur de Clifford\",\n    \"Color wheel\": \"Roue chromatique\",\n    \"Colors\": \"Couleurs\",\n    \"Cone\": \"Cône\",\n    \"Confetti\": \"Confettis\",\n    \"Constant precession curve\": \"Courbe de précession constante\",\n    \"Constellation\": \"Constellation\",\n    \"Contrast\": \"Contraste\",\n    \"Convert\": \"Convertir\",\n    \"Conway circle\": \"Cercle de conway\",\n    \"Coral\": \"Corail\",\n    \"Cornoid\": \"Cornoïde\",\n    \"Crop circle\": \"Crop circle\",\n    \"Cross\": \"Croix\",\n    \"Cross 2\": \"Croix 2\",\n    \"Crown\": \"Couronne\",\n    \"Crystal\": \"Cristal\",\n    \"Cube in room\": \"Cube dans la pièce\",\n    \"Curlicue\": \"Curlicue\",\n    \"Curves\": \"Courbes\",\n    \"Cusp catastrophe\": \"Cusp catastrophe\",\n    \"Cyclone\": \"Cyclone\",\n    \"Cylinder\": \"Cylindre\",\n    \"DLA\": \"DLA\",\n    \"Decagon\": \"Décagone\",\n    \"Decimal\": \"Décimal\",\n    \"Decorative curves\": \"Courbes décoratives\",\n    \"Decorative curves (2)\": \"Courbes décoratives (2)\",\n    \"Diagonal\": \"Diagonale\",\n    \"Diamond\": \"Diamant\",\n    \"Dice roll\": \"Lancer de dés\",\n    \"Dini surface\": \"Surface de Dini\",\n    \"Disillusion\": \"Désillusion\",\n    \"Dispersion\": \"Dispersion\",\n    \"Dissimilarity\": \"Dissemblance\",\n    \"Distorsion\": \"Distorsion\",\n    \"Divergent\": \"Divergent\",\n    \"Dog\": \"Chien\",\n    \"Donut\": \"Donut\",\n    \"Double pear\": \"Double poire\",\n    \"Dragon\": \"Dragon\",\n    \"Drawings\": \"Dessins et animations\",\n    \"Eclipse\": \"Éclipse\",\n    \"Electronique\": \"Électronique\",\n    \"Ellipsoid\": \"Ellipsoïde\",\n    \"Elliptical\": \"Elliptique\",\n    \"Elliptical Cone\": \"Cône Elliptique\",\n    \"Enlarge\": \"Élargir\",\n    \"Estimation\": \"Estimation\",\n    \"Fern\": \"Fougère\",\n    \"Fern 2\": \"Fougère 2\",\n    \"Fibonacci sequence\": \"Suite de Fibonacci\",\n    \"Find the number\": \"Trouver le nombre\",\n    \"Fir\": \"Sapin\",\n    \"Flower\": \"Fleur\",\n    \"Folium\": \"Folium\",\n    \"Fractals\": \"Fractales\",\n    \"Full screen\": \"Plein écran\",\n    \"Function\": \"Fonction\",\n    \"Funnel\": \"Trompettes\",\n    \"Galaxy\": \"Galaxie\",\n    \"Gallery\": \"Galerie\",\n    \"Games\": \"Jeux\",\n    \"Ganeshabrot\": \"Ganeshabrot\",\n    \"Gauss curve\": \"Courbe de Gauss\",\n    \"Gauss-Legendre\": \"Gauss-Legendre\",\n    \"Gear\": \"Engrenage\",\n    \"Gergonne triangle\": \"Triangle de Gergonne\",\n    \"Gielis curve\": \"Courbe de Gielis\",\n    \"Gingerbread Map\": \"Carte de l’homme pain d’épices\",\n    \"Golden angle\": \"Angle d'or\",\n    \"Golden number and pentagon\": \"Nombre d'or et pentagone\",\n    \"Golden spiral\": \"Spirale d'or\",\n    \"Gosper curve\": \"Gosper curve\",\n    \"Gradient\": \"Dégradé\",\n    \"Graffiti\": \"Graffiti\",\n    \"Gray points\": \"Points gris\",\n    \"Green\": \"Vert\",\n    \"Gumowski-Mira fractal\": \"Fractale de Gumowski-Mira\",\n    \"Habenicht Clover\": \"Trèfle de Habenicht\",\n    \"Harmonograph\": \"Harmonographe\",\n    \"Hat\": \"Chapeau\",\n    \"Heart\": \"Coeur\",\n    \"Heights\": \"Hauteurs\",\n    \"Helicoid\": \"Hélicoïde\",\n    \"Helix\": \"Hélice\",\n    \"Hexadecimal\": \"Hexadécimal\",\n    \"Hexaflake\": \"Hexa-flocon\",\n    \"Hexagon\": \"Hexagone\",\n    \"Hilbert curve\": \"Courbe de Hilbert\",\n    \"Hive\": \"Ruche\",\n    \"Home\": \"Accueil\",\n    \"Hour\": \"Horloge\",\n    \"Hyperboloid\": \"Hyperboloïde\",\n    \"Hypotrochoid\": \"Hypotrochoïde\",\n    \"IFF\": \"IFF\",\n    \"IFS\": \"IFS\",\n    \"Ikeda map\": \"Carte d'IKeda\",\n    \"Illusion\": \"Illusion\",\n    \"Illusions\": \"Illusions\",\n    \"Image\": \"Image\",\n    \"Incircle\": \"Cercle inscrit\",\n    \"Incircle triangles\": \"Triangles dans le cercle\",\n    \"Index\": \"Index\",\n    \"Island 1\": \"Île 1\",\n    \"Island 2\": \"Île 2\",\n    \"Island 3\": \"Île 3\",\n    \"Island 4\": \"Île 4\",\n    \"Island 5\": \"Île 5\",\n    \"Island 6\": \"Île 6\",\n    \"Island 7\": \"Île 7\",\n    \"Island 8\": \"Île 8\",\n    \"Iterated Function System\": \"Système de fonctions itérées\",\n    \"Iterations\": \"Itérations\",\n    \"Johnson theorem\": \"Théorème de Johnson\",\n    \"Johnson theorem info\": \"Soit 3 cercles de même rayon qui passent par un point. Le cercle défini par les points d'intersection de ces cercles a le même rayon.\",\n    \"Jong attractor\": \"Attracteur de Jong\",\n    \"Julia set\": \"Ensembles de Julia\",\n    \"Julia stars\": \"Étoiles de Julia\",\n    \"Kaprekar constant\": \"Constante de Kaprekar\",\n    \"Kaprekar constant info\": \"La constante de Kaprekar est égal à 6 174.\",\n    \"Kissing circles\": \"Cercles inscrits\",\n    \"Kitaoka Spiral\": \"Spirale de Kitaoka\",\n    \"Klein bottle\": \"Bouteille de Klein\",\n    \"Knot\": \"Noeud\",\n    \"Koch curve\": \"Courbe de Koch\",\n    \"Kock snowflake\": \"Flocon de Koch\",\n    \"Kock snowflake paving\": \"Pavage\",\n    \"L-Systems\": \"L-Systèmes\",\n    \"Leave it to chance\": \"Laisser faire le hasard\",\n    \"Lemniscate\": \"Lemniscate\",\n    \"Lignes\": \"Lignes\",\n    \"Lines\": \"Lignes\",\n    \"Links\": \"Liens\",\n    \"Lissajous curve\": \"Courbe de Lissajous\",\n    \"Looking for Pi\": \"A la recherche de Pi\",\n    \"Lorenz attractor\": \"Attracteur de Lorenz\",\n    \"Mandelbrot\": \"Mandelbrot\",\n    \"Maple leaf\": \"Feuille\",\n    \"Maurer rose\": \"Rose de Maurer\",\n    \"Medians\": \"Médianes\",\n    \"Middles theorem\": \"Théorème des milieux\",\n    \"Mill\": \"Moulin\",\n    \"Miquel theorem\": \"Théorème de Miquel\",\n    \"Miquel theorem info\": \"Considérons 5 cercles dont le centre est situé sur un même cercle et qui se coupent entre voisins. Les 5 droites joignant les points d'intersection d'un cercle avec ses voisins se rejoignent sur les cercles.\",\n    \"Mira fractal\": \"Fractale de Mira\",\n    \"Mobius strip\": \"Ruban de Mobius\",\n    \"Modulo\": \"Modulo\",\n    \"Moiré\": \"Moiré\",\n    \"Moiré (circles)\": \"Moiré (cercles)\",\n    \"Moiré (concentric circles)\": \"Moiré (cercles concentriques)\",\n    \"Moiré (curves)\": \"Moiré (courbes)\",\n    \"Moiré (index)\": \"Moiré (index)\",\n    \"Moiré (lines)\": \"Moiré (lignes)\",\n    \"Moiré (obliques)\": \"Moiré (obliques)\",\n    \"Moiré (parallels)\": \"Moiré (parallèles)\",\n    \"Moiré (points)\": \"Moiré (points)\",\n    \"Moiré (polygons)\": \"Moiré (polygones)\",\n    \"Moiré (spiral)\": \"Moiré (spirale)\",\n    \"Monte-Carlo method\": \"Méthode de Monte-Carlo\",\n    \"More fractals\": \"Plus de fractales\",\n    \"Mosaic\": \"Mosaïque\",\n    \"Moving shapes\": \"Formes incertaines\",\n    \"Multi-colors cube\": \"Cube multicolore\",\n    \"Multiple\": \"Multiple\",\n    \"Multiplications\": \"Multiplications\",\n    \"Multiplications info\": \"Il s'agit de réprésenter les multiplications sur un cercle où sont placés n points numérotés à égale distance (10 en base 10). On trace un trait entre le nombre et le résultat de la multiplication par le multiple choisi. Exemple, 6 x 2 = 12 donc on trace un trait entre 6 et 2 (12-10).\",\n    \"New game\": \"Nouveau jeu\",\n    \"New triangle\": \"Nouveau triangle\",\n    \"Newton fractals\": \"Fractales de Newton\",\n    \"Next\": \"Suivant\",\n    \"Next [1]\": \"Suivant [1]\",\n    \"Next [2]\": \"Suivant [2]\",\n    \"Next [3]\": \"Suivant [3]\",\n    \"Next [4]\": \"Suivant [4]\",\n    \"Next [5]\": \"Suivant [5]\",\n    \"Next [6]\": \"Suivant [6]\",\n    \"Next [7]\": \"Suivant [7]\",\n    \"Nine points circle\": \"Cercle des neuf points\",\n    \"Not found\": \"Page introuvable\",\n    \"Number\": \"Nombre\",\n    \"Number of sides\": \"Nombre de côtés\",\n    \"Numbers\": \"Nombres et formes\",\n    \"Odds inverses\": \"Inverse des impairs\",\n    \"Optical illusions\": \"Illusions d'optique\",\n    \"Orbit\": \"Orbite\",\n    \"Orthic triangle\": \"Triangle orthique\",\n    \"Other functions\": \"Autres fonctions\",\n    \"Pacific Station\": \"Pacific Station\",\n    \"Paraboloid\": \"Paraboloïde\",\n    \"Particles\": \"Particules\",\n    \"Pascal modulo\": \"Triangle de Pascal\",\n    \"Pascal triangle\": \"Triangle de Pascal\",\n    \"Pattern\": \"Pattern\",\n    \"Peano curve\": \"Courbe de Peano\",\n    \"Peano-Gosper curve\": \"Courbe de Peano-Gosper\",\n    \"Pentaflake\": \"Penta-flocon\",\n    \"Pentagon\": \"Pentagone\",\n    \"Pentagon info\": \"Un pentagone régulier possède cinq côtés de même longueur et cinq angles égaux. Le rapport entre une diagonale et un côté correspond au nombre d'or. Cette propriété ne se vérifie pas avec les autres polygones réguliers.\",\n    \"Perlin noise\": \"Bruit de Perlin\",\n    \"Perspective\": \"Perspective\",\n    \"Pi Monte-Carlo info\": \"La méthode de Monte-Carlo consiste à choisir aléatoirement un point à l'intérieur d'un carré. La probabilité p que le point soit dans le cercle inscrit dans le carré tend vers Pi/4 (donc Pi = p x 4).\",\n    \"Pi Odds inverses info\": \"La somme alternée (+/-) des inverses des impairs tend vers π/4 (donc π = somme x 4)\",\n    \"Pi Prime Numbers info\": \"La méthode des nombres premiers nous dit que la probabilité que deux nombres soient premiers entre eux est égal à 6/π^2\",\n    \"Pi Prime Numbers info 2\": \"Pour tester cette méthode, il suffit de choisir deux nombres au hasard et de déterminer s'ils sont premiers entre eux (noter un succès dans ce cas). On répète n fois l'opération en recalculant la probabilité à chaque fois (nombre de succès/nombre de tirages).\",\n    \"Pi Square inverses info\": \"La somme des inverses des carrés des entiers converge vers π^2/6 (donc π = √6)\",\n    \"Pi polygons info\": \"Cette méthode consiste à dessiner un polygone régulier inscrit dans un cercle. π est égal à périmètre du polygone / (2 x rayon du cercle). Le polygone finit par se confondre avec le cercle dont le périmètre est égal à 2π x rayon du cercle.\",\n    \"Plane\": \"Avion\",\n    \"Play\": \"Jouer\",\n    \"Polar\": \"Polaire\",\n    \"Polar system\": \"Système polaire\",\n    \"Polygons\": \"Polygones\",\n    \"Polygons method\": \"Méthode des polygones\",\n    \"Power function\": \"Fonction puissance\",\n    \"Prime numbers\": \"Nombres premiers\",\n    \"Probability triangle\": \"Triangle des probabilités\",\n    \"Psychadelic\": \"Psychadélique\",\n    \"Pythagoras tree\": \"Arbre de pythagore\",\n    \"RGB\": \"RVB\",\n    \"Radar\": \"Radar\",\n    \"Red\": \"Rouge\",\n    \"Red dragon\": \"Dragon rouge\",\n    \"Red maple leaf\": \"Feuille d'érable\",\n    \"References\": \"Sources\",\n    \"Reload\": \"Recharger\",\n    \"Ribbon\": \"Ruban\",\n    \"Ringlets\": \"Boucles\",\n    \"Rings\": \"Anneaux\",\n    \"Rings (gallery)\": \"Anneaux (galerie)\",\n    \"Rosace\": \"Rosace\",\n    \"Rosace 3D\": \"Rosace 3D\",\n    \"Rose\": \"Rose\",\n    \"Rotating squares\": \"Carrés en spirale\",\n    \"SITE_TITLE\": \"Univers logique\",\n    \"San-Marco Dragon\": \"Inverse de San Marco\",\n    \"Scrawl\": \"Gribouillis\",\n    \"See more\": \"Voir +\",\n    \"Shapes\": \"Formes\",\n    \"Shell\": \"Coquillage\",\n    \"Side\": \"Côté\",\n    \"Sides\": \"Côtés\",\n    \"Sierpinski carpet\": \"Tapis de Sierpinski\",\n    \"Sierpinski square\": \"Carré de Sierpinski\",\n    \"Sierpinski triangle\": \"Triangle de Sierpinski\",\n    \"Sine and cosine\": \"Sinus et cosinus\",\n    \"Sinus\": \"Sinus\",\n    \"Size\": \"Taille\",\n    \"Snow\": \"Neige\",\n    \"Snowflake\": \"Flocon de neige\",\n    \"Socials\": \"Réseaux\",\n    \"Sphere\": \"Sphère\",\n    \"Spider web\": \"Toile d'araignée\",\n    \"Spinning\": \"Spinning\",\n    \"Spiral\": \"Spirale\",\n    \"Spirals\": \"Spirales\",\n    \"Spiro\": \"Spiro\",\n    \"Spirograph\": \"Spirographe\",\n    \"Spirography\": \"Spirographie\",\n    \"Spring\": \"Ressort\",\n    \"Square\": \"Carré\",\n    \"Square inverses\": \"Inverse des carrés\",\n    \"Stairs\": \"Escaliers\",\n    \"Star\": \"Étoile\",\n    \"Star 3D\": \"Étoile 3D\",\n    \"Star bloom\": \"Star bloom\",\n    \"Start\": \"Lancer\",\n    \"Steiner invariant\": \"Invariant de Steiner\",\n    \"Step\": \"Pas\",\n    \"Stirling approximation\": \"Formule de Stirling\",\n    \"Stirling approximation info\": \"Sur n tirages pile ou face, la probabilité d'avoir n/2 tirages \\\"pile\\\" tend vers 1/√6π\",\n    \"Stop\": \"Stop\",\n    \"Strip\": \"Ruban\",\n    \"Surfaces\": \"Surfaces\",\n    \"Synthesizer\": \"Synthétiseur\",\n    \"Tennis\": \"Tennis\",\n    \"The two squares connected by the line are the same color\": \"Les deux carrés reliés par la ligne sont de la même couleur\",\n    \"Thread\": \"Fil\",\n    \"Tinkerbell map\": \"Carte de Tinkerbell\",\n    \"Toroids\": \"Toroïdes\",\n    \"Torus\": \"Tore\",\n    \"Tower\": \"Tour\",\n    \"Tree\": \"Arbre\",\n    \"Tree 1\": \"Arbre 1\",\n    \"Tree 1 b\": \"Arbre 1 b\",\n    \"Tree 1 c\": \"Arbre 1 c\",\n    \"Tree 2\": \"Arbre 2\",\n    \"Tree 3\": \"Arbre 3\",\n    \"Tree 4\": \"Arbre 4\",\n    \"Tree 5\": \"Arbre 5\",\n    \"Tree 6\": \"Arbre 6\",\n    \"Tree 7\": \"Arbre 7\",\n    \"Tree roots\": \"Racines d'arbre\",\n    \"Trefoil knot\": \"Noeud de trèfle\",\n    \"Triangle\": \"Triangle\",\n    \"Triangle probabilities info\": \"Pour chaque ligne de niveau n, nous calculons la probabilité relative d'avoir de 0 à n fois \\\"pile\\\" pour n lancers consécutifs d'une pièce. Pour 4 lancers, il y a ainsi 6 fois plus de chances d'obtenir 2 \\\"pile\\\" que d'avoir 0 ou 4 \\\"pile\\\".\",\n    \"Trianguloid\": \"Trianguloïde\",\n    \"Triaxial tritorus\": \"Triaxial tritorus\",\n    \"Tritorus\": \"Tritorus\",\n    \"Trochoids\": \"Trochoïdes\",\n    \"Twin dragon\": \"Couronnes\",\n    \"Twisted plan\": \"Twisted plan\",\n    \"Vase\": \"Vase\",\n    \"Vertical\": \"Vertical\",\n    \"Vortex\": \"Vortex\",\n    \"Waves\": \"Vagues\",\n    \"Weierstrass function\": \"Fonction de Weierstrass\",\n    \"Weierstrass function info\": \"La fonction de weierstrass est une fonction continue dérivable nulle part. Ici dessinée dans le système polaire.\",\n    \"Well\": \"Puits\",\n    \"What time is it\": \"Quelle heure est-il ?\",\n    \"Wheel\": \"Roue\",\n    \"Woggle\": \"Woggle\",\n    \"X\": \"X\",\n    \"Yin Yang\": \"Yin Yang\",\n    \"lives\": \"vies\",\n    \"site_index_description\": \"Créé avec des mathématiques et du code\",\n    \"site_title\": \"Univers logique\"\n  }]];\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  function resolveInitializer(moduleName) {\n    var module = (0, _require.default)(moduleName, null, null, true);\n    if (!module) {\n      throw new Error(moduleName + ' must export an initializer.');\n    }\n    var initializer = module['default'];\n    if (!initializer) {\n      throw new Error(moduleName + ' must have a default export');\n    }\n    if (!initializer.name) {\n      initializer.name = moduleName.slice(moduleName.lastIndexOf('/') + 1);\n    }\n    return initializer;\n  }\n  function registerInitializers(app, moduleNames) {\n    for (var i = 0; i < moduleNames.length; i++) {\n      app.initializer(resolveInitializer(moduleNames[i]));\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  function _endsWith(str, suffix) {\n    return str.indexOf(suffix, str.length - suffix.length) !== -1;\n  }\n\n  /**\n   * Configure your application as it boots\n   */\n  function loadInitializers(app, prefix) {\n    var initializerPrefix = prefix + '/initializers/';\n    var instanceInitializerPrefix = prefix + '/instance-initializers/';\n    var initializers = [];\n    var instanceInitializers = [];\n    // this is 2 pass because generally the first pass is the problem\n    // and is reduced, and resolveInitializer has potential to deopt\n    var moduleNames = Object.keys(requirejs._eak_seen);\n    for (var i = 0; i < moduleNames.length; i++) {\n      var moduleName = moduleNames[i];\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    registerInitializers(app, initializers);\n    registerInstanceInitializers(app, instanceInitializers);\n  }\n});","define(\"ember-resolver/container-debug-adapter\", [\"exports\", \"@ember/array\", \"@ember/debug/container-debug-adapter\", \"ember-resolver/index\", \"@ember/application\"], function (_exports, _array, _containerDebugAdapter, _index, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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\n  /* eslint-disable ember/no-classic-classes */\n  var _default = _exports.default = _containerDebugAdapter.default.extend({\n    _moduleRegistry: null,\n    init() {\n      this._super(...arguments);\n      this.namespace = (0, _application.getOwner)(this).lookup('application:main');\n      if (!this._moduleRegistry) {\n        this._moduleRegistry = new _index.ModuleRegistry();\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        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 = (0, _array.A)();\n      let prefix = this.namespace.modulePrefix;\n      for (let i = 0, l = moduleNames.length; i < l; i++) {\n        let key = moduleNames[i];\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});","/*\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\", \"@ember/debug\", \"@ember/object\", \"ember-resolver/string\", \"ember-resolver/utils/class-factory\"], function (_exports, _ember, _debug, _object, _string, _classFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.ModuleRegistry = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); } /* globals requirejs, require */\n  if (typeof requirejs.entries === 'undefined') {\n    requirejs.entries = requirejs._eak_seen;\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(...args) {\n      return require(...args);\n    }\n  }\n\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  _exports.ModuleRegistry = ModuleRegistry;\n  class Resolver extends _object.default {\n    constructor() {\n      super(...arguments);\n      _defineProperty(this, \"moduleBasedResolver\", true);\n      _defineProperty(this, \"_deprecatedPodModulePrefix\", false);\n      _defineProperty(this, \"_normalizeCache\", Object.create(null));\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      _defineProperty(this, \"moduleNameLookupPatterns\", [this.podBasedModuleName, this.podBasedComponentsInSubdir, this.mainModuleName, this.defaultModuleName, this.nestedColocationComponentModuleName]);\n      if (!this._moduleRegistry) {\n        this._moduleRegistry = new ModuleRegistry();\n      }\n      this.pluralizedTypes = this.pluralizedTypes || Object.create(null);\n      if (!this.pluralizedTypes.config) {\n        this.pluralizedTypes.config = 'config';\n      }\n    }\n    makeToString(factory, fullName) {\n      return '' + this.namespace.modulePrefix + '@' + fullName + ':';\n    }\n    shouldWrapInClassFactory( /* module, parsedName */\n    ) {\n      return false;\n    }\n    parseName(fullName) {\n      if (fullName.parsedName === true) {\n        return fullName;\n      }\n      let prefix, type, name;\n      let fullNameParts = fullName.split('@');\n      if (fullNameParts.length === 3) {\n        if (fullNameParts[0].length === 0) {\n          // leading scoped namespace: `@scope/pkg@type:name`\n          prefix = `@${fullNameParts[1]}`;\n          let prefixParts = fullNameParts[2].split(':');\n          type = prefixParts[0];\n          name = prefixParts[1];\n        } else {\n          // interweaved scoped namespace: `type:@scope/pkg@name`\n          prefix = `@${fullNameParts[1]}`;\n          type = fullNameParts[0].slice(0, -1);\n          name = fullNameParts[2];\n        }\n        if (type === 'template:components') {\n          name = `components/${name}`;\n          type = 'template';\n        }\n      } else if (fullNameParts.length === 2) {\n        let prefixParts = fullNameParts[0].split(':');\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          prefix = fullNameParts[0];\n          type = nameParts[0];\n          name = nameParts[1];\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      let fullNameWithoutType = name;\n      let namespace = this.namespace;\n      let root = namespace;\n      return {\n        parsedName: true,\n        fullName: fullName,\n        prefix: prefix || this.prefix({\n          type: type\n        }),\n        type: type,\n        fullNameWithoutType: fullNameWithoutType,\n        name: name,\n        root: root,\n        resolveMethodName: 'resolve' + (0, _string.classify)(type)\n      };\n    }\n    resolveOther(parsedName) {\n      (true && !(this.namespace.modulePrefix) && (0, _debug.assert)('`modulePrefix` must be defined', this.namespace.modulePrefix));\n      let normalizedModuleName = this.findModuleName(parsedName);\n      if (normalizedModuleName) {\n        let defaultExport = this._extractDefaultExport(normalizedModuleName, parsedName);\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        if (this.shouldWrapInClassFactory(defaultExport, parsedName)) {\n          defaultExport = (0, _classFactory.default)(defaultExport);\n        }\n        return defaultExport;\n      }\n    }\n    normalize(fullName) {\n      return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this._normalize(fullName));\n    }\n    resolve(fullName) {\n      let parsedName = this.parseName(fullName);\n      let resolveMethodName = parsedName.resolveMethodName;\n      let resolved;\n      if (typeof this[resolveMethodName] === 'function') {\n        resolved = this[resolveMethodName](parsedName);\n      }\n      if (resolved == null) {\n        resolved = this.resolveOther(parsedName);\n      }\n      return resolved;\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        if (type === 'component' || type === 'helper' || type === 'modifier' || type === 'template' && split[1].indexOf('components/') === 0) {\n          return type + ':' + split[1].replace(/_/g, '-');\n        } else {\n          return type + ':' + (0, _string.dasherize)(split[1].replace(/\\./g, '/'));\n        }\n      } else {\n        return fullName;\n      }\n    }\n    pluralize(type) {\n      return this.pluralizedTypes[type] || (this.pluralizedTypes[type] = type + 's');\n    }\n    podBasedLookupWithPrefix(podPrefix, parsedName) {\n      let fullNameWithoutType = parsedName.fullNameWithoutType;\n      if (parsedName.type === 'template') {\n        fullNameWithoutType = fullNameWithoutType.replace(/^components\\//, '');\n      }\n      return podPrefix + '/' + fullNameWithoutType + '/' + parsedName.type;\n    }\n    podBasedModuleName(parsedName) {\n      let podPrefix = this.namespace.podModulePrefix || this.namespace.modulePrefix;\n      return this.podBasedLookupWithPrefix(podPrefix, parsedName);\n    }\n    podBasedComponentsInSubdir(parsedName) {\n      let podPrefix = this.namespace.podModulePrefix || this.namespace.modulePrefix;\n      podPrefix = podPrefix + '/components';\n      if (parsedName.type === 'component' || /^components/.test(parsedName.fullNameWithoutType)) {\n        return this.podBasedLookupWithPrefix(podPrefix, parsedName);\n      }\n    }\n    resolveEngine(parsedName) {\n      let engineName = parsedName.fullNameWithoutType;\n      let engineModule = engineName + '/engine';\n      if (this._moduleRegistry.has(engineModule)) {\n        return this._extractDefaultExport(engineModule);\n      }\n    }\n    resolveRouteMap(parsedName) {\n      let engineName = parsedName.fullNameWithoutType;\n      let engineRoutesModule = engineName + '/routes';\n      if (this._moduleRegistry.has(engineRoutesModule)) {\n        let routeMap = this._extractDefaultExport(engineRoutesModule);\n        (true && !(routeMap.isRouteMap) && (0, _debug.assert)(`The route map for ${engineName} should be wrapped by 'buildRoutes' before exporting.`, routeMap.isRouteMap));\n        return routeMap;\n      }\n    }\n    resolveTemplate(parsedName) {\n      let resolved = this.resolveOther(parsedName);\n      if (resolved == null) {\n        resolved = _ember.default.TEMPLATES[parsedName.fullNameWithoutType];\n      }\n      return resolved;\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    defaultModuleName(parsedName) {\n      return parsedName.prefix + '/' + this.pluralize(parsedName.type) + '/' + parsedName.fullNameWithoutType;\n    }\n    nestedColocationComponentModuleName(parsedName) {\n      if (parsedName.type === 'component') {\n        return parsedName.prefix + '/' + this.pluralize(parsedName.type) + '/' + parsedName.fullNameWithoutType + '/index';\n      }\n    }\n    prefix(parsedName) {\n      let tmpPrefix = this.namespace.modulePrefix;\n      if (this.namespace[parsedName.type + 'Prefix']) {\n        tmpPrefix = this.namespace[parsedName.type + 'Prefix'];\n      }\n      return tmpPrefix;\n    }\n    findModuleName(parsedName, loggingDisabled) {\n      let moduleNameLookupPatterns = this.moduleNameLookupPatterns;\n      let moduleName;\n      for (let index = 0, length = moduleNameLookupPatterns.length; index < length; index++) {\n        let item = moduleNameLookupPatterns[index];\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        if (tmpModuleName && this._moduleRegistry.has(tmpModuleName)) {\n          moduleName = tmpModuleName;\n        }\n        if (!loggingDisabled) {\n          this._logLookup(moduleName, parsedName, tmpModuleName);\n        }\n        if (moduleName) {\n          return moduleName;\n        }\n      }\n    }\n    chooseModuleName(moduleName, parsedName) {\n      let underscoredModuleName = (0, _string.underscore)(moduleName);\n      if (moduleName !== underscoredModuleName && this._moduleRegistry.has(moduleName) && this._moduleRegistry.has(underscoredModuleName)) {\n        throw new TypeError(`Ambiguous module names: '${moduleName}' and '${underscoredModuleName}'`);\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      if (this._moduleRegistry.has(partializedModuleName)) {\n        (true && !(false) && (0, _debug.deprecate)('Modules should not contain underscores. ' + 'Attempted to lookup \"' + moduleName + '\" which ' + 'was not found. Please rename \"' + partializedModuleName + '\" ' + 'to \"' + moduleName + '\" instead.', false, {\n          id: 'ember-resolver.underscored-modules',\n          until: '3.0.0',\n          for: 'ember-resolver',\n          since: '0.1.0'\n        }));\n        return partializedModuleName;\n      }\n      if (true /* DEBUG */) {\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((0, _string.dasherize)(moduleName))) {\n            this._camelCaseHelperWarnedNames.push(parsedName.fullName);\n            (true && (0, _debug.warn)('Attempted to lookup \"' + parsedName.fullName + '\" which ' + 'was not found. In previous versions of ember-resolver, a bug would have ' + 'caused the module at \"' + (0, _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, {\n              id: 'ember-resolver.camelcase-helper-names',\n              until: '3.0.0'\n            }));\n          }\n        }\n      }\n    }\n\n    // used by Ember.DefaultResolver.prototype._logLookup\n    lookupDescription(fullName) {\n      let parsedName = this.parseName(fullName);\n      let moduleName = this.findModuleName(parsedName, true);\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.default.ENV.LOG_MODULE_RESOLVER && !parsedName.root.LOG_RESOLVER) {\n        return;\n      }\n      let padding;\n      let symbol = found ? '[✓]' : '[ ]';\n      if (parsedName.fullName.length > 60) {\n        padding = '.';\n      } else {\n        padding = new Array(60 - parsedName.fullName.length).join('.');\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    knownForType(type) {\n      let moduleKeys = this._moduleRegistry.moduleNames();\n      let items = Object.create(null);\n      for (let index = 0, length = moduleKeys.length; index < length; index++) {\n        let moduleName = moduleKeys[index];\n        let fullname = this.translateToContainerFullname(type, moduleName);\n        if (fullname) {\n          items[fullname] = true;\n        }\n      }\n      return items;\n    }\n    translateToContainerFullname(type, moduleName) {\n      let prefix = this.prefix({\n        type\n      });\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      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      if (moduleName.indexOf(nonPodPrefix) === 0 && moduleName.length > nonPodPrefix.length) {\n        return type + ':' + moduleName.slice(nonPodPrefix.length);\n      }\n    }\n    _extractDefaultExport(normalizedModuleName) {\n      let module = this._moduleRegistry.get(normalizedModuleName, null, null, true /* force sync */);\n      if (module && module['default']) {\n        module = module['default'];\n      }\n      return module;\n    }\n  }\n  _defineProperty(Resolver, \"moduleBasedResolver\", true);\n  var _default = _exports.default = Resolver;\n});","define(\"ember-resolver/string/cache\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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    get(key) {\n      let value = this.store.get(key);\n      if (this.store.has(key)) {\n        this.hits++;\n        return this.store.get(key);\n      } else {\n        this.misses++;\n        value = this.set(key, this.func(key));\n      }\n      return value;\n    }\n    set(key, value) {\n      if (this.limit > this.size) {\n        this.size++;\n        this.store.set(key, value);\n      }\n      return value;\n    }\n    purge() {\n      this.store.clear();\n      this.size = 0;\n      this.hits = 0;\n      this.misses = 0;\n    }\n  }\n  _exports.default = Cache;\n});","define(\"ember-resolver/string/index\", [\"exports\", \"ember-resolver/string/cache\"], function (_exports, _cache) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.classify = classify;\n  _exports.dasherize = dasherize;\n  _exports.decamelize = decamelize;\n  _exports.getString = getString;\n  _exports.getStrings = getStrings;\n  _exports.setStrings = setStrings;\n  _exports.underscore = underscore;\n  /* eslint-disable no-useless-escape */\n\n  let STRINGS = {};\n  function setStrings(strings) {\n    STRINGS = strings;\n  }\n  function getStrings() {\n    return STRINGS;\n  }\n  function getString(name) {\n    return STRINGS[name];\n  }\n  const STRING_DASHERIZE_REGEXP = /[ _]/g;\n  const STRING_DASHERIZE_CACHE = new _cache.default(1000, key => decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-'));\n  const STRING_CLASSIFY_REGEXP_1 = /^(\\-|_)+(.)?/;\n  const STRING_CLASSIFY_REGEXP_2 = /(.)(\\-|\\_|\\.|\\s)+(.)?/g;\n  const STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\n  const CLASSIFY_CACHE = new _cache.default(1000, str => {\n    const replace1 = (_match, _separator, chr) => chr ? `_${chr.toUpperCase()}` : '';\n    const replace2 = (_match, initialChar, _separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n    const parts = str.split('/');\n    for (let 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    return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, (match /*, separator, chr */) => match.toUpperCase());\n  });\n  const STRING_UNDERSCORE_REGEXP_1 = /([a-z\\d])([A-Z]+)/g;\n  const STRING_UNDERSCORE_REGEXP_2 = /\\-|\\s+/g;\n  const UNDERSCORE_CACHE = new _cache.default(1000, str => str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase());\n  const STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n  const DECAMELIZE_CACHE = new _cache.default(1000, str => str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase());\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  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  function dasherize(str) {\n    return STRING_DASHERIZE_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  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  function underscore(str) {\n    return UNDERSCORE_CACHE.get(str);\n  }\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-test-waiters/index\", [\"exports\", \"@ember/debug\", \"@ember/test-waiters\"], function (_exports, _debug, _testWaiters) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.keys(_testWaiters).forEach(function (key) {\n    if (key === \"default\" || key === \"__esModule\") return;\n    if (key in _exports && _exports[key] === _testWaiters[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _testWaiters[key];\n      }\n    });\n  });\n  (true && !(false) && (0, _debug.deprecate)('Importing from ember-test-waiters is deprecated. Please import from @ember/test-waiters', false, {\n    id: 'ember-test-waiters-legacy-module-name',\n    until: '3.0.0',\n    for: 'ember-test-waiters',\n    since: {\n      enabled: '2.2.0'\n    }\n  }));\n});","define(\"fractals-lib/models/Complex\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /*\n   * https://github.com/justinlubin/newton-js\n   * https://github.com/infusion/Complex.js/blob/master/complex.js\n   */\n  class Complex {\n    // r + i\n    // t is a third dimension\n    constructor(r, i, t) {\n      this.x = r;\n      this.y = i;\n      this.r = r; // real\n      this.i = i; // imaginary\n      this.t = typeof t === \"number\" ? t : 0;\n      this.square = 0;\n    }\n    transform(args) {\n      if (args === null || args.length === 0) {\n        return this;\n      }\n      this.r += args[0];\n      if (args.length == 1) {\n        return this;\n      }\n      this.i += args[1];\n      if (args.length == 2) {\n        return this;\n      }\n      this.t += args[2];\n      if (args.length == 3) {\n        return this;\n      }\n      if (args.length > 3) {\n        this.r *= args[3];\n      }\n      if (args.length > 4) {\n        this.i *= args[4];\n      }\n      if (args.length > 5) {\n        this.t *= args[5];\n      }\n      return this;\n    }\n    setSquare() {\n      this.square = this.squaresSum();\n      return this.square;\n    }\n    getArgument() {\n      return Math.atan2(this.i, this.r);\n    }\n    squaresSum() {\n      return this.r * this.r + this.i * this.i;\n    }\n    getMagnitude() {\n      return Math.sqrt(this.squaresSum());\n    }\n    LyapunovExponent(n, lpLimit) {\n      let r = 0;\n      let i = 0;\n      let sum = 0;\n      if (this.i == 0 && this.r == 0) {\n        return -1;\n      }\n      for (let j = 0; j < n; j++) {\n        // Update z: z_{n+1} = z_n^2 + c\n        const rTemp = r * r - i * i + this.r;\n        i = 2 * r * i + this.i;\n        r = rTemp;\n\n        // square sum\n        const squaresSum = r * r + i * i;\n\n        // Check for divergence: if |z|^2 >= lpLimit, escape\n        if (squaresSum >= lpLimit) {\n          // Return average exponent up to this point\n          return sum / (j + 1);\n        }\n\n        // To estimate chaos, we track the logarithm of the derivative's magnitude over iterations\n        if (squaresSum > 0) {\n          sum += Math.log(Math.abs(2 * Math.sqrt(squaresSum)));\n        }\n      }\n\n      // Return average Lyapunov exponent over all iterations\n      return sum / n;\n    }\n    LyapunovExponentInc(n, lpLimit) {\n      let r = 0;\n      let i = 0;\n      let p = 0;\n      if (this.i == 0 && this.r === 0) {\n        return -1;\n      }\n      for (let j = 0; j < n; j++) {\n        const rTemp = r * r - i * i + this.r;\n        i = 2 * r * i + this.i;\n        r = rTemp;\n        p = r * r + i * i;\n        if (p >= lpLimit) {\n          break;\n        }\n      }\n      return Math.log10(Math.sqrt(p));\n    }\n    rot(theta) {\n      const cosA = Math.cos(theta);\n      const sinA = Math.sin(theta);\n      return new Complex(this.r * cosA - this.i * sinA, this.r * sinA + this.i * cosA);\n    }\n    signR() {\n      if (this.r < 0) {\n        return -1;\n      }\n      if (this.r === 0) {\n        return 0;\n      }\n      if (this.r > 0) {\n        return 1;\n      }\n    }\n    addValues(r, i, t) {\n      return new Complex(this.r + r, this.i + i, this.t + t);\n    }\n    addValuesIn(r, i, t) {\n      this.r += r;\n      this.i += i;\n      this.t += t;\n      return this;\n    }\n    addReal(r) {\n      return new Complex(this.r + r, this.i, this.t);\n    }\n    addIn(c) {\n      this.r += c.r;\n      this.i += c.i;\n      this.t += c.t;\n      return this;\n    }\n    add(c) {\n      return new Complex(this.r + c.r, this.i + c.i, this.t + c.t);\n    }\n    sub(c) {\n      return new Complex(this.r - c.r, this.i - c.i, this.t - c.t);\n    }\n    subIn(c) {\n      this.r -= c.r;\n      this.i -= c.i;\n      this.t -= c.t;\n      return this;\n    }\n    mulValues(r, i) {\n      this.r = this.r * r - this.i * i;\n      this.i = this.i * r + this.r * i;\n      return this;\n    }\n    mul(z) {\n      return new Complex(this.r * z.r - this.i * z.i, this.i * z.r + this.r * z.i, this.t);\n    }\n    mulReal(r) {\n      return new Complex(this.r * r, this.i * r, this.t * r);\n    }\n    mulRReal(r) {\n      return new Complex(this.r * r, this.i, this.t);\n    }\n    div(z) {\n      const denominator = z.r * z.r + z.i * z.i + z.t * z.t;\n      return new Complex((this.r * z.r + this.i * z.i) / denominator, (this.i * z.r - this.r * z.i) / denominator, this.t);\n      //return r0.mulReal(-1);\n    }\n    inverse() {\n      this.setSquare();\n      const c1 = new Complex(1, 0, 0);\n      const denominator = this.square + this.t * this.t;\n      return new Complex((c1.r * this.r + c1.i * this.i) / denominator, (c1.i * this.r - c1.r * this.i) / denominator);\n    }\n    iAbs() {\n      return new Complex(this.r, Math.abs(this.i), this.t);\n    }\n    rAbs() {\n      return new Complex(Math.abs(this.r), this.i, this.t);\n    }\n    abs() {\n      return new Complex(Math.abs(this.r), Math.abs(this.i), Math.abs(this.t));\n    }\n    opposite() {\n      return new Complex(-this.r, -this.i, -this.t);\n    }\n    conjugate() {\n      return new Complex(this.r, -this.i, this.t);\n    }\n    pow(n) {\n      if (typeof this.t === \"number\" && this.t !== 0) {\n        if (n > 1 && n % 2 === 0) {\n          return this.pow3d(n);\n        }\n      }\n      switch (n) {\n        case 0:\n          return new Complex(1, 0, 0);\n        case 1:\n          return new Complex(this.r, this.i, this.t);\n        case 2:\n          return new Complex(\n          // r2 – i2\n          this.r * this.r - this.i * this.i,\n          // (2ri)\n          2 * this.r * this.i);\n        case 3:\n          return new Complex(\n          //  a3 – 3ab2\n          Math.pow(this.r, 3) - 3 * this.r * this.i * this.i,\n          // (3a2b – b3)\n          3 * this.r * this.r * this.i - Math.pow(this.i, 3));\n        case 4:\n          return new Complex(\n          //  a4 – 6a2b2 + b4\n          Math.pow(this.r, 4) - 6 * this.r * this.r * this.i * this.i + Math.pow(this.i, 4),\n          // (4a3b – 4ab3)\n          4 * Math.pow(this.r, 3) * this.i - 4 * this.r * Math.pow(this.i, 3));\n        default:\n      }\n\n      // generic formula\n      const arg = this.getArgument();\n      const magnitude = this.getMagnitude();\n      return new Complex(Math.cos(n * arg) * Math.pow(magnitude, n), Math.sin(n * arg) * Math.pow(magnitude, n));\n    }\n    pow3d(n) {\n      let z = new Complex(this.r, this.i, this.t);\n      for (let j = 0; j < n / 2; j++) {\n        // z*z\n        z = z.square3d();\n      }\n      return z;\n    }\n    powComplex(z) {\n      // (r + bi) ^ (c + di) = e^((c + di) * log(r + bi))\n      const r = Math.sqrt(this.r ** 2 + this.i ** 2);\n      const theta = Math.atan2(this.i, this.r);\n      const newR = Math.exp(z.r * Math.log(r) - z.i * theta);\n      const newTheta = z.r * theta + z.i * Math.log(r);\n\n      // Convertir le résultat en forme rectangulaire\n      return new Complex(newR * Math.cos(newTheta), newR * Math.sin(newTheta));\n    }\n    expComplex() {\n      const expReal = Math.exp(this.r);\n      return new Complex(expReal * Math.cos(this.i), expReal * Math.sin(this.i));\n    }\n    square3d() {\n      /*this.setSquare();\n      return new Complex(\n      \t(this.square - this.t * this.t) * (this.r * this.r - this.i * this.i) / (this.square),\n      \t2 * (this.square - this.t * this.t) * this.r * this.i / (this.square),\n      \t-2 * this.t * Math.sqrt(this.square)\n      );*/\n\n      return new Complex(this.r * this.r - this.i * this.i - this.t * this.t, 2 * this.r * this.i, 2 * this.r * this.t);\n    }\n    isZero() {\n      return this.i === 0 && this.r === 0;\n    }\n    getC(f) {\n      switch (f) {\n        case '':\n        case '0':\n          return this;\n        case 'rAbs':\n          return this.rAbs();\n        case 'iAbs':\n          return this.rAbs();\n        case 'abs':\n          return this.abs();\n        case 'inverse':\n          return this.inverse();\n        case 'conjugate':\n          return this.conjugate();\n        case 'opposite':\n          return this.opposite();\n        case 'sin':\n          return this.sin();\n        case 'cos':\n          return this.cos();\n        case 'cosh':\n          return this.cosh();\n        case 'sinh':\n          return this.sinh();\n        case 'tan':\n          return this.tan();\n        case 'tanh':\n          return this.tanh();\n        case 'cot':\n          return this.cot();\n        case 'coth':\n          return this.coth();\n        case 'sec':\n          return this.sec();\n        case 'sech':\n          return this.sech();\n        case 'csc':\n          return this.csc();\n        case 'csch':\n          return this.csch();\n        case 'atan':\n          return this.atan();\n        case 'acos':\n          return this.acos();\n        case 'acosh':\n          return this.acosh();\n        case 'acot':\n          return this.acot();\n        case 'acoth':\n          return this.acoth();\n        case 'asin':\n          return this.asin();\n        case 'asinh':\n          return this.asinh();\n        case 'asec':\n          return this.asec();\n        case 'asech':\n          return this.asech();\n        case 'acsc':\n          return this.acsc();\n        case 'log':\n          return this.log();\n        case 'exp':\n          return this.expComplex();\n        case 'ln':\n          return this.ln();\n        case 'sqrt':\n          return this.sqrt();\n        case 'pow2':\n          return this.pow(2);\n        case 'cosCoshSinSinh':\n          return this.cosCoshSinSinh();\n        case 'cosCoshSinSinh2':\n          return this.cosCoshSinSinh2();\n        case 'squareDiv':\n          return this.squareDiv();\n        case 'squareTan':\n          return this.squareTan();\n        case 'squareAtan':\n          return this.squareAtan();\n        case 'expDiv':\n          return this.expDiv();\n        case 'expDivSinh':\n          return this.expDivSinh();\n        default:\n          return this;\n      }\n    }\n    sqrt() {\n      const d = Math.sqrt(this.squaresSum());\n      const r = Math.sqrt((d + this.r) / 2);\n      const i = d / Math.abs(d) * Math.sqrt((d - this.r) / 2);\n      return new Complex(r, i);\n    }\n    log() {\n      return new Complex(this.logHypot(this.r, this.i), Math.atan2(this.i, this.r));\n    }\n    logHypot(r, i) {\n      const rTemp = Math.abs(r);\n      const iTemp = Math.abs(i);\n      if (r === 0) {\n        return Math.log(iTemp);\n      }\n      if (i === 0) {\n        return Math.log(rTemp);\n      }\n      if (rTemp < 3000 && iTemp < 3000) {\n        return Math.log(r * r + i * i) * 0.5;\n      }\n      return Math.log(r / Math.cos(Math.atan2(i, r)));\n    }\n    sin() {\n      // sin(r).cosh(i)+i cos(r).sinh(i)\n      return new Complex(Math.cosh(this.i) * Math.sin(this.r), Math.sinh(this.i) * Math.cos(this.r));\n    }\n    sinh() {\n      // sinh(r+bi)=sinh(r).cos(i)+i cosh(r).sin(i)\n      return new Complex(Math.sinh(this.r) * Math.cos(this.i), Math.cosh(this.r) * Math.sin(this.i));\n    }\n    cos() {\n      // cos(r).cosh(i) − i sin(r).sinh(i)\n      return new Complex(Math.cosh(this.i) * Math.cos(this.r), -Math.sinh(this.i) * Math.sin(this.r));\n    }\n    cosh() {\n      // cosh(r+bi)=cosh(r).cos(i) + i sinh(r).sin(i)\n      return new Complex(Math.cosh(this.r) * Math.cos(this.i), Math.sinh(this.r) * Math.sin(this.i));\n    }\n    tan() {\n      const d = Math.cos(2 * this.r) + Math.cosh(2 * this.i);\n      return new Complex(Math.sin(2 * this.r) / d, Math.sinh(2 * this.i) / d);\n    }\n    tanh() {\n      const d = Math.cosh(2 * this.r) + Math.cos(2 * this.i);\n      return new Complex(Math.sinh(2 * this.r) / d, Math.sin(2 * this.i) / d);\n    }\n    cot() {\n      // cot(c) = i(e^(ci) + e^(-ci)) / (e^(ci) - e^(-ci))\n      const d = Math.cos(2 * this.r) - Math.cosh(2 * this.i);\n      return new Complex(-Math.sin(2 * this.r) / d, Math.sinh(2 * this.i) / d);\n    }\n    coth() {\n      const d = Math.cosh(2 * this.r) - Math.cos(2 * this.i);\n      return new Complex(Math.sinh(2 * this.r) / d, -Math.sin(2 * this.i) / d);\n    }\n    sec() {\n      // (cos(r).cosh(i) + i sin(r).sinh(i)) / cos2(r).cosh2(i)+sin2(r).sinh2(i)\n      const d = 0.5 * Math.cosh(2 * this.i) + 0.5 * Math.cos(2 * this.r);\n      return new Complex(Math.cos(this.r) * Math.cosh(this.i) / d, Math.sin(this.r) * Math.sinh(this.i) / d);\n    }\n    sech() {\n      const d = Math.cos(2 * this.i) + Math.cosh(2 * this.r);\n      return new Complex(2 * Math.cosh(this.r) * Math.cos(this.i) / d, -2 * Math.sinh(this.r) * Math.sin(this.i) / d);\n    }\n    csc() {\n      const d = 0.5 * Math.cosh(2 * this.i) - 0.5 * Math.cos(2 * this.r);\n      return new Complex(Math.sin(this.r) * Math.cosh(this.i) / d, -Math.cos(this.r) * Math.sinh(this.i) / d);\n    }\n    csch() {\n      const d = Math.cos(2 * this.i) - Math.cosh(2 * this.r);\n      return new Complex(-2 * Math.sinh(this.r) * Math.cos(this.i) / d, 2 * Math.cosh(this.r) * Math.sin(this.i) / d);\n    }\n    acos() {\n      const t1 = new Complex(this.i * this.i - this.r * this.r + 1, -2 * this.r * this.i).pow(1 / 2);\n      const t2 = new Complex(t1.r - this.i, t1.i + this.r).log();\n      return new Complex(Math.PI / 2 - t2.i, t2.r);\n    }\n    acosh() {\n      let res = this.acos();\n      let tmp = 0;\n      if (res.i <= 0) {\n        tmp = res.r;\n        res.r = -res.i;\n        res.i = tmp;\n      } else {\n        tmp = res.i;\n        res.i = -res.r;\n        res.r = tmp;\n      }\n      return res;\n    }\n    asinh() {\n      let tmp = this.i;\n      this.i = -this.r;\n      this.r = tmp;\n      let res = this.asin();\n      this.r = -this.i;\n      this.i = tmp;\n      tmp = res.r;\n      res.r = -res.i;\n      res.i = tmp;\n      return res;\n    }\n    acoth() {\n      if (this.r === 0 && this.i === 0) {\n        return new Complex(0, Math.PI / 2);\n      }\n      if (this.setSquare() === 0) {\n        return new Complex(Infinity, Infinity);\n      }\n      return new Complex(this.r / this.square, -this.i / this.square).atanh();\n    }\n    acsch() {\n      if (this.i === 0) {\n        return new Complex(this.r !== 0 ? Math.log(this.r + Math.sqrt(this.r * this.r + 1)) : Infinity, 0);\n      }\n      if (this.setSquare() === 0) {\n        return new Complex(Infinity, Infinity);\n      }\n      return new Complex(this.r / this.square, -this.i / this.square).asinh();\n    }\n    asech() {\n      if (this.setSquare() === 0) {\n        return new Complex(Infinity, Infinity);\n      }\n      return new Complex(this.r / this.square, -this.i / this.square).acosh();\n    }\n    asin() {\n      // asin(c) = -i * log(ci + sqrt(1 - c^2))\n\n      const t1 = new Complex(this.i * this.i - this.r * this.r + 1, -2 * this.r * this.i).pow(1 / 2);\n      const t2 = new Complex(t1.r - this.i, t1.i + this.r).log();\n      return new Complex(t2.i, -t2.r);\n    }\n    acot() {\n      if (this.setSquare() === 0) {\n        return new Complex(Math.atan2(1, this.r), 0);\n      }\n      return new Complex(this.r / this.square, -this.i / this.square).atan();\n    }\n    asec() {\n      if (this.setSquare() === 0) {\n        return new Complex(0, Infinity);\n      }\n      return new Complex(this.r / this.square, -this.i / this.square).acos();\n    }\n    acsc() {\n      if (this.setSquare() === 0) {\n        return new Complex(Math.PI / 2, Infinity);\n      }\n      return new Complex(this.r / this.square, -this.i / this.square).asin();\n    }\n    atan() {\n      if (this.r === 0) {\n        if (this.i === 1) {\n          return new Complex(0, Infinity);\n        }\n        if (this.i === -1) {\n          return new Complex(0, -Infinity);\n        }\n      }\n      const d = this.r * this.r + (1.0 - this.i) * (1.0 - this.i);\n      const t1 = new Complex((1 - this.i * this.i - this.r * this.r) / d, -2 * this.r / d).log();\n      return new Complex(-0.5 * t1.i, 0.5 * t1.r);\n    }\n    ln() {\n      this.setSquare();\n      //0.5 * ln(x² + y²) + \n      // i atan(x / y)\n      return new Complex(0.5 * Math.log10(this.square), Math.atan(this.r / this.i));\n    }\n    /*special functions*/\n    cosCoshSinSinh2() {\n      return new Complex(Math.cosh(this.i) * Math.sin(this.r), -Math.sinh(this.i) * Math.cos(this.r), 0);\n    }\n    cosCoshSinSinh() {\n      return new Complex(Math.cosh(-this.i) * Math.cos(this.r), Math.sinh(-this.i) * Math.sin(this.r), 0);\n    }\n    expDiv() {\n      return new Complex(0.5 * Math.exp(this.squaresSum()), this.r / this.i, 0);\n    }\n    expDivSinh() {\n      return new Complex(0.5 * Math.exp(this.squaresSum()), Math.sinh(this.r / this.i), 0);\n    }\n    squareDiv() {\n      return new Complex(this.squaresSum(), this.r / this.i, 0);\n    }\n    squareAtan() {\n      return new Complex(this.squaresSum(), Math.atan(this.r / this.i), 0);\n    }\n    squareTan() {\n      return new Complex(this.squaresSum(), Math.tan(this.r / this.i), 0);\n    }\n  }\n  _exports.default = Complex;\n});","define(\"fractals-lib/models/fractal-parameters\", [\"exports\", \"fractals-lib/models/Complex\"], function (_exports, _Complex) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class FractalParameters {\n    constructor() {\n      _defineProperty(this, \"modelID\", \"\");\n      _defineProperty(this, \"a\", null);\n      _defineProperty(this, \"b\", null);\n      _defineProperty(this, \"c\", null);\n      _defineProperty(this, \"c0\", null);\n      _defineProperty(this, \"args\", null);\n      _defineProperty(this, \"c2\", null);\n      _defineProperty(this, \"multiple\", null);\n      _defineProperty(this, \"min\", 4);\n      _defineProperty(this, \"min_o\", 4);\n      _defineProperty(this, \"type\", \"\");\n      _defineProperty(this, \"f\", \"\");\n      _defineProperty(this, \"base\", 1);\n      _defineProperty(this, \"method\", 1);\n      _defineProperty(this, \"selectMode\", 6);\n      _defineProperty(this, \"render3D\", false);\n      _defineProperty(this, \"minOccurrences\", 0);\n      _defineProperty(this, \"maxOccurrences\", 360);\n      _defineProperty(this, \"maxOccurrences\", 360);\n      _defineProperty(this, \"occurrencesColorMethod\", -1);\n      _defineProperty(this, \"inner\", false);\n      _defineProperty(this, \"out\", true);\n      _defineProperty(this, \"autoAdjust\", true);\n      _defineProperty(this, \"multiRandom\", false);\n      _defineProperty(this, \"r\", 2.5);\n      _defineProperty(this, \"zThresholds\", null);\n      _defineProperty(this, \"edgeDetect\", 0);\n      _defineProperty(this, \"addOutPts\", false);\n      _defineProperty(this, \"t0\", 0);\n      _defineProperty(this, \"x1\", -2.5);\n      _defineProperty(this, \"y1\", -2.5);\n      _defineProperty(this, \"x2\", 2.5);\n      _defineProperty(this, \"y2\", 2.5);\n      _defineProperty(this, \"x1_o\", -2);\n      _defineProperty(this, \"y1_o\", -2);\n      _defineProperty(this, \"x2_o\", 2);\n      _defineProperty(this, \"y2_o\", 2);\n      _defineProperty(this, \"ySymetry\", false);\n      _defineProperty(this, \"xSymetry\", false);\n      _defineProperty(this, \"drColor\", null);\n      _defineProperty(this, \"innerColor\", null);\n      _defineProperty(this, \"bgColor\", null);\n      _defineProperty(this, \"innerColor_o\", null);\n      _defineProperty(this, \"bgColor2\", null);\n      _defineProperty(this, \"varInterval\", null);\n      _defineProperty(this, \"innerMethod\", 0);\n      _defineProperty(this, \"fixedInnerColor\", null);\n      _defineProperty(this, \"noise\", null);\n      _defineProperty(this, \"d3\", 0);\n      _defineProperty(this, \"colorsI\", null);\n      _defineProperty(this, \"target\", 4);\n      _defineProperty(this, \"minIterations\", 0);\n      _defineProperty(this, \"maxIterations\", 0);\n      _defineProperty(this, \"itInterval\", null);\n      _defineProperty(this, \"dH\", false);\n      _defineProperty(this, \"dW\", false);\n      _defineProperty(this, \"ifs\", 0);\n      _defineProperty(this, \"ifsIterations\", 25);\n      _defineProperty(this, \"ifsMultiple\", 2);\n      _defineProperty(this, \"ifsParams\", null);\n      _defineProperty(this, \"breakPtParams\", null);\n      _defineProperty(this, \"zValues\", null);\n      _defineProperty(this, \"areas\", null);\n      _defineProperty(this, \"setAB_OnClick\", false);\n      _defineProperty(this, \"zMethod\", 0);\n      _defineProperty(this, \"zOrigin\", null);\n      _defineProperty(this, \"colorsService\", null);\n      _defineProperty(this, \"animation\", []);\n      _defineProperty(this, \"mode\", 0);\n      _defineProperty(this, \"zFromOrigin\", false);\n      _defineProperty(this, \"derivativeFunction\", null);\n      _defineProperty(this, \"derivativeParams\", null);\n      _defineProperty(this, \"colorsLevels\", null);\n      _defineProperty(this, \"colorsThresholds\", null);\n      _defineProperty(this, \"relativeC2\", false);\n      _defineProperty(this, \"lpNb\", 0);\n      _defineProperty(this, \"lpLimit\", 0);\n      _defineProperty(this, \"lch\", false);\n      _defineProperty(this, \"transformationVector\", null);\n      _defineProperty(this, \"position3D\", null);\n      _defineProperty(this, \"maxProgress\", 100);\n      _defineProperty(this, \"limitMethod\", 0);\n      _defineProperty(this, \"functionMethod\", \"\");\n      _defineProperty(this, \"inverseAxis\", false);\n      _defineProperty(this, \"invert\", false);\n      _defineProperty(this, \"randomPts\", false);\n      _defineProperty(this, \"zOrigin2ndFractal\", false);\n      this.colorsI = [];\n    }\n    setData(data) {\n      this.ifsParams = null;\n      this.target = 4;\n      this.a = null;\n      this.b = null;\n      this.c = 0;\n      this.x1 = -2.5;\n      this.x2 = 2.5;\n      this.y1 = -2.5;\n      this.y2 = 2.5;\n      this.zThresholds = null;\n      this.bgColor = null;\n      this.drColor = [210, 50, 50];\n      this.innerColor = [210, 50, 50];\n      this.position3D = [1, 1, 1];\n      if (data) {\n        this.modelID = data.id;\n        if (typeof data.c0 === 'object') {\n          this.a = data.c0.a;\n          this.b = data.c0.b;\n          this.c = data.c0.c;\n        } else {\n          if (typeof data.a === 'number') {\n            this.a = data.a;\n          }\n          if (typeof data.b === 'number') {\n            this.b = data.b;\n          }\n          if (typeof data.c === 'number') {\n            this.c = data.c;\n          }\n        }\n        if (typeof data.target === 'number') {\n          this.target = data.target;\n        }\n        this.initLimits(data);\n        this.randomPts = typeof data.randomPts === 'boolean' ? data.randomPts : false;\n        this.type = typeof data.type === 'string' ? data.type : \"j_o\";\n        this.inner = typeof data.inner === 'boolean' ? data.inner : false;\n        this.inverseAxis = typeof data.inverseAxis === 'boolean' ? data.inverseAxis : false;\n        this.zOrigin2ndFractal = typeof data.zOrigin2ndFractal === 'boolean' ? data.zOrigin2ndFractal : false;\n        this.out = typeof data.out === 'boolean' ? data.out : true;\n        this.method = typeof data.method === 'number' ? data.method : 1;\n        this.occurrencesColorMethod = typeof data.occurrencesColorMethod === 'number' ? data.occurrencesColorMethod : -1;\n        this.lch = typeof data.lch === 'boolean' ? data.lch : false;\n        this.functionMethod = typeof data.functionMethod === 'string' ? data.functionMethod : \"\";\n        this.invert = typeof data.invert === 'boolean' ? data.invert : false;\n        this.maxIterations = typeof data.iterations === 'number' ? data.iterations : 50;\n        this.maxProgress = typeof data.maxProgress === 'number' ? data.maxProgress : 100;\n        this.limitMethod = typeof data.limitMethod === 'number' ? data.limitMethod : 0;\n        this.f = typeof data.f === 'string' ? data.f : \"\";\n        this.derivativeParams = typeof data.derivativeParams === 'object' ? data.derivativeParams : [];\n        if (data.drColor !== null && typeof data.drColor === 'object') {\n          this.drColor = data.drColor;\n        }\n        if (data.innerColor !== null && typeof data.innerColor === 'object') {\n          this.innerColor = data.innerColor;\n        } else {\n          this.innerColor = this.drColor;\n        }\n        this.innerMethod = typeof data.innerMethod === 'number' ? data.innerMethod : 0;\n        if (this.innerMethod > 0) {\n          this.inner = true;\n        }\n        this.ifsParams = this.getNew();\n        if (data.ifsParams) {\n          this.ifsParams.setData(data.ifsParams);\n        } else {\n          this.ifsParams.mode = typeof data.ifs === 'number' ? data.ifs : 0;\n          if (this.ifsParams.mode > 0) {\n            this.ifsParams.maxIterations = typeof data.ifsIterations === 'number' ? data.ifsIterations : 25;\n            this.ifsParams.type = \"multiple\";\n            this.ifsParams.f = \"\";\n            this.ifsParams.args = [2, 0];\n            this.ifsParams.setC0();\n            this.ifsParams.setFunctions();\n          }\n        }\n        this.selectMode = typeof data.selectMode === 'number' ? data.selectMode : 6;\n        this.min = typeof data.min === 'number' ? data.min : 0;\n        this.base = typeof data.base === 'number' ? data.base : 2;\n        this.minOccurrences = typeof data.minOccurrences === 'number' ? data.minOccurrences : 0;\n        this.maxOccurrences = typeof data.maxOccurrences === 'number' ? data.maxOccurrences : 360;\n        this.itInterval = typeof data.itInterval === 'object' ? data.itInterval : null;\n        this.bgColor = typeof data.bgColor === 'object' ? data.bgColor : null;\n        this.bgColor2 = typeof data.bgColor2 === 'object' ? data.bgColor2 : null;\n        this.args = typeof data.args === 'object' ? data.args : [];\n        this.lpNb = typeof data.lpNb === 'number' ? data.lpNb : 0;\n        this.lpLimit = typeof data.lpLimit === 'number' ? data.lpLimit : 10000;\n        this.varInterval = typeof data.varInterval === 'object' ? data.varInterval : null;\n        this.relativeC2 = typeof data.relativeC2 === 'boolean' ? data.relativeC2 : false;\n        if (this.relativeC2) {\n          // relative to point\n          this.c2 = null;\n        } else {\n          // if not defined, (0,0,0)\n          this.c2 = typeof data.c2 === \"undefined\" ? new _Complex.default(0, 0, 0) : new _Complex.default(data.c2.a, data.c2.b);\n        }\n        this.zFromOrigin = typeof data.zFromOrigin === 'boolean' ? data.zFromOrigin : false;\n        if (this.zFromOrigin) {\n          this.zOrigin = new _Complex.default(0, 0, 0);\n        } else {\n          this.zOrigin = typeof data.zOrigin === \"undefined\" ? null : new _Complex.default(data.zOrigin.a, data.zOrigin.b);\n        }\n        this.multiple = typeof data.multiple === \"undefined\" ? new _Complex.default(1, 0) : new _Complex.default(data.multiple.r, data.multiple.i);\n        this.d3 = typeof data.d3 === 'number' ? data.d3 : 0;\n        this.t0 = typeof data.t0 === 'number' ? data.t0 : 0;\n        this.zMethod = typeof data.zMethod === 'number' ? data.zMethod : 0;\n        this.edgeDetect = typeof data.edgeDetect === 'number' ? data.edgeDetect : 0;\n        this.addOutPts = typeof data.addOutPts === 'boolean' ? data.addOutPts : false;\n        this.dW = typeof data.dW === 'boolean' ? data.dW : false;\n        this.dH = typeof data.dH === 'boolean' ? data.dH : false;\n        this.areas = typeof data.areas === 'object' ? data.areas : null;\n        this.noise = typeof data.noise === 'object' ? data.noise : null;\n        this.transformationVector = typeof data.transformationVector === 'object' ? data.transformationVector : null;\n        this.breakPtParams = typeof data.breakPtParams === 'object' ? data.breakPtParams : null;\n        if (this.breakPtParams && typeof this.breakPtParams.base == \"undefined\") {\n          this.breakPtParams.base = this.base;\n          this.breakPtParams.f = this.f;\n        }\n        this.bgAuto = typeof data.bgAuto === 'boolean' ? data.bgAuto : false;\n        this.render3D = typeof data.render3D === 'boolean' ? data.render3D : false;\n        this.multiRandom = typeof data.multiRandom === 'boolean' ? data.multiRandom : false;\n        this.mode = typeof data.mode === 'number' ? data.mode : 0;\n        this.colorsLevels = typeof data.colorsLevels === 'object' ? data.colorsLevels : null;\n        this.colorsThresholds = typeof data.colorsThresholds === 'object' ? data.colorsThresholds : null;\n        this.xSymetry = typeof data.xSymetry === 'boolean' ? data.xSymetry : false;\n        this.ySymetry = typeof data.ySymetry === 'boolean' ? data.ySymetry : false;\n        this.setAB_OnClick = typeof data.setAB_OnClick === 'boolean' ? data.setAB_OnClick : false;\n        if (data.animation) {\n          this.animation = data.animation;\n        }\n        if (typeof data.animation === \"undefined\" || data.animation === null) {\n          this.animation = [];\n          this.animation.t0 = 0;\n          this.animation.mode = 0;\n        }\n        if (data.zThresholds !== null && typeof data.zThresholds === 'object') {\n          this.zThresholds = data.zThresholds;\n          this.render3D = true;\n        }\n        this.zValues = typeof data.zValues === 'object' ? data.zValues : null;\n        this.pt = null;\n        this.setOriginPoints();\n        this.min_o = this.min;\n        this.minIterations = this.min;\n        this.innerColor_o = [this.innerColor[0], this.innerColor[1], this.innerColor[2], this.innerColor[3]];\n        if (this.method === 1) {\n          if (typeof this.drColor[6] !== \"number\") {\n            this.drColor[6] = 7;\n            this.drColor[2] = 1;\n          }\n        }\n        if (typeof this.drColor[3] !== \"number\") {\n          this.drColor[3] = 100;\n        }\n        if (typeof this.drColor[4] !== \"number\") {\n          this.drColor[4] = 1;\n        }\n        if (typeof this.drColor[5] !== \"number\") {\n          this.drColor[5] = 1;\n        }\n        if (typeof this.drColor[6] !== \"number\") {\n          this.drColor[6] = 1;\n        }\n        if (typeof this.drColor[7] !== \"number\") {\n          this.drColor[7] = 0;\n        }\n        this.setInitPoints();\n        this.setC0();\n        return this.setFunctions();\n      }\n      return false;\n    }\n    initLimits(data) {\n      this.autoAdjust = typeof data.autoAdjust === 'boolean' ? data.autoAdjust : false;\n      if (typeof data.r === 'number') {\n        if (this.autoAdjust === true) {\n          data.r = data.r * 1.05;\n        }\n        this.x1 = -parseFloat(data.r);\n        this.y1 = this.x1;\n      }\n      if (typeof data.x1 === 'number') {\n        this.x1 = data.x1;\n      }\n      if (typeof data.y1 === 'number') {\n        this.y1 = data.y1;\n      }\n      if (typeof data.x2 === 'number') {\n        this.x2 = data.x2;\n      } else {\n        this.x2 = -this.x1;\n      }\n      if (typeof data.y2 === 'number') {\n        this.y2 = data.y2;\n      } else {\n        this.y2 = -this.y1;\n      }\n      this.setOriginPoints();\n    }\n    setFunctions() {\n      // defined in child\n    }\n    getNew() {\n      return new FractalParameters();\n    }\n    setC0() {\n      if (this.a === null || this.relativeC === true) {\n        this.c0 = null;\n      } else {\n        if (this.b === null) {\n          this.b = 0;\n        }\n        this.c0 = new _Complex.default(this.a, this.b, this.c);\n      }\n    }\n    setDrColor(color, colorsService) {\n      this.colorsService = colorsService;\n      if (colorsService) {\n        this.drColor = color;\n        if (this.drColor === null) {\n          this.drColor = [0, 0, 0];\n        }\n        this.colorsI = [];\n        this.fixedDrColor = colorsService.hslToRgb(this.drColor);\n        if (this.getIColorValue(1) !== null) {\n          for (let i = 0; i <= this.maxIterations + 10; i++) {\n            // prepare colors array\n            const v = this.getIColorValue(i);\n            if (this.lch == true) {\n              this.colorsI.push(colorsService.lchaToRgba([this.drColor[2] + v * this.drColor[6], this.drColor[1] + v * this.drColor[5], this.drColor[0] + v * this.drColor[4]]));\n            } else {\n              this.colorsI.push(colorsService.hslToRgb([this.drColor[0] + v * this.drColor[4], this.drColor[1] + v * this.drColor[5], this.drColor[2] + v * this.drColor[6], this.drColor.length >= 8 ? this.drColor[3] + v * this.drColor[7] : null]));\n            }\n          }\n        }\n      }\n      return null;\n    }\n    getDrColor(i, v, vOut0, vOut1, vOut2, vOut3) {\n      if (this.colorsService) {\n        if (this.colorsI.length === 0) {\n          if (this.lch == true) {\n            return this.colorsService.lchaToRgba([this.drColor[2] + vOut2 * this.drColor[6], this.drColor[1] + vOut1 * this.drColor[5], this.drColor[0] + vOut0 * this.drColor[4]]);\n          }\n          return v === 0 ? this.fixedDrColor : this.colorsService.hslToRgb([this.drColor[0] + vOut0 * this.drColor[4], this.drColor[1] + vOut1 * this.drColor[5], this.drColor[2] + vOut2 * this.drColor[6], this.drColor.length >= 8 ? this.drColor[3] + vOut3 * this.drColor[7] : null]);\n        } else {\n          // get element in colors array\n          return this.colorsI[i];\n        }\n      }\n    }\n    getIColorValue(i) {\n      if (this.colorsThresholds && this.colorsLevels) {\n        for (let j = 0; j < this.colorsThresholds.length; j++) {\n          if (this.colorsThresholds[j] >= i) {\n            return this.colorsLevels[j];\n          }\n        }\n      }\n      switch (this.method) {\n        case 1:\n          return i;\n        case 2:\n          return i === 0 ? 0 : Math.log(i);\n        case 3:\n          return 1 / i * 100;\n        case 4:\n          return i === 0 ? 0 : Math.sin(Math.log(i)) + 1;\n        case 5:\n          return i % 2 === 0 ? 0 : 10;\n        case 6:\n          return Math.ceil(i / 10) * 10;\n        case 7:\n          return 1;\n        case 8:\n          return i === 0 ? 0 : Math.atan2(i, this.maxIterations / 2);\n        case 9:\n          return Math.tan(i);\n        case 10:\n          return i === 0 ? 0 : Math.log10(i);\n        default:\n          return null;\n      }\n    }\n    setInnerColor(c2, colorsService) {\n      if (this.colorsService) {\n        this.innerColor = c2;\n        if (typeof this.innerColor[4] !== \"number\") {\n          this.innerColor[4] = 0;\n        }\n        if (typeof this.innerColor[5] !== \"number\") {\n          this.innerColor[5] = 0;\n        }\n        if (typeof this.innerColor[6] !== \"number\") {\n          this.innerColor[6] = 0;\n        }\n        if (this.innerMethod == 0) {\n          if (this.getIColorValue(1) !== null) {\n            const v = this.getIColorValue(this.maxIterations);\n            this.fixedInnerColor = this.getInnerColor(v, v, v, v, v, true);\n          } else {\n            this.fixedInnerColor = colorsService.hslToRgb(this.innerColor);\n          }\n        }\n      }\n    }\n    getInnerColor(v, vIn0, vIn1, vIn2, vIn3, init) {\n      if (this.colorsService) {\n        // ???\n        if (this.innerMethod > 0 || init === true || this.method > 4) {\n          if (this.lch == true) {\n            return this.colorsService.lchaToRgba([this.innerColor[2] + vIn2 * this.innerColor[6], this.innerColor[1] + vIn1 * this.innerColor[5], this.innerColor[0] + vIn0 * this.innerColor[4]]);\n          } else {\n            return v === 0 ? this.fixedInnerColor : this.colorsService.hslToRgb([this.innerColor[0] + vIn0 * this.innerColor[4], this.innerColor[1] + vIn1 * this.innerColor[5], this.innerColor[2] + vIn2 * this.innerColor[6], this.innerColor.length >= 8 ? this.innerColor[3] + vIn3 * this.innerColor[7] : null]);\n          }\n        } else {\n          // get inner color\n          return this.fixedInnerColor;\n        }\n      }\n    }\n    setLimits(w, h, ratioWH) {\n      let dX = 0;\n      let dY = 0;\n      if (this.dW === true && ratioWH > 1) {\n        // enlarge canvas\n        dX = Math.abs(this.x2_o - this.x1_o) / 2 * (ratioWH - 1);\n      }\n      if (h > w) {\n        // portrait mode\n        dY = Math.abs(this.y2_o - this.y1_o) / 2;\n      }\n\n      //console.debug(\"dy\");\n      //console.debug(\"y1_0\", this.y1_o, \"y2_0\", this.y2_o, \"dy\", dY);\n\n      this.x1 = this.x1_o - dX;\n      this.x2 = this.x2_o + dX;\n      this.y1 = this.y1_o - dY;\n      this.y2 = this.y2_o + dY;\n\n      //console.debug(\"x1\", this.x1, \"x2\", this.x2, \"y1\", this.y1, \"y2\", this.y2, \"dx\", dX, \"dy\", dY, ratioWH);\n    }\n    getIntervalCenter() {\n      return [(this.x1 + this.x2) / 2, (this.y1 + this.y2) / 2];\n    }\n    setInitPoints() {\n      this.x1_i = this.x1;\n      this.x2_i = this.x2;\n      this.y1_i = this.y1;\n      this.y2_i = this.y2;\n      if (this.xSymetry === true) {\n        if (Math.abs(this.x1) != Math.abs(this.x2)) {\n          this.xSymetry = false;\n        }\n      }\n    }\n    setOriginPoints() {\n      this.x1_o = this.x1;\n      this.x2_o = this.x2;\n      this.y1_o = this.y1;\n      this.y2_o = this.y2;\n    }\n    restoreInitPoints() {\n      this.x1 = this.x1_i;\n      this.x2 = this.x2_i;\n      this.y1 = this.y1_i;\n      this.y2 = this.y2_i;\n      this.setOriginPoints();\n    }\n    defIntervalPts(x1, y1, x2, y2) {\n      this.x1 = x1;\n      this.y1 = y1;\n      this.x2 = x2;\n      this.y2 = y2;\n    }\n    changeParameter(actionName, value) {\n      switch (actionName) {\n        case 'change_a':\n          this.a = parseFloat(value);\n          this.setC0();\n          return true;\n        case 'change_b':\n          this.b = parseFloat(value);\n          this.setC0();\n          return true;\n        case 'change_base':\n          this.base = parseFloat(value);\n          return true;\n        case 'change_inner':\n          this.inner = parseInt(value) === 1;\n          if (this.inner === true || this.out === true) {\n            return true;\n          }\n          break;\n        case 'change_out':\n          this.out = parseInt(value) === 1;\n          if (this.inner === true || this.out === true) {\n            return true;\n          }\n          break;\n        case 'change_iterations':\n          this.maxIterations = parseInt(value);\n          return true;\n        case 'change_method':\n          this.method = parseInt(value);\n          return true;\n        case 'change_min':\n          this.minIterations = parseInt(value);\n          this.min = this.minIterations;\n          return true;\n        case 'change_x1':\n          this.x1 = parseFloat(value);\n          this.setOriginPoints();\n          return true;\n        case 'change_x2':\n          this.x2 = parseFloat(value);\n          this.setOriginPoints();\n          return true;\n        case 'change_y1':\n          this.y1 = parseFloat(value);\n          this.setOriginPoints();\n          return true;\n        case 'change_y2':\n          this.y2 = parseFloat(value);\n          this.setOriginPoints();\n          return true;\n        case 'change_funcName':\n          this.f = value;\n          return true;\n        case 'change_noisex':\n          if (this.noise === null) {\n            this.noise = [0, 0, 0];\n          }\n          this.noise[0] = parseFloat(value);\n          return true;\n        case 'change_noisey':\n          if (this.noise === null) {\n            this.noise = [0, 0, 0];\n          }\n          this.noise[1] = parseFloat(value);\n          return true;\n      }\n    }\n    setVarParameters(colorsService) {\n      if (colorsService && this.animation && this.animation.mode && this.animation.mode > 0) {\n        if (this.animation.mode === 2) {\n          //this.out = false;\n          //this.inner = true;\n          //this.innerColor[2] += this.animation.t0 * 80;\n\n          if (this.animation.innerColor) {\n            this.innerColor[0] = Math.round(this.innerColor_o[0] + Math.sin(this.t0) * this.animation.innerColor[4]);\n            this.innerColor[1] = Math.round(this.innerColor_o[1] + Math.sin(this.t0) * this.animation.innerColor[5]);\n            this.innerColor[2] = Math.round(this.innerColor_o[2] + Math.sin(this.t0) * this.animation.innerColor[6]);\n            this.fixedInnerColor = colorsService.hslToRgb(this.innerColor);\n          }\n        }\n        return this.applyAnimationVariation(colorsService);\n      }\n      return false;\n    }\n    applyAnimationVariation(colorsService) {\n      if (this.animation) {\n        if (typeof this.animation.min === \"number\") {\n          this.min += this.animation.min;\n        }\n        if (typeof this.animation.iterations === \"number\") {\n          this.maxIterations += this.animation.iterations;\n        }\n        if (typeof this.animation.t0 === \"number\") {\n          this.t0 += this.animation.t0;\n          this.t0 = this.roundFloat(this.t0);\n        }\n        if (typeof this.animation.a === \"number\") {\n          this.a += this.animation.a;\n          this.a = this.roundFloat(this.a);\n        }\n        if (typeof this.animation.b === \"number\") {\n          this.b += this.animation.b;\n          this.b = this.roundFloat(this.b);\n        }\n        if (typeof this.animation.c === \"number\") {\n          this.c += this.animation.c;\n          this.c = this.roundFloat(this.c);\n        }\n\n        /*\n        if (this.animation.innerColor) {\n        \tthis.innerColor[0] += this.animation.innerColor[4];\n        \tthis.innerColor[1] += this.animation.innerColor[5];\n        \tthis.innerColor[2] += this.animation.innerColor[6];\n        \tthis.innerColor[3] += this.animation.innerColor[7];\n        \tthis.fixedInnerColor = colorsService.hslToRgb(this.innerColor);\n        }*/\n\n        if (typeof this.animation.hue === \"number\") {\n          this.drColor[4] += this.animation.hue;\n        }\n        if (typeof this.animation.r === \"number\") {\n          // zoom in\n          this.x1 = this.x1_o * (1 - this.animation.r);\n          this.x2 = this.x2_o * (1 - this.animation.r);\n          this.x1_o = this.x1;\n          this.x2_o = this.x2;\n          this.y1 = this.y1_o * (1 - this.animation.r);\n          this.y2 = this.y2_o * (1 - this.animation.r);\n          this.y1_o = this.y1;\n          this.y2_o = this.y2;\n        }\n        if (this.animation.args && this.args !== null && this.animation.args.length == this.args.length) {\n          for (let i = 0; i < this.args.length; i++) {\n            if (this.animation.args[i]) {\n              this.args[i] += this.animation.args[i];\n            }\n          }\n        }\n        if (this.animation.args) {\n          if (this.animation.args && this.animation.args.rot) {\n            this.args.rot += this.animation.args.rot;\n          }\n        }\n        if (this.animation.noise && typeof this.animation.noise === \"object\" && this.noise != null && typeof this.noise === \"object\" && this.noise.length >= 3) {\n          this.noise[0] += this.animation.noise[0];\n          this.noise[1] += this.animation.noise[1];\n          this.noise[2] += this.animation.noise[2];\n        }\n        if (this.animation.c2 && this.c2 != null) {\n          this.c2.a += this.animation.c2.a;\n          this.c2.b += this.animation.c2.b;\n        }\n        if (this.animation.multiple && this.multiple != null && typeof this.animation.multiple === \"object\") {\n          this.multiple.r += this.animation.multiple.r;\n          this.multiple.i += this.animation.multiple.i;\n        }\n        if (this.animation.breakPtParams && this.breakPtParams != null) {\n          if (typeof this.breakPtParams.a !== \"undefined\") {\n            this.breakPtParams.a += this.animation.breakPtParams.a;\n            this.breakPtParams.b += this.animation.breakPtParams.b;\n          }\n          this.breakPtParams.min += this.animation.breakPtParams.min;\n        }\n        if (this.animation.transformationVector && this.transformationVector != null) {\n          this.transformationVector.r += this.animation.transformationVector.r;\n          this.transformationVector.i += this.animation.transformationVector.i;\n        }\n        if (typeof this.animation.base === \"number\") {\n          this.base += this.animation.base;\n        }\n        if (typeof this.animation.zOrigin === \"object\") {\n          this.zOrigin = new _Complex.default(this.zOrigin.r + this.animation.zOrigin.a, this.zOrigin.i + this.animation.zOrigin.b);\n        }\n        this.setC0();\n        this.setFunctions();\n        if (this.ifsParams) {\n          this.ifsParams.applyAnimationVariation();\n        }\n        return true;\n      }\n      return false;\n    }\n    getXCenter() {\n      return this.x1 + (this.x2 - this.x1) / 2;\n    }\n    getYCenter() {\n      return this.y1 + (this.y2 - this.y1) / 2;\n    }\n    roundFloat(f) {\n      return Math.floor(f * 100000000) / 100000000;\n    }\n    getInterval() {\n      return [[this.x1, this.y1], [this.x1, this.y2], [this.x2, this.y1], [this.x2, this.y2]];\n    }\n  }\n  _exports.default = FractalParameters;\n});","define(\"fractals-lib/models/fractal-process\", [\"exports\", \"fractals-lib/models/newton-fractal\", \"fractals-lib/models/newton-fractal-parameters\", \"fractals-lib/models/mandelbrot\", \"fractals-lib/models/mandelbrot-parameters\"], function (_exports, _newtonFractal, _newtonFractalParameters, _mandelbrot, _mandelbrotParameters) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class FractalProcess {\n    constructor() {\n      this.params = null;\n      this.gridAdapter = null;\n      this.fractal = null;\n      this.pts = [];\n      this.nbPts = 0;\n    }\n    initGrid(size) {\n      if (typeof size === \"undefined\") {\n        size = 8;\n      }\n      this.gridAdapter.initPtsMem(size);\n    }\n    init(params, gridAdapter, fractal) {\n      this.pts = [];\n      this.params = params;\n      this.gridAdapter = gridAdapter;\n      this.fractal = fractal;\n    }\n    setSecondFractal(data, colorsService, defaultType) {\n      if (data && data.fractal) {\n        if (typeof data.fractal.process === \"undefined\") {\n          data.fractal.process = defaultType;\n        }\n        if (data.fractal.process == \"mandelbrot\") {\n          const mandelbrotParams = new _mandelbrotParameters.default();\n          mandelbrotParams.setData(data.fractal);\n          mandelbrotParams.setFunctions();\n          mandelbrotParams.setDrColor(mandelbrotParams.drColor, colorsService);\n          mandelbrotParams.setInnerColor(mandelbrotParams.innerColor, colorsService);\n          this.fractal.secondFractal = new _mandelbrot.default();\n          this.fractal.secondFractal.initialize(colorsService, mandelbrotParams);\n          this.fractal.secondFractal.setParameters(mandelbrotParams);\n        } else {\n          const newtonFractalParams = new _newtonFractalParameters.default();\n          newtonFractalParams.setData(data.fractal);\n          newtonFractalParams.setFunctions();\n          newtonFractalParams.setDrColor(newtonFractalParams.drColor, colorsService);\n          newtonFractalParams.setInnerColor(newtonFractalParams.innerColor, colorsService);\n          this.fractal.secondFractal = new _newtonFractal.default();\n          this.fractal.secondFractal.initialize(colorsService, newtonFractalParams);\n          this.fractal.secondFractal.setParameters(newtonFractalParams);\n        }\n      }\n    }\n    setParameters(params) {\n      this.params = params;\n    }\n    getEndSet() {\n      return this.gridAdapter.getEndSet();\n    }\n    getProgress() {\n      return this.gridAdapter.getScanProgress();\n    }\n  }\n  _exports.default = FractalProcess;\n});","define(\"fractals-lib/models/fractal\", [\"exports\", \"fractals-lib/models/Complex\", \"calc-utils/models/MersenneTwister\"], function (_exports, _Complex, _MersenneTwister) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Fractal {\n    constructor() {\n      _defineProperty(this, \"getColorsCoefs\", (method, i, x, y, inner) => {\n        const v = this.getV(method, i, x, y);\n        switch (method) {\n          case 13:\n            return [i, v, v, v];\n          case 15:\n            return [this.lastZ.getArgument(), i, i, i];\n          case 80:\n            // %1 : normalize in [0,1]\n            const trap = this.goldenRatioTrap(this.lastZ);\n            return [(this.lastZ.getArgument() / (2 * Math.PI) + 1) % 1, Math.min(1, 2 * trap), Math.max(0, Math.min(1, 2 * (1 - trap))), i];\n          case 82:\n            if (this.lastZ) {\n              const hue2 = (this.lastZ.getArgument() / (2 * Math.PI) + 1) % 1;\n              return [hue2, Math.min(1, 2 * this.goldenRatioTrap(this.lastZ)), i, hue2];\n            }\n          default:\n            return [v, v, v, v];\n        }\n      });\n      _defineProperty(this, \"getV\", (method, i, x, y, max) => {\n        switch (method) {\n          case 1:\n            // iterations\n            return i;\n          case 2:\n            // log(i)\n            return i === 0 ? 0 : Math.log(i);\n          case 3:\n            return 1 / i * 100;\n          case 4:\n            return i === 0 ? 0 : Math.sin(Math.log(i)) + 1;\n          case 5:\n            return i % 2 === 0 ? 0 : 10;\n          case 6:\n            return Math.ceil(i / 10) * 10;\n          case 7:\n            return 1;\n          case 8:\n            return i === 0 ? 0 : Math.atan2(i, this.maxIterations / 2);\n          case 10:\n            return i === 0 ? 0 : Math.log10(i);\n          case 11:\n            return this.getLastMagnitude();\n          case 12:\n            return this.getLastArgument();\n          case 13:\n            return this.getLastMagnitude();\n          case 14:\n            return this.getLastSquaresSum();\n          case 16:\n            // orbit trap\n            return this.minSquareSum == Infinity ? 10000 : Math.sqrt(this.minSquareSum * 100);\n          case 17:\n            return this.getLastArgument() * this.getLastSquaresSum();\n          case 18:\n            // derivative\n            return Math.tanh(this.getLastMagnitude() * Math.log(this.getLastMagnitude()) / this.getDzMagnitude() * 1000) * 100;\n          case 19:\n            // derivative\n            return Math.log(this.getDzMagnitude());\n          case 20:\n            return Math.abs(Math.sin(this.getLastSquaresSum() * Math.PI));\n          case 21:\n            return Math.log(this.getLastArgument());\n          case 22:\n            return Math.log(this.getLastSquaresSum());\n          case 25:\n            return this.lastZ.i / 2 / Math.PI - 0.09;\n          case 26:\n            // lerp\n            return this.colorsService.lerpForPoint(x, y + i / 10, 0.1);\n          case 28:\n            // lp\n            if (this.minLp >= 3) {\n              return (Math.sin(Math.log(i)) + 1) / 10;\n            }\n            return Math.abs(this.minLp) / Math.sqrt(Math.pow(this.params.x2 - this.params.x1, 2) + Math.pow(this.params.y2 - this.params.y1, 2)) * 4;\n          case 32:\n            return Math.log10(1 + Math.abs(this.minLp)) * (this.minLp > 0.1 ? 10 : 18);\n          case 33:\n            if (this.minLp > 0.1) {\n              return Math.log10(1 + Math.abs(this.minLp)) * 1;\n            }\n            return Math.log10(1 + Math.abs(this.minLp)) * 20;\n          case 35:\n            return Math.log10(1 + Math.abs(this.maxLp)) * (this.maxLp > 0.1 ? 10 : 18);\n          case 50:\n            // random\n            return Math.floor(Math.random() * i);\n          case 60:\n            // sum results\n            return Math.abs(Math.round(this.sumResult));\n          case 62:\n            // same as 60 but see function setSumResult\n            return Math.abs(Math.round(this.sumResult));\n          case 63:\n            return this.sumResult === 0 ? 0 : 1 / this.sumResult * 100;\n          case 64:\n            return this.sumResult === 0 ? 0 : Math.sin(Math.log(Math.abs(this.sumResult))) + 1;\n          case 70:\n            // Pickover stalk with transform vector\n            return this.trapDistance;\n          case 73:\n            return this.trapDistance === 0 ? 0 : 1 / this.trapDistance;\n          case 74:\n            return this.trapDistance === 0 ? 0 : Math.sin(Math.log(this.trapDistance)) + 1;\n          case 83:\n            return this.goldenRatioTrap(this.lastZ);\n          case 84:\n            // %1 : normalize in [0,1]\n            return (this.lastZ.getArgument() / (2 * Math.PI) + 1) % 1;\n          case 101:\n            return 1 / (1 + Math.exp(-0.1 * i));\n          case 102:\n            return Math.sqrt(i);\n          case 115:\n            return Math.tan(i);\n          case 110:\n            return i / 10;\n          case 105:\n            return i === 0 ? 0 : Math.sin(Math.log10(i)) + 1;\n          case 106:\n            return Math.log10(i + 1) / Math.log10(max + 1);\n          default:\n            return i;\n        }\n      });\n      this.lastZ = null;\n      this.colorsService = null;\n      this.lastDz = null;\n      this.minSquareSum = Infinity;\n      this.minResult = Infinity;\n      this.sumResult = 0;\n      // step size for numerical derivative\n      const dh = 0.00001;\n      this.cDerivative = new _Complex.default(dh, dh);\n      this.minLp = Infinity;\n      this.maxLp = 0;\n      this.derivativeCalculation = false;\n      this.trapDistance = Infinity;\n      this.secondFractalEscape = null;\n      this.secondFractal = null;\n      this.phi = (1 + Math.sqrt(5)) / 2;\n      this.logPhi4 = 4 * Math.log(this.phi);\n      this.mersenneTwister = new _MersenneTwister.default();\n      this.nbIn = 0;\n      this.nbOut = 0;\n      this.randomPrecision = 1000000000;\n    }\n    initResults() {\n      this.trapDistance = Infinity;\n      this.sumResult = 0;\n      this.lastZ = null;\n      this.minSquareSum = Infinity;\n      this.minResult = Infinity;\n      this.minLp = Infinity;\n      this.maxLp = 0;\n      this.secondFractalEscape = null;\n    }\n    setParameters(params) {\n      this.params = params;\n      this.derivativeCalculation = this.params.method == 18 || this.params.method == 19;\n    }\n    getArea() {\n      return this.nbIn / (this.nbOut + this.nbIn) * (this.params.x2 - this.params.x1) * (this.params.y2 - this.params.y1);\n    }\n    setSecondFractalEscape(z, inner, origin) {\n      if (this.secondFractal) {\n        if (this.secondFractal.params.zOrigin2ndFractal) {\n          this.secondFractalEscape = this.secondFractal.getPt(origin.r, origin.i, origin.t, 0, inner);\n        } else {\n          this.secondFractalEscape = this.secondFractal.getPt(z.r, z.i, z.t, 0, inner);\n        }\n      }\n    }\n    setMinLp(z) {\n      if (z && this.params.lpNb > 0) {\n        const lp = z.LyapunovExponent(this.params.lpNb, this.params.lpLimit);\n        if (Math.abs(lp) < Math.abs(this.minLp)) {\n          this.minLp = lp;\n        }\n        if (Math.abs(lp) > Math.abs(this.maxLp)) {\n          this.maxLp = lp;\n        }\n      }\n    }\n    setResult(z) {\n      let result = z.squaresSum();\n      if (result < this.minSquareSum) {\n        this.minSquareSum = result;\n      }\n      this.setMinLp(z);\n      result = this.setSumResult(result);\n      this.setTrapDistance(z);\n      if (this.params.limitMethod == 2) {\n        return Math.abs(z.r);\n      } else if (this.params.limitMethod == 3) {\n        return Math.abs(z.i);\n      } else if (this.params.limitMethod == 4) {\n        return Math.abs(z.i) + Math.abs(z.r);\n      } else if (this.params.limitMethod == 5) {\n        return Math.abs(z.i + z.r);\n      }\n      return result;\n    }\n    setSumResult(result) {\n      if (this.params.method >= 60 && this.params.method <= 69) {\n        this.sumResult += Math.log(Math.sqrt(0.5 * result));\n        if (this.params.method == 62) {\n          if (this.sumResult > 30) {\n            return this.params.target + 1;\n          }\n          if (this.sumResult < -30) {\n            return this.params.target + 1;\n          }\n        }\n      }\n      return result;\n    }\n    saveZ(z) {\n      if (z) {\n        this.lastZ = new _Complex.default(z.r, z.i, z.t);\n        this.setMinLp(z);\n        this.setTrapDistance(z);\n      }\n    }\n    setTrapDistance(z) {\n      // pickover stalk\n      if (this.params.transformationVector != null) {\n        const distanceToX = Math.abs(z.r + this.params.transformationVector.r);\n        const distanceToY = Math.abs(z.i + this.params.transformationVector.i);\n        const smallestDistance = Math.min(distanceToX, distanceToY);\n        this.trapDistance = Math.min(this.trapDistance, smallestDistance);\n      }\n    }\n    saveLastZ(z) {\n      this.lastZ = new _Complex.default(z.r, z.i, z.t);\n    }\n    saveDz(dZ) {\n      if (dZ) {\n        this.lastDz = new _Complex.default(dZ.r, dZ.i);\n      }\n    }\n    derivativeZ(z, c, i, origin) {\n      if (this.params.derivativeFunction) return this.params.derivativeFunction(z, this.params.base, c);\n\n      // f'(z) = f(z+0.01)-f(z)/0.01)\n      return this.fZ(z.add(this.cDerivative), c, i, origin).sub(this.fZ(z, c, i, origin)).div(this.cDerivative);\n    }\n    addNoise(z, i) {\n      if (z && this.params.noise) {\n        return z.addValuesIn(this.params.noise[0] * i, this.params.noise[1] * i, this.params.noise[2] * i);\n      }\n      return z;\n    }\n    get3DValue(i, x, y) {\n      let t = null;\n      if (this.params.render3D) {\n        if (this.params.zThresholds && this.params.zValues) {\n          for (let j = 0; j < this.params.zThresholds.length; j++) {\n            if (this.params.zThresholds[j] >= i) {\n              t = this.params.zValues[j];\n              break;\n            }\n          }\n        } else if (this.params.zMethod === 0) {\n          t = -Math.log10(i);\n        } else {\n          t = this.getV(this.params.zMethod, i, x, y);\n        }\n      }\n      return t;\n    }\n    getLastMagnitude() {\n      return this.lastZ == null ? 0 : this.lastZ.getMagnitude();\n    }\n    getLastArgument() {\n      return this.lastZ == null ? 0 : this.lastZ.getArgument();\n    }\n    getLastSquaresSum() {\n      return this.lastZ == null ? 0 : this.lastZ.squaresSum();\n    }\n    getDzSquaresSum() {\n      return this.lastDz == null ? 0 : this.lastDz.squaresSum();\n    }\n    getDzMagnitude() {\n      return this.lastDz == null ? 0 : this.lastDz.getMagnitude();\n    }\n    getFractalEscapeColor() {\n      if (this.secondFractalEscape && this.secondFractalEscape.length > 2) {\n        // return calculated color with second fractal\n        /*if (this.secondFractalEscape[4] >= 200) {\n        \treturn [0, 0, 0, 0];\n        }\n        return [255, 255, 255];*/\n        return this.secondFractalEscape[3];\n      }\n      return [0, 0, 0, 0];\n    }\n    // Function for the Golden Ratio Spiral orbit trap\n    goldenRatioTrap(z) {\n      const r = Math.log(z.getMagnitude()) / this.logPhi4 - z.getArgument() / (2 * Math.PI);\n      return 4 * Math.abs(r - Math.round(r));\n    }\n    randomBetween(min, max, d) {\n      min -= d;\n      max += d;\n      return Math.round((this.mersenneTwister.rand() * (max - min) + min) * this.randomPrecision) / this.randomPrecision;\n    }\n    getRandomPoint() {\n      return [this.randomBetween(this.params.x1, this.params.x2, 0), this.randomBetween(this.params.y1, this.params.y2, 0), 1];\n    }\n  }\n  _exports.default = Fractal;\n});","define(\"fractals-lib/models/ganeshabrot-process\", [\"exports\", \"fractals-lib/models/fractal-process\"], function (_exports, _fractalProcess) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class GaneshabrotProcess extends _fractalProcess.default {\n    constructor() {\n      super();\n    }\n    defGrid() {\n      this.fractal.initGrid(this.gridAdapter.limitWidth, this.gridAdapter.limitHeight);\n      this.gridAdapter.defGridLimit(this.gridAdapter.getPointsOnPlan(this.params.getInterval(), true, [0.02, 0.02], null, false, true));\n      this.gridAdapter.initPtsMem(8);\n    }\n    getPtsOut(colorsService) {\n      const pts = this.gridAdapter.getPointsOnPlan(this.fractal.ptsOut);\n      pts.forEach(element => {\n        element[3] = colorsService.hslToRgb([this.params.drColor[0], 50, element[4] * 3.5]);\n      });\n      return pts;\n    }\n    getPts(nb) {\n      const pts = [];\n      for (let index = 0; index < nb; index++) {\n        const ptCanvas = this.gridAdapter.getNewPoint(2, true);\n        if (ptCanvas === null) {\n          return null;\n        }\n        if (this.params.xSymetry === false || ptCanvas[0] <= this.gridAdapter.limitWidth / 2) {\n          pts.push(this.gridAdapter.getPointFromPlan(ptCanvas));\n        }\n      }\n      const ptsTmp = this.fractal.getPts(pts);\n      const ptsPlan = this.gridAdapter.getPointsOnPlan(ptsTmp);\n      return this.fractal.handleIterationsPoints(ptsPlan);\n    }\n  }\n  _exports.default = GaneshabrotProcess;\n});","define(\"fractals-lib/models/ganeshabrot\", [\"exports\", \"fractals-lib/models/Complex\", \"fractals-lib/models/mandelbrot\", \"calc-utils/models/grid-adapter-service\"], function (_exports, _Complex, _mandelbrot, _gridAdapterService) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Ganeshabrot extends _mandelbrot.default {\n    constructor() {\n      super();\n      this.ptsOut = [];\n      this.grid = null;\n      this.gridAdapter = new _gridAdapterService.default();\n      this.w = 0;\n      this.h = 0;\n      this.occurrenceScale = 1;\n      this.colorCache = {};\n    }\n    setParameters(params) {\n      super.setParameters(params);\n      this.params.setC0();\n      if (this.params.method == 1 || this.params.method == 5 || this.params.method == 6 || this.params.method == 7) {\n        this.occurrenceScale = 1;\n      } else {\n        this.occurrenceScale = 1000;\n      }\n    }\n    initGrid(w, h) {\n      this.gridAdapter.setSize(w, h);\n      this.gridAdapter.setLimits(w, h);\n      if (this.occurrenceScale == 1) {\n        this.gridAdapter.initPtsMem(16);\n      } else {\n        this.gridAdapter.initPtsMem(32);\n      }\n    }\n    getPts(pts) {\n      return pts.flatMap(pt => {\n        const iterationsPts = this.handlePt(pt);\n        return iterationsPts ? iterationsPts.filter(Boolean) : [];\n      });\n    }\n    handlePt(pt) {\n      return this.params.ifsParams.mode > 0 ? this.getIfsPts(pt) : this.getIterationsPts(pt);\n    }\n    getC0(pt) {\n      if (this.params.inverseAxis) {\n        return this.params.c0 === null ? new _Complex.default(pt[1], pt[0], this.params.t0) : this.params.c0;\n      }\n      return this.params.c0 === null ? new _Complex.default(pt[0], pt[1], this.params.t0) : this.params.c0;\n    }\n    getZ0(pt) {\n      if (this.params.inverseAxis) {\n        return this.params.zFromOrigin ? new _Complex.default(0, 0, 0) : new _Complex.default(pt[1], pt[0], this.params.t0);\n      }\n      return this.params.zFromOrigin ? new _Complex.default(0, 0, 0) : new _Complex.default(pt[0], pt[1], this.params.t0);\n    }\n    getIterationsPts(pt) {\n      this.initResults();\n      let i = 0;\n      this.it = 0;\n      const pts = [];\n      let z = this.getZ0(pt);\n      const c = this.getC0(pt);\n      const maxIterations = this.params.maxIterations;\n      const target = this.params.target;\n      let dZ = this.derivativeCalculation ? new _Complex.default(1, 0) : null;\n      do {\n        z = this.fZ(z, c, i);\n        if (this.derivativeCalculation) dZ = this.derivativeZ(z, c, i).mul(dZ);\n        this.addIterationPt(z, i, pts);\n        this.saveZ(z);\n        i++;\n      } while (this.setResult(z) < target && i < maxIterations);\n      if (this.params.addOutPts && i < maxIterations) {\n        this.ptsOut.push([pt[0], pt[1], 0, 0, i > 255 ? 255 : i]);\n      }\n      this.setSecondFractalEscape(z, i >= maxIterations);\n      this.saveZ(z);\n      this.saveDz(dZ);\n      return this.filterPts(this.setIterationsPts(z, i, pts, pt));\n    }\n    getIfsPts(pt) {\n      let z = null;\n      if (this.params.inverseAxis) {\n        z = this.params.ifsParams.mode === 1 ? new _Complex.default(0, 0, 0) : new _Complex.default(pt[1], pt[0], this.params.t0);\n      } else {\n        z = this.params.ifsParams.mode === 1 ? new _Complex.default(0, 0, 0) : new _Complex.default(pt[0], pt[1], this.params.t0);\n      }\n      const i = this.params.inverseAxis ? this.getIFSn(pt[1], pt[0], this.params.t0) : this.getIFSn(pt[0], pt[1], this.params.t0);\n      if (this.params.addOutPts && i < this.params.maxIterations) {\n        this.ptsOut.push([pt[0], pt[1], 0, 0, i > 255 ? 255 : i]);\n      }\n      return this.filterPts(this.setIterationsPts(z, i, this.iterationsPts, pt));\n    }\n    filterPts(pts) {\n      if (pts == null || this.params.itInterval == null) {\n        return pts;\n      }\n      return pts.filter(pt => pt[5] <= this.params.itInterval[1] && pt[5] >= this.params.itInterval[0]);\n    }\n    addIterationPt(z, i, pts) {\n      if (z) {\n        if (this.params.inverseAxis) {\n          pts.push([z.i, z.r, 0, null, this.getIterationValue(z, i), i]);\n        } else {\n          pts.push([z.r, z.i, 0, null, this.getIterationValue(z, i), i]);\n        }\n      }\n    }\n    setIterationsPts(z, i, pts, pt) {\n      if (z === null) {\n        return pts;\n      }\n      switch (this.params.selectMode) {\n        case 1:\n          // classic rendering with \n          pts = [];\n          if (i <= this.params.maxIterations) {\n            pts.push([pt[0], pt[1], 0, null, this.getIterationValue(z, i)]);\n            pts.push([z.r, z.i, 0, null, this.getIterationValue(z, i)]);\n          }\n          return pts;\n        case 4:\n          // inner\n          if (i === this.params.maxIterations) {\n            pts.push([pt[0], pt[1], 0, null, this.getIterationValue(z, i)]);\n            return pts;\n          }\n          break;\n        case 5:\n          if (z.squaresSum() < this.params.target && i >= this.params.minIterations || i >= this.maxIterations) {\n            // return pts when final iteration number reaches max iterations\n            return pts;\n          }\n          break;\n        case 6:\n          // buddhabrot\n          if (i >= this.params.minIterations && i < this.params.maxIterations) {\n            pts.push([pt[0], pt[1], 0, null, this.getIterationValue(z, i)]);\n            return pts;\n          }\n          break;\n        case 7:\n          // buddhabrot variation with mid target\n          if (z.squaresSum() > this.params.target - 2 && i >= this.params.minIterations) {\n            return pts;\n          }\n          break;\n        case 9:\n          if (i < this.params.maxIterations) {\n            // push initial point (mandelbrot point)\n            pts.push([pt[0], pt[1], 0, this.colorsService.hslToRgb([this.params.drColor[0], this.params.drColor[1], this.params.drColor[2] + i * 5]), i]);\n            // return iteration points\n            return pts;\n          } else {\n            return pts;\n          }\n        case 10:\n          if (i >= this.params.minIterations) {\n            // push initial point (mandelbrot point)\n            pts.push([pt[0], pt[1], 0, this.getIterationValue(new _Complex.default(pt[0], pt[1]), i), i]);\n            return pts;\n          }\n          break;\n        case 11:\n          pts = [];\n          if (i >= this.params.minIterations) {\n            // push initial point (mandelbrot point)\n            pts.push([pt[0], pt[1], 0, this.getIterationValue(new _Complex.default(pt[0], pt[1]), i), i]);\n            // put last point\n            pts.push([z.r, z.i, 0, this.getIterationValue(z, i), i]);\n            return pts;\n          }\n          break;\n        case 12:\n          return pts;\n        case 13:\n          if (i >= this.params.minIterations && i < this.params.maxIterations) {\n            for (let index = 0; index < pts.length; index++) {\n              pts[index][4] = this.getIterationValue(z, i);\n            }\n            return pts;\n          }\n        case 14:\n          // first point\n          return [[pt[0], pt[1], 0, null, i]];\n        case 15:\n          // first and last point\n          return [[pt[0], pt[1], 0, null, i], [z.i, z.r, 0, null, i]];\n        case 16:\n          // last point\n          return [[z.i, z.r, 0, null, i]];\n        default:\n          // case 3, 8\n          if (i >= this.params.minIterations) {\n            pts.push([pt[0], pt[1], 0, null, this.getIterationValue(z, i)], i);\n            return pts;\n          }\n          break;\n      }\n      return null;\n    }\n    getIterationValue(z, i) {\n      switch (this.params.method) {\n        case 1:\n          return i;\n        case 12:\n          return Math.abs(z.getArgument());\n        case 17:\n          return Math.abs(z.getArgument()) * z.squaresSum();\n        case 20:\n          return Math.abs(Math.sin(z.squaresSum() * Math.PI));\n        case 90:\n          if (this.secondFractalEscape != null) {\n            return this.getFractalEscapeColor()[0];\n          } else {\n            return 0;\n          }\n        default:\n          // cf parent method\n          return this.getV(this.params.method, i, z.r, z.i);\n      }\n    }\n    addSymetricPoints(pts) {\n      if (this.params.xSymetry) {\n        let ptsSymetric = [];\n        for (let i = 0; i < pts.length; i++) {\n          if (pts[i][0] >= 0 && pts[i][1] >= 0) {\n            const ptSymetric = this.gridAdapter.getXSymetricPoint(pts[i]);\n            if (ptSymetric) {\n              ptSymetric[3] = pts[i][3];\n              ptSymetric[4] = pts[i][4];\n              ptsSymetric.push(ptSymetric);\n            }\n          }\n        }\n        return ptsSymetric;\n      }\n      return [];\n    }\n    handleIterationsPoints(pts) {\n      const ptsResult = [];\n      for (let i = 0; i < pts.length; i++) {\n        if (pts[i] && pts[i][0] > 0 && pts[i][1] > 0) {\n          const pt = this.getPtWithColor(pts[i]);\n          if (pt) {\n            ptsResult.push(pt);\n          }\n        }\n      }\n      // Combine original points with their symmetric counterparts\n      return pts.concat(this.addSymetricPoints(ptsResult));\n    }\n    getPtWithColor(pt) {\n      const n = this.gridAdapter.incrementInGrid(pt, pt[4] * this.occurrenceScale, this.params.maxOccurrences * this.occurrenceScale) / this.occurrenceScale;\n      if (n > this.params.minOccurrences && n < this.params.maxOccurrences) {\n        if (this.colorCache.hasOwnProperty(n)) {\n          pt[3] = this.colorCache[n];\n          pt[4] = n;\n          return pt;\n        }\n        const colorPt = this.getColor(n, this.params.minOccurrences, this.params.maxOccurrences, this.params.selectMode === 3 || this.params.selectMode === 8 ? 0 : 100);\n        if (colorPt) {\n          this.colorCache[n] = colorPt;\n          pt[3] = colorPt;\n          pt[4] = n;\n          return pt;\n        }\n      }\n      return null;\n    }\n    getColor(n, minLog) {\n      const t = this.params.occurrencesColorMethod > 0 ? this.getV(this.params.occurrencesColorMethod, n, 0, 0, this.params.maxOccurrences) : n < minLog ? n / 10 : Math.log10(n);\n      if (this.params.lch == true) {\n        return this.colorsService.lchaToRgba([this.params.drColor[2] + t * this.params.drColor[6], this.params.drColor[1] + t * this.params.drColor[5], this.params.drColor[0] + t * this.params.drColor[4]]);\n      }\n      return this.colorsService.hslToRgb([this.params.drColor[0] + t * this.params.drColor[4], this.params.drColor[1] + t * this.params.drColor[5], this.params.drColor[2] + t * this.params.drColor[6], this.params.drColor.length >= 8 ? this.params.drColor[3] + t * this.params.drColor[7] : 100]);\n    }\n  }\n  _exports.default = Ganeshabrot;\n});","define(\"fractals-lib/models/julia-star-functions\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class JuliaStarFunctions {\n    getFunction(name) {\n      const functions = {\n        // d.z+cP\n        \"1\": (z, params) => z.mulReal(params.d).add(params.cP).getC(params.f),\n        \"2\": (z, params) => z.pow(params.n).addReal(params.b).mul(params.cP).add(z).getC(params.f),\n        \"3\": (z, params) => z.pow(params.n).add(params.cP).getC(params.f),\n        \"4\": (z, params) => z.mulReal(params.d).addReal(params.b).add(params.c1).getC(params.f),\n        \"5\": (z, params) => z.pow(params.n).getC(params.f).addReal(params.b).mulReal(params.d),\n        // d.z^n\n        \"6\": (z, params) => z.pow(params.n).mulReal(params.d).getC(params.f),\n        \"7\": (z, params) => z.addReal(params.b).pow(params.n).add(params.c1).getC(params.f),\n        \"8\": (z, params) => z.pow(params.n).add(params.c1.add(z.pow(params.n / 2))).sub(params.c1).getC(params.f),\n        \"9\": (z, params) => z.pow(params.n).addReal(params.b).getC(params.f),\n        \"10\": (z, params) => z.addReal(params.b).pow(params.n).addReal(-params.b).getC(params.f),\n        \"11\": (z, params) => z.mulReal(params.b).pow(params.n).addReal(params.b).getC(params.f),\n        \"12\": (z, params) => z.mulReal(params.d).pow(params.n).getC(params.f).addReal(params.b),\n        \"13\": (z, params) => z.pow(params.n).add(params.c1).mul(z).getC(params.f),\n        \"14\": (z, params) => z.pow(params.n).pow(params.n + 1).add(params.c1).getC(params.f),\n        \"15\": (z, params) => z.pow(params.n).pow(params.n + 1).mulReal(params.d).getC(params.f),\n        \"16\": (z, params) => z.pow(params.n).sub(z).add(params.c1).getC(params.f),\n        \"17\": (z, params) => z.pow(params.n).add(z).getC(params.f),\n        \"20\": (z, params) => z.pow(params.n).addReal(params.b).getC(params.f).abs(),\n        \"21\": (z, params) => z.getC(params.f).pow(params.n).add(params.c1),\n        \"22\": (z, params) => z.pow(params.n).addReal(params.b).sin().getC(params.f),\n        \"23\": (z, params) => z.pow(params.n).conjugate().addReal(params.b).getC(params.f),\n        // z^2.c1+b\n        \"24\": (z, params) => z.pow(params.n).mul(params.c1).addReal(params.b).getC(params.f),\n        \"25\": (z, params) => z.pow(params.n).addReal(params.b).add(params.c1).getC(params.f),\n        \"26\": (z, params) => z.getC(params.f).pow(params.n).addReal(params.b),\n        \"27\": (z, params) => z.pow(params.n).getC(params.f).sub(params.c1.pow(params.n)),\n        \"28\": (z, params) => z.sin().getC(params.f).pow(params.n).addReal(params.b),\n        \"29\": (z, params) => z.pow(params.n).addReal(params.b).add(params.c1).cos().getC(params.f),\n        \"30\": (z, params) => z.pow(params.n).addReal(params.b).add(params.c1).getC(params.f),\n        \"31\": (z, params) => z.pow(params.n).addReal(params.b).add(params.c1).getC(params.f).mulReal(params.d),\n        \"32\": (z, params) => z.pow(params.n).addReal(params.b).getC(params.f).mulReal(params.d).sin().add(params.c1),\n        \"33\": (z, params) => z.sin().pow(params.n).addReal(params.b).getC(params.f).mulReal(params.d),\n        \"34\": (z, params) => z.sin().pow(params.n).addReal(params.b).div(params.cP).mulReal(params.d).getC(params.f),\n        \"35\": (z, params) => z.sin().pow(params.n).addReal(params.b).sin().div(params.cP).mulReal(params.d),\n        \"36\": (z, params) => z.sin().pow(params.n).addReal(params.b).sin().div(params.cP).mulReal(params.d).conjugate(),\n        \"37\": (z, params) => z.sin().pow(params.n).addReal(params.b).div(params.cP).mulReal(params.d).conjugate().cos(),\n        \"38\": (z, params) => z.cot().pow(params.n).addReal(params.b).mulReal(params.d).csc(),\n        \"39\": (z, params) => z.sin().tan().pow(params.n).addReal(params.b),\n        \"40\": (z, params) => z.cos().tan().pow(params.n).addReal(params.b).getC(params.f),\n        \"41\": (z, params) => z.abs().pow(params.n).addReal(params.b).getC(params.f),\n        \"42\": (z, params) => z.abs().pow(params.n).getC(params.f).div(params.cP.abs()).add(params.c1),\n        \"43\": (z, params) => z.abs().getC(params.f).pow(params.n).add(params.c1).add(params.c1.powComplex(params.c1)),\n        \"44\": (z, params) => z.pow(params.n).mulReal(params.d).expComplex()\n      };\n      return functions[name];\n    }\n  }\n  _exports.default = JuliaStarFunctions;\n});","define(\"fractals-lib/models/julia-star-parameters\", [\"exports\", \"fractals-lib/models/fractal-parameters\", \"fractals-lib/models/julia-star-functions\", \"fractals-lib/models/Complex\"], function (_exports, _fractalParameters, _juliaStarFunctions, _Complex) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class JuliaStarParameters extends _fractalParameters.default {\n    constructor() {\n      super();\n      this.type = 0;\n      this.c1 = null;\n      this.c2 = null;\n      this.c3 = null;\n      this.cP = null;\n      this.altC = false;\n      this.dRx = 0;\n      this.dRy = 0;\n      this.step = 0.00001;\n      this.a = 0;\n      this.b = 0;\n      this.n = 0;\n      this.d = 0;\n      this.altC2_3 = false;\n      this.altC2_3_4 = false;\n      this.m = 3;\n      this.p = 0;\n      this.param2 = 0;\n      this.randomS = false;\n      this.autoAdjust = true;\n      this.drColor = [340, 55, 35, 100, 11, 0, 1.25];\n    }\n    setFunctions() {\n      const juliaStarFunctions = new _juliaStarFunctions.default();\n      this.currentFunction = juliaStarFunctions.getFunction(this.type);\n      return typeof this.currentFunction == \"function\";\n    }\n    getNew() {\n      return new JuliaStarParameters();\n    }\n    setParameters(data) {\n      if (data) {\n        this.f = '';\n        this.type = 0;\n        this.c1 = null;\n        this.c2 = null;\n        this.c3 = null;\n        if (typeof data.base === 'number') {\n          this.base = data.base;\n        }\n        if (typeof data.a === 'number') {\n          this.a = data.a;\n        }\n        if (typeof data.b === 'number') {\n          this.b = data.b;\n        }\n        if (typeof data.n === 'number') {\n          this.n = data.n;\n        }\n        if (typeof data.d === 'number') {\n          this.d = data.d;\n        }\n        if (typeof data.c1 === 'object') {\n          this.c1 = new _Complex.default(data.c1.r, data.c1.i);\n        } else {\n          this.c1 = new _Complex.default(0, 0);\n        }\n        if (typeof data.c2 === 'object') {\n          this.altC2_3 = true;\n          this.c2 = new _Complex.default(data.c2.r, data.c2.i);\n          if (typeof data.c3 === 'object') {\n            this.altC2_3 = true;\n            this.c3 = new _Complex.default(data.c3.r, data.c3.i);\n          }\n          if (typeof data.c4 === 'object') {\n            this.altC2_3_4 = true;\n            this.c4 = new _Complex.default(data.c4.r, data.c4.i);\n          }\n        }\n        if (typeof data.m === 'number') {\n          this.m = data.m;\n        }\n        if (typeof data.p === 'number') {\n          this.p = data.p;\n        }\n        if (typeof data.altC === 'boolean') {\n          this.altC = data.altC;\n        }\n        if (typeof data.random === 'boolean') {\n          this.randomS = data.random;\n        }\n        if (typeof data.func === 'number') {\n          this.type = data.func;\n          if (!this.setFunctions()) {\n            return false;\n          }\n        }\n        if (typeof data.f === 'string') {\n          this.f = data.f;\n        }\n        if (typeof data.drColor === 'object') {\n          this.drColor = data.drColor;\n        }\n        if (typeof data.render3D === 'boolean') {\n          this.render3D = data.render3D;\n        }\n        if (typeof data.animation === 'object') {\n          this.animation = data.animation;\n        }\n        if (typeof data.x1 === 'number') {\n          this.autoAdjust = false;\n          this.initLimits(data);\n        }\n        this.min = typeof data.min === 'number' ? data.min : 1;\n        this.setComplexes();\n        return true;\n      }\n      return false;\n    }\n    setComplexes() {\n      // this.c1 = new Complex(this.c1r, this.c1i);\n\n      // this.c3 = new Complex(this.c3r, this.c3i);\n      this.cP = new _Complex.default(this.p, this.p);\n    }\n    applyAnimationVariation(colorsService) {\n      if (super.applyAnimationVariation(colorsService)) {\n        if (typeof this.animation.d === \"number\") {\n          this.d += this.animation.d;\n          this.d = this.roundFloat(this.d);\n        }\n        if (typeof this.animation.c1 === \"object\") {\n          this.c1.r += this.animation.c1.r;\n          this.c1.r = this.roundFloat(this.c1.r);\n        }\n        if (typeof this.animation.n === \"number\") {\n          this.n += this.animation.n;\n          this.n = this.roundFloat(this.n);\n        }\n        return true;\n      }\n      return false;\n    }\n    changeParameter(actionName, value) {\n      switch (actionName) {\n        case 'change_base':\n          this.base = parseFloat(value);\n          return true;\n        case 'change_a':\n          this.a = parseFloat(value);\n          return true;\n        case 'change_b':\n          this.b = parseFloat(value);\n          return true;\n        case 'change_n':\n          this.n = parseFloat(value);\n          return true;\n        case 'change_d':\n          this.d = parseFloat(value);\n          return true;\n        case 'change_c1r':\n          this.c1.r = parseFloat(value);\n          return true;\n        case 'change_c1i':\n          this.c1.i = parseFloat(value);\n          return true;\n        case 'change_p':\n          this.p = parseFloat(value);\n          this.setComplexes();\n          return true;\n        case 'change_m':\n          this.m = parseFloat(value);\n          return true;\n        case 'change_c2i':\n          this.c2.i = parseFloat(value);\n          return true;\n        case 'change_c2r':\n          this.c2.r = parseFloat(value);\n          return true;\n        case 'change_c3i':\n          this.c3.i = parseFloat(value);\n          return true;\n        case 'change_c3r':\n          this.c3.r = parseFloat(value);\n          return true;\n      }\n      return false;\n    }\n  }\n  _exports.default = JuliaStarParameters;\n});","define(\"fractals-lib/models/julia-star\", [\"exports\", \"fractals-lib/models/Complex\", \"calc-utils/models/MersenneTwister\", \"fractals-lib/models/julia-star-parameters\", \"fractals-lib/models/fractal\"], function (_exports, _Complex, _MersenneTwister, _juliaStarParameters, _fractal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class JuliaStar extends _fractal.default {\n    constructor() {\n      super();\n      this.x = 0;\n      this.y = 0;\n      this.indice = 0;\n      this.mersenneTwister = new _MersenneTwister.default();\n      this.params = new _juliaStarParameters.default();\n    }\n    reset() {\n      this.x = 0;\n      this.y = 0;\n      this.params.setComplexes();\n    }\n    initialize() {\n      this.reset();\n    }\n    getPoints(nb, rendering3D) {\n      return Array.from({\n        length: nb\n      }, () => {\n        const pt = this.getPoint(this.x, this.y);\n        // save new poition\n        this.x = pt[0];\n        this.y = pt[1];\n        this.indice++;\n        return [pt[0], pt[1], rendering3D ? pt[2] : 0, null, 0];\n      });\n    }\n    getPoint(x, y) {\n      // multiple\n      const a = this.params.a;\n      let z = new _Complex.default(x, y);\n      if (this.params.altC2_3_4 == true) {\n        const rand = this.mersenneTwister.rand();\n        if (rand < 1 / 3) {\n          z = z.add(this.params.c2);\n        } else if (rand < 2 / 3) {\n          z = z.add(this.params.c3);\n        } else {\n          z = z.add(this.params.c4);\n        }\n      } else if (this.params.altC2_3 == true) {\n        z = z.add(this.mersenneTwister.rand() > 0.5 ? this.params.c2 : this.params.c3);\n      }\n      if (a !== 0) {\n        // a * z\n        z = z.mulReal(a);\n      }\n\n      // +c1\n      z = z.add(this.params.c1);\n\n      // atan2(ya,xa);\n      const arg = z.getArgument();\n      z = this.params.currentFunction(z, this.params);\n      let x1 = 0;\n      let y1 = 0;\n      let z1 = 0;\n      z1 = z.r * z.i;\n      if (this.params.altC) {\n        if (this.mersenneTwister.rand() > 0.5) {\n          x1 = z.r;\n          y1 = z.i;\n        } else {\n          x1 = z.r * -1;\n          y1 = z.i * -1;\n        }\n      } else {\n        const valCos = Math.cos(this.params.base * arg);\n        const valSin = Math.sin(this.params.base * arg);\n        z1 = z.r * z.i * valCos;\n        if (this.params.randomS) {\n          // 2 * (rand() % 2) - 1;\n          const s = 2 * ((Math.floor(this.mersenneTwister.rand() * (10000 - 1)) + 1) % 2) - 1;\n          if (this.mersenneTwister.rand() < 0.5) {\n            x1 = -s * valCos - z.r;\n            y1 = s * valSin - z.i;\n          } else {\n            x1 = -s * valCos + z.r;\n            y1 = s * valSin + z.i;\n          }\n        } else {\n          if (this.mersenneTwister.rand() < 0.5) {\n            x1 = -valCos - z.r;\n            y1 = -valSin + z.i;\n          } else {\n            x1 = -valCos + z.r;\n            y1 = -valSin - z.i;\n          }\n        }\n      }\n\n      // return point\n      return [x1, y1, z1];\n    }\n  }\n  var _default = _exports.default = JuliaStar;\n});","define(\"fractals-lib/models/mandelbrot-functions\", [\"exports\", \"fractals-lib/models/Complex\"], function (_exports, _Complex) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* eslint-disable no-unused-vars */\n\n  class MandelbrotFunctions {\n    getDerivativeFunction(type) {\n      const functions = {\n        // z^n+c => n.z^(n-1)\n        'f1': (z, n) => new _Complex.default(n, 0).mul(z.pow(n - 1))\n      };\n      if (typeof functions[type] === \"undefined\") {\n        return null;\n      }\n      return functions[type];\n    }\n    getFunction(name) {\n      const functions = {\n        \"multiple\": (z, n, c, f, args) => z.mul(new _Complex.default(args[0], args[1])).getC(f),\n        \"bedouin\": (z, n, c, f, args) => {\n          // t = 0 => classic mandelbrot\n          return new _Complex.default(\n          // r2 – i2 - t2\n          z.r * z.r - z.i * z.i - z.t * z.t,\n          // \n          2 * z.r * z.i, 2 * z.r * z.t).addIn(c);\n        },\n        \"bedouin_2\": (z, n, c, f, args) => {\n          // f(z^n+c)\n          const r1 = z.r * z.r - z.i * z.i - z.t * z.t;\n          const i1 = 2 * z.r * z.t;\n          const t1 = 2 * z.r * z.i;\n          return new _Complex.default(r1 + Math.sin(c.r), i1 + Math.sin(c.i), t1 + Math.sin(c.t));\n        },\n        \"minkowski\": (z, n, c, f, args) => {\n          return new _Complex.default(2 * z.r - z.r * z.r * z.r - 2 * z.i * z.i + c.r, 2 * z.i - 3 * z.i * z.r * z.r + c.i, 0).getC(f);\n        },\n        \"collatz\": (z, n, c, f, args) => {\n          const cosZ = z.mulReal(Math.PI).getC(f);\n          const term1 = new _Complex.default(args.b + args.a * z.r, args.a * z.i);\n          const term2 = new _Complex.default((args.d + args.c * z.r) * cosZ.r - args.c * z.i * cosZ.i, (args.d + args.c * z.r) * cosZ.i + args.c * z.i * cosZ.r);\n          return new _Complex.default(args.e * (term1.r - term2.r), args.e * (term1.i - term2.i));\n        },\n        \"herman\": (z, n, c, f) => {\n          const zm = new _Complex.default(1, 0);\n          return c.mul(z.pow(n).addReal(4)).div(zm.sub(z.mulReal(4))).getC(f);\n        },\n        \"barnsley-tree\": (z, n, c, f) => {\n          return c.mul(z.sub(new _Complex.default(z.signR(), 0)).pow(n)).getC(f);\n        },\n        // classic mandelbrot : z^n+c\n        \"j_o\": (z, n, c) => z.pow(n).addIn(c),\n        \"f0\": (z, n, c) => {\n          return new _Complex.default(\n          // r2 – i2\n          z.r * z.r - z.i * z.i + c.r,\n          // (2ri)\n          2 * z.r * z.i + c.i);\n        },\n        \"f2_invert\": (z, n, c, f) => {\n          const zi = z.pow(n).subIn(c).getC(f);\n          const x = zi.r;\n          const y = zi.i;\n          const denominator = x * x + y * y;\n          if (denominator === 0) {\n            return {\n              x: 0,\n              y: 0\n            };\n          }\n          return new _Complex.default(x / denominator, y / denominator);\n        },\n        \"f1_rand\": (z, n, c, f, args) => {\n          if (Math.random() < 0.5) {\n            return z.pow(n).addIn(c).getC(f);\n          } else {\n            return z.pow(n).addIn(new _Complex.default(args.r, args.i, 0)).getC(f);\n          }\n        },\n        \"f1_rand_b\": (z, n, c, f, args) => {\n          if (Math.random() < 0.5) {\n            return new _Complex.default(z.r * z.r - z.i * z.i + args.r, z.r * z.i + args.i);\n          } else {\n            return z.pow(n).addIn(c).getC(f);\n          }\n        },\n        \"f1_rot\": (z, n, c, f, args) => {\n          if (typeof args.rot == \"undefined\") {\n            return z.pow(n).addIn(c).getC(f);\n          } else {\n            return z.pow(n).rot(args.rot).addIn(c).getC(f);\n          }\n        },\n        \"f1_alt\": (z, n, c, f, args, i) => {\n          if (i % 2 == 0) {\n            return z.pow(n).addIn(c).getC(f);\n          } else {\n            return z.pow(n).addIn(new _Complex.default(args.r, args.i, 0)).getC(f);\n          }\n        },\n        \"f1_alt_rot\": (z, n, c, f, args, i) => {\n          if (i % 2 != 0) {\n            if (typeof args.rot == \"undefined\") {\n              return null;\n            } else {\n              return z.pow(n).rot(args.rot).addIn(c).getC(f);\n            }\n          }\n          return z.pow(n).addIn(c).getC(f);\n        },\n        // f(z^n+c)\n        \"f1\": (z, n, c, f, args) => z.pow(n).addIn(c).getC(f),\n        // f(z^n-c)\n        \"f2\": (z, n, c, f, args) => z.pow(n).subIn(c).getC(f),\n        \"f3\": (z, n, c, f, args) => {\n          // burning ship\n          if (args !== null) {\n            return z.abs().pow(n).addIn(c).getC(f).transform(args);\n          }\n          // f(|z|^n+c)\n          return z.abs().pow(n).addIn(c).getC(f);\n        },\n        \"f3_alt_rot\": (z, n, c, f, args, i) => {\n          if (i % 2 != 0) {\n            if (typeof args.rot == \"undefined\") {\n              return null;\n            } else {\n              return z.abs().pow(n).rot(args.rot).addIn(c).getC(f);\n            }\n          }\n          return z.abs().pow(n).addIn(c).getC(f);\n        },\n        // f(|z|^n+c)\n        \"f3_rot\": (z, n, c, f, args) => z.abs().pow(n).rot(args.rot).addIn(c).getC(f),\n        // f(|z^n|+c)\n        \"f3-2\": (z, n, c, f, args) => z.pow(n).abs().addIn(c).getC(f),\n        // -0.1\n        // f(|z|^n+c+c_args)\n        \"f3-3\": (z, n, c, f, args) => z.abs().pow(n).add(c).add(new _Complex.default(args[0], args[1])).getC(f),\n        // f(c.z^n)\n        \"f4\": (z, n, c, f, args) => c.mul(z.pow(n).getC(f)),\n        \"f5\": (z, n, c, f, args) => z.pow(n).abs().div(c.abs()).addIn(c).getC(f),\n        \"f6\": (z, n, c, f, args) => z.abs().pow(n).div(c).addIn(c).getC(f),\n        \"f7\": (z, n, c, f, args) => z.pow(n).mul(c).abs().addIn(c).getC(f),\n        \"f8\": (z, n, c, f, args) => z.abs().pow(n).addIn(c).conjugate().getC(f),\n        // f(|z|n)+c\n        \"f9\": (z, n, c, f, args) => z.abs().pow(n).getC(f).addIn(c),\n        // f(z^n)+c\n        \"f14\": (z, n, c, f, args) => z.pow(n).getC(f).addIn(c),\n        // |z|n-c\n        \"f10\": (z, n, c, f, args) => z.abs().pow(n).sub(c).getC(f),\n        // f(z^n)-c^n\n        \"f35\": (z, n, c, f, args) => z.pow(n).getC(f).sub(c.pow(n)),\n        // f(z^n/c)\n        \"f36\": (z, n, c, f, args) => z.pow(n).div(c).getC(f),\n        \"f41\": (z, n, c, f, args) => z.pow(n).conjugate().add(c).getC(f),\n        // f(z^n+z)\n        \"f43\": (z, n, c, f, args) => z.pow(n).add(z).add(c).getC(f),\n        // double\n        // f(c^n-z^n)\n        \"f44\": (z, n, c, f, args) => c.pow(n).sub(z.pow(n)).getC(f),\n        \"f48\": (z, n, c, f, args) => z.pow(n).add(z.conjugate()).conjugate().add(c).getC(f),\n        \"f49\": (z, n, c, f, args) => z.pow(n).conjugate().add(c).sub(z).getC(f),\n        \"f51\": (z, n, c, f, args) => {\n          const zm = z.pow(n);\n          return zm.add(zm).add(c).getC(f);\n        },\n        \"f52\": (z, n, c, f, args) => c.add(z.pow(n).conjugate()).sub(z).getC(f),\n        // zn-z+c\n        \"f55\": (z, n, c, f, args) => z.pow(n).sub(z).add(c).getC(f),\n        \"f56\": (z, n, c, f, args) => z.pow(n).add(c).pow(n).add(c.pow(n).add(z)).getC(f),\n        \"f65\": (z, n, c, f, args) => z.pow(n).add(c.pow(n - (args[0] ? args[0] : 1)).abs().add(c)).getC(f),\n        \"f11\": (z, n, c, f, args) => z.pow(n).div(c).getC(f).addIn(c),\n        \"f23\": (z, n, c, f, args) => z.abs().pow(n).getC(f).div(c),\n        // f(|z|^n)/c\n        \"f12-10\": (z, n, c, f, args) => z.abs().pow(n).getC(f).div(c),\n        \"f12\": (z, n, c, f, args) => z.abs().pow(n).getC(f).div(c.abs()).addIn(c),\n        \"f12-2\": (z, n, c, f, args) => z.abs().pow(n).div(c.abs()).getC(f).addIn(c),\n        \"f12-3\": (z, n, c, f, args) => z.abs().pow(n).getC(f).div(c.abs()).addIn(c).getC(f),\n        \"f12-4\": (z, n, c, f, args) => z.abs().pow(n).getC(f).div(c.abs()).abs().addIn(c),\n        \"f12-5\": (z, n, c, f, args) => z.abs().pow(n).getC(f).iAbs().div(c.abs()).addIn(c),\n        \"f12-6\": (z, n, c, f, args) => z.abs().pow(n).getC(f).div(c.pow(n).abs()).addIn(c),\n        \"f12-7\": (z, n, c, f, args) => z.abs().getC(f).pow(n).div(c.abs()).addIn(c).getC(f),\n        \"f12-8\": (z, n, c, f, args) => z.pow(n).abs().div(c.pow(n)).addIn(c).getC(f),\n        //z = abs(z) / abs(c) + c\n        \"f12-9\": (z, n, c, f, args) => z.abs().pow(n).div(c.abs()).addIn(c).getC(f),\n        \"f12-11\": (z, n, c, f, args) => z.abs().pow(n).getC(f).div(c).getC(f),\n        \"f12-12\": (z, n, c, f, args) => z.abs().pow(n).getC(f).div(c).add(c),\n        \"f13\": (z, n, c, f, args) => z.div(c).getC(f).pow(n),\n        \"f15\": (z, n, c, f, args) => z.pow(n).mul(c).sin().abs().addIn(c).getC(f),\n        \"f16\": (z, n, c, f, args) => z.pow(n).mul(c).csc().abs().addIn(c).getC(f),\n        //z=abs(z/c)+c\n        \"f17\": (z, n, c, f, args) => z.pow(n).div(c).abs().addIn(c).getC(f),\n        \"f18\": (z, n, c, f, args) => z.abs().pow(n).cosCoshSinSinh().addIn(c).getC(f),\n        \"f19\": (z, n, c, f, args) => z.div(c).pow(n).abs().addIn(c).getC(f),\n        \"f20\": (z, n, c, f, args) => z.mul(c).pow(n).abs().addIn(c).getC(f),\n        \"f21\": (z, n, c, f, args) => z.abs().pow(n).div(c).abs().addIn(c).getC(f),\n        \"f22\": (z, n, c, f, args) => z.abs().pow(n).cosCoshSinSinh2().addIn(c).getC(f),\n        // carré\n        \"f24\": (z, n, c, f, args) => c.mul(z.pow(n + 1).add(z.pow(2)).div(z.pow(n - 1)).getC(f)),\n        // butterfly\n        \"f25\": (z, n, c, f, args) => c.mul(z.add(z.sin()).div(z.pow(n)).getC(f)),\n        // médaille\n        \"f26\": (z, n, c, f, args) => c.conjugate().mul(z.pow(n - 1).div(z.pow(n + 1)).conjugate().getC(f)).mul(c),\n        // oiseau\n        \"f27\": (z, n, c, f, args) => c.mul(c.pow(n + 1).add(z.pow(2)).div(z.pow(n - 1)).getC(f)),\n        \"f28\": (z, n, c, f, args) => c.mul(z.add(z.pow(n)).div(z.pow(n + 1)).getC(f)),\n        // carré\n        // m 2\n        \"f29\": (z, n, c, f, args) => c.mul(z.pow(n).getC(f)),\n        // météorite\n        // m = 4\n        \"f30\": (z, n, c, f, args) => c.mul(z.pow(n).add(z.pow(2)).div(z.pow(n - 1)).getC(f)),\n        \"f31\": (z, n, c, f, args) => c.mul(z.pow(n + 1).add(z.pow(2)).div(z.pow(n - 1)).getC(f)),\n        \"f32\": (z, n, c, f, args) => c.conjugate().mul(z.pow(-n).div(z.pow(n)).getC(f)).mul(c),\n        // carré\n        \"f33\": (z, n, c, f, args) => c.mul(z.pow(n + 1).div(z.pow(n - 1)).getC(f)),\n        \"f34\": (z, n, c, f, args) => {\n          const zm = z.pow(n);\n          return c.mul(zm.add(z.pow(2)).div(zm).getC(f));\n        },\n        \"f38\": (z, n, c, f, args) => c.mul(z.pow(n).getC(f).addReal(args[0] ? args[0] : 1 / 8)),\n        \"f40\": (z, n, c, f, args) => c.pow(-n).mul(z.pow(n + 1).add(z.pow(2)).div(z.pow(n - 1)).getC(f)),\n        \"f45\": (z, n, c, f, args) => z.pow(n).add(c.div(z)).getC(f),\n        \"f46\": (z, n, c, f, args) => z.pow(n).add(c).div(z).getC(f),\n        \"f47\": (z, n, c, f, args) => z.pow(n).add(c).mul(z).getC(f),\n        \"f53\": (z, n, c, f, args) => z.pow(n).add(c).mul(z).sub(z).getC(f),\n        // smog\n        \"f54\": (z, n, c, f, args) => c.add(z.pow(n).conjugate()).add(c).getC(f),\n        \"f57\": (z, n, c, f, args) => {\n          if (z.signR() !== 0) {\n            z = c.mul(z.pow(n - 1).div(z.pow(n + 1)).conjugate().getC(f)).mul(z);\n            return c.mul(z.mul(z));\n          }\n          return null;\n        },\n        \"f58\": (z, n, c, f, args) => {\n          // http://paulbourke.net/fractals/z4gasket/\n          const zm = z.pow(n);\n          const z2 = z.pow(n - 2);\n          return zm.add(z2).add(c).div(zm.sub(z2).add(c)).addReal(-2, 0).getC(f);\n        },\n        \"f59\": (z, n, c, f, args) => {\n          const zm = z.pow(n);\n          // zn+1 = z0 zn2 (zn2 + 1) / (zn2 - 1)2\n          const z2 = zm.sub(c);\n          return zm.mul(zm.add(c).div(z2.pow(2))).getC(f);\n        },\n        \"f60\": (z, n, c, f, args) => c.div(z.pow(n + 1).add(z.pow(2)).div(z.pow(n - 1)).getC(f)),\n        // gruyère\n        \"f61\": (z, n, c, f, args) => c.pow(-n).mul(z.pow(n - 1).add(z.pow(2)).div(z.pow(n + 1))).getC(f),\n        \"f62\": (z, n, c, f, args) => c.pow(-n).mul(z.pow(n + 1).add(z.pow(-2))).getC(f),\n        \"f63\": (z, n, c, f, args) => c.add(z.pow(n).mul(z.pow(-1))).getC(f),\n        \"f64\": (z, n, c, f, args) => z.pow(n).add(c.div(z.pow(-n).conjugate())).getC(f),\n        \"f66\": (z, n, c, f, args) => z.pow(n).add(c.pow(-n).abs().add(c)).getC(f),\n        \"f67\": (z, n, c, f, args) => z.pow(n).add(z.abs().add(c).div(z.abs().addValues(1, 0, 0))).getC(f),\n        \"f68\": (z, n, c, f, args) => c.mul(z.div(z.pow(n)).add(z).mul(c)).getC(f),\n        \"f96\": (z, n, c, f, args) => z.abs().pow(n).div(z.abs().add(c).getC(f)),\n        \"f69-1\": (z, n, c, f, args) => {\n          const zm = z.pow(n);\n          // zn+1 = z0 zn2 (zn2 + 1) / (zn2 - 1)2\n          return zm.add(c).div(zm.sub(c)).getC(f);\n        },\n        \"f69-2\": (z, n, c, f, args) => {\n          const zm = z.pow(n);\n          // zn+1 = z0 zn2 (zn2 + 1) / (zn2 - 1)2\n          return zm.add(c).div(zm.addReal(args[0])).getC(f);\n        },\n        \"f69-3\": (z, n, c, f, args) => {\n          const zm = z.pow(n);\n          // zn+1 = z0 zn2 (zn2 + 1) / (zn2 - 1)2\n          const z2 = zm.addReal(-(n - 1));\n          return zm.addReal(n + args[0]).div(z2).sub(c).getC(f);\n        },\n        // z^2+z^5/(2 + 4z)+c\n        \"f70\": (z, n, c, f, args) => z.pow(n - 3).add(z.pow(n).div(z.addReal(2))).add(c).getC(f),\n        // c.((z^n+z^-n)/z^n-1)\n        \"f71\": (z, n, c, f, args) => c.mul(z.pow(n).add(z.pow(-n)).div(z.pow(n - 1))).getC(f),\n        \"f72\": (z, n, c, f, args) => z.pow(n).add(c).div(z).getC(f),\n        \"f73\": (z, n, c, f, args) => c.add(z.pow(n).getC(f).add(c.pow(n))),\n        \"f74\": (z, n, c, f, args) => {\n          // zn+1 = z0 zn2 (zn2 + 1) / (zn2 - 1)2\n          const z2 = z.pow(n).addReal(-n + 1).getC(f);\n          return z.pow(n).add(c).div(z2.pow(2));\n        },\n        \"f75\": (z, n, c, f, args) => z.mul(z.pow(n).add(c).getC(f).conjugate().squareDiv()),\n        \"f76\": (z, n, c, f, args) => {\n          const zm = z.pow(n).getC(f);\n          const z2 = z.pow(-n - 2);\n          return zm.add(z2).add(c).div(zm.sub(z2).add(c));\n        },\n        \"f77\": (z, n, c, f, args) => {\n          if (z.signR() !== 0) {\n            z = c.mul(z.pow(n - 1).div(z.pow(n + 1)).conjugate().getC(f)).mul(z);\n            return c.add(c.mul(z.mul(z)));\n          }\n          return null;\n        },\n        \"f78\": (z, n, c, f, args) => c.mul(z.pow(n).squareDiv().addReal(1 / 32)).getC(f),\n        \"f79\": (z, n, c, f, args) => {\n          z = c.pow(n).mul(z.pow(n - 1).conjugate()).mul(z).getC(f);\n          return c.add(c.mul(z.pow(2)));\n        },\n        // x\n        \"f80\": (z, n, c) => c.mul(z.pow(n).add(z.pow(2)).squareDiv()),\n        \"f81\": (z, n, c, f, args) => c.pow(n).mul(z.pow(n - 1).add(z.pow(2)).div(z.pow(n + 1)).getC(f)),\n        \"f82\": (z, n, c, f, args) => z.signR() !== 0 ? c.mul(z.pow(n - 1).div(z.pow(n + 1)).conjugate().getC(f)).mul(z) : null,\n        // zn+cn\n        \"f83\": (z, n, c, f, args) => z.pow(n).add(c.pow(n)).getC(f),\n        // (zn+c)n\n        \"f84\": (z, n, c, f, args) => z.pow(n).add(c).pow(n).getC(f),\n        // zn+c+c\n        \"f85\": (z, n, c, f, args) => z.pow(n).add(c).add(c).getC(f),\n        // |c+zn|\n        \"f86\": (z, n, c, f, args) => c.add(z.pow(n)).abs().getC(f),\n        \"f87\": (z, n, c, f, args) => z.abs().add(c).pow(n).sub(c).getC(f),\n        \"f88\": (z, n, c, f, args) => z.abs().add(c).pow(n).add(c).getC(f),\n        \"f89\": (z, n, c, f, args) => z.abs().pow(n).abs().add(c).getC(f),\n        \"f90\": (z, n, c, f, args) => z.pow(n).add(c.abs()).getC(f),\n        \"f91\": (z, n, c, f, args) => z.rAbs().pow(n).add(c).getC(f),\n        \"f93\": (z, n, c, f, args) => c.add(z.pow(n).sub(z.pow(n - 1))).getC(f),\n        \"f94\": (z, n, c, f, args) => c.add(z.pow(n).sub(z.mulReal(-1).pow(n + (typeof args[0] !== \"undefined\" ? args[0] : 1)))).getC(f),\n        \"f95\": (z, n, c, f, args) => z.pow(n).sub(z.mulReal(typeof args[0] !== \"undefined\" ? args[0] : -1).pow(n + (typeof args[1] !== \"undefined\" ? args[1] : -1.0001))).add(c).getC(f),\n        //  \"c.(cosh((z+f(z))/z^n))\";\n        \"f101\": (z, n, c, f, args) => c.mul(z.add(z.getC(f)).div(z.pow(n)).cosh()),\n        \"f102\": (z, n, c, f, args) => z.abs().pow(n).cosh().add(c).conjugate().getC(f),\n        \"f103\": (z, n, c, f, args) => c.mul(z.div(z.pow(n)).cosh().getC(f).conjugate()),\n        \"f104\": (z, n, c, f, args) => z.sin().abs().pow(n).cosh().add(c).conjugate().getC(f),\n        \"f105\": (z, n, c, f, args) => c.mul(z.pow(n).tan().getC(f)),\n        \"f106\": (z, n, c, f, args) => c.mul(z.pow(n).cosh().sin().conjugate().getC(f)),\n        \"f107\": (z, n, c, f, args) => c.mul(z.cosCoshSinSinh2()).pow(n).getC(f),\n        // x\n        \"f108\": (z, n, c, f, args) => c.mul(z.pow(n).add(z.pow(2)).squareTan()).getC(f),\n        \"f109\": (z, n, c, f, args) => c.mul(z.pow(n).add(z.pow(2)).expDivSinh()).getC(f),\n        \"f110\": (z, n, c, f, args) => z.pow(n).mul(c.mul(z).expDiv()).conjugate().getC(f),\n        \"f111\": (z, n, c, f, args) => z.conjugate().cosCoshSinSinh2().mul(z.pow(n)).add(c).getC(f),\n        // c.pow(-m).mul(z.pow(n + 1).add(z.pow(2)).div(z.pow(n - 1)).cot())\n        \"f112\": (z, n, c, f, args) => c.mul(z.pow(n).expDiv()).getC(f),\n        \"f113\": (z, n, c, f, args) => c.conjugate().mul(z.pow(n - 1).div(z.pow(n + 1)).cos()).mul(c).squareTan().conjugate().getC(f),\n        \"f114\": (z, n, c, f, args) => c.add(z.pow(n).mul(z.pow(-1))).squareTan().getC(f),\n        \"f115\": (z, n, c, f, args) => c.mul(z.pow(n).squareTan()).getC(f),\n        \"f116\": (z, n, c, f, args) => {\n          const zm = z.pow(n);\n          return c.add(zm.add(zm).squareAtan()).getC(f);\n        },\n        \"f117\": (z, n, c, f, args) => c.mul(z.pow(n).add(z.pow(2)).squareAtan()).getC(f),\n        \"f118\": (z, n, c, f, args) => z.pow(n).add(c).add(new _Complex.default(args[0] ? args[0] : 0, args[1] ? args[1] : 0)).getC(f),\n        \"f119\": (z, n, c, f, args) => z.pow(n).add(c).mul(new _Complex.default(args[0] ? args[0] : 0, args[1] ? args[1] : 0)).getC(f),\n        \"f120\": (z, n, c, f, args) => c.pow(n).add(z).getC(f),\n        \"f121\": (z, n, c, f, args) => c.mul(z.pow(n).mul(new _Complex.default(args[0] ? args[0] : 0, args[1] ? args[1] : 0)).getC(f)),\n        \"f122\": (z, n, c, f, args) => z.getC(f).pow(n).add(c).mul(c),\n        \"f123\": (z, n, c, f, args) => c.powComplex(c).add(z.getC(f).pow(n).add(c)),\n        \"f124\": (z, n, c, f, args) => z.abs().getC(f).pow(n).add(c).add(c.powComplex(c)),\n        \"f125\": (z, n, c, f, args) => z.getC(f).pow(n).abs().add(c).sub(c.powComplex(c)),\n        \"f126\": (z, n, c, f, args) => z.abs().pow(n).div(c).abs().add(c.powComplex(c)).getC(f),\n        \"f127\": (z, n, c, f, args) => z.abs().pow(n).div(c).abs().add(c.powComplex(c)).abs().getC(f),\n        \"f128\": (z, n, c, f, args) => z.pow(n).mul(z.div(z.add(new _Complex.default(args[0], args[1])))).add(c),\n        \"0\": (z, n, c, f, args) => z\n        //return c.powComplex(z).add(z.pow(n).add(c)).add(c)\n      };\n      return functions[name];\n    }\n    getZnDef(n) {\n      if (n == 1) {\n        return \"z\";\n      }\n      return `z^${n}`;\n    }\n    getFunctionDefinition(name, f, n, args, c) {\n      const functions = {\n        \"multiple\": (n, args) => `(${args[0]}+${args[1]}i).z`,\n        \"herman\": () => \"f(c.(z^n+4)/(1-4.z))\",\n        \"barnsley-tree\": () => \"c.(sign(z)^m)\",\n        // classic mandelbrot : z^n+c\n        \"j_o\": () => 'z^n+c',\n        \"f1\": () => 'f(z^n+c)',\n        \"f1_alt_rot\": () => 'f(z^n+c) || f(rot(z^n)+c)',\n        \"f2\": () => 'f(z^n-c)',\n        // like burning ship\n        \"f3\": () => 'f(|z|^n+c)',\n        // like burning ship\n        \"f3-2\": () => 'f(|z^n|+c)',\n        // like burning ship (useful ?)\n        \"f3-3\": () => 'f(|z|^n+c+c)',\n        \"f4\": () => 'f(c.z^n)',\n        \"f5\": () => \"f(|z^n|/|c|+c)\",\n        \"f6\": () => \"f(|z|^n/c+c)\",\n        \"f7\": () => \"f(|z^n.c|+c)\",\n        \"f8\": () => \"f(conj(|z|^n+c))\",\n        \"f9\": () => 'f(|z|^n)+c',\n        \"f10\": () => 'f(|z|n-c)',\n        \"f14\": () => 'f(z^n)+c',\n        \"f35\": () => 'f(z^n)-c^n',\n        \"f36\": () => 'f(z^n/c)',\n        \"f41\": () => 'f(conj(z^n)+c)',\n        \"f43\": () => 'f(z^n+z+c)',\n        \"f44\": () => 'f(c^n-z^n)',\n        \"f48\": () => 'f(conj(z^n+conj(z))+c)',\n        \"f49\": () => 'f(conj(z^n)+c-z)',\n        \"f51\": () => 'f(z^n+z^n+c)',\n        \"f52\": () => 'f(c+conj(z^n)-z)',\n        // zn-z+c\n        \"f55\": () => 'f(z^n-z+c)',\n        \"f56\": () => 'f((z^n+c)^n+(c^n+z))',\n        \"f65\": () => \"f(|z^n+c^(m-a)|+c)\",\n        \"f11\": () => \"f(z^n/c)+c\",\n        \"f23\": () => \"f(|z|^n)/c\",\n        \"f12-10\": () => 'f(|z|^n)/c',\n        \"f12\": () => \"f(|z|^n)/|c|+c\",\n        \"f12-2\": () => \"f(|z|^n/|c|)+c\",\n        \"f12-3\": () => 'f(f(|z|^n)/|c|+c)',\n        \"f12-4\": () => \"|f(|z|^n)/|c||+c\",\n        \"f12-5\": () => \"iabs(f(|z|^n))/|c|+c\",\n        \"f12-6\": () => \"f(|z|^n)/(|c^n|)+c\",\n        \"f12-7\": () => \"f(f(|z|)^n/|c|+c)\",\n        \"f12-8\": () => \"f(|z^n|/c^n+c)\",\n        //z = abs(z) / abs(c) + c\n        \"f12-9\": () => \"f(|z|^n/|c|+c)\",\n        \"f12-11\": () => \"f(f(|z|^n)/c)\",\n        \"f12-12\": () => \"f(|z|^n)/c+c\",\n        \"f13\": () => \"f(z/c)^n\",\n        \"f15\": () => \"f(|sin(z^n.c)|+c)\",\n        \"f16\": () => \"f(|csc(z^n.c)|+c)\",\n        \"f17\": () => \"f(|z/c|+c)\",\n        //z.abs().pow(n).cosCoshSinSinh().add(c).getC(f);\n        \"f18\": () => \"\",\n        \"f19\": () => \"f(|(z/c)^n|+c)\",\n        \"f20\": () => \"f(|(z.c)^n|+c)\",\n        \"f21\": () => \"f(|z|^n/c|+c)\",\n        \"f22\": () => \"\",\n        // carré\n        \"f24\": n => `f((c.z^${n + 1}+z^2)/(z^${n - 1}))`,\n        // butterfly\n        \"f25\": () => \"f(c.(z+sin(z))/z^n)\",\n        // médaille\n        \"f26\": n => `f(conj(conj(c).z^${n - 1}/z^${n + 1}))`,\n        // oiseau\n        \"f27\": n => `f(c.(c^${n + 1}+z^2)/z^${n - 1})`,\n        \"f28\": n => `f(c.(z+z^n)/z^${n + 1})`,\n        // carré\n        \"f29\": n => \"f(c.z^n)\",\n        // météorite\n        // m = 4\n        \"f30\": n => `f(c.(z^n+z^2)/z^${n - 1}))`,\n        \"f31\": n => `f(c.((z^${n + 1}+z^2)/z^${n - 1}))`,\n        \"f32\": () => \"\",\n        // carré\n        \"f33\": () => `f(c.(z^${n + 1}/z^${n - 1}))`,\n        \"f34\": () => \"f(c.(z^n+z^2)/z^n)\",\n        \"f38\": () => \"\",\n        \"f40\": () => \"\",\n        \"f45\": () => \"f(z^n+c/z)\",\n        \"f46\": () => \"f((z^n+c)/z)\",\n        \"f47\": () => \"f((z^n+c).z)\",\n        \"f53\": () => \"f((z^n+c).z-z)\",\n        // smog\n        \"f54\": () => \"f(c+conj(z^n)+c)\",\n        \"f57\": () => \"\",\n        \"f58\": () => \"\",\n        \"f59\": () => \"f(z^n.((z^n+c)/(z-c)^2))\",\n        \"f60\": n => `f((c/(z^${n + 1}+z^n)/z^${n - 1})`,\n        \"f61\": () => \"\",\n        \"f62\": () => \"\",\n        \"f63\": () => \"f(c+(z^n.z^-1))\",\n        \"f64\": n => `f(z^n+(c/conj(z^${-n}))`,\n        \"f66\": () => \"\",\n        \"f67\": () => \"\",\n        \"f68\": () => \"f(c.((z/z^n+z).c))\",\n        \"f69-1\": () => \"f((z^n+c)/(z^n-c))\",\n        \"f96\": () => \"(|z|^n+c)/f(|z|)\",\n        \"f69-2\": () => \"\",\n        \"f69-3\": () => \"\",\n        \"f70\": () => \"\",\n        \"f71\": () => `f(c.(z^n+z^${-n})/z^${n - 1})`,\n        \"f72\": () => \"f((z^n+c)/z)\",\n        \"f73\": () => \"c+f(z^n)+c^n\",\n        \"f74\": n =>\n        //const z2 = z.pow(n).addReal(-m + 1).getC(f);\n        //z.pow(n).add(c).div(z2.pow(2));\n        \"(z^n+c)/f(z^n+(1-n,0))^2\",\n        \"f75\": () =>\n        //z.mul(z.pow(n).getC(f).conjugate().squareDiv());\n        \"\",\n        \"f76\": () =>\n        //const zm = z.pow(n).getC(f);\n        //const z2 = z.pow(-m - 2);\n        //zm.add(z2).add(c).div(zm.sub(z2).add(c));\n        \"\",\n        \"f77\": () =>\n        //if (z.signR() !== 0) {\n        //\tz = c.mul(z.pow(n - 1).div(z.pow(n + 1)).conjugate().getC(f)).mul(z);\n        //\tc.add(c.mul(z.mul(z)));\n        //}\n        //null;\n        \"\",\n        \"f78\": () =>\n        //c.mul(z.pow(n).squareDiv().addReal(1 / 32)).getC(f);\n        \"\",\n        \"f79\": () =>\n        //z = c.pow(n).mul(z.pow(n - 1).conjugate()).mul(z).getC(f);\n        //c.add(c.mul(z.mul(z)));\n        \"\",\n        \"f80\": () =>\n        // x\n        //c.mul(z.pow(n).add(z.pow(2)).squareDiv());\n        \"\",\n        \"f81\": () =>\n        //c.pow(n).mul(z.pow(n - 1).add(z.pow(2)).div(z.pow(n + 1)).getC(f));\n        \"\",\n        \"f82\": () =>\n        //if (z.signR() !== 0) {\n        //\tc.mul(z.pow(n - 1).div(z.pow(n + 1)).conjugate().getC(f)).mul(z);\n        //}\n        //null;\n        \"\",\n        \"f83\": () => \"f(z^n+c^n)\",\n        \"f84\": () => \"f((z^n+c)^n)\",\n        \"f85\": () => \"f((z^n+c+c))\",\n        \"f86\": () =>\n        // like burning ship\n        \"f(|c+zn|)\",\n        \"f87\": () => \"f((|z|+c)^n-c)\",\n        \"f88\": () => \"f((|z|+c)^n+c)\",\n        \"f89\": () => \"f(||z|^n|+c)\",\n        \"f90\": () => \"f(z^n+|c|)\",\n        \"f91\": () =>\n        //z.rAbs().pow(n).add(c).getC(f);\n        \"\",\n        \"f93\": () => `f(c+z^n-z^${n - 1})`,\n        \"f94\": (n, args) => \"\",\n        \"f95\": (n, args) => args[0] === 1 ? `f(z^n-(z^${n + (typeof args[1] !== \"undefined\" ? args[1] : -1.0001)})+c)` : `f(z^n-((${typeof args[0] !== \"undefined\" ? args[0] : -1},0).z^${n + (typeof args[1] !== \"undefined\" ? args[1] : -1.0001)})+c)`,\n        \"f101\": () => \"c.cosh((z+f(z))/z^n)\",\n        \"f102\": () => \"f(conj(cosh(|z|^n)+c))\",\n        \"f103\": () =>\n        //c.mul(z.div(z.pow(n)).cosh().getC(f).conjugate());\n        \"\",\n        \"f104\": () => \"f(conj(cosh(|sin(z)|^n)+c))\",\n        \"f105\": () => \"f(tan(c.z^n))\",\n        \"f106\": () => \"f(c.conj((sin(cosh(z^n))))\",\n        \"f107\": () =>\n        //c.mul(z.cosCoshSinSinh2()).pow(n).getC(f);\n        \"\",\n        \"f108\": () =>\n        // x\n        //c.mul(z.pow(n).add(z.pow(2)).squareTan()).getC(f);\n        \"\",\n        \"f109\": () =>\n        //c.mul(z.pow(n).add(z.pow(2)).expDivSinh()).getC(f);\n        \"\",\n        \"f110\": () =>\n        //z.mul(c.mul(z).expDiv()).conjugate().getC(f);\n        \"\",\n        \"f111\": () =>\n        //z.conjugate().cosCoshSinSinh2().mul(z.pow(n)).add(c).getC(f);\n        \"\",\n        \"f112\": () =>\n        //c.mul(z.pow(n).expDiv()).getC(f);\n        //c.pow(-m).mul(z.pow(n + 1).add(z.pow(2)).div(z.pow(n - 1)).cot());\n        \"\",\n        \"f113\": () =>\n        //c.conjugate().mul(z.pow(n - 1).div(z.pow(n + 1)).cos()).mul(c).squareTan().conjugate().getC(f);\n        \"\",\n        \"f114\": () =>\n        //c.add(z.pow(n).mul(z.pow(-1))).squareTan().getC(f);\n        \"\",\n        \"f115\": () =>\n        //c.mul(z.pow(n).squareTan()).getC(f);\n        \"\",\n        \"f116\": () =>\n        //const zm = z.pow(n);\n        //c.add(zm.add(zm).squareAtan()).getC(f);\n        \"\",\n        \"f117\": () =>\n        //c.mul(z.pow(n).add(z.pow(2)).squareAtan()).getC(f);\n        \"\",\n        \"f118\": () => `f(z^n+c+${args[0]})`,\n        \"f119\": (n, args, c) => `(${args[0]},${args[1]}).z^n+c`,\n        \"f120\": () => \"c^n+z\",\n        \"f121\": () => \"\",\n        \"f122\": () => \"f(z).pow(n).mul(c)\",\n        \"f123\": () => \"c^c+f(z)^n+c\"\n      };\n      if (functions[name]) {\n        const cValue = c !== null ? ` with c = (${c.r},${c.i})` : \"\";\n        const definition = functions[name](n, args, c);\n        if (typeof definition == 'string') {\n          const returnValue = this.replaceAllOccurrences(this.replaceAllOccurrences(definition, \"f(\", `${f}(`).trim(), \"^n\", `^${n}`);\n          return this.removeParentheses(returnValue) + cValue;\n        }\n      }\n      return \"\";\n    }\n    removeParentheses(str) {\n      if (str.startsWith('(') && str.endsWith(')')) {\n        return str.slice(1, -1);\n      }\n      return str;\n    }\n    replaceAllOccurrences(originalString, stringToReplace, newString) {\n      const escapedStringToReplace = stringToReplace.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n      const regex = new RegExp(escapedStringToReplace, 'g');\n      return originalString.replace(regex, newString);\n    }\n    //z = (z^3)/(1 + z x z) + c \n  }\n  _exports.default = MandelbrotFunctions;\n});","define(\"fractals-lib/models/mandelbrot-parameters\", [\"exports\", \"fractals-lib/models/fractal-parameters\", \"fractals-lib/models/mandelbrot-functions\"], function (_exports, _fractalParameters, _mandelbrotFunctions) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class MandelbrotParameters extends _fractalParameters.default {\n    setFunctions() {\n      const mandelbrotFunctions = new _mandelbrotFunctions.default();\n      this.currentFunction = mandelbrotFunctions.getFunction(this.type);\n      if (this.f === '') {\n        this.derivativeFunction = mandelbrotFunctions.getDerivativeFunction(this.type);\n      }\n      this.functionDefinition = mandelbrotFunctions.getFunctionDefinition(this.type, this.f, this.base, this.args, this.c0);\n      return typeof this.currentFunction === \"function\";\n    }\n    getNew() {\n      return new MandelbrotParameters();\n    }\n  }\n  _exports.default = MandelbrotParameters;\n});","define(\"fractals-lib/models/mandelbrot-process\", [\"exports\", \"fractals-lib/models/fractal-process\"], function (_exports, _fractalProcess) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class MandelbrotProcess extends _fractalProcess.default {\n    constructor() {\n      super();\n    }\n    getRandomPoints() {\n      this.fractal.getRandomPoints(3000, false);\n      return this.fractal.ptsTmp;\n    }\n    defGrid() {\n      // def grid\n      if (this.params.autoAdjust === true) {\n        this.pts = this.gridAdapter.getPointsOnPlan(this.fractal.ptsTmp, true, this.margin, null, false, this.params.dW === 0, [1.07, 1.07, 0, 0]);\n      } else {\n        this.pts = this.gridAdapter.getPointsOnPlan(this.params.getInterval(), true, this.margin, 0, false, true, [1, 1, 1]);\n      }\n      this.setGridAdapter2();\n      this.fractal.ptsTmp = null;\n      this.gridAdapter.defGridLimit(this.pts);\n    }\n    getPts(nb, args) {\n      if (this.params.randomPts) {\n        this.fractal.ptsTmp = [];\n        return this.gridAdapter.getPointsOnPlan(this.getRandomPoints());\n      }\n      const pts1 = [];\n      //const center = this.gridAdapter.getPointOnPlan(this.params.getIntervalCenter());\n      for (let index = 0; index < nb; index++) {\n        // pick a point on canvas\n        const ptCanvas = this.gridAdapter.getNewPoint(1, true);\n        if (ptCanvas === null) {\n          return pts1;\n        }\n        const pt = this.getPt([ptCanvas[0], ptCanvas[1]]);\n        if (pt) {\n          if (this.params.invert) {\n            const invertPt = this.gridAdapter.invertPoint(pt[0], pt[1], this.params.getXCenter(), this.params.getYCenter(), 1);\n            const pt2 = this.gridAdapter2.getPointOnPlan([invertPt.x * args.zoomX, invertPt.y * args.zoomY]);\n            pts1.push([pt2[0], pt2[1], null, pt[3], pt[4]]);\n\n            //const ptB = this.gridAdapter.bottcherTransformation(ptCanvas[0], ptCanvas[1], 1, 0.7, center[0], center[1]);\n            //pts1.push([ptB[0], ptB[1], null, pt[3], pt[4]]);\n          } else if (this.params.animation.t0 !== 0) {\n            pts1.push([ptCanvas[0], ptCanvas[1], this.params.t0 * 12, pt[3], pt[4]]);\n          } else if (this.params.d3 !== 0) {\n            pts1.push(this.gridAdapter.addZ([ptCanvas[0], ptCanvas[1], pt[2], pt[3]], this.params.d3));\n          } else {\n            // pt[3] copy color\n            pts1.push([ptCanvas[0], ptCanvas[1], this.params.render3D ? pt[2] : null, pt[3], pt[4]]);\n          }\n        } else if (this.gridAdapter.getEndGrid() === false) {\n          this.gridAdapter.skipPts(2);\n        }\n      }\n      return pts1;\n    }\n    getPt(ptCanvas) {\n      if (this.gridAdapter.isInCoordLimits(ptCanvas)) {\n        const pt = this.gridAdapter.getPointFromPlan(ptCanvas, false, 8);\n        this.nbPts++;\n        return this.fractal.getPt(pt[0], pt[1], this.params.t0, this.params.d3, ptCanvas, this.recycle);\n      }\n      return null;\n    }\n    setGridAdapter2() {\n      if (this.params.invert && this.fractal.ptsTmp.length > 0) {\n        const newPts = [];\n        for (let index = 0; index < this.fractal.ptsTmp.length; index++) {\n          const invert = this.gridAdapter.invertPoint(this.fractal.ptsTmp[index][0], this.fractal.ptsTmp[index][1], this.params.getXCenter(), this.params.getYCenter(), 1);\n          if (isFinite(invert.x) && isFinite(invert.y) && this.fractal.ptsTmp[index][4] < 30) {\n            newPts.push([invert.x, invert.y]);\n          }\n        }\n        this.gridAdapter2 = this.gridAdapter.getCopy();\n        this.gridAdapter2.getPointsOnPlan(newPts, true, this.margin, null, false, this.params.dW === 0, [1.3, 1.3, 0, 0]);\n      }\n    }\n  }\n  _exports.default = MandelbrotProcess;\n});","define(\"fractals-lib/models/mandelbrot\", [\"exports\", \"fractals-lib/models/Complex\", \"fractals-lib/models/fractal-parameters\", \"fractals-lib/models/fractal\"], function (_exports, _Complex, _fractalParameters, _fractal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Mandelbrot extends _fractal.default {\n    constructor() {\n      super();\n      this.name = \"mandelbrot\";\n      this.params = new _fractalParameters.default();\n      this.colorsService = null;\n      this.grid = [];\n      this.tmp = [];\n      this.ptsTmp = [];\n      this.iterationsPts = null;\n      this.it = 0;\n      this.n = 0;\n      this.limitWidth = 0;\n      this.initialMaxIterations = 0;\n      this.nOccurrences = [];\n      this.currentFunction = null;\n      this.functionDefinition = \"\";\n      this.ifsFunctionDefinition = \"\";\n    }\n    setParameters(params) {\n      super.setParameters(params);\n      this.params.setC0();\n    }\n    clearPtsTmp() {\n      this.ptsTmp = [];\n    }\n    initialize(colorsService) {\n      this.colorsService = colorsService;\n      this.ptsTmp = [];\n      this.it = 0;\n      this.nOccurrences = new Array(this.params.maxIterations + 1).fill(0);\n      return typeof this.params.currentFunction == \"function\";\n    }\n    getRandomPoints(nb, adT) {\n      Array.from({\n        length: nb\n      }).forEach(() => {\n        const randomPt = this.getRandomPoint();\n        const pt = this.getPt(randomPt[0], randomPt[1], this.params.t0, adT);\n        if (pt) {\n          this.ptsTmp.push(pt);\n        }\n      });\n      return this.ptsTmp;\n    }\n    getPt(x, y, t, adT, inner) {\n      this.initResults();\n      const i = this.params.ifsParams.mode > 0 ? this.getIFSn(x, y, t, []) : this.getI(x, y, t);\n      this.nOccurrences[i]++;\n      if (adT !== 0) {\n        return this.getColorPt(x, y, i * adT, i, inner);\n      }\n      return this.getColorPt(x, y, t, i, inner);\n    }\n    getI(x, y, t) {\n      const origin = new _Complex.default(x, y, t);\n      // classic mandelbrot : set c from start point\n      // else use defined c (especially for julia set)\n      let c = this.params.c0 === null ? new _Complex.default(x, y, t) : this.params.c0;\n\n      // new z\n      let z = this.params.zFromOrigin ? new _Complex.default(0, 0, 0) : new _Complex.default(x, y, t);\n      let dZ = this.derivativeCalculation ? new _Complex.default(1, 0) : null;\n      let i = 0;\n      const maxIterations = this.params.maxIterations;\n      const target = this.params.target;\n      do {\n        z = this.fZ(z, c, i, origin);\n        if (z === null) {\n          break;\n        }\n        if (this.derivativeCalculation) dZ = this.derivativeZ(z, c, i, origin).mul(dZ);\n        i++;\n      } while (this.setResult(z) < target && i < maxIterations);\n      this.setSecondFractalEscape(z, i >= maxIterations, origin);\n      this.saveZ(z);\n      this.saveDz(dZ);\n      this.it++;\n      return i;\n    }\n    getColorPt(x, y, t, i, inner) {\n      if (this.params.itInterval !== null && (i < this.params.itInterval[0] || i > this.params.itInterval[1])) {\n        // out of iterations intervals\n        return null;\n      }\n      if (this.params.render3D == true) {\n        t = this.get3DValue(i, x, y);\n      }\n      const coefs = this.getColorsCoefs(this.params.method, i, x, y, false);\n      const v = coefs[0];\n      if (this.params.varInterval !== null && (v < this.params.varInterval[0] || v > this.params.varInterval[1])) {\n        // out of limits\n        return null;\n      }\n      if (i >= this.params.maxIterations) {\n        this.nbIn++;\n      } else {\n        this.nbOut++;\n      }\n      // inner\n      if (this.params.inner === true && (i >= this.params.maxIterations || inner == true)) {\n        const innerCoefs = this.params.innerMethod == 0 ? coefs : this.getColorsCoefs(this.params.innerMethod, i, x, y, true);\n        return [x, y, t, this.params.method == 90 || this.params.innerMethod == 90 ? this.getFractalEscapeColor() : this.params.getInnerColor(v, innerCoefs[0], innerCoefs[1], innerCoefs[2], innerCoefs[3], false), i];\n      }\n\n      // escape : out\n      if (this.params.out === true && i < this.params.maxIterations && i >= this.params.minIterations) {\n        return [x, y, t, this.params.method == 90 ? this.getFractalEscapeColor() : this.params.getDrColor(i, v, coefs[0], coefs[1], coefs[2], coefs[3]), i, v];\n      }\n      return null;\n    }\n    getIFSn(x, y, t) {\n      const origin = new _Complex.default(x, y, t);\n      this.iterationsPts = [];\n      this.it = 0;\n      this.saveDz(new _Complex.default(1, 0));\n\n      // return result\n      return this.getIFSi(\n      // z :start to 0 or current point\n      this.params.zFromOrigin ? new _Complex.default(0, 0, 0) : new _Complex.default(x, y, t), this.params.c0 === null ? new _Complex.default(x, y, t) : this.params.c0, 0, 1, origin);\n    }\n    getIFSi(z, c, n, index, origin) {\n      this.it++;\n      if (this.it > this.params.maxIterations || n >= this.params.ifsParams.maxIterations) {\n        // iterations limit\n        if (index == 1) this.saveZ(z);\n        if (this.derivativeCalculation && index == 1) this.saveDz(this.derivativeZ(z, c, this.it, origin).mul(this.lastDz));\n\n        // in : mark 1 or 0\n        return this.params.selectMode === 11 ? 1 : 0;\n      }\n      const square = z.squaresSum();\n      if (index == 1) this.setResult(z);\n      if (square > this.params.target) {\n        // end by reaching target\n        if (index == 1) this.saveZ(z);\n        if (this.derivativeCalculation && index == 1) this.saveDz(this.derivativeZ(z, c, this.it, origin).mul(this.lastDz));\n\n        // out : mark 0 or 1\n        return this.params.selectMode === 11 ? 0 : 1;\n      }\n\n      // recursive call\n      return this.getIFSi(this.fZ(z, c, n + 1, origin), c, n + 1, 1, origin) + this.getIFSi(this.getIfsZ(z, c, n + 1), c, n + 1, 2, origin);\n    }\n    fZ(z, c, i, origin) {\n      if (this.params.breakPtParams && i > this.params.breakPtParams.min) {\n        // apply new c after x iterations\n        z = this.addNoise(this.params.currentFunction(z, this.params.breakPtParams.base, typeof this.params.breakPtParams.a == \"undefined\" ? origin : new _Complex.default(this.params.breakPtParams.a, this.params.breakPtParams.b, this.params.breakPtParams.c), this.params.breakPtParams.f, this.params.args, i), i);\n      } else {\n        z = this.addNoise(this.params.currentFunction(z, this.params.base, c, this.params.f, this.params.args, i), i);\n      }\n      if (this.iterationsPts !== null) {\n        this.addIterationPt(z, this.it, this.iterationsPts);\n      }\n      return z;\n    }\n    getIfsZ(z, c, i) {\n      if (this.params.ifsParams.currentFunction) {\n        z = this.params.ifsParams.currentFunction(z, this.params.ifsParams.base, this.params.ifsParams.c0 !== null ? this.params.ifsParams.c0 : c, this.params.ifsParams.f, this.params.ifsParams.args);\n        if (z && this.params.ifsParams.noise) {\n          // add noise \n          return z.addValuesIn(this.params.ifsParams.noise[0] * i, this.params.ifsParams.noise[1] * i, this.params.ifsParams.noise[2] * i);\n        }\n        return z;\n      }\n      // default function\n      return z;\n    }\n    addIterationPt() {\n      // not used here\n    }\n  }\n  _exports.default = Mandelbrot;\n});","define(\"fractals-lib/models/mandelbrot3d\", [\"exports\", \"fractals-lib/models/mandelbrot\", \"fractals-lib/models/Complex\"], function (_exports, _mandelbrot, _Complex) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Mandelbrot3d extends _mandelbrot.default {\n    getRandom3DPoints(nb, t) {\n      for (let index = 0; index < nb; index++) {\n        this.getRandomPoint();\n        this.t0 = t;\n        let pt = this.get3DPt(this.x0, this.y0, this.t0);\n        if (pt) {\n          this.ptsTmp.push(pt);\n        }\n      }\n      return this.ptsTmp;\n    }\n    get3DPt(x, y, z) {\n      let i = this.get3Di(x, y, z);\n\n      //let v = i;\n      /*\n          if (this.params.out) {\n            if (i < this.params.maxIterations && i >= this.params.minIterations) {\n              return [x, y, z, this.colorsService.hslToRgb([\n                this.params.drColor[0] + i * this.params.drColor[4],\n                this.params.drColor[1] + i * this.params.drColor[5],\n                this.params.drColor[2] + i * this.params.drColor[6]\n                //,\n                //this.params.innerColor[3]\n              ])];\n            }\n          }\n          if (i === this.params.maxIterations) {\n            return [x, y, z, this.colorsService.hslToRgb([\n              this.params.innerColor[0] + z * this.params.innerColor[4],\n              this.params.innerColor[1] + z * this.params.innerColor[5],\n              this.params.innerColor[2] + z * this.params.innerColor[6]\n              //,\n              //this.params.innerColor[3]\n            ])];\n          }\n          return null;\n      */\n      return this.getColorPt(x, y, z, i);\n    }\n    /*\n    getAbsPt(pt) {\n      return [Math.abs(pt[0]), Math.abs(pt[1]), Math.abs(pt[2])];\n    }*/\n    get3Di(x, y, t) {\n      if (this.params.a === null) {\n        // classic mandelbrot : set j\n        //this.c = new Complex(x, y, t);\n      } else {\n        this.c = new _Complex.default(this.params.a, this.params.b, this.params.c);\n      }\n\n      // new z\n      let z = new _Complex.default(x, y, t);\n      let i = 0;\n\n      // classic mandelbrot iteration sequence\n      do {\n        z = this.fZ(z);\n        if (z === null) {\n          break;\n        }\n        if (this.params.noise) {\n          // add noise\n          z = z.add(new _Complex.default(this.params.noise[0] * i, this.params.noise[1] * i, this.params.noise[2] * i));\n        }\n        i++;\n      } while (z.squaresSum() < this.params.target && i < this.params.maxIterations);\n      this.saveZ();\n      this.it++;\n      return i;\n    }\n  }\n  var _default = _exports.default = Mandelbrot3d;\n});","define(\"fractals-lib/models/mandelbulb\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Mandelbulb {\n    constructor() {\n      this.xMin = -2;\n      this.xMax = 2;\n      this.yMin = -2;\n      this.yMax = 2;\n      this.zMin = -2;\n      this.zMax = 1.5;\n      this.nb = 100;\n      this.step = 1 / 1000;\n      this.xI = this.xMin;\n      this.power = 2;\n      this.maxIterations = 150;\n      this.colorsService = null;\n    }\n    initialize(colorsService) {\n      this.xI = this.xMin;\n      this.colorsService = colorsService;\n    }\n    getInterval() {\n      return [[this.xMin, this.yMin, 0], [this.xMax, this.yMin, 0], [this.xMin, this.yMax, 0], [this.xMax, this.yMax, 0], [this.xMin, this.yMin, -2], [this.xMax, this.yMin, 2], [this.xMin, this.yMax, 0.5], [this.xMax, this.yMax, 0]];\n    }\n    getNextPts() {\n      this.xI += this.step;\n      if (this.xI > this.xMax) {\n        return null;\n      }\n      return this.getPts(this.nb, this.xI, this.xI, this.step * 5);\n    }\n    getInitPts() {\n      const pts = [];\n      this.getPoint(0, 0, 0, pts);\n      this.getPoint(this.xMin, this.yMin, 0, pts);\n      this.getPoint(this.xMax, this.yMax, pts);\n      this.getPoint(this.xMin, this.yMax, pts);\n      return pts;\n    }\n    getPts(nb, x0, x1, step) {\n      const pts = [];\n      for (let x = x0; x <= x1; x += step) {\n        let y = this.yMin;\n        while (y <= this.yMax) {\n          for (let z = this.zMin; z <= this.zMax; z += step) {\n            this.getPoint(x, y, z, pts);\n          }\n          y += step;\n        }\n      }\n      return pts;\n    }\n    getPoint(x, y, z, pts) {\n      let real = x;\n      let imag = y;\n      let comp = z;\n      let i = 0;\n      while (i < this.maxIterations) {\n        const nextReal = Math.pow(real, this.power) - Math.pow(imag, this.power); //+ x;\n        const nextImag = 2 * real * imag; //+ y;\n        const nextComp = 2 * comp * real + z;\n        const square = nextReal * nextReal + nextImag * nextImag;\n        if (Math.abs(square) > 2) {\n          break;\n        }\n        real = nextReal;\n        imag = nextImag;\n        comp = nextComp;\n        i++;\n      }\n      if (i === this.maxIterations) {\n        pts.push([x, y, z]);\n      }\n    }\n  }\n  _exports.default = Mandelbulb;\n});","define(\"fractals-lib/models/newton-fractal-extra\", [\"exports\", \"fractals-lib/models/Complex\", \"fractals-lib/models/newton-fractal\", \"calc-utils/models/grid-adapter-service\"], function (_exports, _Complex, _newtonFractal, _gridAdapterService) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class NewtonFractalExtra extends _newtonFractal.default {\n    constructor() {\n      super();\n      this.grid = null;\n      this.gridAdapter = new _gridAdapterService.default();\n      this.w = 0;\n      this.h = 0;\n      this.derivativeCalculation = false;\n      this.errorLimit = 0.000001;\n    }\n    initGrid(w, h) {\n      this.gridAdapter.setSize(w, h);\n      this.gridAdapter.setLimits(w, h);\n      this.gridAdapter.initPtsMem(32);\n    }\n    getPts(pts) {\n      return pts.flatMap(pt => {\n        const iterationsPts = this.handlePt(pt);\n        return iterationsPts ? iterationsPts.filter(Boolean) : [];\n      });\n    }\n    handlePt(pt) {\n      return this.getIterationsPts(pt);\n    }\n    getIterationsPts(pt) {\n      const x = pt[0];\n      const y = pt[1];\n      const t = pt[2];\n      const pts = [];\n      //this.errorLimit = 0.000001;\n      // Newton iteration\n      // The Nova fractal is the addition of a value c2 at each step:\n      // The \"Julia\" variant of the Nova fractal keeps c2 constant over the image and initializes z to the pixel coordinates.\n      //  The \"Mandelbrot\" variant of the Nova fractal initializes c2 to the pixel coordinates (relativeC2) and sets z to a critical point\n      let z = this.params.zOrigin === null ? new _Complex.default(x, y, t) : this.params.zOrigin;\n      // relative or fixed\n      const c = this.params.c0 === null ? new _Complex.default(x, y, t) : this.params.c0;\n      // relative or fixed\n      const c2 = this.params.c2 === null ? new _Complex.default(x, y, t) : this.params.c2;\n      let eps = 0;\n      let i = 0;\n      const maxIterations = this.params.maxIterations;\n      const limit = this.errorLimit;\n      do {\n        if (z === null) {\n          break;\n        }\n        const nextZ = this.getNewZ(z, c, c2, i);\n        if (nextZ === null) {\n          break;\n        }\n        eps = this.params.limitMethod == 2 ? Math.abs(nextZ.sub(z).r) : nextZ.sub(z).squaresSum();\n        z = nextZ;\n\n        //this.saveZ(z);\n        //this.setResult(z);\n\n        if (this.selectMode != 15) {\n          this.addIterationPt(z, i, pts);\n        }\n        i++;\n      } while (eps > limit && i < maxIterations);\n      this.saveZ(z);\n      return this.setIterationsPts(z, i, pts, pt);\n    }\n    addIterationPt(z, i, pts) {\n      if (z) {\n        pts.push([z.i, z.r, 0, null, this.getIterationValue(z, i)]);\n      }\n    }\n    setIterationsPts(z, i, pts, pt) {\n      if (z === null) {\n        return pts;\n      }\n      switch (this.params.selectMode) {\n        case 1:\n          // initial pt + last pt \n          pts = [];\n          if (i <= this.params.maxIterations) {\n            pts.push([pt[0], pt[1], 0, null, this.getIterationValue(z, i)]);\n            pts.push([z.r, z.i, 0, null, this.getIterationValue(z, i)]);\n          }\n          return pts;\n        case 4:\n          // inner\n          if (i === this.params.maxIterations) {\n            pts.push([pt[0], pt[1], 0, null, this.getIterationValue(z, i)]);\n            return pts;\n          }\n          break;\n        case 5:\n          if (z.squaresSum() < this.params.target && i >= this.params.minIterations || i >= this.maxIterations) {\n            // return pts when final iteration number reaches max iterations\n            return pts;\n          }\n          break;\n        case 6:\n          if (i >= this.params.minIterations && i < this.params.maxIterations) {\n            pts.push([pt[0], pt[1], 0, null, this.getIterationValue(z, i)]);\n            return pts;\n          }\n          break;\n        case 7:\n          // variation with mid target\n          if (z.squaresSum() > this.params.target - 2 && i >= this.params.minIterations) {\n            return pts;\n          }\n          break;\n        case 9:\n          if (i < this.params.maxIterations) {\n            // push initial point\n            pts.push([pt[0], pt[1], 0, this.colorsService.hslToRgb([this.params.drColor[0], this.params.drColor[1], this.params.drColor[2] + i * 5]), i]);\n            return pts;\n          } else {\n            return pts;\n          }\n        case 10:\n          if (i >= this.params.minIterations) {\n            // add initial point\n            pts.push([pt[0], pt[1], 0, this.getIterationValue(new _Complex.default(pt[0], pt[1]), i), i]);\n            return pts;\n          }\n          break;\n        case 11:\n          //pts = [];\n          if (i >= this.params.minIterations) {\n            // add initial point\n            pts.push([pt[0], pt[1], 0, null, i * 2]);\n            // add last point\n            pts.push([z.i, z.r, 0, null, i * 2]);\n            return pts;\n          }\n          break;\n        case 12:\n          return pts;\n        case 13:\n          if (i >= this.params.minIterations && i < this.params.maxIterations) {\n            for (let index = 0; index < pts.length; index++) {\n              pts[index][4] = this.getIterationValue(z, i);\n            }\n            return pts;\n          }\n        case 14:\n          // first point\n          return [[pt[0], pt[1], 0, null, i]];\n        case 15:\n          // first and last point\n          return [[pt[0], pt[1], 0, null, i], [z.i, z.r, 0, null, i]];\n        case 16:\n          // last point\n          return [[z.i, z.r, 0, null, i]];\n        default:\n          // case 3, 8\n          if (i >= this.params.minIterations) {\n            pts.push([pt[0], pt[1], 0, null, this.getIterationValue(z, i)]);\n            return pts;\n          }\n          break;\n      }\n      return null;\n    }\n    getIterationValue(z, i) {\n      switch (this.params.method) {\n        case 1:\n          return i;\n        case 12:\n          return Math.abs(z.getArgument());\n        case 17:\n          return Math.abs(z.getArgument()) * z.squaresSum();\n        case 20:\n          return Math.abs(Math.sin(z.squaresSum() * Math.PI));\n        default:\n          // cf parent method\n          return this.getV(this.params.method, i, z.r, z.i);\n      }\n    }\n    handleIterationsPoints(ptsIn) {\n      // increment grid\n      ptsIn.filter(pt => pt[0] >= 0 && pt[1] >= 0).forEach(pt => this.gridAdapter.incrementInGrid(pt, pt[4] * 1000));\n      return ptsIn.filter(Boolean).filter(pt => pt[0] > 0 && pt[1] > 0).map(pt => {\n        if (pt[3]) {\n          // color already defined\n          return pt;\n        } else {\n          const occurrence = this.gridAdapter.getValueInGrid(pt) / 1000;\n          const colorPt = this.getColor(occurrence, this.params.minOccurrences, this.params.maxOccurrences, this.params.selectMode === 3 || this.params.selectMode === 8 ? 0 : 100);\n          if (colorPt) {\n            pt[3] = colorPt;\n            pt[4] = occurrence;\n            return pt;\n          }\n        }\n        return null;\n      }).filter(Boolean); // remove null elements\n    }\n    getColor(o, min, max, minLog) {\n      if (o > min && o < max) {\n        let l = o < minLog ? o / 10 : Math.log10(o);\n        if (this.params.selectMode == 13 || this.params.selectMode == 14 || this.params.selectMode == 15) {\n          l = this.getIterationValue(this.lastZ, o);\n        }\n        if (this.params.lch == true) {\n          return this.colorsService.lchaToRgba([this.params.drColor[2] + l * this.params.drColor[6], this.params.drColor[1] + l * this.params.drColor[5], this.params.drColor[0] + l * this.params.drColor[4]]);\n        }\n        return this.colorsService.hslToRgb([this.params.drColor[0] + l * this.params.drColor[4], this.params.drColor[1] + l * this.params.drColor[5], this.params.drColor[2] + l * this.params.drColor[6], this.params.drColor.length >= 8 ? this.params.drColor[3] + l * this.params.drColor[7] : 100]);\n      }\n      return null;\n    }\n  }\n  _exports.default = NewtonFractalExtra;\n});","define(\"fractals-lib/models/newton-fractal-functions\", [\"exports\", \"fractals-lib/models/Complex\"], function (_exports, _Complex) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class NewtonFractalFunctions {\n    getFunction(name) {\n      const functions = {\n        \"multiple\": (z, n, f, c, c2, args) => z.mul(new _Complex.default(args[0], args[1])).getC(f),\n        // f(z^n)-c\n        'f1': (z, n, f, c) => z.getC(f).pow(n).subIn(c),\n        'f1_rot': (z, n, f, c, c2, args) => z.getC(f).pow(n).rot(args.rot).subIn(c),\n        // z+f(z^n)+c\n        'f2': (z, n, f, c) => z.add(z.getC(f).pow(n)).addIn(c),\n        // z^(n-2)+f(z)^n+c\n        'f3': (z, n, f, c) => z.pow(n - 2).add(z.getC(f).pow(n)).addIn(c),\n        // f(z)^n+c\n        'f4': (z, n, f, c) => z.getC(f).pow(n).addIn(c),\n        // f(z)^n.c+z\n        'f5': (z, n, f, c) => z.getC(f).pow(n).mul(c).addIn(z),\n        // f(z)^n+c.z\n        'f6': (z, n, f, c) => z.getC(f).mul(z.pow(n).addIn(c)),\n        // f(z^n+c)\n        'f7': (z, n, f, c) => z.pow(n).addIn(c).getC(f),\n        // f(z^n)-c^n\n        'f8': (z, n, f, c) => z.pow(n).getC(f).sub(c.pow(n)),\n        // f(z^n+(c+z^n-1))\n        'f9': (z, n, f, c) => z.pow(n).add(c.add(z.pow(n - 1)).getC(f)),\n        // f(z)^n-z+c\n        'f10': (z, n, f, c) => z.getC(f).pow(n).sub(z).addIn(c),\n        // f(z)^n-z+c\n        'f10_rot': (z, n, f, c, c2, args) => z.getC(f).pow(n).rot(args.rot).sub(z).addIn(c),\n        // f(z.(c+z^n+z)+c2-z)\n        'f11': (z, n, f, c, c2) => z.mul(c.add(z.pow(n)).add(z)).addIn(c2).subIn(z).getC(f),\n        // f(z^n)+c/z\n        'f12': (z, n, f, c) => z.pow(n).getC(f).add(c.div(z)),\n        // f(z^n)+z^n-1+z-c\n        'f13': (z, n, f, c) => z.pow(n).getC(f).add(z.pow(n - 1)).addIn(z).sub(c),\n        // f(z^n)+c2.z^n-1+z+c\n        'f14': (z, n, f, c, c2) => z.pow(n).getC(f).add(c2.mul(z.pow(n - 1))).addIn(z).addIn(c),\n        // f(z^n)+c+c2\n        'f15': (z, n, f, c, c2) => z.pow(n).getC(f).addIn(c).addIn(c2),\n        // (f(z^n)+c).z\n        'f16': (z, n, f, c) => z.pow(n).getC(f).add(c).mul(z),\n        // f(z^(n-3))+(z^n/(z+c2))+c\n        'f17': (z, n, f, c, c2) => z.pow(n - 3).getC(f).add(z.pow(n).div(z.add(c2))).addIn(c),\n        'f18': (z, n, f, c) => z.pow(n).getC(f).add(z.add(c).div(z.add(new _Complex.default(1, 0)))),\n        // (f(z^n)+c)/z\n        'f19': (z, n, f, c) => z.pow(n).getC(f).add(c).div(z),\n        // (f(z^n)-c).c2\n        'f20': (z, n, f, c, c2) => z.pow(n).getC(f).sub(c),\n        'f21': (z, n, f, c) => z.pow(n).getC(f).div(z.add(c).pow(n - 1)).add(c),\n        'f22': (z, n, f, c) => z.pow(n).getC(f).mul(z.pow(n - 1).add(c)).div(z.pow(n - 2).add(c)).addIn(c),\n        // f(z^(n-3))+z^n+c\n        'f23': (z, n, f, c) => z.pow(n - 3).getC(f).add(z.pow(n)).addIn(c),\n        // f(z^n)+z^(n-1)+2.c\n        'f24': (z, n, f, c) => z.pow(n).getC(f).add(z.pow(n - 1)).add(c.mulReal(2)),\n        'f25': (z, n, f, c) => z.pow(n).getC(f).add(c.add(z.pow(n - 1))).add(c.add(z.pow(n - 1))),\n        'f26': (z, n, f, c) => z.pow(n).add(c).mul(z.add(c).squareAtan()).getC(f),\n        // f(z^(n*2)+c-z^n)\n        'f27': (z, n, f, c) => z.pow(n * 2).add(c).sub(z.pow(n)).getC(f),\n        // f(z^(-n)+c-z^2)\n        'f28': (z, n, f, c) => z.pow(n).add(c).sub(z.pow(2)).getC(f),\n        // f(|c+(z^n)|)\n        'f29': (z, n, f, c) => c.add(z.pow(n)).abs().getC(f),\n        // |f(z^n)|/z-c\n        'f30': (z, n, f, c) => z.pow(n).getC(f).abs().div(z).sub(c),\n        // f(z)-z^n-c\n        'f31': (z, n, f, c) => z.getC(f).sub(z.pow(n)).sub(c),\n        // z-(z^n)-|c|\n        'f32': (z, n, f, c) => z.getC(f).sub(z.pow(n)).sub(c.abs()),\n        // f(z-((z.c)^n)-c)\n        'f33': (z, n, f, c) => z.sub(z.mul(c).pow(n)).sub(c).getC(f),\n        // z-(z^n+|c|)\n        'f34': (z, n, f, c) => z.getC(f).sub(z.pow(n / 2).addIn(c)),\n        'f35': (z, n, f, c, c2, args) => z.sub(z.mul(new _Complex.default(args[0], args[1]))),\n        // f(z^n)+z^n-1+z-c\n        'f36': (z, n, f, c) => z.pow(n).getC(f).add(z.pow(n - 1)).add(z).sub(c).sub(c),\n        'f37': (z, n, f, c) => z.abs().getC(f).pow(n).addIn(c),\n        'f38': (z, n, f, c) => z.getC(f).abs().pow(n).sub(z).addIn(c),\n        'f39': (z, n, f, c) => z.abs().pow(n).addIn(c).getC(f),\n        'f40': (z, n, f, c) => new _Complex.default(n, 0).mul(z.pow(n - 1)),\n        'f41': (z, n, f, c, c2) => z.pow(n).mulValues(n, 0),\n        \"f100\": (z, n, f, c) => {\n          const fz = z.mul(z).add(c).mul(z).add(c);\n          const dfz = new _Complex.default(2, 0).mul(z).add(new _Complex.default(1, 0));\n          return z.add(fz.mul(new _Complex.default(-1, 0)).mul(dfz));\n        },\n        \"f101\": (z, n, f, c) => {\n          const fz = z.mul(z).mul(z).sub(c);\n          const dfz = new _Complex.default(2, 0).mul(z).add(new _Complex.default(1, 0));\n          return z.sub(fz.div(dfz).mul(new _Complex.default(-1, 0)));\n        }\n      };\n      return functions[name];\n    }\n    //return z.pow(3).add(z.pow(3)).add(c).div(z.pow(2).mulReal(3).add(c).addReal(-1));\n    getFunctionDefinition(name, f, n, args, c) {\n      const functions = {\n        \"f1\": () => 'f(z)^n-c',\n        'f2': n => 'z+(f(z)^n)+c',\n        'f3': n => `z^${n - 2}+f(z)^n+c`,\n        'f4': n => \"f(z)^n+c\",\n        'f5': n => \"f(z)^n.c+z\",\n        'f6': n => \"f(z)^n+c.z\",\n        'f7': n => \"f(z^n+c)\",\n        'f8': n => `f(z^n+(c+z^${n - 1}))`,\n        'f9': n => \"f(z^n)-c^n\",\n        'f10': n => \"f(z)^n-z+c\",\n        'f11': n => \"f(z.(c+z^n+z)+c2-z)\",\n        'f12': n => \"f(z^n)+c/z\",\n        'f13': n => `f(z^n)+z^${n - 1}+z-c`,\n        'f14': n => \"\",\n        'f15': n => \"f(z^n)+c+(2,0)\",\n        'f16': n => \"(f(z^n)+c).z\",\n        'f17': n => \"\",\n        'f18': n => \"\",\n        'f19': n => \"(f(z^n)+c)/z\",\n        'f20': n => \"f(z^n)-c\",\n        'f21': n => \"\",\n        'f22': n => \"\",\n        'f23': n => `f(z^${n - 3})+z^n+c`,\n        'f24': n => `f(z^n)+z^${n - 1}+2.c`,\n        'f25': n => \"\",\n        'f26': n => \"\",\n        'f27': n => `f(z^${n * 2}+c-z^n)`,\n        'f28': n => \"f(z^n+c-z^2)\",\n        'f29': n => \"f(|c+(z^n)|)\",\n        'f30': n => \"|f(z^n)|/z-c\",\n        'f31': n => \"f(z)-z^n-c\",\n        'f32': n => \"z-z^n-|c|\",\n        'f33': n => \"f(z-((z.c)^n)-c)\",\n        'f36': n => \"f(z^n)+z^n-1+z-c\",\n        \"multiple\": (n, args) => `(${args[0]}+${args[1]}i).z`\n      };\n      if (functions[name]) {\n        const cValue = c !== null ? ` with c = (${c.r},${c.i})` : \"\";\n        const definition = functions[name](n, args, c);\n        if (typeof definition == 'string') {\n          let returnValue = \"\";\n          if (f === \"\") {\n            returnValue = this.replaceAllOccurrences(definition.replace(/f\\((.*?)\\)/g, \"$1\"), \"^n\", `^${n}`);\n          } else {\n            returnValue = this.replaceAllOccurrences(this.replaceAllOccurrences(definition, \"f(\", `${f}(`).trim(), \"^n\", `^${n}`);\n          }\n          if (returnValue.substring(0, 1) == \"(\" && returnValue.substring(returnValue.length - 1) == \")\") {\n            return this.removeParentheses(returnValue.substring(1).substring(0, returnValue.length - 2));\n          }\n          return this.removeParentheses(returnValue + cValue);\n        }\n      }\n      return \"\";\n    }\n    getDerivativeFunction(type) {\n      const functions = {\n        // z^n-c => n.z^(n-1) \n        // z^2-c => 2z\n        // z^3-c => 3z^2\n        'f1': (z, n) => n == 2 ? z.mul(new _Complex.default(n, 0)) : z.pow(n - 1).mulValues(n, 0),\n        // z+z^n+c => 1 + n.z^n-1\n        'f2': (z, n) => new _Complex.default(n, 0).mul(z.pow(n - 1)).addValues(1, 0, 0),\n        // z^n+c => n.z^n-1\n        // z^2+c => 2.z\n        'f4': (z, n) => z.pow(n - 1).mulValues(n, 0),\n        'f5': (z, n, f, c) => c.mul(z.pow(n - 1).mulValues(n, 0)).addValues(1, 0, 0),\n        // f(z^n)-c^n => 2.z\n        'f7': (z, n) => z.pow(n - 1).mulValues(n, 0),\n        'f8': (z, n) => new _Complex.default(n, 0).mul(z.pow(n - 1)),\n        // z^n-z+c => n*z^(n-1)-1 \n        'f10': (z, n) => new _Complex.default(n, 0).mul(z.pow(n - 1)).addValues(-1, 0, 0),\n        'f31': (z, n) => new _Complex.default(1, 0).sub(z.pow(n - 1).mulValues(n, 0))\n      };\n      if (typeof functions[type] === \"undefined\") {\n        return null;\n      }\n      return functions[type];\n    }\n    getSecondDerivativeFunction(type) {\n      const functions = {\n        // z^n-c => n * (n-1) * z^(n-2)\n        'f1': (z, n) => {\n          if (z == 3) {\n            return z.mulValues(n * (n - 1), 0);\n          }\n          return z.pow(n - 2).mulValues(n * (n - 1), 0);\n        },\n        'f2': (z, n) => z.pow(n - 2).mulValues(n * (n - 1), 0),\n        'f4': (z, n) => z.pow(n - 2).mulValues(n * (n - 1), 0),\n        'f5': (z, n, c) => z.pow(n - 2).mulValues(n * (n - 1), 0).mul(c),\n        // z^n-z+c => n(n−1)z(n−2)\n        'f10': (z, n) => z.pow(n - 2).mulValues(n * (n - 1), 0)\n      };\n      if (typeof functions[type] === \"undefined\") {\n        return null;\n      }\n      return functions[type];\n    }\n    removeParentheses(str) {\n      if (str.startsWith('(') && str.endsWith(')')) {\n        return str.slice(1, -1);\n      }\n      return str;\n    }\n    replaceAllOccurrences(originalString, stringToReplace, newString) {\n      const escapedStringToReplace = stringToReplace.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n      const regex = new RegExp(escapedStringToReplace, 'g');\n      return originalString.replace(regex, newString);\n    }\n  }\n  _exports.default = NewtonFractalFunctions;\n});","define(\"fractals-lib/models/newton-fractal-parameters\", [\"exports\", \"fractals-lib/models/fractal-parameters\", \"fractals-lib/models/newton-fractal-functions\"], function (_exports, _fractalParameters, _newtonFractalFunctions) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class NewtonFractalParameters extends _fractalParameters.default {\n    setFunctions() {\n      const functions = new _newtonFractalFunctions.default();\n      this.currentFunction = functions.getFunction(this.type);\n      if (this.derivativeParams && this.derivativeParams.type) {\n        this.derivativeFunction = functions.getFunction(this.derivativeParams.type);\n      } else if (this.f === '') {\n        this.derivativeFunction = functions.getDerivativeFunction(this.type);\n        this.secondDerivativeFunction = functions.getSecondDerivativeFunction(this.type);\n      }\n      this.functionDefinition = `f(z) = ${functions.getFunctionDefinition(this.type, this.f, this.base, this.args, this.c0)}`;\n      if (this.multiple != null) {\n        this.functionDefinition += `, a = (${this.multiple.r},${this.multiple.i})`;\n      }\n      if (!this.relativeC2) {\n        if (this.c2) {\n          this.functionDefinition += `, c2 = (${this.c2.r},${this.c2.i})`;\n        } else {\n          this.functionDefinition += \", c2 = (0, 0)\";\n        }\n      }\n      return typeof this.currentFunction == \"function\";\n    }\n    getNew() {\n      return new NewtonFractalParameters();\n    }\n  }\n  _exports.default = NewtonFractalParameters;\n});","define(\"fractals-lib/models/newton-fractal-process\", [\"exports\", \"fractals-lib/models/fractal-process\"], function (_exports, _fractalProcess) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class NewtonFractalProcess extends _fractalProcess.default {\n    constructor() {\n      super();\n      this._jobs = [];\n      this._jobsInProgress = 0;\n      this._nbWorkers = 3;\n      this.dataParams = [];\n      this.canvasService = null;\n    }\n    setData(dataParams) {\n      this.dataParams = dataParams;\n      this.setJobs();\n    }\n    defGrid() {\n      this.gridAdapter.defParameters(this.params.getInterval(), [0, 0]);\n    }\n    getPts() {\n      const pts = [];\n      const nb = this.params.ifsParams && this.params.ifsParams.mode > 0 ? 10000 : 10000;\n      for (let index = 0; index < nb; index++) {\n        const ptCanvas = this.gridAdapter.getNewPoint(0);\n        if (ptCanvas) {\n          const pt = this.gridAdapter.getPointFromPlan(ptCanvas, false, 10);\n          const newtonPt = this.fractal.getPt(pt[0], pt[1], 0, 0, false);\n          if (newtonPt) {\n            pts.push([ptCanvas[0], ptCanvas[1], ...newtonPt.slice(2)]);\n          }\n        }\n      }\n      return pts;\n    }\n    setJobs() {\n      const that = this;\n      this._jobs = [];\n      for (let i = 0; i < this._nbWorkers; i++) {\n        this._jobs[i] = {\n          'worker': new Worker('assets/js/newton-fractal-worker.bundle.js', {\n            type: \"module\"\n          }),\n          'status': 0,\n          'params': null\n        };\n        this._jobs[i].worker.addEventListener('message', function (e) {\n          that.jobHandler(e);\n        }, false);\n      }\n    }\n    getPtsWithWorker() {\n      if (this._jobsInProgress < 1) {\n        // Prepare workers\n        for (let i = 0; i < this._nbWorkers; i++) {\n          const pts = [];\n          const ptsCanvas = [];\n          const nb = this.params.ifsParams && this.params.ifsParams.mode > 0 ? 2000 : 10000;\n          for (let index = 0; index < nb; index++) {\n            // get new point in canvas\n            const ptCanvas = this.gridAdapter.getNewPoint(0);\n            const pt = this.gridAdapter.getPointFromPlan(ptCanvas, false, 10);\n            if (ptCanvas != null) {\n              ptsCanvas.push(ptCanvas);\n              pts.push(pt);\n            }\n          }\n          this._jobs[i].ptsCanvas = ptsCanvas;\n          this._jobs[i].params = {\n            'pts': pts,\n            'ptsCanvas': ptsCanvas,\n            'i': i,\n            'data': this.dataParams\n          };\n          this._jobsInProgress++;\n          this._jobs[i].worker.postMessage(this._jobs[i].params);\n        }\n      }\n    }\n    jobHandler(e) {\n      const results = JSON.parse(e.data);\n      if (results) {\n        for (let index = 0; index < results.length; index++) {\n          if (results[index] && results[index][5]) {\n            const i = results[index][4];\n            const v = results[index][5];\n            const color = this.params.getDrColor(i, v, v, v, v, v);\n            results[index][3] = color;\n          }\n        }\n        if (results.length > 0) {\n          this.canvasService.processCanvas.addPointsInData(results, null, 1);\n        }\n      }\n      this._jobsInProgress--;\n    }\n    getPts_() {}\n  }\n  _exports.default = NewtonFractalProcess;\n});","define(\"fractals-lib/models/newton-fractal\", [\"exports\", \"fractals-lib/models/Complex\", \"fractals-lib/models/newton-fractal-parameters\", \"fractals-lib/models/fractal\"], function (_exports, _Complex, _newtonFractalParameters, _fractal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class NewtonFractal extends _fractal.default {\n    constructor() {\n      super();\n      this.params = new _newtonFractalParameters.default();\n      this.c2_0 = new _Complex.default(2, 0);\n      this.errorLimit = 0.01;\n    }\n    setParameters(params) {\n      super.setParameters(params);\n      if (this.params.multiple == null) {\n        this.params.multiple = new _Complex.default(1, 0);\n      }\n    }\n    initialize(colorsService_) {\n      this.colorsService = colorsService_;\n      return typeof this.params.currentFunction == \"function\";\n    }\n    getPt(x, y, t, adT, inner) {\n      this.initResults();\n      const i = this.params.ifsParams && this.params.ifsParams.mode > 0 ? this.getIFSn(x, y, t) : this.getI(x, y);\n      if (i === null) {\n        return null;\n      }\n      if (adT !== 0) {\n        return this.getColorPt(x, y, i * adT, i, inner);\n      }\n      return this.getColorPt(x, y, t, i, inner);\n    }\n    getI(x, y, t, pts) {\n      const origin = new _Complex.default(x, y, t);\n      // Newton iteration\n      // The Nova fractal is the addition of a value c2 at each step:\n      // The \"Julia\" variant of the Nova fractal keeps c2 constant over the image and initializes z to the pixel coordinates.\n      //  The \"Mandelbrot\" variant of the Nova fractal initializes c2 to the pixel coordinates (relativeC2) and sets z to a critical point\n      let z = this.params.zOrigin === null ? new _Complex.default(x, y, t) : this.params.zOrigin;\n\n      // relative or fixed\n      const c1 = this.params.c0 === null ? new _Complex.default(x, y, t) : this.params.c0;\n\n      // relative or fixed\n      const c2 = this.params.c2 === null ? new _Complex.default(x, y, t) : this.params.c2;\n      let eps = 0;\n      let i = 0;\n      const maxIterations = this.params.maxIterations;\n      const limit = this.errorLimit;\n      do {\n        const nextZ = this.getNewZ(z, c1, c2, i);\n        if (nextZ === null) {\n          break;\n        }\n        eps = this.params.limitMethod == 2 ? Math.abs(nextZ.sub(z).r) : nextZ.sub(z).squaresSum();\n        z = nextZ;\n        this.setResult(z);\n        if (pts) {\n          pts.push([z.i, z.r, 0, null, i]);\n        }\n        i++;\n      } while (eps > limit && i < maxIterations);\n      this.setSecondFractalEscape(z, i >= maxIterations, origin);\n      this.saveZ(z);\n      return i;\n    }\n    setResult(z) {\n      let squareSum = z.squaresSum();\n      if (squareSum < this.minSquareSum) {\n        this.minSquareSum = squareSum;\n      }\n      this.setSumResult(squareSum);\n      this.setMinLp(z);\n      this.setTrapDistance(z);\n      return squareSum;\n    }\n    getColorPt(x, y, t, i, inner) {\n      t = this.get3DValue(i);\n      const coefs = this.getColorsCoefs(this.params.method, i, x, y, false);\n      const v = coefs[0];\n\n      // inner\n      if (this.params.inner === true && (i === this.params.maxIterations || inner == true)) {\n        const innerCoefs = this.params.innerMethod == 0 ? coefs : this.getColorsCoefs(this.params.innerMethod, i, x, y, true);\n        return [x, y, t, this.params.method == 90 || this.params.innerMethod == 90 ? this.getFractalEscapeColor() : this.params.getInnerColor(v, innerCoefs[0], innerCoefs[1], innerCoefs[2], innerCoefs[3], false), i, coefs[0]];\n      }\n\n      // out\n      if (this.params.out === true && i < this.params.maxIterations && i >= this.params.minIterations) {\n        return [x, y, t, this.params.method == 90 ? this.getFractalEscapeColor() : this.params.getDrColor(i, v, coefs[0], coefs[1], coefs[2], coefs[3]), i, coefs[0]];\n      }\n      return null;\n    }\n    getNewZ_HalleyMethod(z, c, c2, i) {\n      const zr = z.r;\n      const zi = z.i;\n      const zt = z.t;\n      const newZ = this.fZ(new _Complex.default(zr, zi, zt), c, i);\n\n      // first derivative\n      const dfz = this.derivativefZ(new _Complex.default(zr, zi, zt), newZ, c, this.params.base, i);\n      const ddfz = this.secondDerivativefZ(new _Complex.default(zr, zi, zt), newZ, c, this.params.base, i);\n      const denom = new _Complex.default(2, 0).mul(dfz.mul(dfz)).sub(newZ.mul(ddfz));\n      if (denom.getMagnitude() < this.errorLimit / 100) {\n        return null;\n      }\n      return z.sub(new _Complex.default(2, 0).mul(newZ).mul(dfz).div(denom));\n    }\n    getNewZ(z, c, c2, i) {\n      if (this.params.functionMethod == \"halley\") {\n        return this.getNewZ_HalleyMethod(z, c, c2, i);\n      }\n      if (this.params.functionMethod == \"custom\") {\n        return this.fZ(z, c, i);\n      }\n\n      /*const fz = z.mul(z).add(c).mul(z).add(c);\n      const dfz = new Complex(2, 0).mul(z).add(new Complex(1, 0));\n      return z.add(fz.mul(new Complex(-1, 0)).mul(dfz));*/\n\n      // generalization of the Newton fractal with the addition of value c2 (Nova fractal)\n      // multiple : optional ((1,0) by default)\n      // c2 : optional ((0,0) by default) or relative to point\n      // z - multiple*(f(z)/f'(z)) + c2\n      return z.sub(this.fZ_DerivativefZ(z, c, i).mul(this.params.multiple)).addIn(c2);\n    }\n    fZ_DerivativefZ(z, c, i) {\n      // f(z)/f'(z))\n      const newZ = this.fZ(z, c, i);\n      return newZ.div(this.derivativefZ(z, newZ, c, this.params.base, i));\n    }\n    derivativefZ(z, newZ, c, n, i) {\n      if (this.params.derivativeFunction === null) {\n        // derivative approximation\n        // f'(z) = f(z+0.01)-f(z)/0.01\n        return this.fZ(z.add(this.cDerivative), c, i).sub(newZ).div(this.cDerivative);\n      }\n\n      // real derivative\n      if (this.params.derivativeFunction) return this.params.derivativeFunction(z, n, this.params.derivativeParams.f, c);\n      return z;\n    }\n    secondDerivativefZ(z, newZ, c, n, i) {\n      if (this.params.derivativeFunction === null) {\n        // Approximate second derivative using central difference formula\n        // f''(z) ≈ (fZ(z + h, c, i) - 2 * fZ(z, c, i) + fZ(z - h, c, i)) / h^2\n        const fZPlusH = this.fZ(z.add(this.cDerivative), c, i);\n        const fZMinusH = this.fZ(z.sub(this.cDerivative), c, i);\n        return fZPlusH.sub(newZ.mulReal(2)).add(fZMinusH).div(this.cDerivative.pow(2));\n      }\n\n      // Use real second derivative function if provided\n      if (this.params.secondDerivativeFunction) return this.params.secondDerivativeFunction(z, n, c);\n      return z;\n    }\n    fZ(z, c, i) {\n      if (this.params.currentFunction) {\n        if (this.params.breakPtParams && i > this.params.breakPtParams.min) {\n          return this.addNoise(this.params.currentFunction(z, this.params.breakPtParams.base, this.params.breakPtParams.f, new _Complex.default(this.params.breakPtParams.a, this.params.breakPtParams.b, this.params.breakPtParams.c), this.c2_0, this.params.args), i);\n        } else {\n          return this.addNoise(this.params.currentFunction(z, this.params.base, this.params.f, c, this.c2_0, this.params.args), i);\n        }\n      }\n\n      // by default\n      return z;\n    }\n    getIFSn(x, y, t) {\n      this.it = 0;\n      // start to 0 or current point\n\n      const z = this.params.zFromOrigin ? new _Complex.default(0, 0, 0) : new _Complex.default(x, y, t);\n      const c = this.params.c0 === null ? new _Complex.default(x, y, t) : this.params.c0;\n      const c2 = this.params.c2 === null ? new _Complex.default(x, y, t) : this.params.c2;\n\n      // return result\n      return this.getIFSi(z, this.getNewZ(z, c, c2, false), c, c2, 0);\n    }\n    getIFSi(z, z1, c, c2, n) {\n      this.it++;\n      if (this.it >= this.params.maxIterations || n >= this.params.ifsParams.maxIterations) {\n        // iterations limit\n        this.saveZ(z);\n        // in : mark 1 or 0\n        return 0;\n      }\n      if (Math.abs(z1.sub(z).r) < this.errorLimit) {\n        // end by reaching target\n        this.saveZ(z);\n        // out : mark 0 or 1\n        return 1;\n      }\n\n      // recursive call\n      return this.getIFSi(z1, this.getNewZ(z, c, c2), c, c2, n + 1) + this.getIFSi(z1, this.getIfsZ(z, c), c, c2, n + 1);\n    }\n    getIfsZ(z, c) {\n      const fz = this.fZ_ifs(z, c);\n      if (this.params.ifsParams.mode == 3) {\n        // z - f(z)/(f(z+0.01)-f(z)/0.01)\n        return z.sub(fz.div(this.fZ_ifs(z.add(this.cDerivative), c, this.params.base).sub(fz).div(this.cDerivative)));\n      } else if (this.params.ifsParams.currentFunction) {\n        return fz;\n      }\n    }\n    fZ_ifs(z, c) {\n      return this.params.ifsParams.currentFunction(z, this.params.ifsParams.base, this.params.ifsParams.f, this.params.ifsParams.c0 !== null ? this.params.ifsParams.c0 : c, this.c2_0, this.params.ifsParams.args);\n    }\n  }\n  _exports.default = NewtonFractal;\n});","define(\"fractals-lib/models/workers/canvas2DDrawer\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Canvas2DDrawer {\n    constructor(id) {\n      // draw an ArrayBuffer\n      _defineProperty(this, \"setBackBuffer\", function (buffer) {\n        this._buf = buffer;\n        //_bufIndex = (_bufIndex > 0) ? 0 : 1;\n        if (Uint8ClampedArray != undefined && this._imageData.data instanceof Uint8ClampedArray) {\n          this._imageData.data.set(this._buf8);\n        } else {\n          var x,\n            y,\n            c,\n            i = 0;\n          for (y = 0; y < this._height; y++) {\n            for (x = 0; x < this._width; x++) {\n              for (c = 0; c < 4; c++, i++) {\n                //i = (x + y * _width) * 4 + c;\n                this._imageData.data[i] = this._buf8[i];\n              }\n            }\n          }\n        }\n        //_bufIndex = (_bufIndex > 0) ? 0 : 1;\n        this._ctx.putImageData(this._imageData, 0, 0);\n      });\n      this._canvas = id ? document.getElementById(id) : null, this._ctx = this._canvas.getContext(\"2d\");\n      // expose context \n      this.context = this._ctx;\n      this._width = this.getWidth(), this._height = this.getHeight(), this._imageData = this._ctx.getImageData(0, 0, this._width, this._height), this._buf = new ArrayBuffer(this._imageData.data.length), this._buf32 = new Uint32Array(this._buf), this._buf8 = new Uint8ClampedArray(this._buf), this._bufIndex = 0;\n      this.isLittleEndian = this.isLittleEndian_();\n    }\n\n    // width : the number of physical device pixels per row\n    getWidth() {\n      return this._ctx.canvas.width;\n    }\n    // height : the number row\n    getHeight() {\n      return this._ctx.canvas.height;\n    }\n    // Determine whether Uint32 is little- or big-endian.\n    isLittleEndian_() {\n      var data = new Uint32Array(this._buf);\n      data[0] = 0x08040201;\n      return this._buf[3] === 0x01 ? false : true;\n    }\n    // get an Uint32Array representing pixel in rgba way\n    getBackBuffer() {\n      return this._buf32;\n    }\n    // get a pixel color compatible with the device\n    pixel(r, g, b, a) {\n      var c1, c2, c3, c4;\n      if (this.isLittleEndian) {\n        c1 = a;\n        c2 = b;\n        c3 = g;\n        c4 = r;\n      } else {\n        c1 = r;\n        c2 = g;\n        c3 = b;\n        c4 = a;\n      }\n      return c1 << 24 | c2 << 16 | c3 << 8 | c4;\n    }\n\n    // set a pixel color at position x, y\n    setPixel(x, y, r, g, b, a) {\n      var x, y;\n      return this._buf32[y * this._width + x] = this.pixel(r, g, b, a);\n    }\n    setStroke(colour, width) {\n      this._ctx.strokeStyle = colour;\n      this._ctx.lineWidth = width != undefined ? width : 1;\n    }\n    drawLine(x1, y1, x2, y2) {\n      this._ctx.moveTo(x1, y1);\n      this._ctx.lineTo(x2, y2);\n      this._ctx.stroke();\n    }\n    drawCircle(x, y, radius) {\n      this._ctx.beginPath();\n      this._ctx.arc(x, y, radius, 0, Math.PI / 180 * 360, false);\n      this._ctx.stroke();\n      this._ctx.closePath();\n    }\n    drawBezierCurv(x1, y1, x2, y2, ctrlX1, ctrlY1, ctrlX2, ctrlY2) {\n      this._ctx.moveTo(x1, y1);\n      this._ctx.bezierCurveTo(ctrlX1, ctrlY1, ctrlX2, ctrlY2, x2, y2);\n      this._ctx.stroke();\n\n      // indicator\n      var pc = this._ctx.strokeStyle;\n      var pw = this._ctx.lineWidth;\n      this.setStroke(\"blue\", 1);\n      this.drawCircle(x1, y1, 3);\n      this.drawCircle(x2, y2, 3);\n      this.drawCircle(ctrlX1, ctrlY1, 3);\n      this.drawCircle(ctrlX2, ctrlY2, 3);\n      this.setStroke(pc, pw);\n    }\n  }\n  _exports.default = Canvas2DDrawer;\n});","define(\"fractals-lib/models/workers/canvas3DDrawer\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  ////////////////////////////////////////////////////////////////////////////////\n  // =============================================================================\n  ////////////////////////////////////////////////////////////////////////////////\n  /*\n   *    Classe de dessin dans un context WebGL\n   *    Need : gl-matrix-min.js\n   *\n   */\n  class Canvas3DDrawer {\n    constructor(id, undefined) {\n      // -----------------------------------------------------\n      // width : the number of physical device pixels per row\n      _defineProperty(this, \"getWidth\", function () {\n        return this._canvas.width;\n      });\n      // height : the number row\n      _defineProperty(this, \"getHeight\", function () {\n        return this._canvas.height;\n      });\n      // Internal list type with last function to Array object\n\n      // -----------------------------------------------------\n      // Internal List \n      this._me = this;\n      this._pool = {\n        'shaders': [],\n        'vbo': [],\n        'ibo': [],\n        'cbo': [],\n        'normals': [],\n        'uv': [],\n        'light': [],\n        'textures': [],\n        lastOf: function (a) {\n          return a instanceof Array ? a[a.length - 1] : null;\n        }\n      };\n      this._width;\n      this._height;\n      this._time = 0;\n      this._deltatime = 0;\n\n      // Create context\n      this._canvas = id ? document.getElementById(id) : null, this._gl = null;\n      this._gl = this._canvas.getContext(\"webgl\") || this._canvas.getContext(\"experimental-webgl\");\n\n      // Init matrix\n      this._gl.matrix = {\n        projection: mat4.create(),\n        view: mat4.create()\n      };\n\n      // -----------------------------------------------------\n      // expose context \n      this.context = this._gl;\n\n      ////////////////////////////////////////////////////////////////////\n      // Structure Helper\n      this.vec2 = {\n        'x': 0,\n        'y': 0\n      };\n\n      // keep current size\n      this._width = this.getWidth();\n      this._height = this.getHeight();\n\n      // -----------------------------------------------------\n      // Init viewport to match canvas size\n      this._gl.viewport(0, 0, this._width, this._height);\n      this._gl.clearColor(0.0, 0.0, 0.0, 1.0);\n      this._gl.clear(this._gl.COLOR_BUFFER_BIT | this._gl.DEPTH_BUFFER_BIT);\n      this.timeTicks = function () {\n        if (this._time) {\n          this._deltatime = new Date().getTime() - this._time;\n        }\n        this._time = new Date().getTime();\n      };\n\n      // -----------------------------------------------------\n      // Draw method!\n      this._frame = 0;\n    }\n    // -----------------------------------------------------\n    // Shaders Loader\n    loadShaders(shaders, callback) {\n      const that = this;\n      // Derived from ANDREA GIAMMARCHI function\n      // (C) WebReflection - Mit Style License\n      // greetings to ANDREA GIAMMARCHI ;)\n      function onreadystatechange() {\n        var xhr = this,\n          i = xhr.i;\n        if (xhr.readyState == 4) {\n          var shaderType = shaders[i].slice(8, 10),\n            // TODO get type without using shader name\n            shaderId = that.addShader(xhr.responseText, shaderType);\n          ! --length && typeof callback == \"function\" && callback({\n            'id': shaderId,\n            'type': shaderType,\n            'name': shaders[i]\n          });\n        }\n      }\n      for (var shaders = [].concat(shaders), asynchronous = !!callback, i = shaders.length, length = i, xhr; i--;) {\n        (xhr = new XMLHttpRequest()).i = i;\n        xhr.open(\"get\", shaders[i], asynchronous);\n        if (asynchronous) {\n          xhr.onreadystatechange = onreadystatechange;\n        }\n        xhr.send(null);\n        onreadystatechange.call(xhr);\n      }\n      return shaders;\n    }\n\n    // set a new Shader\n    // @param source a Shader source\n    // @param type 'vs' for Vertex Shader and 'fs' for Fragment Shader\n    // Return id of the shader\n    addShader(source, type) {\n      // Compil\n      var id = 0,\n        shaderType = type == \"fs\" ? this._gl.FRAGMENT_SHADER : this._gl.VERTEX_SHADER,\n        shader = this._gl.createShader(shaderType);\n      this._gl.shaderSource(shader, source);\n      this._gl.compileShader(shader);\n      if (!this._gl.getShaderParameter(shader, this._gl.COMPILE_STATUS)) throw this._gl.getShaderInfoLog(shader);\n      // Store\n      this._pool.shaders.push(shader);\n      return this._pool.shaders.length - 1;\n    }\n\n    // set a new Vertex Shader\n    // @param source a Shader source\n    // Return id of the shader\n    addVShader(source) {\n      return this.addShader(shader, 'vs');\n    }\n\n    // set a new Fragment Shader\n    // @param source a Shader source\n    // Return id of the shader\n    addFShader(source) {\n      return this.addShader(shader, 'fs');\n    }\n\n    // get a registred Shader\n    // Return a compiled shader\n    getShader(id) {\n      return id > -1 && id < this._pool.shaders.length ? this._pool.shaders[id] : null;\n    }\n\n    // link and activate a shader program\n    setShaderProgram(vsid, fsid) {\n      var vs = this.getShader(vsid),\n        fs = this.getShader(fsid);\n      this._gl.shader = {\n        program: this._gl.createProgram(),\n        uniforms: {},\n        attribs: {}\n      };\n      this._gl.attachShader(this._gl.shader.program, vs);\n      this._gl.attachShader(this._gl.shader.program, fs);\n\n      // Link shader program\n      this._gl.linkProgram(this._gl.shader.program);\n      if (!this._gl.getProgramParameter(this._gl.shader.program, this._gl.LINK_STATUS)) {\n        alert(\"Could not initialise shaders\");\n      }\n\n      // Activate program\n      this._gl.useProgram(_gl.shader.program);\n\n      // Bind common parameters\n      this.bindUniformParameter('uTime');\n      this.bindUniformParameter('uMouse');\n      this.bindUniformParameter('uResolution');\n      this.bindUniformParameter('uBackbuffer');\n      this.bindUniformParameter('uSurfaceSize');\n\n      // Enable Attribute\n      this.bindAttribParameter('aVertexPosition', 0);\n      this._gl.enableVertexAttribArray(this._gl.shader.attribs['aVertexPosition']);\n    }\n\n    // Bind uniform shader variable\n    bindUniformParameter(label) {\n      if (this._gl.shader.uniforms === undefined) {\n        this._gl.shader.uniforms = {};\n      }\n      if (this._gl.shader.uniforms[label] === undefined) {\n        this._gl.shader.uniforms[label] = this._gl.getUniformLocation(this._gl.shader.program, label);\n      }\n    }\n\n    // Bind attribute shader variable\n    bindAttribParameter(label, index) {\n      if (this._gl.shader.attribs === undefined) {\n        this._gl.shader.attribs = {};\n      }\n      if (this._gl.shader.attribs[label] === undefined) {\n        this._gl.bindAttribLocation(this._gl.shader.program, index, label);\n        this._gl.shader.attribs[label] = this._gl.getAttribLocation(_gl.shader.program, label);\n      }\n    }\n\n    // Set an uniform integer parameter binded into shader\n    setUniformInteger(name, v1, v2, v3, v4) {\n      if (this._gl.shader.uniforms[name] === undefined) {\n        this.bindUniformParameter(name);\n      }\n      if (v4 !== undefined) {\n        this._gl.uniform4i(this._gl.shader.uniforms[name], v1, v2, v3, v4);\n      } else if (v3 !== undefined) {\n        this._gl.uniform3i(this._gl.shader.uniforms[name], v1, v2, v3);\n      } else if (v2 !== undefined) {\n        this._gl.uniform2i(this._gl.shader.uniforms[name], v1, v2);\n      } else if (v1 !== undefined) {\n        this._gl.uniform1i(this._gl.shader.uniforms[name], v1);\n      }\n    }\n\n    // Set an uniform float parameter binded into shader\n    setUniformFloat(name, v1, v2, v3, v4) {\n      if (this._gl.shader.uniforms[name] === undefined) {\n        this.bindUniformParameter(name);\n      }\n      if (v4 !== undefined) {\n        this._gl.uniform4f(this._gl.shader.uniforms[name], v1, v2, v3, v4);\n      } else if (v3 !== undefined) {\n        this._gl.uniform3f(this._gl.shader.uniforms[name], v1, v2, v3);\n      } else if (v2 !== undefined) {\n        this._gl.uniform2f(this._gl.shader.uniforms[name], v1, v2);\n      } else if (v1 !== undefined) {\n        this._gl.uniform1f(this._gl.shader.uniforms[name], v1);\n      }\n    }\n\n    // Set an uniform float matrix binded into shader\n    setUniformMatrix(name, transpose, matrix) {\n      if (this._gl.shader.uniforms[name] === undefined) {\n        this.bindUniformParameter(name);\n      }\n      if (matrix.length == 16) {\n        this._gl.uniformMatrix4fv(this._gl.shader.uniforms[name], transpose, matrix);\n      } else if (matrix.length == 9) {\n        this._gl.uniformMatrix3fv(this._gl.shader.uniforms[name], transpose, matrix);\n      } else if (matrix.length == 4) {\n        this._gl.uniformMatrix2fv(this._gl.shader.uniforms[name], transpose, matrix);\n      }\n    }\n\n    // -----------------------------------------------------\n    // set a colours palette\n    // use a 1D texture\n    // @param palette The colours palette to push into the shaders\n    setPalette(palette) {\n      this._gl.palette = this._gl.createTexture();\n      this._gl.bindTexture(this._gl.TEXTURE_2D, this._gl.palette);\n      this._gl.shader.program.paletteSamplerUniform = this._gl.getUniformLocation(this._gl.shader.program, \"uPaletteSampler\");\n      this._gl.texImage2D(this._gl.TEXTURE_2D, 0, _gl.RGBA, palette.length / 4, 1, 0, this._gl.RGBA, this._gl.UNSIGNED_BYTE, palette);\n      this._gl.texParameteri(this._gl.TEXTURE_2D, _gl.TEXTURE_MAG_FILTER, this._gl.NEAREST);\n      this._gl.texParameteri(this._gl.TEXTURE_2D, _gl.TEXTURE_MIN_FILTER, this._gl.NEAREST);\n      this._gl.texParameteri(this._gl.TEXTURE_2D, this._gl.TEXTURE_WRAP_S, this._gl.CLAMP_TO_EDGE);\n      this._gl.texParameteri(this._gl.TEXTURE_2D, this._gl.TEXTURE_WRAP_T, this._gl.CLAMP_TO_EDGE);\n      this._gl.generateMipmap(this._gl.TEXTURE_2D);\n      this._gl.bindTexture(this._gl.TEXTURE_2D, null);\n    }\n\n    // -----------------------------------------------------\n    // set a new Light\n    // @param position Vector with x, y, z position coordinate of the light \n    // @param intensity Float value of intensity of the light [0 to 1.0] \n    // @param color The color of the light in RGB\n    // Return id of the light\n    addLight(position, intensity, color) {\n      var id = 0;\n      // TODO ...\n\n      return id;\n    }\n\n    // -----------------------------------------------------\n    // set a new Normal list\n    // @param normals The list of Normals vector \n    // Return id of the normals list\n    addNormal(normals) {\n      this._pool.normals.push(this._gl.createBuffer());\n      this._gl.bindBuffer(this._gl.ARRAY_BUFFER, this._pool.lastOf(this._pool.normals));\n      this._gl.bufferData(this._gl.ARRAY_BUFFER, new Float32Array(normals), this._gl.STATIC_DRAW);\n      return this._pool.normals.length - 1;\n    }\n\n    // set a new UV Coordinate list\n    // @param uv The list of uv textures coordinate \n    // Return id of the uv list\n    addUV(uv) {\n      _pool.uv.push(this._gl.createBuffer());\n      this._gl.bindBuffer(this._gl.ARRAY_BUFFER, this._pool.lastOf(this._pool.uv));\n      this._gl.bufferData(this._gl.ARRAY_BUFFER, new Float32Array(uv), this._gl.STATIC_DRAW);\n      return this._pool.uv.length - 1;\n    }\n\n    // -----------------------------------------------------\n    // set a new Mesh\n    // @param vertices The list of Vertex coordinate (Float32Array)\n    // @param indexes (optional) The list of Indexes (Float32Array)\n    // Return id of the mesh\n    addMesh(vertices, indexes) {\n      this._pool.vbo.push(this._gl.createBuffer());\n      this._gl.bindBuffer(this._gl.ARRAY_BUFFER, this._pool.lastOf(_pool.vbo));\n      this._gl.bufferData(this._gl.ARRAY_BUFFER, new Float32Array(vertices), this._gl.STATIC_DRAW);\n      if (indexes instanceof Array) {\n        this._pool.ibo.push(this._gl.createBuffer());\n        this._gl.bindBuffer(this._gl.ARRAY_BUFFER, this._pool.lastOf(_pool.ibo));\n        this._gl.bufferData(this._gl.ARRAY_BUFFER, new Float32Array(indexes), this._gl.STATIC_DRAW);\n      }\n      return this._pool.vbo.length - 1;\n    }\n\n    // -----------------------------------------------------\n    // set the projection matrix \n    setProjectionMatrix(matrix) {\n      this._gl.matrix.projection = matrix;\n    }\n\n    // set the view matrix \n    setViewMatrix(matrix) {\n      this._gl.matrix.view = matrix;\n    }\n\n    // reset matrix view\n    loadIdentity() {\n      this.setViewMatrix(mat4.identity());\n    }\n\n    // push projection and view matrix to the graphic card\n    setMatrixUniforms() {\n      var normalMatrix = mat3.create();\n      this.bindUniformParameter('uMatrixProjection');\n      this.bindUniformParameter('uMatrixView');\n      this.bindUniformParameter('uMatrixNormal');\n      mat4.toInverseMat3(this._gl.matrix.view, normalMatrix);\n      mat3.transpose(normalMatrix);\n      this._gl.uniformMatrix4fv(this._gl.shader.uniforms['uMatrixProjection'], false, this._gl.matrix.projection);\n      this._gl.uniformMatrix4fv(this._gl.shader.uniforms['uMatrixView'], false, this._gl.matrix.view);\n      this._gl.uniformMatrix3fv(this._gl.shader.uniforms['uMatrixNormal'], false, normalMatrix);\n    }\n    translateView(vec3) {\n      mat4.translate(this._gl.matrix.view, vec3);\n    }\n    draw() {\n      this._frame++;\n      this.timeTicks();\n      //this._gl.clearColor(0.0, 0.0, 0.0, 1.0);\n      //this._gl.clear( this._gl.COLOR_BUFFER_BIT | this._gl.DEPTH_BUFFER_BIT );\n\n      // Camera\n      var w = 1,\n        h = 1,\n        nbMesh = this._pool.vbo.length,\n        nbPoints = 0;\n      this.setProjectionMatrix(mat4.ortho(-w, w, -h, h, 0.1, 100.0));\n      //this.setProjectionMatrix(mat4.perspective (45, (_width * 1.)/_height, 0.1, 100.0));\n\n      this.loadIdentity();\n      this.translateView([-0.0, 0.0, -6.0]);\n\n      // Global parameters\n      this._gl.uniform1f(this._gl.shader.uniforms['uTime'], this._frame / 10.);\n      //this._gl.uniform2f( this._gl.shader.uniforms['uMouse'], parameters.mouseX, parameters.mouseY );\n      this._gl.uniform2f(this._gl.shader.uniforms['uResolution'], this._width, this._height);\n      //this._gl.uniform1i( this._gl.shader.uniforms['uBackbuffer'], 0 );\n      //this._gl.uniform2f( this._gl.shader.uniforms['uSurfaceSize'], surface.width, surface.height );\n\n      // Binding\n      if (this._gl.palette !== undefined) {\n        this._gl.bindTexture(this._gl.TEXTURE_2D, this._gl.palette);\n      }\n      for (var i = 0; i < nbMesh; i++) {\n        // Set Vertex buffer to render\n        this._gl.bindBuffer(this._gl.ARRAY_BUFFER, _pool.vbo[i]);\n        this._gl.vertexAttribPointer(this._gl.shader.attribs['aVertexPosition'], 3, this._gl.FLOAT, false, 0, 0);\n\n        // Push Vertex Index buffer\n        if (_pool.ibo[i] != undefined) {\n          this._gl.bufferData(this._gl.ELEMENT_ARRAY_BUFFER, new Uint16Array(_pool.ibo[i]), this._gl.STATIC_DRAW);\n        }\n\n        // Push Vertex Color Buffer\n        if (_pool.cbo[i] != undefined) {\n          this._gl.bufferData(this._gl.ELEMENT_ARRAY_BUFFER, new Float32Array(_pool.cbo[i]), this._gl.STATIC_DRAW);\n        }\n        this.setMatrixUniforms();\n        nbPoints = this._gl.getBufferParameter(this._gl.ARRAY_BUFFER, this._gl.BUFFER_SIZE) / 12; // dimensions * sizeof(float) => 3 * 4 = 12\n        this._gl.drawArrays(this._gl.TRIANGLE_STRIP, 0, nbPoints);\n      }\n    }\n\n    ////////////////////////////////////////////////////////////////////\n    // Basic Mesh and Volume\n    // -----------------------------------------------------\n    // return a simple flat quad mesh\n    getQuad() {\n      return new Float32Array([1., 1., 0.,\n      // 2------1\n      -1., 1., 0.,\n      // |      |\n      1., -1., 0.,\n      // |      |\n      -1., -1., 0.]); // 4------3\n    }\n  }\n  _exports.default = Canvas3DDrawer;\n});","define(\"fractals-lib/models/workers/color-drawer\", [\"exports\", \"fractals-lib/models/workers/canvas2DDrawer\"], function (_exports, _canvas2DDrawer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  ////////////////////////////////////////////////////////////////////////////////\n  // =============================================================================\n  ////////////////////////////////////////////////////////////////////////////////\n  // \n  // Calc and draw Julia Fractal\n  //\n  class ColorDrawer {\n    constructor(id) {\n      this._drawer = id ? new _canvas2DDrawer.default(id) : null;\n      this._buffer = this._drawer.getBackBuffer();\n      this._width = this._drawer.getWidth();\n      this._height = this._drawer.getHeight();\n      this.start = function () {\n        var x, y;\n        var r, g, b, a;\n        r = 255;\n        g = 255;\n        b = 255;\n        a = 255;\n        for (y = 0; y < _height; y++) {\n          for (x = 0; x < _width; x++) {\n            _buffer[y * _width + x] = this._drawer.pixel(r * (y / _height), g * (x / _width), b, a);\n            r << 24 | g << 16 | b << 8 | a;\n          }\n        }\n        draw();\n      };\n    }\n    draw() {\n      if (_buffer != null) {\n        this._drawer.setBackBuffer(_buffer);\n      }\n    }\n  }\n  _exports.default = ColorDrawer;\n});","define(\"fractals-lib/models/workers/color\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  //////////////////////////////////////////////////////////////////\n  // Color Helper Object\n  class Color {\n    constructor(r, g, b, a, p) {\n      if (r instanceof Color) {\n        // recopie\n        this.r = r.r;\n        this.g = r.g;\n        this.b = r.b;\n        this.a = r.a;\n        this.p = r.p;\n      } else {\n        // set composante\n        this.r = r == undefined || r > 255 ? 255 : r;\n        this.g = g == undefined || g > 255 ? 255 : g;\n        this.b = b == undefined || b > 255 ? 255 : b;\n        this.a = a == undefined || a > 255 ? 255 : a;\n        this.p = p == undefined || p > 100 ? 100 : p;\n      }\n    }\n    add(c) {\n      // Add\n      this.r += c.r;\n      this.g += c.g;\n      this.b += c.b;\n      this.a += c.a;\n      this.p += c.p;\n      // Clamp\n      if (this.r < 0) this.r = 0;else if (this.r > 255) this.r = 255;\n      if (this.g < 0) this.g = 0;else if (this.g > 255) this.g = 255;\n      if (this.b < 0) this.b = 0;else if (this.b > 255) this.b = 255;\n      if (this.a < 0) this.a = 0;else if (this.a > 255) this.a = 255;\n      if (this.p < 0) this.p = 0;else if (this.p > 100) this.p = 100;\n    }\n    copy(c) {\n      this.r = c.r;\n      this.g = c.g;\n      this.b = c.b;\n      this.a = c.a;\n      this.p = c.p;\n    }\n  }\n  _exports.default = Color;\n});","define(\"fractals-lib/models/workers/colorDemo\", [], function () {\n  \"use strict\";\n\n  (function (window, undefined) {\n    ////////////////////////////////////////////////////////////////////////////////\n    // =============================================================================\n    ////////////////////////////////////////////////////////////////////////////////\n    // \n    // Set Color Palette Demo\n    //\n    window.onload = function () {\n      var demo = new ColorDrawer(\"c01\");\n      demo.start();\n    };\n  })(window);\n});","define(\"fractals-lib/models/workers/complex\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Complex {\n    constructor(a, b) {\n      this.a = a != undefined ? a : 0;\n      this.b = b != undefined ? b : 0;\n    }\n    isEquals(c) {\n      return c.a == this.a && c.b == this.b;\n    }\n    copy(c) {\n      this.a = c.a;\n      this.b = c.b;\n    }\n  }\n  _exports.default = Complex;\n});","define(\"fractals-lib/models/workers/julia\", [], function () {\n  \"use strict\";\n\n  ////////////////////////////////////////////////////////////////////////////////\n  // =============================================================================\n  ////////////////////////////////////////////////////////////////////////////////\n\n  (function (window, undefined) {\n    // multiplateform requestAnimationFrame\n    window.requestAnimFrame = function () {\n      return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (callback) {\n        window.setTimeout(callback, 1000 / 60);\n      };\n    }();\n\n    ////////////////////////////////////////////////////////////////////////////////\n    // =============================================================================\n    ////////////////////////////////////////////////////////////////////////////////\n    // \n    // Calc and draw Julia Fractal\n    //\n    var JuliaDrawer = function (id) {\n      if (!id) {\n        throw \"L'Id d'une zone de dessin est obligatoire pour creer une instance de cet objet.\";\n      }\n      var _me = this,\n        _drawer = new Canvas2DDrawer(id),\n        _buffer = _drawer.getBackBuffer(),\n        _width = _drawer.getWidth(),\n        _height = _drawer.getHeight(),\n        _maxIter = 200,\n        _minIter = 50,\n        _iteration = _maxIter,\n        _palette = new Palette(),\n        _c = new Complex(-0.85, 0.2),\n        _previousConstant = new Complex(1, 1);\n      this.getConstant = function () {\n        return _c;\n      };\n      this.setConstant = function (a, b) {\n        _c.a = a;\n        _c.b = b;\n      };\n      var convertCoordinateToComplex = function (c, i, j) {\n        // (a + ib)\n        c.a = i / _width * 3.6 - 1.8;\n        c.b = j / _height * 3.6 - 1.8;\n      };\n\n      // Set palette colours\n      this.createPalette = function (size, c1, c2, c3) {\n        var i = 1,\n          colours = [],\n          len = arguments.length;\n        for (; i < len; ++i) {\n          colours.push(arguments[i]);\n        }\n        _palette.create(size, colours);\n      };\n\n      //////////////////////////////////////////////////////////////////\n      // Slowly change constant number of the Julia fractal set\n      var _degA = 0,\n        _degB = 0,\n        _animateFlag = false;\n      this.animate = function () {\n        _degA += 1 / 100;\n        _degB += 1 / 1000;\n        _me.setConstant(Math.cos(_degA), Math.sin(_degB));\n      };\n      this.setAnimate = function (flag) {\n        _degA = Math.acos(_c.a);\n        _degB = Math.asin(_c.b);\n        _animateFlag = flag;\n        _iteration = _animateFlag ? _minIter : _maxIter;\n      };\n\n      //////////////////////////////////////////////////////////////////\n      // Compute and return color at point\n      // u : coordinate in complex form\n      // c : Julia constante in complex form\n      var calc = function (u, c) {\n        var a = u.a,\n          b = u.b,\n          r = 0,\n          iter = 0;\n\n        // iterate \n        while (r < 4 && iter < _iteration) {\n          iter++;\n          u.a = a;\n          u.b = b;\n          // u^2\n          a = u.a * u.a - u.b * u.b + c.a;\n          b = u.a * u.b * 2 - c.b;\n          r = a * a + b * b;\n        }\n        r = r > 4 ? iter * 4 + r : 0; // add r to keep a little nicely gradient\n        // clamp\n        r = r < 256 ? r > 0 ? r : 0 : 255;\n        // return integer value;\n        return 0.5 + r | 0;\n      };\n\n      // Init and launch first rendering\n      this.start = function () {\n        var c0 = new Palette.Color(0, 0, 0, 255, 0),\n          c1 = new Palette.Color(0, 0, 255, 255, 20),\n          c2 = new Palette.Color(0, 255, 255, 255, 40),\n          c3 = new Palette.Color(255, 255, 0, 255, 60),\n          c4 = new Palette.Color(255, 0, 0, 255, 80),\n          c5 = new Palette.Color(0, 0, 0, 255, 100);\n        _me.createPalette(256, c0, c1, c2, c3, c4, c5);\n        _me.draw();\n      };\n\n      // Rendering fractal\n      this.draw = function (a, b) {\n        requestAnimFrame(function () {\n          _me.draw();\n        });\n        if (_animateFlag) {\n          _me.animate();\n        }\n        if (a != undefined && b != undefined) {\n          _c = new Complex(a, b);\n        }\n\n        // Redraw only if constant changed\n        if (!_previousConstant.isEquals(_c)) {\n          _previousConstant.copy(_c);\n          var x,\n            y,\n            u = new Complex(),\n            color;\n\n          // Loop for each pixel\n          for (y = 0; y < _height; y++) {\n            for (x = 0; x < _width; x++) {\n              // Convert point coordinate in complex number\n              convertCoordinateToComplex(u, x, y);\n              // get color index from Julia mathematical set\n              level = calc(u, _c);\n              // get rgba color from palette\n              color = _palette.getColor(level);\n              // set pixel in backbuffer\n              _buffer[y * _width + x] = _drawer.pixel(color.r, color.g, color.b, color.a);\n            }\n          }\n          if (_buffer != null) {\n            // send pixel buffer to screen\n            _drawer.setBackBuffer(_buffer);\n          }\n\n          // Call user functions\n          _me.notify(_c);\n        }\n      };\n\n      //////////////////////////////////////////////////////////////////\n      // Subscribe to be called when constant value change\n      var _subscriberList = [];\n      this.subscribe = function (callback) {\n        _subscriberList.push(callback);\n      };\n\n      // Call subscriber when constant value change\n      this.notify = function (c) {\n        var id = _subscriberList.length;\n        while (id) {\n          id -= 1;\n          _subscriberList[id](c.a, c.b);\n        }\n      };\n    };\n\n    // Expose JuliaDrawer to the global object\n    window.JuliaDrawer = JuliaDrawer;\n  })(window);\n});","define(\"fractals-lib/models/workers/juliaDemo\", [], function () {\n  \"use strict\";\n\n  (function (window, undefined) {\n    \"use strict\";\n\n    ////////////////////////////////////////////////////////////////////////////////\n    // =============================================================================\n    ////////////////////////////////////////////////////////////////////////////////\n    // \n    // Set Julia Fractal Demo\n    //\n    window.getDemoContext = function () {\n      var demoCtx,\n        canvaName = \"c01\";\n      if (window.JuliaWrkDrawer) {\n        // 2D Canvas with WebWorker Context\n        demoCtx = new JuliaWrkDrawer(canvaName);\n      } else if (window.JuliaDrawer) {\n        // 2D Canvas Context\n        demoCtx = new JuliaDrawer(canvaName);\n      } else if (window.JuliaGLDrawer) {\n        // 3D WebGL Context\n        demoCtx = new JuliaGLDrawer(canvaName);\n      } else {\n        throw \"Missing includes to initialize demo.\";\n      }\n      return demoCtx;\n    };\n    window.onload = function () {\n      var _demo = this.getDemoContext(),\n        _btAnimation = document.getElementById('btAnimation');\n      _btAnimation.onclick = function () {\n        if (this.className == 'btonoff on') {\n          this.className = 'btonoff off';\n          this.innerHTML = 'OFF';\n          _demo.setAnimate(false);\n        } else {\n          this.className = 'btonoff on';\n          this.innerHTML = 'ON';\n          _demo.setAnimate(true);\n        }\n      };\n      _btAnimation.onclick();\n      var _constAValue = document.getElementById('constAValue'),\n        _constBValue = document.getElementById('constBValue'),\n        _constA = document.getElementById('constA'),\n        _constB = document.getElementById('constB'),\n        _chrono = document.getElementById('chrono'),\n        _chronoPass = 0,\n        _deltaTime = 0,\n        _drawTicks = 0;\n      _demo.subscribe(function (a, b) {\n        _constAValue.innerHTML = a.toFixed(3);\n        _constBValue.innerHTML = b.toFixed(3);\n        _constA.value = a * 1000;\n        _constB.value = b * 1000;\n      });\n      _demo.subscribe(function () {\n        if (_chronoPass++ > 10) {\n          var d = new Date(),\n            milli = d.valueOf();\n          _deltaTime = (milli - _drawTicks) / _chronoPass;\n          _chrono.innerHTML = `${Math.round(1000 / _deltaTime, 2)} fps`;\n          _drawTicks = milli;\n          _chronoPass = 0;\n        }\n      });\n      _constA.onchange = _constB.onchange = function () {\n        _demo.setConstant(_constA.value / 1000, _constB.value / 1000);\n      };\n      _demo.start();\n    };\n  })(window);\n});","define(\"fractals-lib/models/workers/juliaGL\", [\"exports\", \"fractals-lib/models/workers/canvas3DDrawer\", \"fractals-lib/models/workers/palette\", \"fractals-lib/models/workers/color\", \"fractals-lib/models/workers/complex\"], function (_exports, _canvas3DDrawer, _palette, _color, _complex) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); } ////////////////////////////////////////////////////////////////////////////////\n  // =============================================================================\n  ////////////////////////////////////////////////////////////////////////////////\n  ////////////////////////////////////////////////////////////////////////////////\n  // =============================================================================\n  ////////////////////////////////////////////////////////////////////////////////\n  // \n  // Calc and draw Julia Fractal\n  //\n  class JuliaGLDrawer {\n    constructor(id) {\n      _defineProperty(this, \"setAnimate\", function (flag) {\n        this._degA = Math.acos(this._c.a);\n        this._degB = Math.asin(this._c.b);\n        this._animateFlag = flag;\n      });\n      this._me = this;\n      this._drawer = new _canvas3DDrawer.default(id);\n      this._width = this._drawer.getWidth();\n      this._height = this._drawer.getHeight();\n      this._iteration = 200;\n      this._palette = new _palette.default();\n      this._c = new _complex.default(-0.85, 0.2);\n      this._previousConstant = new _complex.default(1, 1);\n      //////////////////////////////////////////////////////////////////\n      // Slowly change constant number of the Julia fractal set\n      this._degA = 0;\n      this._degB = 0;\n      this._animateFlag = false;\n      this._subscriberList = [];\n    }\n    getConstant() {\n      return this._c;\n    }\n    setConstant(a, b) {\n      this._c.a = a;\n      this._c.b = b;\n    }\n\n    // Set palette colours\n    createPalette(size, c1, c2, c3) {\n      var i = 1,\n        colours = [],\n        len = arguments.length;\n      for (; i < len; ++i) {\n        colours.push(arguments[i]);\n      }\n      this._palette.create(size, colours);\n    }\n\n    // SetGL Parameters\n    initGL() {\n      var vs = \"assets/shaders/vs/basic.essl\",\n        fs = \"assets/shaders/fs/julia.essl\";\n      this._drawer.loadShaders([vs, fs]);\n      this._drawer.setShaderProgram(0, 1);\n      this._drawer.addMesh(this._drawer.getQuad());\n      this._drawer.setPalette(this._palette.toUint8Array());\n    }\n    animate() {\n      this._degA += 1 / 100;\n      this._degB += 1 / 1000;\n      this.setConstant(Math.cos(this._degA), Math.sin(this._degB));\n    }\n    // Init and launch first rendering\n    start() {\n      console.debug(\"start\");\n      var c0 = new _color.default(0, 0, 0, 255, 0),\n        c1 = new _color.default(0, 0, 255, 255, 20),\n        c2 = new _color.default(0, 255, 255, 255, 40),\n        c3 = new _color.default(255, 255, 0, 255, 60),\n        c4 = new _color.default(255, 0, 0, 255, 80),\n        c5 = new _color.default(0, 0, 0, 255, 100);\n      this.createPalette(1024, c0, c1, c2, c3, c4, c5);\n      this.initGL();\n      this.draw();\n    }\n    // Rendering fractal\n    draw(a, b) {\n      console.debug(\"draw\");\n      if (_animateFlag) {\n        this.animate();\n      }\n      if (a != undefined && b != undefined) {\n        this._c = new _complex.default(a, b);\n      }\n\n      // Redraw only if constant changed\n      if (!this._previousConstant.isEquals(this._c)) {\n        this._previousConstant.copy(this._c);\n        this._drawer.setUniformFloat('uConst', this._c.a, this._c.b);\n        this._drawer.setUniformInteger('uMaxIter', this._iteration);\n        this._drawer.draw();\n\n        // Call user functions\n        this.notify(this._c);\n      }\n      requestAnimFrame(function () {\n        this.draw();\n      });\n    }\n    // Call subscriber when constant value change\n    notify(c) {\n      var id = this._subscriberList.length;\n      while (id) {\n        id -= 1;\n        this._subscriberList[id](c.a, c.b);\n      }\n    }\n    //////////////////////////////////////////////////////////////////\n    // Subscribe to be called when constant value change\n\n    subscribe(callback) {\n      this._subscriberList.push(callback);\n    }\n  }\n  _exports.default = JuliaGLDrawer;\n});","define(\"fractals-lib/models/workers/juliaWrkDrawer\", [\"exports\", \"fractals-lib/models/workers/palette\", \"fractals-lib/models/workers/canvas2DDrawer\", \"fractals-lib/models/workers/complex\", \"fractals-lib/models/workers/color\"], function (_exports, _palette, _canvas2DDrawer, _complex, _color) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class JuliaWrkDrawer {\n    constructor(id) {\n      this.id = id;\n      if (!id) {\n        throw \"L'Id d'une zone de dessin est obligatoire pour creer une instance de cet objet.\";\n      }\n      this._me = this;\n      this._recalc = true;\n      this._drawer = new _canvas2DDrawer.default(id);\n      this._buffer = this._drawer.getBackBuffer();\n      this._width = this._drawer.getWidth();\n      this._height = this._drawer.getHeight();\n      this._maxIter = 200;\n      this._minIter = 50;\n      this._iteration = this._maxIter;\n      this._palette = new _palette.default();\n      this._nbWorkers = 4;\n      this._jobs = [];\n      this._jobsInProgress = 0;\n      this._c = new _complex.default(-0.85, 0.2);\n\n      //////////////////////////////////////////////////////////////////\n      // Slowly change constant number of the Julia fractal set\n      this._degA = 0, this._degB = 0, this._animateFlag = false;\n\n      //////////////////////////////////////////////////////////////////\n      // Subscribe to be called when constant value change\n      this._subscriberList = [];\n    }\n    getConstant() {\n      return this._c;\n    }\n    setConstant(a, b) {\n      this._c.a = a;\n      this._c.b = b;\n      this._recalc = true;\n      this.process();\n    }\n    // Set palette colours\n    createPalette(size, c1, c2, c3) {\n      var i = 1,\n        colours = [],\n        len = arguments.length;\n      for (; i < len; ++i) {\n        colours.push(arguments[i]);\n      }\n      this._palette.create(size, colours);\n    }\n    animate() {\n      if (this._animateFlag) {\n        this._degA += 1 / 100;\n        this._degB += 1 / 1000;\n        this.setConstant(Math.cos(this._degA), Math.sin(this._degB));\n      } else {\n        setTimeout(function () {\n          this.animate();\n        }, 100);\n      }\n    }\n    setAnimate(flag) {\n      this._degA = Math.acos(this._c.a);\n      this._degB = Math.asin(this._c.b);\n      this._animateFlag = flag;\n      this._iteration = this._animateFlag ? this._minIter : this._maxIter;\n    }\n\n    // Init and launch first rendering\n    start() {\n      var i = 0,\n        c0 = new _color.default(0, 0, 0, 255, 0),\n        c1 = new _color.default(0, 0, 255, 255, 20),\n        c2 = new _color.default(0, 255, 255, 255, 40),\n        c3 = new _color.default(255, 255, 0, 255, 60),\n        c4 = new _color.default(255, 0, 0, 255, 80),\n        c5 = new _color.default(0, 0, 0, 255, 100);\n      this.createPalette(256, c0, c1, c2, c3, c4, c5);\n      const that = this;\n      // Prepare workers\n      for (i = 0; i < this._nbWorkers; i++) {\n        this._jobs[i] = {\n          'worker': new Worker('assets/js/juliaWrk.js'),\n          'status': 0,\n          'params': null\n        };\n        this._jobs[i].worker.addEventListener('message', function (e) {\n          that.jobHandler(e);\n        }, false);\n      }\n\n      // Launch workers processing\n      this.process();\n    }\n    // Rendering fractal\n    draw() {\n      if (this._buffer != null) {\n        // send pixel buffer to screen\n        this._drawer.setBackBuffer(this._buffer);\n        this.animate();\n      }\n    }\n    invalidate() {\n      this.process();\n      const that = this;\n      requestAnimationFrame(function () {\n        that.draw();\n      });\n    }\n\n    // Workers Queue Manager\n    process(a, b) {\n      if (this._jobsInProgress < 1) {\n        this._buffer = this._drawer.getBackBuffer();\n        if (a != undefined && b != undefined) {\n          this._c = new _complex.default(a, b);\n        }\n\n        // Redraw only if constant changed\n        if (this._recalc && this._jobsInProgress < 1) {\n          this._recalc = false;\n          var x1,\n            y1,\n            x2,\n            y2,\n            zoneWidth = this._width / this._nbWorkers * 2,\n            zoneHeight = this._height / 2,\n            wid = 0;\n          x1 = 0;\n          y1 = 0;\n          x2 = 0;\n          y2 = zoneHeight;\n          // give a job for each workers\n          for (wid = 0; wid < this._nbWorkers; wid++) {\n            this._jobs[wid].worker.status = 0;\n\n            // Horizontal step\n            if (x2 < this._width) {\n              x1 = x2;\n              x2 += zoneWidth;\n            } else {\n              x1 = 0;\n              x2 = zoneWidth;\n\n              // Vertical step\n              if (y2 < this._height) {\n                y1 = y2;\n                y2 += zoneHeight;\n              } else {\n                y1 = 0;\n                y2 = zoneHeight;\n              }\n            }\n            this._jobs[wid].params = {\n              'wid': wid,\n              'x1': x1,\n              'y1': y1,\n              'x2': x2,\n              'y2': y2,\n              'c': {\n                'a': this._c.a,\n                'b': this._c.b\n              },\n              'iter': this._iteration,\n              'width': this._width,\n              'height': this._height\n            };\n            this._jobs[wid].worker.postMessage(this._jobs[wid].params);\n            this._jobsInProgress++;\n          }\n        }\n      }\n    }\n\n    // Callback launched on workers messages\n    jobHandler(e) {\n      var data = new Uint8ClampedArray(e.data);\n      if (data != undefined) {\n        var wid = data[0],\n          params = this._jobs[wid].params,\n          x,\n          y,\n          w = params.x2 - params.x1,\n          h = params.y2 - params.y1,\n          color;\n        this._jobs[wid].worker.status = 1;\n        this._jobsInProgress--;\n\n        // Loop for each pixel\n        for (y = 0; y < h; y++) {\n          for (x = 0; x < w; x++) {\n            // get rgba color from palette\n            color = this._palette.getColor(data[1 + y * w + x]);\n            // set pixel in backbuffer\n            this._buffer[(params.y1 + y) * params.width + (params.x1 + x)] = this._drawer.pixel(color.r, color.g, color.b, color.a);\n          }\n        }\n        if (this._jobsInProgress < 1) {\n          // Draw new buffer content\n          this.invalidate();\n\n          // Call user functions\n          this.notify(this._c);\n        }\n      }\n    }\n    subscribe(callback) {\n      this._subscriberList.push(callback);\n    }\n\n    // Call subscriber when constant value change\n    notify(c) {\n      var id = this._subscriberList.length;\n      while (id) {\n        id -= 1;\n        this._subscriberList[id](c.a, c.b);\n      }\n    }\n  }\n  _exports.default = JuliaWrkDrawer;\n});","define(\"fractals-lib/models/workers/palette\", [\"exports\", \"fractals-lib/models/workers/color\"], function (_exports, _color) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Palette {\n    constructor() {\n      this._palette = [];\n    }\n\n    // Set palette colours\n    create(size, colours) {\n      if (colours.length < 2) {\n        throw \"Merci d'indiquer au moins deux couleurs pour construire une palette.\";\n      }\n      var ip = 0,\n        ic = 0,\n        offsetColor = 0,\n        nbColor = size,\n        cStep = new _color.default(),\n        cCurrent = new _color.default(),\n        cPrevious = new _color.default(),\n        nbColorKey = colours.length;\n      for (; ic < nbColorKey; ic++) {\n        cCurrent = colours[ic];\n        if (!(cCurrent instanceof _color.default)) {\n          throw \"La liste de couleurs doit comporter uniquement des instance de la classe Color.\";\n        }\n        if (ic < 1) {\n          cPrevious.copy(cCurrent);\n          continue; // Skip the first loop\n        }\n\n        // Step between each color value\n        nbColor = offsetColor; // Recycle nbColor var temporarly\n        offsetColor = parseInt(size / 100 * cCurrent.p);\n        nbColor = offsetColor - nbColor; // set number of step\n        cStep = new _color.default((cCurrent.r - cPrevious.r) / nbColor, (cCurrent.g - cPrevious.g) / nbColor, (cCurrent.b - cPrevious.b) / nbColor, (cCurrent.a - cPrevious.a) / nbColor);\n\n        // Add new interpolated color\n        for (; ip < offsetColor; ip++) {\n          cPrevious.add(cStep);\n          this._palette.push(new _color.default(cPrevious));\n        }\n        cPrevious.copy(cCurrent);\n      }\n    }\n    getColor(index) {\n      if (index >= this._palette.length) {\n        index = this._palette.length - 1;\n      } else if (index < 0) {\n        index = 0;\n      }\n      return this._palette[index];\n    }\n    toUint8Array() {\n      var nbColor = this._palette.length,\n        i = 0,\n        color = null,\n        offset = 0,\n        buffer = new ArrayBuffer(nbColor * 4),\n        buf8 = new Uint8Array(buffer);\n      for (; i < nbColor; i++) {\n        color = this._palette[i];\n        buf8[offset++] = color.r;\n        buf8[offset++] = color.g;\n        buf8[offset++] = color.b;\n        buf8[offset++] = color.a;\n      }\n      return buf8;\n    }\n  }\n  _exports.default = Palette;\n});","define(\"games/routes\", [\"exports\", \"ember-engines/routes\"], function (_exports, _routes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-engines/routes\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _routes.default)(function () {\n    this.route('balls-1');\n    this.route('platform-1');\n    this.route('radar');\n    this.route('black-synthe');\n  });\n});","define(\"generative/routes\", [\"exports\", \"ember-engines/routes\"], function (_exports, _routes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-engines/routes\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _routes.default)(function () {\n    this.route('full-index');\n    this.route('index-dev');\n    this.route('barnsley-fern');\n    this.route('canopy');\n    this.route('canopy-2');\n    this.route('canopy-3');\n    this.route('cesaro');\n    this.route('cellular-automata');\n    this.route('cellular-automata-2');\n    this.route('cellular-automata-3');\n    this.route('cellular-automata-4');\n    this.route('cellular-automata-5');\n    this.route('mandelbrot-gl');\n    this.route('curlicue', function () {\n      this.route('list', {\n        path: '/p/:p'\n      });\n      this.route('view-form', {\n        path: '/i/:id'\n      });\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('gumowski-mira', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('dla');\n    this.route('dla-vertical');\n    this.route('dla-divergent');\n    this.route('dla-convergent');\n    this.route('dla-tree');\n    this.route('ganeshabrot', function () {\n      this.route('view', {\n        path: '/:level1/:level2/:level3'\n      });\n      this.route('index', {\n        path: '/:level1/:level2'\n      });\n    });\n    this.route('gingerbread');\n    this.route('gumowski-mira-attractor');\n    this.route('hexaflake');\n    this.route('h-tree');\n    this.route('ifs', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('ifs3d', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('ifs3d2', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('ikeda-map');\n    this.route('julia-star', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('julia-star-2', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('mandelbulb');\n    this.route('julia-set-2');\n    this.route('julia-set-3');\n    this.route('kissing-circles');\n    this.route('koch-snowflake');\n    this.route('koch-snowflake-paving');\n    this.route('l-system', function () {\n      this.route('list', {\n        path: '/p/:p'\n      });\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n\n    //this.route('functions');\n    this.route('view', function () {\n      this.route('component', {\n        path: '/:type/:level1/:level2/:level3'\n      });\n    });\n\n    //this.route('functions');\n    this.route('mandelbrot3d', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('mandelbrot', function () {\n      this.route('1');\n      this.route('2');\n      this.route('multi', {\n        path: '/:level1/:level2/:level3/1'\n      });\n      this.route('view', {\n        path: '/:level1/:level2/:level3'\n      });\n      this.route('view-first', {\n        path: '/:level1/:level2'\n      });\n    });\n    this.route('julia-set', function () {\n      this.route('view', {\n        path: '/:level1/:level2/:level3'\n      });\n      this.route('view-first', {\n        path: '/:level1/:level2'\n      });\n    });\n    this.route('newton-fractal', function () {\n      this.route('view', {\n        path: '/:level1/:level2/:level3'\n      });\n      this.route('view-first', {\n        path: '/:level1/:level2'\n      });\n    });\n    this.route('newton-fractal-extra', function () {\n      this.route('view', {\n        path: '/:level1/:level2/:level3'\n      });\n      this.route('view-first', {\n        path: '/:level1/:level2'\n      });\n    });\n    this.route('nebula', function () {\n      this.route('view', {\n        path: '/:level1/:level2/:level3'\n      });\n      this.route('view-first', {\n        path: '/:level1/:level2'\n      });\n    });\n    this.route('newton-fractal-2', function () {\n      this.route('view', {\n        path: '/:level1/:level2/:level3'\n      });\n      this.route('view-first', {\n        path: '/:level1/:level2'\n      });\n    });\n    this.route('chaos-game', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('san-marco-dragon', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('fractal-flame', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('iff', function () {\n      this.route('view', {\n        path: '/:id'\n      });\n    });\n    this.route('mira-fractal');\n    this.route('newton-fractal');\n    this.route('pascal-modulo');\n    this.route('pentaflake');\n    this.route('pentaflake-2');\n    this.route('pythagore-tree');\n    this.route('pythagore-tree-2');\n    this.route('pythagore-tree-3');\n    this.route('tree-roots');\n    this.route('twin-dragon');\n    this.route('woggle');\n    this.route('woggle-3d');\n  });\n});","define(\"illusions/routes\", [\"exports\", \"ember-engines/routes\"], function (_exports, _routes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-engines/routes\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _routes.default)(function () {\n    this.route('black-dots');\n    this.route('gradient');\n    this.route('checkboard');\n    this.route('contrast-1');\n    this.route('contrast-2');\n    this.route('contrast-3');\n    this.route('contrast-4');\n    this.route('contrast-5');\n    this.route('contrast-6');\n    this.route('color-cube');\n    this.route('color-cube-3d');\n    this.route('crazy-circles');\n    this.route('cube-room');\n    this.route('diamond');\n    this.route('grey-dots');\n    this.route('kitaoka-spiral');\n    this.route('moire-lines');\n    this.route('moire-lines-2');\n    this.route('moire-lines-3');\n    this.route('moire-circles');\n    this.route('moire-circles-gallery');\n    this.route('moire-circles-2');\n    this.route('moire-curves');\n    this.route('moire-polygons-grid');\n    this.route('moire-polygons');\n    this.route('moire-curves-circle');\n    this.route('moire-curves-2');\n    this.route('moire-spiral');\n    this.route('moire-polygons', function () {\n      this.route('view', {\n        path: '/:base'\n      });\n    });\n    this.route('moire', function () {\n      this.route('view', {\n        path: '/:type'\n      });\n    });\n    this.route('moire-points');\n    this.route('moire-gallery');\n    this.route('moire-spiral-gallery');\n    this.route('moire-spiral-2');\n    this.route('perspective');\n    this.route('rosace');\n    this.route('shapes-1');\n    this.route('shapes-2');\n    this.route('shapes-3');\n    this.route('shapes-4');\n    this.route('shapes-5');\n    this.route('sphere-spiral');\n    this.route('stairs');\n    this.route('well');\n  });\n});","define(\"maths/routes\", [\"exports\", \"ember-engines/routes\"], function (_exports, _routes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-engines/routes\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _routes.default)(function () {\n    this.route('binary-system');\n    this.route('dice-roll');\n    this.route('gauss');\n    this.route('conway-circle');\n    this.route('fibonacci-number');\n    this.route('golden-angle');\n    this.route('golden-spiral');\n    this.route('golden-spiral-2');\n    this.route('hexadecimal-system');\n    this.route('kaprekar-constant');\n    this.route('johnson-theorem');\n    this.route('kaprekar-constant');\n    this.route('miquel-theorem');\n    this.route('multiplications');\n    this.route('multiplications-2');\n    this.route('pascal-triangle');\n    this.route('pascal-triangle-2');\n    this.route('pascal-triangle-3');\n    this.route('pascal-triangle-4');\n    this.route('pascal-triangle-5');\n    this.route('pascal-triangle-6');\n    this.route('pascal-triangle-7');\n    this.route('pascal-triangle-8');\n    this.route('pascal-triangle-9');\n    this.route('pascal-triangle-10');\n    this.route('pentagon');\n    this.route('pi', function () {\n      this.route('monte-carlo');\n      this.route('monte-carlo-cube');\n      this.route('polygon');\n      this.route('prime-numbers');\n      this.route('inverse-squares');\n      this.route('inverse-odd');\n      this.route('stirling-approximation');\n      this.route('gauss-legendre');\n    });\n    this.route('random');\n    this.route('random-2');\n    this.route('square-root-2');\n    this.route('steiner-invariant');\n    this.route('triangle-middle-theorem');\n    this.route('triangle-probabilities');\n    this.route('triangle');\n    this.route('van-lamoen-circle');\n    this.route('weierstrass-function');\n  });\n});","define(\"music/routes\", [\"exports\", \"ember-engines/routes\"], function (_exports, _routes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-engines/routes\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _routes.default)(function () {\n    this.route('black-synthe');\n  });\n});","define(\"surface/routes\", [\"exports\", \"ember-engines/routes\"], function (_exports, _routes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-engines/routes\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = (0, _routes.default)(function () {\n    this.route('list', function () {\n      this.route('view', {\n        path: '/:level1/:level2/:level3'\n      });\n    });\n    this.route('list3d', function () {\n      this.route('view', {\n        path: '/:level1/:level2/:level3'\n      });\n    });\n    this.route('list3d2', function () {\n      this.route('view', {\n        path: '/:level1/:level2/:level3'\n      });\n    });\n    this.route('ellipsoid');\n    this.route('funnel');\n    this.route('helicoid');\n    this.route('hyperboloid');\n    this.route('lidinoid');\n    this.route('mobius-strip');\n    this.route('mobius-strip-3d');\n    this.route('sphere');\n    this.route('tore');\n    this.route('tore-list');\n    this.route('tower');\n    this.route('tritorus');\n    this.route('twisted-plane');\n  });\n});","define(\"univers-app-components/components/banner-item\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <article\n    itemprop=\"blogPost\"\n    class=\"banner-item\"\n    role=\"article\"\n    itemscope=\"itemscope\"\n    itemtype=\"http://schema.org/Article\"\n  >\n    <img\n      src={{this.item.image.src}}\n      class=\"banner-img img-fluid\"\n      loading=\"lazy\"\n      alt=\"{{this.item.title}} {{this.item.description}}\"\n      loading={{this.item.loading}}\n    />\n  \n    <div class=\"banner-caption\">\n      <a rel=\"bookmark\" itemprop=\"url\" href=\"{{this.item.url}}\">\n        <h3>{{this.item.title}}</h3>\n      </a>\n    </div>\n  </article>\n  */\n  {\n    \"id\": \"3nHNsqvY\",\n    \"block\": \"[[[10,\\\"article\\\"],[14,\\\"itemprop\\\",\\\"blogPost\\\"],[14,0,\\\"banner-item\\\"],[14,\\\"role\\\",\\\"article\\\"],[14,\\\"itemscope\\\",\\\"itemscope\\\"],[14,\\\"itemtype\\\",\\\"http://schema.org/Article\\\"],[12],[1,\\\"\\\\n  \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[30,0,[\\\"item\\\",\\\"image\\\",\\\"src\\\"]]],[14,0,\\\"banner-img img-fluid\\\"],[14,\\\"loading\\\",\\\"lazy\\\"],[15,\\\"alt\\\",[29,[[30,0,[\\\"item\\\",\\\"title\\\"]],\\\" \\\",[30,0,[\\\"item\\\",\\\"description\\\"]]]]],[15,\\\"loading\\\",[30,0,[\\\"item\\\",\\\"loading\\\"]]],[12],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,0],[14,0,\\\"banner-caption\\\"],[12],[1,\\\"\\\\n    \\\"],[10,3],[14,\\\"rel\\\",\\\"bookmark\\\"],[14,\\\"itemprop\\\",\\\"url\\\"],[15,6,[29,[[30,0,[\\\"item\\\",\\\"url\\\"]]]]],[12],[1,\\\"\\\\n      \\\"],[10,\\\"h3\\\"],[12],[1,[30,0,[\\\"item\\\",\\\"title\\\"]]],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"article\\\",\\\"img\\\",\\\"div\\\",\\\"a\\\",\\\"h3\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/banner-item.hbs\",\n    \"isStrictMode\": false\n  });\n  class BannerItem extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      this.item = args.item;\n    }\n  }\n  _exports.default = BannerItem;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, BannerItem);\n});","define(\"univers-app-components/components/banner\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _tracking, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"banner\" {{did-insert this.notifyReady}}>\n    {{#if this.loaded}}{{/if}}\n  \n    <div class=\"banner-container\">\n      <div class=\"banner-track\" id=\"banner-track\">\n        {{#each this.items as |item|}}\n          <BannerItem @item={{item}} />\n        {{/each}}\n      </div>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"jiq0628T\",\n    \"block\": \"[[[11,0],[24,0,\\\"banner\\\"],[4,[38,1],[[30,0,[\\\"notifyReady\\\"]]],null],[12],[1,\\\"\\\\n  \\\"],[41,[30,0,[\\\"loaded\\\"]],[[],[]],null],[1,\\\"\\\\n\\\\n  \\\"],[10,0],[14,0,\\\"banner-container\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"banner-track\\\"],[14,1,\\\"banner-track\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,4],[[28,[37,4],[[30,0,[\\\"items\\\"]]],null]],null],null,[[[1,\\\"        \\\"],[8,[39,5],null,[[\\\"@item\\\"],[[30,1]]],null],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\"    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"item\\\"],false,[\\\"div\\\",\\\"did-insert\\\",\\\"if\\\",\\\"each\\\",\\\"-track-array\\\",\\\"banner-item\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/banner.hbs\",\n    \"isStrictMode\": false\n  });\n  let Banner = _exports.default = (_class = class Banner extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"deviantArtService\", _descriptor, this);\n      _initializerDefineProperty(this, \"mastodonService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"navigationService\", _descriptor3, this);\n      _initializerDefineProperty(this, \"apiPostsService\", _descriptor4, this);\n      _initializerDefineProperty(this, \"loaded\", _descriptor5, this);\n      _initializerDefineProperty(this, \"items\", _descriptor6, this);\n    }\n    notifyReady() {\n      this.getItems();\n    }\n    getItems() {\n      let itemsTmp = [];\n      if (this.navigationService.config && this.navigationService.config.DEVIANT_ART_URL) {\n        this.deviantArtService.fetchData(this.navigationService.config.DEVIANT_ART_URL, \"all\", 7, \"300\").then(data => {\n          if (data) {\n            itemsTmp = data;\n            this.items = itemsTmp;\n          }\n          this.apiPostsService.fetchData(this.navigationService.config.API_POSTS_URL).then(data => {\n            if (data && data.results.posts.length > 0) {\n              data.results.posts.forEach(element => {\n                itemsTmp.push(element);\n              });\n            }\n            this.items = itemsTmp;\n          });\n          this.loaded = true;\n          this.enableScroll();\n        });\n      }\n    }\n    enableScroll() {\n      const container = document.querySelector('.banner-container');\n      if (container) {\n        const track = document.getElementById('banner-track');\n        let isDown = false;\n        let startX;\n        let scrollLeft;\n\n        // Déplacement souris\n        track.addEventListener('mousedown', e => {\n          isDown = true;\n          startX = e.pageX - container.offsetLeft;\n          scrollLeft = container.scrollLeft;\n          e.preventDefault();\n        });\n        track.addEventListener('mouseleave', () => {\n          isDown = false;\n        });\n        track.addEventListener('mouseup', () => {\n          isDown = false;\n        });\n        track.addEventListener('mousemove', e => {\n          if (!isDown) return;\n          e.preventDefault();\n          const x = e.pageX - container.offsetLeft;\n          const walk = (x - startX) * 2;\n          container.scrollLeft = scrollLeft - walk;\n        });\n\n        // Déplacement clavier\n        document.addEventListener('keydown', e => {\n          if (e.key === 'ArrowLeft') {\n            container.scrollBy({\n              left: -300,\n              behavior: 'smooth'\n            });\n          } else if (e.key === 'ArrowRight') {\n            container.scrollBy({\n              left: 300,\n              behavior: 'smooth'\n            });\n          }\n        });\n\n        // Défilement tactile\n        let touchStartX = 0;\n        let touchScrollLeft = 0;\n        track.addEventListener('touchstart', e => {\n          touchStartX = e.touches[0].pageX;\n          touchScrollLeft = container.scrollLeft;\n        });\n        track.addEventListener('touchmove', e => {\n          if (!touchStartX) return;\n          e.preventDefault();\n          const x = e.touches[0].pageX;\n          const walk = (x - touchStartX) * 2;\n          container.scrollLeft = touchScrollLeft - walk;\n        });\n\n        // Scroll horizontal avec la molette\n        container.addEventListener('wheel', e => {\n          e.preventDefault();\n          container.scrollLeft += e.deltaY;\n        });\n      } else {\n        console.log(\"container not ready\");\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"deviantArtService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"mastodonService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"navigationService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"apiPostsService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"loaded\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"items\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return [];\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"notifyReady\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"notifyReady\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, Banner);\n});","define(\"univers-app-components/components/cursor-hover\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n    {{did-insert this.notifyReady}}\n    class=\"circle-cursor\"\n    id=\"circle-hover\"\n  ></div>\n  */\n  {\n    \"id\": \"vL1jjKp1\",\n    \"block\": \"[[[11,0],[24,0,\\\"circle-cursor\\\"],[24,1,\\\"circle-hover\\\"],[4,[38,1],[[30,0,[\\\"notifyReady\\\"]]],null],[12],[13]],[],false,[\\\"div\\\",\\\"did-insert\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/cursor-hover.hbs\",\n    \"isStrictMode\": false\n  });\n  let CursorHover = _exports.default = (_class = class CursorHover extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      this.imagePath = args.imagePath;\n      this.alt = args.alt;\n      this.mouseX = window.innerWidth / 4;\n      this.mouseY = window.innerHeight / 2;\n      this.clientY = this.mouseY;\n    }\n    notifyReady() {\n      this.initRender();\n    }\n    initRender() {\n      const elementsWithCursorEffect = document.querySelectorAll('.special-cursor');\n      const circleCursor = document.getElementById(\"circle-hover\");\n      if (circleCursor) {\n        document.addEventListener('mousemove', function (e) {\n          if (circleCursor) {\n            circleCursor.style.left = `${e.pageX - 35}px`;\n            circleCursor.style.top = `${e.pageY - 35}px`;\n          }\n        });\n      }\n      if (elementsWithCursorEffect) {\n        elementsWithCursorEffect.forEach(function (element) {\n          element.addEventListener('mouseenter', function () {\n            circleCursor.style.display = 'block';\n          });\n          element.addEventListener('mouseleave', function () {\n            circleCursor.style.display = 'none';\n          });\n        });\n      }\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"notifyReady\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"notifyReady\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, CursorHover);\n});","define(\"univers-app-components/components/deviant-art-item\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _tracking, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"\">\n    <div\n      class=\"min-height-card-post {{if this.loading 'loading' 'card-img-loaded'}}\"\n    >\n      {{#if this.loading}}\n        <div class=\"spinner-border m-5\" role=\"status\">\n          <span class=\"visually-hidden\">Loading...</span>\n        </div>\n      {{else}}\n        <div class=\"image-container-fluid\">\n          <figure id=\"image-wrapper\">\n            <img\n              loading=\"lazy\"\n              data-bs-toggle=\"modal\"\n              data-bs-target=\"#deviant-modal-post-home\"\n              src=\"{{this.item.url}}\"\n              class=\"card-img-effect img-fluid\"\n              alt=\"{{this.item.title}} {{this.item.description}}\"\n              title=\"{{this.item.title}} {{this.item.description}}\"\n              {{on \"load\" this.imageLoadedHandler}}\n            />\n          </figure>\n          <p class=\"d-none card-text mb-2\">\n            <button\n              type=\"button\"\n              class=\"p-2 btn-list-sub-item card-title bg-black\"\n              data-bs-toggle=\"modal\"\n              data-bs-target=\"#deviant-modal-post-home\"\n            >\n              {{this.item.date_y_m_d}}\n            </button>\n          </p>\n        </div>\n  \n        <div\n          class=\"modal fade\"\n          id=\"deviant-modal-post-home\"\n          tabindex=\"-1\"\n          aria-labelledby=\"exampleModalLabel\"\n          aria-hidden=\"true\"\n        >\n          <div class=\"modal-dialog bg-black\">\n            <div class=\"modal-content bg-black\">\n              <div class=\"modal-header\">\n                <h1\n                  class=\"modal-title fs-5\"\n                  id=\"exampleModalLabel\"\n                >{{this.item.date_y_m_d}}</h1>\n                <button\n                  type=\"button\"\n                  class=\"btn-close\"\n                  data-bs-dismiss=\"modal\"\n                  aria-label=\"Close\"\n                ></button>\n              </div>\n              <div class=\"modal-body\">\n                <p class=\"card-text\">\n                  <p class=\"card-text\">\n                    {{this.item.title}}.\n                    <span>{{this.item.description}}</span>\n                  </p>\n                </p>\n                <figure class=\"mb-3\">\n                  <a role=\"link\" href=\"{{this.item.url}}\">\n                    <img\n                      data-bs-toggle=\"modal\"\n                      data-bs-target=\"#deviant-modal-post-home\"\n                      src=\"{{this.item.url}}\"\n                      class=\"card-img-effect img-border img-fluid\"\n                      alt=\"{{this.item.title}} {{this.item.description}}\"\n                      title=\"{{this.item.title}} {{this.item.description}}\"\n                    />\n                  </a>\n                </figure>\n              </div>\n              <div class=\"modal-footer\">\n                <a\n                  class=\"p-2 btn-list-sub-item card-title bg-black\"\n                  role=\"link\"\n                  href=\"{{this.item.link}}\"\n                >\n                  Source\n                </a>\n                <a\n                  class=\"p-2 btn-list-sub-item card-title bg-black\"\n                  role=\"link\"\n                  href=\"{{this.item.url}}\"\n                >\n                  Img\n                </a>\n                <button\n                  type=\"button\"\n                  class=\"p-2 btn-list-sub-item card-title bg-black\"\n                  data-bs-dismiss=\"modal\"\n                >X</button>\n              </div>\n            </div>\n          </div>\n        </div>\n      {{/if}}\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"IATJXlkZ\",\n    \"block\": \"[[[10,0],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[15,0,[29,[\\\"min-height-card-post \\\",[52,[30,0,[\\\"loading\\\"]],\\\"loading\\\",\\\"card-img-loaded\\\"]]]],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"loading\\\"]],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"spinner-border m-5\\\"],[14,\\\"role\\\",\\\"status\\\"],[12],[1,\\\"\\\\n        \\\"],[10,1],[14,0,\\\"visually-hidden\\\"],[12],[1,\\\"Loading...\\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"      \\\"],[10,0],[14,0,\\\"image-container-fluid\\\"],[12],[1,\\\"\\\\n        \\\"],[10,\\\"figure\\\"],[14,1,\\\"image-wrapper\\\"],[12],[1,\\\"\\\\n          \\\"],[11,\\\"img\\\"],[24,\\\"loading\\\",\\\"lazy\\\"],[24,\\\"data-bs-toggle\\\",\\\"modal\\\"],[24,\\\"data-bs-target\\\",\\\"#deviant-modal-post-home\\\"],[16,\\\"src\\\",[29,[[30,0,[\\\"item\\\",\\\"url\\\"]]]]],[24,0,\\\"card-img-effect img-fluid\\\"],[16,\\\"alt\\\",[29,[[30,0,[\\\"item\\\",\\\"title\\\"]],\\\" \\\",[30,0,[\\\"item\\\",\\\"description\\\"]]]]],[16,\\\"title\\\",[29,[[30,0,[\\\"item\\\",\\\"title\\\"]],\\\" \\\",[30,0,[\\\"item\\\",\\\"description\\\"]]]]],[4,[38,5],[\\\"load\\\",[30,0,[\\\"imageLoadedHandler\\\"]]],null],[12],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,2],[14,0,\\\"d-none card-text mb-2\\\"],[12],[1,\\\"\\\\n          \\\"],[10,\\\"button\\\"],[14,0,\\\"p-2 btn-list-sub-item card-title bg-black\\\"],[14,\\\"data-bs-toggle\\\",\\\"modal\\\"],[14,\\\"data-bs-target\\\",\\\"#deviant-modal-post-home\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n            \\\"],[1,[30,0,[\\\"item\\\",\\\"date_y_m_d\\\"]]],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"modal fade\\\"],[14,1,\\\"deviant-modal-post-home\\\"],[14,\\\"tabindex\\\",\\\"-1\\\"],[14,\\\"aria-labelledby\\\",\\\"exampleModalLabel\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"modal-dialog bg-black\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"modal-content bg-black\\\"],[12],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"modal-header\\\"],[12],[1,\\\"\\\\n              \\\"],[10,\\\"h1\\\"],[14,0,\\\"modal-title fs-5\\\"],[14,1,\\\"exampleModalLabel\\\"],[12],[1,[30,0,[\\\"item\\\",\\\"date_y_m_d\\\"]]],[13],[1,\\\"\\\\n              \\\"],[10,\\\"button\\\"],[14,0,\\\"btn-close\\\"],[14,\\\"data-bs-dismiss\\\",\\\"modal\\\"],[14,\\\"aria-label\\\",\\\"Close\\\"],[14,4,\\\"button\\\"],[12],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"modal-body\\\"],[12],[1,\\\"\\\\n              \\\"],[10,2],[14,0,\\\"card-text\\\"],[12],[1,\\\"\\\\n                \\\"],[10,2],[14,0,\\\"card-text\\\"],[12],[1,\\\"\\\\n                  \\\"],[1,[30,0,[\\\"item\\\",\\\"title\\\"]]],[1,\\\".\\\\n                  \\\"],[10,1],[12],[1,[30,0,[\\\"item\\\",\\\"description\\\"]]],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,\\\"figure\\\"],[14,0,\\\"mb-3\\\"],[12],[1,\\\"\\\\n                \\\"],[10,3],[14,\\\"role\\\",\\\"link\\\"],[15,6,[29,[[30,0,[\\\"item\\\",\\\"url\\\"]]]]],[12],[1,\\\"\\\\n                  \\\"],[10,\\\"img\\\"],[14,\\\"data-bs-toggle\\\",\\\"modal\\\"],[14,\\\"data-bs-target\\\",\\\"#deviant-modal-post-home\\\"],[15,\\\"src\\\",[29,[[30,0,[\\\"item\\\",\\\"url\\\"]]]]],[14,0,\\\"card-img-effect img-border img-fluid\\\"],[15,\\\"alt\\\",[29,[[30,0,[\\\"item\\\",\\\"title\\\"]],\\\" \\\",[30,0,[\\\"item\\\",\\\"description\\\"]]]]],[15,\\\"title\\\",[29,[[30,0,[\\\"item\\\",\\\"title\\\"]],\\\" \\\",[30,0,[\\\"item\\\",\\\"description\\\"]]]]],[12],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,0],[14,0,\\\"modal-footer\\\"],[12],[1,\\\"\\\\n              \\\"],[10,3],[14,0,\\\"p-2 btn-list-sub-item card-title bg-black\\\"],[14,\\\"role\\\",\\\"link\\\"],[15,6,[29,[[30,0,[\\\"item\\\",\\\"link\\\"]]]]],[12],[1,\\\"\\\\n                Source\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,3],[14,0,\\\"p-2 btn-list-sub-item card-title bg-black\\\"],[14,\\\"role\\\",\\\"link\\\"],[15,6,[29,[[30,0,[\\\"item\\\",\\\"url\\\"]]]]],[12],[1,\\\"\\\\n                Img\\\\n              \\\"],[13],[1,\\\"\\\\n              \\\"],[10,\\\"button\\\"],[14,0,\\\"p-2 btn-list-sub-item card-title bg-black\\\"],[14,\\\"data-bs-dismiss\\\",\\\"modal\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"X\\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"div\\\",\\\"if\\\",\\\"span\\\",\\\"figure\\\",\\\"img\\\",\\\"on\\\",\\\"p\\\",\\\"button\\\",\\\"h1\\\",\\\"a\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/deviant-art-item.hbs\",\n    \"isStrictMode\": false\n  });\n  let DeviantArtItem = _exports.default = (_class = class DeviantArtItem extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"deviantArtService\", _descriptor, this);\n      _initializerDefineProperty(this, \"navigationService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"item\", _descriptor3, this);\n      _initializerDefineProperty(this, \"loading\", _descriptor4, this);\n      this.getItems();\n    }\n    getItems() {\n      if (this.navigationService.config.DEVIANT_ART_URL) {\n        this.deviantArtService.fetchData(this.navigationService.config.DEVIANT_ART_URL, \"1\", 1).then(data => {\n          if (data && data.length > 0) {\n            // get first\n            this.item = data[0];\n            this.loading = false;\n          }\n        });\n      }\n    }\n    imageLoadedHandler(event) {\n      // Une fois que l'image est chargée\n      const imageWrapper = event.target.closest('.image-container-fluid');\n      setTimeout(() => {\n        if (imageWrapper) {\n          imageWrapper.classList.add('expand'); // Déclenche l'expansion de l'image\n        }\n      }, 100);\n      this.imageLoaded = true;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"deviantArtService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"navigationService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"item\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return [];\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"loading\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"imageLoadedHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"imageLoadedHandler\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, DeviantArtItem);\n});","define(\"univers-app-components/components/gallery-item\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"text-center d-flex flex-column\">\n    <div class=\"card m-3\">\n      <div class=\"card-body\">\n        <figure class=\"div-thumbnail-gallery\">\n          <LinkTo\n            role=\"link\"\n            @route=\"image.view\"\n            @model=\"{{this.item.urlEncode}}\"\n          >\n            <img\n              src={{this.item.thumbnailUrl}}\n              class=\"img-fluid\"\n              loading=\"lazy\"\n              width=\"{{this.item.thumbnail.width}}\"\n              height=\"{{this.item.thumbnail.height}}\"\n              alt=\"{{this.item.title}} {{this.item.description}}\"\n              loading={{this.item.loading}}\n            />\n          </LinkTo>\n        </figure></div>\n      <div class=\"card-footer\">\n        <p>\n          <a href={{this.item.url}}>\n            {{this.item.title}}\n          </a>\n        </p>\n        <p>\n          {{this.item.pubDate}}\n        </p>\n      </div>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"FNOcH5vS\",\n    \"block\": \"[[[10,0],[14,0,\\\"text-center d-flex flex-column\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"card m-3\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"card-body\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"figure\\\"],[14,0,\\\"div-thumbnail-gallery\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,2],[[24,\\\"role\\\",\\\"link\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"image.view\\\",[29,[[30,0,[\\\"item\\\",\\\"urlEncode\\\"]]]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[30,0,[\\\"item\\\",\\\"thumbnailUrl\\\"]]],[14,0,\\\"img-fluid\\\"],[14,\\\"loading\\\",\\\"lazy\\\"],[15,\\\"width\\\",[29,[[30,0,[\\\"item\\\",\\\"thumbnail\\\",\\\"width\\\"]]]]],[15,\\\"height\\\",[29,[[30,0,[\\\"item\\\",\\\"thumbnail\\\",\\\"height\\\"]]]]],[15,\\\"alt\\\",[29,[[30,0,[\\\"item\\\",\\\"title\\\"]],\\\" \\\",[30,0,[\\\"item\\\",\\\"description\\\"]]]]],[15,\\\"loading\\\",[30,0,[\\\"item\\\",\\\"loading\\\"]]],[12],[13],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n      \\\"],[13],[13],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"card-footer\\\"],[12],[1,\\\"\\\\n      \\\"],[10,2],[12],[1,\\\"\\\\n        \\\"],[10,3],[15,6,[30,0,[\\\"item\\\",\\\"url\\\"]]],[12],[1,\\\"\\\\n          \\\"],[1,[30,0,[\\\"item\\\",\\\"title\\\"]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,2],[12],[1,\\\"\\\\n        \\\"],[1,[30,0,[\\\"item\\\",\\\"pubDate\\\"]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"div\\\",\\\"figure\\\",\\\"link-to\\\",\\\"img\\\",\\\"p\\\",\\\"a\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/gallery-item.hbs\",\n    \"isStrictMode\": false\n  });\n  class GalleryItem extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      this.item = args.item;\n    }\n  }\n  _exports.default = GalleryItem;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GalleryItem);\n});","define(\"univers-app-components/components/gallery-thumbnail\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"text-center d-flex flex-column\">\n    <div class=\"m-3\">\n      <div class=\"card-body\">\n        <figure class=\"\">\n          <LinkTo\n            role=\"link\"\n            @route=\"image.view\"\n            @model=\"{{this.item.urlEncode}}\"\n          >\n            <img\n              width=\"{{this.item.thumbnail.width}}\"\n              height=\"{{this.item.thumbnail.height}}\"\n              src={{this.item.thumbnailUrl}}\n              class=\"gallery-thumbnail-image border-2px-gray img-fluid\"\n              loading=\"lazy\"\n              alt=\"{{this.item.title}} {{this.item.description}}\"\n              loading={{this.item.loading}}\n            />\n          </LinkTo>\n        </figure></div>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"5paUNmqm\",\n    \"block\": \"[[[10,0],[14,0,\\\"text-center d-flex flex-column\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"m-3\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"card-body\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"figure\\\"],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,2],[[24,\\\"role\\\",\\\"link\\\"]],[[\\\"@route\\\",\\\"@model\\\"],[\\\"image.view\\\",[29,[[30,0,[\\\"item\\\",\\\"urlEncode\\\"]]]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n          \\\"],[10,\\\"img\\\"],[15,\\\"width\\\",[29,[[30,0,[\\\"item\\\",\\\"thumbnail\\\",\\\"width\\\"]]]]],[15,\\\"height\\\",[29,[[30,0,[\\\"item\\\",\\\"thumbnail\\\",\\\"height\\\"]]]]],[15,\\\"src\\\",[30,0,[\\\"item\\\",\\\"thumbnailUrl\\\"]]],[14,0,\\\"gallery-thumbnail-image border-2px-gray img-fluid\\\"],[14,\\\"loading\\\",\\\"lazy\\\"],[15,\\\"alt\\\",[29,[[30,0,[\\\"item\\\",\\\"title\\\"]],\\\" \\\",[30,0,[\\\"item\\\",\\\"description\\\"]]]]],[15,\\\"loading\\\",[30,0,[\\\"item\\\",\\\"loading\\\"]]],[12],[13],[1,\\\"\\\\n        \\\"]],[]]]]],[1,\\\"\\\\n      \\\"],[13],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"div\\\",\\\"figure\\\",\\\"link-to\\\",\\\"img\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/gallery-thumbnail.hbs\",\n    \"isStrictMode\": false\n  });\n  class GalleryThumbnail extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      this.item = args.item;\n    }\n  }\n  _exports.default = GalleryThumbnail;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GalleryThumbnail);\n});","define(\"univers-app-components/components/gallery-thumbnails\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _tracking, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#each this.items as |item|}}\n    <GalleryThumbnail @item={{item}} />\n  {{/each}}\n  */\n  {\n    \"id\": \"aUaKe2Bk\",\n    \"block\": \"[[[42,[28,[37,1],[[28,[37,1],[[30,0,[\\\"items\\\"]]],null]],null],null,[[[1,\\\"  \\\"],[8,[39,2],null,[[\\\"@item\\\"],[[30,1]]],null],[1,\\\"\\\\n\\\"]],[1]],null]],[\\\"item\\\"],false,[\\\"each\\\",\\\"-track-array\\\",\\\"gallery-thumbnail\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/gallery-thumbnails.hbs\",\n    \"isStrictMode\": false\n  });\n  let GalleryThumbnails = _exports.default = (_class = class GalleryThumbnails extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _defineProperty(this, \"model\", null);\n      _initializerDefineProperty(this, \"deviantArtService\", _descriptor, this);\n      _initializerDefineProperty(this, \"navigationService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"items\", _descriptor3, this);\n      this.model = args.model;\n      this.getItems();\n    }\n    getItems() {\n      if (this.navigationService.config && this.navigationService.config.DEVIANT_ART_URL) {\n        this.deviantArtService.fetchData(this.navigationService.config.DEVIANT_ART_URL, \"35\", 35).then(data => {\n          if (data) {\n            // Shuffle the items randomly\n            const sortedItems = data.sort(() => Math.random() - 0.5).slice(0, 4);\n            this.items = sortedItems;\n          }\n        });\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"deviantArtService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"navigationService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"items\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return [];\n    }\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, GalleryThumbnails);\n});","define(\"univers-app-components/components/gallery\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _tracking, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <section class=\"container-xxl mt-4\">\n    <section class=\"d-flex flex-wrap justify-content-center\">\n      {{#each this.items as |item|}}\n        <GalleryItem @item={{item}} />\n      {{/each}}\n    </section>\n  </section>\n  */\n  {\n    \"id\": \"sXHxNq34\",\n    \"block\": \"[[[10,\\\"section\\\"],[14,0,\\\"container-xxl mt-4\\\"],[12],[1,\\\"\\\\n  \\\"],[10,\\\"section\\\"],[14,0,\\\"d-flex flex-wrap justify-content-center\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,0,[\\\"items\\\"]]],null]],null],null,[[[1,\\\"      \\\"],[8,[39,3],null,[[\\\"@item\\\"],[[30,1]]],null],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"item\\\"],false,[\\\"section\\\",\\\"each\\\",\\\"-track-array\\\",\\\"gallery-item\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/gallery.hbs\",\n    \"isStrictMode\": false\n  });\n  let Gallery = _exports.default = (_class = class Gallery extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"deviantArtService\", _descriptor, this);\n      _initializerDefineProperty(this, \"navigationService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"items\", _descriptor3, this);\n      this.getItems();\n    }\n    getItems() {\n      if (this.navigationService.config && this.navigationService.config.DEVIANT_ART_URL) {\n        this.deviantArtService.fetchData(this.navigationService.config.DEVIANT_ART_URL, \"all\", 40).then(data => {\n          if (data) {\n            this.items = data;\n          }\n        });\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"deviantArtService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"navigationService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"items\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return [];\n    }\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, Gallery);\n});","define(\"univers-app-components/components/index-card\", [\"exports\", \"@ember/component\", \"@ember/component/template-only\", \"@ember/template-factory\"], function (_exports, _component, _templateOnly, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"mb-3 col col-12 col-lg-6 col-lg-6\">\n    <div class=\"card\">\n      <LinkTo role=\"link\" @route=\"surface\">\n        <img\n          class=\"card-img-top card-img-effect border-1-light\"\n          src=\"{{this.rootURL}}/assets/img/menu-surface.jpg\"\n          alt=\"{{t 'Surfaces'}}\"\n        />\n  \n        <div class=\"card-body\">\n          <h2 class=\"btn-index\">\n            {{t \"Surfaces\"}}\n          </h2>\n        </div>\n      </LinkTo>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"OQravQJ4\",\n    \"block\": \"[[[10,0],[14,0,\\\"mb-3 col col-12 col-lg-6 col-lg-6\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"card\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,1],[[24,\\\"role\\\",\\\"link\\\"]],[[\\\"@route\\\"],[\\\"surface\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[10,\\\"img\\\"],[14,0,\\\"card-img-top card-img-effect border-1-light\\\"],[15,\\\"src\\\",[29,[[30,0,[\\\"rootURL\\\"]],\\\"/assets/img/menu-surface.jpg\\\"]]],[15,\\\"alt\\\",[29,[[28,[37,3],[\\\"Surfaces\\\"],null]]]],[12],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,0],[14,0,\\\"card-body\\\"],[12],[1,\\\"\\\\n        \\\"],[10,\\\"h2\\\"],[14,0,\\\"btn-index\\\"],[12],[1,\\\"\\\\n          \\\"],[1,[28,[35,3],[\\\"Surfaces\\\"],null]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"div\\\",\\\"link-to\\\",\\\"img\\\",\\\"t\\\",\\\"h2\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/index-card.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"univers-app-components/components/links-navbar\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    \n  */\n  {\n    \"id\": \"kO2Oby5k\",\n    \"block\": \"[[],[],false,[]]\",\n    \"moduleName\": \"univers-app-components/components/links-navbar.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, class extends _component2.default {});\n});","define(\"univers-app-components/components/main-menu\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <ul class=\"list-group index-list index-main-list\">\n    <li class=\"list-group-item\">\n      <LinkTo class=\"special-cursor\" role=\"link\" @route=\"generative\">\n        {{t \"Fractals\"}}\n      </LinkTo>\n    </li>\n    <li class=\"list-group-item\">\n      <LinkTo class=\"special-cursor\" role=\"link\" @route=\"illusions\">\n        {{t \"Optical illusions\"}}\n      </LinkTo>\n    </li>\n    <li class=\"list-group-item\">\n      <LinkTo class=\"special-cursor\" role=\"link\" @route=\"curve.index\">\n        {{t \"Curves\"}}\n      </LinkTo>\n    </li>\n    <li class=\"list-group-item\">\n      <LinkTo class=\"special-cursor\" role=\"link\" @route=\"surface\">\n        {{t \"Surfaces\"}}\n      </LinkTo>\n    </li>\n    <li class=\"list-group-item\">\n      <LinkTo role=\"link\" @route=\"maths\">\n        {{t \"Numbers\"}}\n      </LinkTo>\n    </li>\n    <li class=\"list-group-item\">\n      <LinkTo class=\"special-cursor\" role=\"link\" @route=\"color\">\n        {{t \"Colors\"}}\n      </LinkTo>\n    </li>\n  </ul>\n  */\n  {\n    \"id\": \"REb1NJ7J\",\n    \"block\": \"[[[10,\\\"ul\\\"],[14,0,\\\"list-group index-list index-main-list\\\"],[12],[1,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"list-group-item\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,2],[[24,0,\\\"special-cursor\\\"],[24,\\\"role\\\",\\\"link\\\"]],[[\\\"@route\\\"],[\\\"generative\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[28,[35,3],[\\\"Fractals\\\"],null]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"list-group-item\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,2],[[24,0,\\\"special-cursor\\\"],[24,\\\"role\\\",\\\"link\\\"]],[[\\\"@route\\\"],[\\\"illusions\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[28,[35,3],[\\\"Optical illusions\\\"],null]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"list-group-item\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,2],[[24,0,\\\"special-cursor\\\"],[24,\\\"role\\\",\\\"link\\\"]],[[\\\"@route\\\"],[\\\"curve.index\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[28,[35,3],[\\\"Curves\\\"],null]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"list-group-item\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,2],[[24,0,\\\"special-cursor\\\"],[24,\\\"role\\\",\\\"link\\\"]],[[\\\"@route\\\"],[\\\"surface\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[28,[35,3],[\\\"Surfaces\\\"],null]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"list-group-item\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,2],[[24,\\\"role\\\",\\\"link\\\"]],[[\\\"@route\\\"],[\\\"maths\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[28,[35,3],[\\\"Numbers\\\"],null]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"list-group-item\\\"],[12],[1,\\\"\\\\n    \\\"],[8,[39,2],[[24,0,\\\"special-cursor\\\"],[24,\\\"role\\\",\\\"link\\\"]],[[\\\"@route\\\"],[\\\"color\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n      \\\"],[1,[28,[35,3],[\\\"Colors\\\"],null]],[1,\\\"\\\\n    \\\"]],[]]]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"ul\\\",\\\"li\\\",\\\"link-to\\\",\\\"t\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/main-menu.hbs\",\n    \"isStrictMode\": false\n  });\n  class MainMenu extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      this.item = args.item;\n    }\n  }\n  _exports.default = MainMenu;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, MainMenu);\n});","define(\"univers-app-components/components/main-navbar\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _object, _tracking, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div data-name=\"navbar\" class=\"main-navbar container-fluid hide-m\">\r\n    <div data-name=\"navbar-row\" class=\"row\">\r\n      <nav class=\"navbar navbar-expand-lg\" id=\"main-nav-bar\">\r\n        <div class=\"container-xxl\">\r\n          <div class=\"row\">\r\n            <div class=\"col col-12\">\r\n              <ul class=\"nav navbar\">\r\n                <li class=\"\">\r\n                  <LinkTo\r\n                    role=\"link\"\r\n                    @route=\"index\"\r\n                    title=\"{{t 'Home'}}\"\r\n                    rel=\"home\"\r\n                  >\r\n                    <span class=\"pad-nav-link\">\r\n                      <img\r\n                        src=\"{{this.rootURL}}assets/img/logo-32-32.png\"\r\n                        height=\"32\"\r\n                        width=\"32\"\r\n                        alt=\"{{t 'SITE_TITLE'}}\"\r\n                        loading=\"lazy\"\r\n                        class=\"rounded elementor-animation-pulse\"\r\n                      />\r\n                    </span>\r\n                  </LinkTo>\r\n                </li>\r\n  \r\n                <li class=\"nav-item\">\r\n                  <LinkTo role=\"link\" @route=\"index\" class=\"nav-link\">\r\n                    {{t \"SITE_TITLE\"}}\r\n                  </LinkTo>\r\n                </li>\r\n  \r\n                <li class=\"d-none d-md-block nav-item\">\r\n                  {{#if this.navigationService.routeEnabled1}}\r\n                    <LinkTo\r\n                      role=\"link\"\r\n                      @route=\"index\"\r\n                      title=\"{{t 'Home'}}\"\r\n                      rel=\"home\"\r\n                      class=\"nav-link\"\r\n                    >\r\n                      <span class=\"pad-nav-link\">\r\n                        <span\r\n                          aria-label=\"{{t 'Home'}}\"\r\n                          class=\"glyphicon glyphicon-th\"\r\n                        ></span>\r\n                      </span>\r\n                    </LinkTo>\r\n                  {{/if}}\r\n                </li>\r\n  \r\n                {{#if this.navigationService.routeEnabled1}}\r\n                  <li class=\"nav-item\">\r\n                    <LinkTo\r\n                      @route={{this.navigationService.routeName1}}\r\n                      title=\"index\"\r\n                      class=\"nav-link\"\r\n                    >\r\n                      <span\r\n                        class=\"glyphicon glyphicon-list\"\r\n                        aria-hidden=\"true\"\r\n                        aria-label=\"{{t 'Index'}}\"\r\n                      ></span>\r\n                    </LinkTo>\r\n                  </li>\r\n                {{else}}\r\n                  <li class=\"nav-item child-m\">\r\n                    <LinkTo role=\"link\" @route=\"gallery\" class=\"nav-link\">\r\n                      {{t \"Gallery\"}}\r\n                    </LinkTo>\r\n                  </li>\r\n                  <li class=\"nav-item child-m\">\r\n                    <LinkTo\r\n                      role=\"link\"\r\n                      @route=\"links\"\r\n                      title=\"{{t 'Links'}}\"\r\n                      rel=\"home\"\r\n                      class=\"nav-link\"\r\n                    >\r\n                      <span class=\"pad-nav-link\">\r\n                        {{t \"Links\"}}\r\n                      </span>\r\n                    </LinkTo>\r\n                  </li>\r\n                {{/if}}\r\n  \r\n                {{#if this.navigationService.routeEnabled2}}\r\n                  <li class=\"d-none d-md-block nav-item\">\r\n                    <LinkTo\r\n                      role=\"link\"\r\n                      @route={{this.navigationService.routeName2}}\r\n                      class=\"nav-link\"\r\n                    >\r\n                      {{this.navigationService.routeTitle2}}\r\n                    </LinkTo>\r\n                  </li>\r\n                {{else}}\r\n                  {{#if this.pageTitleEnabled}}\r\n                    <li class=\"d-none d-md-block nav-item\">\r\n                      {{this.navigationService.routeTitle2}}\r\n                    </li>\r\n                  {{/if}}\r\n  \r\n                  <li class=\"nav-item d-block d-md-none\">\r\n                    <a\r\n                      class=\"nav-link\"\r\n                      data-bs-toggle=\"offcanvas\"\r\n                      href=\"#offcanvasFormBurger\"\r\n                      role=\"button\"\r\n                      aria-controls=\"offcanvasFormBurger\"\r\n                    >\r\n                      <span class=\"pad-nav-link\">\r\n                        <span class=\"glyphicon glyphicon-menu-hamburger\"></span>\r\n                      </span>\r\n                    </a>\r\n                  </li>\r\n                {{/if}}\r\n  \r\n                {{#if this.navigationService.fullScreenEnabled}}\r\n                  <li class=\"nav-item d-none d-md-block\">\r\n                    <button\r\n                      class=\"nav-link text-white\"\r\n                      title=\"{{tr 'Full screen'}}\"\r\n                      rel=\"nofollow\"\r\n                      role=\"button\"\r\n                      type=\"button\"\r\n                      {{on \"click\" (fn this.fullScreen @event)}}\r\n                    >\r\n                      <span\r\n                        aria-label=\"{{tr 'Full screen'}}\"\r\n                        class=\"glyphicon glyphicon-fullscreen\"\r\n                      ></span>\r\n                    </button>\r\n                  </li>\r\n                {{/if}}\r\n              </ul>\r\n            </div>\r\n          </div>\r\n        </div>\r\n      </nav>\r\n    </div>\r\n  </div>\r\n  \r\n  <div id=\"nav-progress-bar\">\r\n  </div>\r\n  \r\n  <div\r\n    class=\"offcanvas offcanvas-end\"\r\n    tabindex=\"-1\"\r\n    id=\"offcanvasFormBurger\"\r\n    aria-labelledby=\"offcanvasFormBurgerLabel\"\r\n  >\r\n    <div class=\"offcanvas-header\">\r\n      <button\r\n        type=\"button\"\r\n        class=\"btn-close btn-close-white text-reset\"\r\n        data-bs-dismiss=\"offcanvas\"\r\n        aria-label=\"Close\"\r\n      ></button>\r\n    </div>\r\n  \r\n    <div class=\"offcanvas-body\">\r\n      <nav class=\"nav flex-column\">\r\n        <ul>\r\n          <li class=\"nav-item child-m\">\r\n            <LinkTo\r\n              role=\"link\"\r\n              data-bs-dismiss=\"offcanvas\"\r\n              class=\"nav-link text-white\"\r\n              @route=\"sources\"\r\n            >\r\n              {{t \"References\"}}\r\n            </LinkTo>\r\n          </li>\r\n          <li class=\"nav-item child-m\">\r\n            <LinkTo\r\n              role=\"link\"\r\n              data-bs-dismiss=\"offcanvas\"\r\n              class=\"nav-link text-white\"\r\n              @route=\"about\"\r\n            >\r\n              {{t \"About\"}}\r\n            </LinkTo>\r\n          </li>\r\n          <li class=\"nav-item child-m\">\r\n            <LinkTo\r\n              role=\"link\"\r\n              data-bs-dismiss=\"offcanvas\"\r\n              @route=\"gallery\"\r\n              class=\"nav-link text-white\"\r\n            >\r\n              {{t \"Gallery\"}}\r\n            </LinkTo>\r\n          </li>\r\n          <li class=\"nav-item child-m\">\r\n  \r\n            <LinkTo\r\n              role=\"link\"\r\n              @route=\"links\"\r\n              title=\"{{t 'Links'}}\"\r\n              rel=\"home\"\r\n              class=\"nav-link text-white\"\r\n            >\r\n  \r\n              {{t \"Links\"}}\r\n            </LinkTo>\r\n          </li>\r\n        </ul>\r\n      </nav>\r\n    </div>\r\n  </div>\r\n  \r\n  <div\r\n    class=\"d-none container-xxl mt-4 mb-3 {{this.navigationService.routeClass1}}\"\r\n  >\r\n    <h1 class=\"h1 m-4 mt-0 page-title\">\r\n      {{#if this.navigationService.routeEnabled2}}\r\n        <LinkTo\r\n          role=\"link\"\r\n          @route={{this.navigationService.routeName2}}\r\n          class=\"nav-link text-white\"\r\n        >\r\n          {{this.navigationService.routeTitle2}}\r\n        </LinkTo>\r\n      {{else}}\r\n        {{#if this.pageTitleEnabled}}\r\n          {{this.navigationService.routeTitle2}}\r\n        {{/if}}\r\n      {{/if}}\r\n    </h1>\r\n  </div>\n  */\n  {\n    \"id\": \"KWmOTPnc\",\n    \"block\": \"[[[10,0],[14,\\\"data-name\\\",\\\"navbar\\\"],[14,0,\\\"main-navbar container-fluid hide-m\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,\\\"data-name\\\",\\\"navbar-row\\\"],[14,0,\\\"row\\\"],[12],[1,\\\"\\\\n    \\\"],[10,\\\"nav\\\"],[14,0,\\\"navbar navbar-expand-lg\\\"],[14,1,\\\"main-nav-bar\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"container-xxl\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"row\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"col col-12\\\"],[12],[1,\\\"\\\\n            \\\"],[10,\\\"ul\\\"],[14,0,\\\"nav navbar\\\"],[12],[1,\\\"\\\\n              \\\"],[10,\\\"li\\\"],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n                \\\"],[8,[39,4],[[24,\\\"role\\\",\\\"link\\\"],[16,\\\"title\\\",[29,[[28,[37,5],[\\\"Home\\\"],null]]]],[24,\\\"rel\\\",\\\"home\\\"]],[[\\\"@route\\\"],[\\\"index\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                  \\\"],[10,1],[14,0,\\\"pad-nav-link\\\"],[12],[1,\\\"\\\\n                    \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[29,[[30,0,[\\\"rootURL\\\"]],\\\"assets/img/logo-32-32.png\\\"]]],[14,\\\"height\\\",\\\"32\\\"],[14,\\\"width\\\",\\\"32\\\"],[15,\\\"alt\\\",[29,[[28,[37,5],[\\\"SITE_TITLE\\\"],null]]]],[14,\\\"loading\\\",\\\"lazy\\\"],[14,0,\\\"rounded elementor-animation-pulse\\\"],[12],[13],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"]],[]]]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\\n              \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n                \\\"],[8,[39,4],[[24,\\\"role\\\",\\\"link\\\"],[24,0,\\\"nav-link\\\"]],[[\\\"@route\\\"],[\\\"index\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                  \\\"],[1,[28,[35,5],[\\\"SITE_TITLE\\\"],null]],[1,\\\"\\\\n                \\\"]],[]]]]],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n\\\\n              \\\"],[10,\\\"li\\\"],[14,0,\\\"d-none d-md-block nav-item\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"navigationService\\\",\\\"routeEnabled1\\\"]],[[[1,\\\"                  \\\"],[8,[39,4],[[24,\\\"role\\\",\\\"link\\\"],[16,\\\"title\\\",[29,[[28,[37,5],[\\\"Home\\\"],null]]]],[24,\\\"rel\\\",\\\"home\\\"],[24,0,\\\"nav-link\\\"]],[[\\\"@route\\\"],[\\\"index\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                    \\\"],[10,1],[14,0,\\\"pad-nav-link\\\"],[12],[1,\\\"\\\\n                      \\\"],[10,1],[15,\\\"aria-label\\\",[29,[[28,[37,5],[\\\"Home\\\"],null]]]],[14,0,\\\"glyphicon glyphicon-th\\\"],[12],[13],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n                  \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"              \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"navigationService\\\",\\\"routeEnabled1\\\"]],[[[1,\\\"                \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item\\\"],[12],[1,\\\"\\\\n                  \\\"],[8,[39,4],[[24,\\\"title\\\",\\\"index\\\"],[24,0,\\\"nav-link\\\"]],[[\\\"@route\\\"],[[30,0,[\\\"navigationService\\\",\\\"routeName1\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                    \\\"],[10,1],[14,0,\\\"glyphicon glyphicon-list\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[15,\\\"aria-label\\\",[29,[[28,[37,5],[\\\"Index\\\"],null]]]],[12],[13],[1,\\\"\\\\n                  \\\"]],[]]]]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"                \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item child-m\\\"],[12],[1,\\\"\\\\n                  \\\"],[8,[39,4],[[24,\\\"role\\\",\\\"link\\\"],[24,0,\\\"nav-link\\\"]],[[\\\"@route\\\"],[\\\"gallery\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                    \\\"],[1,[28,[35,5],[\\\"Gallery\\\"],null]],[1,\\\"\\\\n                  \\\"]],[]]]]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n                \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item child-m\\\"],[12],[1,\\\"\\\\n                  \\\"],[8,[39,4],[[24,\\\"role\\\",\\\"link\\\"],[16,\\\"title\\\",[29,[[28,[37,5],[\\\"Links\\\"],null]]]],[24,\\\"rel\\\",\\\"home\\\"],[24,0,\\\"nav-link\\\"]],[[\\\"@route\\\"],[\\\"links\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                    \\\"],[10,1],[14,0,\\\"pad-nav-link\\\"],[12],[1,\\\"\\\\n                      \\\"],[1,[28,[35,5],[\\\"Links\\\"],null]],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n                  \\\"]],[]]]]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"navigationService\\\",\\\"routeEnabled2\\\"]],[[[1,\\\"                \\\"],[10,\\\"li\\\"],[14,0,\\\"d-none d-md-block nav-item\\\"],[12],[1,\\\"\\\\n                  \\\"],[8,[39,4],[[24,\\\"role\\\",\\\"link\\\"],[24,0,\\\"nav-link\\\"]],[[\\\"@route\\\"],[[30,0,[\\\"navigationService\\\",\\\"routeName2\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n                    \\\"],[1,[30,0,[\\\"navigationService\\\",\\\"routeTitle2\\\"]]],[1,\\\"\\\\n                  \\\"]],[]]]]],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"pageTitleEnabled\\\"]],[[[1,\\\"                  \\\"],[10,\\\"li\\\"],[14,0,\\\"d-none d-md-block nav-item\\\"],[12],[1,\\\"\\\\n                    \\\"],[1,[30,0,[\\\"navigationService\\\",\\\"routeTitle2\\\"]]],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"\\\\n                \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item d-block d-md-none\\\"],[12],[1,\\\"\\\\n                  \\\"],[10,3],[14,0,\\\"nav-link\\\"],[14,\\\"data-bs-toggle\\\",\\\"offcanvas\\\"],[14,6,\\\"#offcanvasFormBurger\\\"],[14,\\\"role\\\",\\\"button\\\"],[14,\\\"aria-controls\\\",\\\"offcanvasFormBurger\\\"],[12],[1,\\\"\\\\n                    \\\"],[10,1],[14,0,\\\"pad-nav-link\\\"],[12],[1,\\\"\\\\n                      \\\"],[10,1],[14,0,\\\"glyphicon glyphicon-menu-hamburger\\\"],[12],[13],[1,\\\"\\\\n                    \\\"],[13],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"]],[]]],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"navigationService\\\",\\\"fullScreenEnabled\\\"]],[[[1,\\\"                \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item d-none d-md-block\\\"],[12],[1,\\\"\\\\n                  \\\"],[11,\\\"button\\\"],[24,0,\\\"nav-link text-white\\\"],[16,\\\"title\\\",[29,[[28,[37,11],[\\\"Full screen\\\"],null]]]],[24,\\\"rel\\\",\\\"nofollow\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,4,\\\"button\\\"],[4,[38,12],[\\\"click\\\",[28,[37,13],[[30,0,[\\\"fullScreen\\\"]],[30,1]],null]],null],[12],[1,\\\"\\\\n                    \\\"],[10,1],[15,\\\"aria-label\\\",[29,[[28,[37,11],[\\\"Full screen\\\"],null]]]],[14,0,\\\"glyphicon glyphicon-fullscreen\\\"],[12],[13],[1,\\\"\\\\n                  \\\"],[13],[1,\\\"\\\\n                \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null],[1,\\\"            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,1,\\\"nav-progress-bar\\\"],[12],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[14,0,\\\"offcanvas offcanvas-end\\\"],[14,\\\"tabindex\\\",\\\"-1\\\"],[14,1,\\\"offcanvasFormBurger\\\"],[14,\\\"aria-labelledby\\\",\\\"offcanvasFormBurgerLabel\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"offcanvas-header\\\"],[12],[1,\\\"\\\\n    \\\"],[10,\\\"button\\\"],[14,0,\\\"btn-close btn-close-white text-reset\\\"],[14,\\\"data-bs-dismiss\\\",\\\"offcanvas\\\"],[14,\\\"aria-label\\\",\\\"Close\\\"],[14,4,\\\"button\\\"],[12],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,0],[14,0,\\\"offcanvas-body\\\"],[12],[1,\\\"\\\\n    \\\"],[10,\\\"nav\\\"],[14,0,\\\"nav flex-column\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"ul\\\"],[12],[1,\\\"\\\\n        \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item child-m\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,4],[[24,\\\"role\\\",\\\"link\\\"],[24,\\\"data-bs-dismiss\\\",\\\"offcanvas\\\"],[24,0,\\\"nav-link text-white\\\"]],[[\\\"@route\\\"],[\\\"sources\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[1,[28,[35,5],[\\\"References\\\"],null]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item child-m\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,4],[[24,\\\"role\\\",\\\"link\\\"],[24,\\\"data-bs-dismiss\\\",\\\"offcanvas\\\"],[24,0,\\\"nav-link text-white\\\"]],[[\\\"@route\\\"],[\\\"about\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[1,[28,[35,5],[\\\"About\\\"],null]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item child-m\\\"],[12],[1,\\\"\\\\n          \\\"],[8,[39,4],[[24,\\\"role\\\",\\\"link\\\"],[24,\\\"data-bs-dismiss\\\",\\\"offcanvas\\\"],[24,0,\\\"nav-link text-white\\\"]],[[\\\"@route\\\"],[\\\"gallery\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n            \\\"],[1,[28,[35,5],[\\\"Gallery\\\"],null]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n        \\\"],[10,\\\"li\\\"],[14,0,\\\"nav-item child-m\\\"],[12],[1,\\\"\\\\n\\\\n          \\\"],[8,[39,4],[[24,\\\"role\\\",\\\"link\\\"],[16,\\\"title\\\",[29,[[28,[37,5],[\\\"Links\\\"],null]]]],[24,\\\"rel\\\",\\\"home\\\"],[24,0,\\\"nav-link text-white\\\"]],[[\\\"@route\\\"],[\\\"links\\\"]],[[\\\"default\\\"],[[[[1,\\\"\\\\n\\\\n            \\\"],[1,[28,[35,5],[\\\"Links\\\"],null]],[1,\\\"\\\\n          \\\"]],[]]]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[10,0],[15,0,[29,[\\\"d-none container-xxl mt-4 mb-3 \\\",[30,0,[\\\"navigationService\\\",\\\"routeClass1\\\"]]]]],[12],[1,\\\"\\\\n  \\\"],[10,\\\"h1\\\"],[14,0,\\\"h1 m-4 mt-0 page-title\\\"],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"navigationService\\\",\\\"routeEnabled2\\\"]],[[[1,\\\"      \\\"],[8,[39,4],[[24,\\\"role\\\",\\\"link\\\"],[24,0,\\\"nav-link text-white\\\"]],[[\\\"@route\\\"],[[30,0,[\\\"navigationService\\\",\\\"routeName2\\\"]]]],[[\\\"default\\\"],[[[[1,\\\"\\\\n        \\\"],[1,[30,0,[\\\"navigationService\\\",\\\"routeTitle2\\\"]]],[1,\\\"\\\\n      \\\"]],[]]]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[30,0,[\\\"pageTitleEnabled\\\"]],[[[1,\\\"        \\\"],[1,[30,0,[\\\"navigationService\\\",\\\"routeTitle2\\\"]]],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"@event\\\"],false,[\\\"div\\\",\\\"nav\\\",\\\"ul\\\",\\\"li\\\",\\\"link-to\\\",\\\"t\\\",\\\"span\\\",\\\"img\\\",\\\"if\\\",\\\"a\\\",\\\"button\\\",\\\"tr\\\",\\\"on\\\",\\\"fn\\\",\\\"h1\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/main-navbar.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (_class = class _class extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"navigationService\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n      _defineProperty(this, \"fps\", 0);\n      _defineProperty(this, \"id\", \"\");\n      _defineProperty(this, \"value\", \"\");\n      _initializerDefineProperty(this, \"routeEnabled1\", _descriptor3, this);\n      _initializerDefineProperty(this, \"routeEnabled2\", _descriptor4, this);\n      _initializerDefineProperty(this, \"pageTitleEnabled\", _descriptor5, this);\n      _initializerDefineProperty(this, \"routeClass1\", _descriptor6, this);\n      this.getRoutes();\n      this.navigationService.idElementProgress = 'nav-progress-bar';\n    }\n    getRoutes() {\n      this.navigationService.fetchData().then(() => {\n        this.observeCurrentURL();\n      });\n    }\n    //@action unregister() {\n    //this.updateNavigation();\n    //}\n    initRender() {\n      //this.observeCurrentURL();\n    }\n    observeCurrentURL() {\n      this.navigationService.setNavigationRoutes(this.router.currentRouteName, this.router.currentRouteName);\n      this.updateNavigation();\n    }\n    updateNavigation() {\n      this.routeEnabled1 = this.navigationService.routeEnabled1;\n      this.routeEnabled2 = this.navigationService.routeEnabled2;\n      this.pageTitleEnabled = this.navigationService.pageTitleEnabled;\n      this.routeClass1 = this.navigationService.routeClass1;\n    }\n    fullScreen() {\n      this.navigationService.enterFullScreen();\n      return false;\n    }\n    pauseAnimation() {\n      this.navigationService.startAnimation();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"navigationService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"routeEnabled1\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"routeEnabled2\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"pageTitleEnabled\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"routeClass1\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"initRender\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"initRender\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"observeCurrentURL\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"observeCurrentURL\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"fullScreen\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"fullScreen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"pauseAnimation\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"pauseAnimation\"), _class.prototype), _class));\n});","define(\"univers-app-components/components/post-home-item\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _tracking, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this.loading}}\n    <div class=\"max-height-100 {{if this.loading 'loading' 'card-img-loaded'}}\">\n      <div class=\"spinner-border m-5\" role=\"status\">\n        <span class=\"visually-hidden\">Loading...</span>\n      </div>\n    </div>\n  {{else}}\n    <figure\n      class=\"special-cursor w100 max-height-100\"\n      id=\"image-wrapper-{{this.item.publicID}}\"\n    >\n      <img\n        data-bs-toggle=\"modal\"\n        data-bs-target=\"#modal-post-home-{{this.source}}\"\n        src=\"{{this.item.image.src}}\"\n        class=\"card-img-effect max-height-100 max-width-100\"\n        alt=\"{{this.item.title}} {{this.item.image.description}}\"\n        title=\"{{this.item.title}} {{this.item.image.description}}\"\n        {{on \"load\" this.imageLoadedHandler}}\n      />\n    </figure>\n  \n    <button\n      type=\"button\"\n      class=\"d-none p-2 btn-list-sub-item card-title bg-black\"\n      data-bs-toggle=\"modal\"\n      data-bs-target=\"#modal-post-home-{{this.source}}\"\n    >\n      {{this.item.date_y_m_d}}\n    </button>\n  \n    {{#if this.imageLoaded}}\n      <div\n        class=\"modal fade\"\n        id=\"modal-post-home-{{this.source}}\"\n        tabindex=\"-1\"\n        aria-labelledby=\"post-modal-{{this.source}}\"\n        aria-hidden=\"true\"\n      >\n        <div class=\"modal-dialog bg-black\">\n          <div class=\"modal-content bg-black\">\n            <div class=\"modal-header\">\n              <h1\n                class=\"modal-title fs-5\"\n                id=\"exampleModalLabel\"\n              >{{this.item.date_y_m_d}}</h1>\n              <button\n                type=\"button\"\n                class=\"btn-close\"\n                data-bs-dismiss=\"modal\"\n                aria-label=\"Close\"\n              ></button>\n            </div>\n            <div class=\"modal-body\">\n              <p class=\"card-text\">\n                {{{this.item.body}}}\n              </p>\n              <figure class=\"mb-3\">\n                <a role=\"link\" href=\"{{this.item.url}}\">\n                  <img\n                    loading=\"lazy\"\n                    src=\"{{this.item.image.src}}\"\n                    class=\"card-img-effect border-postcard img-fluid image-loaded-{{this.loading}}\"\n                    alt=\"{{this.item.title}} {{this.item.image.description}}\"\n                    title=\"{{this.item.title}} {{this.item.image.description}}\"\n                    {{on \"load\" this.imageLoadedHandler}}\n                  />\n                </a>\n              </figure>\n            </div>\n            <div class=\"modal-footer\">\n              <a\n                class=\"p-2 btn-list-sub-item card-title bg-black\"\n                role=\"link\"\n                href=\"{{this.item.url}}\"\n              >\n                Source\n              </a>\n              <button\n                type=\"button\"\n                class=\"p-2 btn-list-sub-item card-title bg-black\"\n                data-bs-dismiss=\"modal\"\n              >X</button>\n            </div>\n          </div>\n        </div>\n      </div>\n    {{/if}}\n  {{/if}}\n  \n  <CursorHover />\n  */\n  {\n    \"id\": \"pZZ5XHs0\",\n    \"block\": \"[[[41,[30,0,[\\\"loading\\\"]],[[[1,\\\"  \\\"],[10,0],[15,0,[29,[\\\"max-height-100 \\\",[52,[30,0,[\\\"loading\\\"]],\\\"loading\\\",\\\"card-img-loaded\\\"]]]],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"spinner-border m-5\\\"],[14,\\\"role\\\",\\\"status\\\"],[12],[1,\\\"\\\\n      \\\"],[10,1],[14,0,\\\"visually-hidden\\\"],[12],[1,\\\"Loading...\\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"  \\\"],[10,\\\"figure\\\"],[14,0,\\\"special-cursor w100 max-height-100\\\"],[15,1,[29,[\\\"image-wrapper-\\\",[30,0,[\\\"item\\\",\\\"publicID\\\"]]]]],[12],[1,\\\"\\\\n    \\\"],[11,\\\"img\\\"],[24,\\\"data-bs-toggle\\\",\\\"modal\\\"],[16,\\\"data-bs-target\\\",[29,[\\\"#modal-post-home-\\\",[30,0,[\\\"source\\\"]]]]],[16,\\\"src\\\",[29,[[30,0,[\\\"item\\\",\\\"image\\\",\\\"src\\\"]]]]],[24,0,\\\"card-img-effect max-height-100 max-width-100\\\"],[16,\\\"alt\\\",[29,[[30,0,[\\\"item\\\",\\\"title\\\"]],\\\" \\\",[30,0,[\\\"item\\\",\\\"image\\\",\\\"description\\\"]]]]],[16,\\\"title\\\",[29,[[30,0,[\\\"item\\\",\\\"title\\\"]],\\\" \\\",[30,0,[\\\"item\\\",\\\"image\\\",\\\"description\\\"]]]]],[4,[38,5],[\\\"load\\\",[30,0,[\\\"imageLoadedHandler\\\"]]],null],[12],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n  \\\"],[10,\\\"button\\\"],[14,0,\\\"d-none p-2 btn-list-sub-item card-title bg-black\\\"],[14,\\\"data-bs-toggle\\\",\\\"modal\\\"],[15,\\\"data-bs-target\\\",[29,[\\\"#modal-post-home-\\\",[30,0,[\\\"source\\\"]]]]],[14,4,\\\"button\\\"],[12],[1,\\\"\\\\n    \\\"],[1,[30,0,[\\\"item\\\",\\\"date_y_m_d\\\"]]],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[30,0,[\\\"imageLoaded\\\"]],[[[1,\\\"    \\\"],[10,0],[14,0,\\\"modal fade\\\"],[15,1,[29,[\\\"modal-post-home-\\\",[30,0,[\\\"source\\\"]]]]],[14,\\\"tabindex\\\",\\\"-1\\\"],[15,\\\"aria-labelledby\\\",[29,[\\\"post-modal-\\\",[30,0,[\\\"source\\\"]]]]],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[1,\\\"\\\\n      \\\"],[10,0],[14,0,\\\"modal-dialog bg-black\\\"],[12],[1,\\\"\\\\n        \\\"],[10,0],[14,0,\\\"modal-content bg-black\\\"],[12],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"modal-header\\\"],[12],[1,\\\"\\\\n            \\\"],[10,\\\"h1\\\"],[14,0,\\\"modal-title fs-5\\\"],[14,1,\\\"exampleModalLabel\\\"],[12],[1,[30,0,[\\\"item\\\",\\\"date_y_m_d\\\"]]],[13],[1,\\\"\\\\n            \\\"],[10,\\\"button\\\"],[14,0,\\\"btn-close\\\"],[14,\\\"data-bs-dismiss\\\",\\\"modal\\\"],[14,\\\"aria-label\\\",\\\"Close\\\"],[14,4,\\\"button\\\"],[12],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"modal-body\\\"],[12],[1,\\\"\\\\n            \\\"],[10,2],[14,0,\\\"card-text\\\"],[12],[1,\\\"\\\\n              \\\"],[2,[30,0,[\\\"item\\\",\\\"body\\\"]]],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,\\\"figure\\\"],[14,0,\\\"mb-3\\\"],[12],[1,\\\"\\\\n              \\\"],[10,3],[14,\\\"role\\\",\\\"link\\\"],[15,6,[29,[[30,0,[\\\"item\\\",\\\"url\\\"]]]]],[12],[1,\\\"\\\\n                \\\"],[11,\\\"img\\\"],[24,\\\"loading\\\",\\\"lazy\\\"],[16,\\\"src\\\",[29,[[30,0,[\\\"item\\\",\\\"image\\\",\\\"src\\\"]]]]],[16,0,[29,[\\\"card-img-effect border-postcard img-fluid image-loaded-\\\",[30,0,[\\\"loading\\\"]]]]],[16,\\\"alt\\\",[29,[[30,0,[\\\"item\\\",\\\"title\\\"]],\\\" \\\",[30,0,[\\\"item\\\",\\\"image\\\",\\\"description\\\"]]]]],[16,\\\"title\\\",[29,[[30,0,[\\\"item\\\",\\\"title\\\"]],\\\" \\\",[30,0,[\\\"item\\\",\\\"image\\\",\\\"description\\\"]]]]],[4,[38,5],[\\\"load\\\",[30,0,[\\\"imageLoadedHandler\\\"]]],null],[12],[13],[1,\\\"\\\\n              \\\"],[13],[1,\\\"\\\\n            \\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n          \\\"],[10,0],[14,0,\\\"modal-footer\\\"],[12],[1,\\\"\\\\n            \\\"],[10,3],[14,0,\\\"p-2 btn-list-sub-item card-title bg-black\\\"],[14,\\\"role\\\",\\\"link\\\"],[15,6,[29,[[30,0,[\\\"item\\\",\\\"url\\\"]]]]],[12],[1,\\\"\\\\n              Source\\\\n            \\\"],[13],[1,\\\"\\\\n            \\\"],[10,\\\"button\\\"],[14,0,\\\"p-2 btn-list-sub-item card-title bg-black\\\"],[14,\\\"data-bs-dismiss\\\",\\\"modal\\\"],[14,4,\\\"button\\\"],[12],[1,\\\"X\\\"],[13],[1,\\\"\\\\n          \\\"],[13],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[]]],[1,\\\"\\\\n\\\"],[8,[39,10],null,null,null]],[],false,[\\\"if\\\",\\\"div\\\",\\\"span\\\",\\\"figure\\\",\\\"img\\\",\\\"on\\\",\\\"button\\\",\\\"h1\\\",\\\"p\\\",\\\"a\\\",\\\"cursor-hover\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/post-home-item.hbs\",\n    \"isStrictMode\": false\n  });\n  let PostHomeItem = _exports.default = (_class = class PostHomeItem extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"apiPostsService\", _descriptor, this);\n      _initializerDefineProperty(this, \"navigationService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"deviantArtService\", _descriptor3, this);\n      _initializerDefineProperty(this, \"item\", _descriptor4, this);\n      _initializerDefineProperty(this, \"loading\", _descriptor5, this);\n      _initializerDefineProperty(this, \"source\", _descriptor6, this);\n      _initializerDefineProperty(this, \"imageLoaded\", _descriptor7, this);\n      this.source = args.source;\n      if (this.source == \"1\") {\n        setInterval(() => {\n          this.loading = true;\n          this.getItems();\n        }, 8000);\n      }\n      this.getItems();\n    }\n    getItems() {\n      if (this.source == \"1\") {\n        if (this.navigationService.config.DEVIANT_ART_URL) {\n          this.deviantArtService.fetchData(this.navigationService.config.DEVIANT_ART_URL, \"1\", 3).then(data => {\n            if (data && data.length > 0) {\n              data = data.filter(item => item.width < 1000);\n              // get first\n              const randomIndex = Math.floor(Math.random() * data.length);\n              this.item = data[randomIndex];\n              this.loading = false;\n            }\n          });\n        }\n      } else {\n        if (this.navigationService.config.API_POSTS_URL) {\n          this.apiPostsService.fetchData(this.navigationService.config.API_POSTS_URL).then(data => {\n            if (data && data.results.posts.length > 0) {\n              this.item = data.results.posts[0];\n              this.loading = false;\n            }\n          });\n        }\n      }\n    }\n    imageLoadedHandler(event) {\n      this.imageLoaded = true;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"apiPostsService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"navigationService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"deviantArtService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"item\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return [];\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"loading\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"source\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return \"1\";\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"imageLoaded\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"imageLoadedHandler\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"imageLoadedHandler\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PostHomeItem);\n});","define(\"univers-app-components/components/post-item\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/template-factory\"], function (_exports, _component, _component2, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"card m-2\">\n    <div class=\"row\">\n      <div class=\"col-12 col-lg-6 p-3\">\n        <figure class=\"\">\n          <img\n            src=\"{{this.item.image.src}}\"\n            class=\"border-gray img-fluid\"\n            alt=\"{{this.item.image.title}} {{this.item.image.description}}\"\n          />\n        </figure>\n      </div>\n      <div class=\"col-12 col-lg-6 p-3\">\n        <p class=\"card-text\">\n          {{this.item.image.title}}\n        </p>\n        <p class=\"card-text\">\n          {{{this.item.body}}}\n        </p>\n        <p class=\"card-text mb-2\">\n          <p>Source : {{this.item.url}}</p>\n          <a role=\"link\" class=\"btn btn-outline-light\" href=\"{{this.item.url}}\">\n            {{this.item.date_y_m_d}}\n          </a>\n        </p>\n      </div>\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"MpiIJdZP\",\n    \"block\": \"[[[10,0],[14,0,\\\"card m-2\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"row\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"col-12 col-lg-6 p-3\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"figure\\\"],[14,0,\\\"\\\"],[12],[1,\\\"\\\\n        \\\"],[10,\\\"img\\\"],[15,\\\"src\\\",[29,[[30,0,[\\\"item\\\",\\\"image\\\",\\\"src\\\"]]]]],[14,0,\\\"border-gray img-fluid\\\"],[15,\\\"alt\\\",[29,[[30,0,[\\\"item\\\",\\\"image\\\",\\\"title\\\"]],\\\" \\\",[30,0,[\\\"item\\\",\\\"image\\\",\\\"description\\\"]]]]],[12],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"col-12 col-lg-6 p-3\\\"],[12],[1,\\\"\\\\n      \\\"],[10,2],[14,0,\\\"card-text\\\"],[12],[1,\\\"\\\\n        \\\"],[1,[30,0,[\\\"item\\\",\\\"image\\\",\\\"title\\\"]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,2],[14,0,\\\"card-text\\\"],[12],[1,\\\"\\\\n        \\\"],[2,[30,0,[\\\"item\\\",\\\"body\\\"]]],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,2],[14,0,\\\"card-text mb-2\\\"],[12],[1,\\\"\\\\n        \\\"],[10,2],[12],[1,\\\"Source : \\\"],[1,[30,0,[\\\"item\\\",\\\"url\\\"]]],[13],[1,\\\"\\\\n        \\\"],[10,3],[14,\\\"role\\\",\\\"link\\\"],[14,0,\\\"btn btn-outline-light\\\"],[15,6,[29,[[30,0,[\\\"item\\\",\\\"url\\\"]]]]],[12],[1,\\\"\\\\n          \\\"],[1,[30,0,[\\\"item\\\",\\\"date_y_m_d\\\"]]],[1,\\\"\\\\n        \\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[],false,[\\\"div\\\",\\\"figure\\\",\\\"img\\\",\\\"p\\\",\\\"a\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/post-item.hbs\",\n    \"isStrictMode\": false\n  });\n  class PostItem extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      this.item = args.item;\n    }\n  }\n  _exports.default = PostItem;\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PostItem);\n});","define(\"univers-app-components/components/posts-list\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _tracking, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div class=\"container-posts\">\n    <div class=\"row\">\n      {{#each this.items as |item|}}\n        <div class=\"post-item\">\n          <PostItem @item={{item}} />\n        </div>\n      {{/each}}\n    </div>\n  </div>\n  */\n  {\n    \"id\": \"iHgdukAO\",\n    \"block\": \"[[[10,0],[14,0,\\\"container-posts\\\"],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"row\\\"],[12],[1,\\\"\\\\n\\\"],[42,[28,[37,2],[[28,[37,2],[[30,0,[\\\"items\\\"]]],null]],null],null,[[[1,\\\"      \\\"],[10,0],[14,0,\\\"post-item\\\"],[12],[1,\\\"\\\\n        \\\"],[8,[39,3],null,[[\\\"@item\\\"],[[30,1]]],null],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n\\\"]],[1]],null],[1,\\\"  \\\"],[13],[1,\\\"\\\\n\\\"],[13]],[\\\"item\\\"],false,[\\\"div\\\",\\\"each\\\",\\\"-track-array\\\",\\\"post-item\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/posts-list.hbs\",\n    \"isStrictMode\": false\n  });\n  let PostsList = _exports.default = (_class = class PostsList extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"apiPostsService\", _descriptor, this);\n      _initializerDefineProperty(this, \"navigationService\", _descriptor2, this);\n      _initializerDefineProperty(this, \"items\", _descriptor3, this);\n      this.getItems();\n    }\n    getItems() {\n      if (this.navigationService.config.API_POSTS_URL) {\n        this.apiPostsService.fetchData(this.navigationService.config.API_POSTS_URL).then(data => {\n          if (data && data.results.posts.length > 0) {\n            this.items = data.results.posts;\n          }\n        });\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"apiPostsService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"navigationService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"items\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return [];\n    }\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, PostsList);\n});","define(\"univers-app-components/components/switch-lang\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/object\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _object, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <button\n    type=\"button\"\n    role=\"button\"\n    class=\"btn btn btn-outline-secondary border-radius-0 m-2\"\n    {{on \"click\" (fn this.switch \"fr-fr\")}}\n  >\n    FR\n  </button>\n  <button\n    type=\"button\"\n    role=\"button\"\n    class=\"btn btn btn-outline-secondary border-radius-0 m-2\"\n    {{on \"click\" (fn this.switch \"en-us\")}}\n  >\n    EN\n  </button>\n  */\n  {\n    \"id\": \"eicfIrkN\",\n    \"block\": \"[[[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"btn btn btn-outline-secondary border-radius-0 m-2\\\"],[24,4,\\\"button\\\"],[4,[38,1],[\\\"click\\\",[28,[37,2],[[30,0,[\\\"switch\\\"]],\\\"fr-fr\\\"],null]],null],[12],[1,\\\"\\\\n  FR\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[11,\\\"button\\\"],[24,\\\"role\\\",\\\"button\\\"],[24,0,\\\"btn btn btn-outline-secondary border-radius-0 m-2\\\"],[24,4,\\\"button\\\"],[4,[38,1],[\\\"click\\\",[28,[37,2],[[30,0,[\\\"switch\\\"]],\\\"en-us\\\"],null]],null],[12],[1,\\\"\\\\n  EN\\\\n\\\"],[13]],[],false,[\\\"button\\\",\\\"on\\\",\\\"fn\\\"]]\",\n    \"moduleName\": \"univers-app-components/components/switch-lang.hbs\",\n    \"isStrictMode\": false\n  });\n  let SwitchLang = _exports.default = (_class = class SwitchLang extends _component2.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n    }\n    switch(lang) {\n      this.intl.setLocale([lang]);\n      localStorage.setItem(\"user_lang\", lang);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"switch\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"switch\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, SwitchLang);\n});","define(\"univers-app-components/components/view-component\", [\"exports\", \"@glimmer/component\", \"@ember/service\", \"@glimmer/tracking\"], function (_exports, _component, _service, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ViewComponent = _exports.default = (_class = class ViewComponent extends _component.default {\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"modelNotifierService\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n      _initializerDefineProperty(this, \"title\", _descriptor3, this);\n      this.model = args.model;\n      if (this.model && this.model.title) {\n        this.title = this.model.title;\n      }\n    }\n    get currentModelID() {\n      return this.modelNotifierService.modelID;\n    }\n    get componentData() {\n      return this.modelNotifierService.dataSet;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"modelNotifierService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"title\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return \"\";\n    }\n  }), _class);\n});","define(\"univers-app-components/routes/index\", [\"exports\", \"@ember/routing/route\", \"@ember/service\"], function (_exports, _route, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let IndexRoute = _exports.default = (_class = class IndexRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"intl\", _descriptor, this);\n      _initializerDefineProperty(this, \"navigationService\", _descriptor2, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"intl\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"navigationService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"univers-app-components/routes/view-route\", [\"exports\", \"@ember/routing/route\", \"univers-app-components/services/data-service\", \"@ember/service\"], function (_exports, _route, _dataService, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let ViewRoute = _exports.default = (_class = class ViewRoute extends _route.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"modelNotifierService\", _descriptor, this);\n    }\n    async getModel(folder, params, route, isIndex, listRoute) {\n      const result = await new _dataService.default().getModel(folder, params, route, isIndex, listRoute);\n      this.modelNotifierService.modelID = typeof result.dataSet.id !== \"undefined\" ? result.dataSet.id : result.id;\n      this.modelNotifierService.dataSet = typeof result.dataSet.id !== \"undefined\" ? result.dataSet : result;\n      return result;\n    }\n    isDef(dataSet) {\n      return typeof dataSet !== \"undefined\" && dataSet !== null;\n    }\n    cleanModel() {}\n    setModel() {}\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"modelNotifierService\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  ;\n});","define(\"univers-app-components/services/data-service\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class DataService {\n    getPromiseModel(folder, params, route, isIndex = false, listRoute = null) {\n      return new Promise((resolve, reject) => {\n        try {\n          this.getModel(folder, params, route, isIndex, listRoute).then(model => {\n            if (model && model.ok) {\n              resolve(model);\n            } else {\n              reject(new Error(\"Failed to retrieve a valid model\"));\n            }\n          }).catch(error => {\n            reject(error);\n          });\n        } catch (error) {\n          reject(error);\n        }\n      });\n    }\n    getModel(folder, params, route, isIndex, listRoute) {\n      let id = '0';\n      let fileName = \"1\";\n      let num = 0;\n      if (isIndex !== true && typeof params === 'object' && typeof params.id === 'string') {\n        id = params.id;\n        num = id;\n        if (id !== \"index\") {\n          // p-id\n          let n = id.indexOf(\"-\");\n          if (n > 0) {\n            fileName = id.substring(0, n);\n            num = id.substring(n + 1);\n            if (typeof fileName !== \"string\" || fileName === \"\") {\n              fileName = \"1\";\n            }\n          }\n        }\n      } else if (typeof params === 'object' && typeof params.level1 === 'string' && typeof params.level2 === 'string') {\n        // level1/level2/level3\n        if (params.level2 === \"\") {\n          return null;\n        }\n        if (typeof params.level3 !== 'string' || params.level3 === \"\") {\n          params.level3 = \"index\";\n        }\n        fileName = `${params.level1}-${params.level2}`;\n        num = `${params.level1}-${params.level2}-${params.level3}`;\n        id = num;\n      } else if (typeof params === 'object' && params.p && isIndex === true) {\n        // p\n        fileName = params.p;\n        num = params.p;\n      } else if (isIndex === false) {\n        return null;\n      }\n      const props = [];\n      if (folder == \"\") {\n        return null;\n      }\n      try {\n        const modelUrl = `/api/${folder}/data-${fileName}.json `;\n        return fetch(modelUrl).then(response => {\n          if (!response.ok) {\n            console.error(\"Network response was not ok\");\n            throw new Error('Network response was not ok');\n          }\n          return response.json();\n        }).then(model => {\n          this.cleanModel(model, props);\n          if (model) {\n            model.modelUrl = modelUrl;\n            model.id = num;\n            model.p = fileName;\n            model.folder = folder;\n            model.route = route;\n            model.listRoute = listRoute;\n            model.params = params;\n            model.routeParams = params;\n            model.date = new Date().toISOString();\n            model.dataSet = this.consumeModel(model, params, id);\n            model.dataSet.folder = folder;\n            model.dataSet.route = route;\n            model.dataSet.route = route;\n            model.dataSet.routeParams = params;\n            model.dataSet.longId = `${folder.toLowerCase()}-${id.toLowerCase()}`;\n            model.ok = model.dataSet && model.dataSet.ok === true;\n            this.setModel(model);\n          }\n          return model;\n        }).catch(error => {\n          console.error(error);\n          const model = [];\n          model.id = num;\n          model.p = fileName;\n          model.folder = folder;\n          model.route = route;\n          model.params = params;\n          model.routeParams = params;\n          model.ok = false;\n          return model;\n        });\n      } catch (error) {\n        console.error(error);\n        const model = [];\n        model.id = num;\n        model.p = fileName;\n        model.folder = folder;\n        model.route = route;\n        model.params = params;\n        model.ok = false;\n        model.routeParams = params;\n        return model;\n      }\n    }\n    consumeModel(model, params, id) {\n      let newModel = [];\n      if (typeof params === 'object' && typeof params.level1 === 'string') {\n        for (let i = 0; i < model.dataSets.length; i++) {\n          if (model.dataSets[i].id) {\n            const idPage = model.dataSets[i].id.replace(`${params.level1}-${params.level2}-`, \"\");\n            model.dataSets[i].routeParams = {\n              \"level1\": params.level1,\n              \"level2\": params.level2,\n              \"level3\": idPage\n            };\n          }\n        }\n      }\n      for (let i = 0; i < model.dataSets.length; i++) {\n        model.dataSets[i].route = model.route;\n        if (typeof params.level1 === 'string' && (params.level3 === \"00\" || params.level3 === \"index\") || model.dataSets[i].id === id || id === \"index\") {\n          newModel = model.dataSets[i];\n          newModel.routeParams = params;\n          newModel.ok = true;\n          if (model.dataSets.length - 1 > i) {\n            model.nextPage = [];\n            model.nextPage.routeParams = model.dataSets[i + 1].routeParams;\n          }\n          if (i > 0 && model.dataSets.length > 1) {\n            model.previousPage = [];\n            model.previousPage.routeParams = model.dataSets[i - 1].routeParams;\n          }\n          break;\n        }\n      }\n      return newModel;\n    }\n    cleanModel() {}\n    setModel() {}\n  }\n  _exports.default = DataService;\n});","\n"],"names":["functionToCheck","getType","toString","call","element","nodeType","window","ownerDocument","defaultView","css","getComputedStyle","property","nodeName","parentNode","host","document","body","getStyleComputedProperty","overflow","overflowX","overflowY","test","getScrollParent","getParentNode","reference","referenceNode","version","isIE11","documentElement","noOffsetParent","isIE","offsetParent","nextElementSibling","indexOf","getOffsetParent","firstElementChild","node","getRoot","element1","element2","order","compareDocumentPosition","Node","DOCUMENT_POSITION_FOLLOWING","start","end","range","createRange","setStart","setEnd","commonAncestorContainer","contains","isOffsetContainer","element1root","findCommonOffsetParent","side","upperSide","html","scrollingElement","subtract","scrollTop","getScroll","scrollLeft","modifier","top","bottom","left","right","sideA","axis","sideB","parseFloat","styles","Math","parseInt","computedStyle","getSize","offsets","width","height","rect","getBoundingClientRect","result","sizes","getWindowSizes","clientWidth","clientHeight","horizScrollbar","offsetWidth","vertScrollbar","offsetHeight","getBordersSize","getClientRect","fixedPosition","isIE10","runIsIE","isHTML","parent","childrenRect","parentRect","scrollParent","borderTopWidth","borderLeftWidth","marginTop","marginLeft","includeScroll","excludeScroll","relativeOffset","getOffsetRectRelativeToArbitraryNode","innerWidth","innerHeight","offset","isFixed","parentElement","el","boundaries","getFixedPositionOffsetParent","getReferenceNode","boundariesElement","getViewportOffsetRectRelativeToArtbitraryNode","boundariesNode","popper","padding","isPaddingNumber","placement","getBoundaries","rects","refRect","sortedAreas","Object","keys","map","getArea","sort","b","area","a","filteredAreas","filter","computedPlacement","length","key","variation","split","commonOffsetParent","x","marginBottom","y","marginRight","hash","replace","popperRect","getOuterSizes","popperOffsets","isHoriz","mainSide","secondarySide","measurement","secondaryMeasurement","referenceOffsets","getOppositePlacement","Array","prototype","find","arr","findIndex","cur","match","obj","modifiersToRun","ends","modifiers","slice","forEach","warn","fn","enabled","isFunction","data","state","isDestroyed","getReferenceOffsets","options","positionFixed","computeAutoPlacement","flip","originalPlacement","getPopperOffsets","position","runModifiers","isCreated","onUpdate","onCreate","some","name","prefixes","upperProp","charAt","toUpperCase","i","prefix","toCheck","style","isModifierEnabled","removeAttribute","willChange","getSupportedPropertyName","disableEventListeners","removeOnDestroy","removeChild","isBody","target","addEventListener","passive","push","updateBound","scrollElement","scrollParents","eventsEnabled","setupEventListeners","scheduleUpdate","removeEventListener","removeEventListeners","n","isNaN","isFinite","unit","isNumeric","value","attributes","setAttribute","round","noRound","referenceWidth","popperWidth","isVertical","isVariation","horizontalToInteger","verticalToInteger","bothOddWidth","requesting","isRequired","requested","counter","index","validPlacements","concat","reverse","str","size","useHeight","fragments","frag","trim","divider","search","splitRegex","ops","mergeWithPrevious","op","reduce","toValue","index2","basePlacement","parseOffset","min","floor","max","navigator","longerTimeoutBrowsers","isBrowser","userAgent","supportsMicroTasks","Promise","called","resolve","then","scheduled","MSInputMethodContext","documentMode","isFirefox","placements","BEHAVIORS","Popper","requestAnimationFrame","update","debounce","bind","Defaults","jquery","modifierOptions","onLoad","enableEventListeners","destroy","Utils","global","PopperUtils","shiftvariation","shiftOffsets","instance","transformProp","popperStyles","transform","priority","check","escapeWithReference","opSide","isModifierRequired","arrowElement","querySelector","len","sideCapitalized","toLowerCase","altSide","arrowElementSize","center","popperMarginSide","popperBorderSide","sideValue","arrow","flipped","placementOpposite","flipOrder","behavior","FLIP","CLOCKWISE","clockwise","COUNTERCLOCKWISE","refOffsets","overlapsRef","overflowsLeft","overflowsRight","overflowsTop","overflowsBottom","overflowsBoundaries","flippedVariationByRef","flipVariations","flippedVariationByContent","flipVariationsByContent","flippedVariation","getOppositeVariation","subtractLength","bound","hide","legacyGpuAccelerationOption","gpuAcceleration","offsetParentRect","getRoundedOffsets","devicePixelRatio","prefixedProperty","invertTop","invertLeft","arrowStyles","elementMap","Map","Data","set","element","key","instance","has","instanceMap","get","size","console","error","Array","from","keys","remove","delete","TRANSITION_END","parseSelector","selector","window","CSS","escape","replace","match","id","triggerTransitionEnd","dispatchEvent","Event","isElement","object","jquery","nodeType","getElement","length","document","querySelector","isVisible","getClientRects","elementIsVisible","getComputedStyle","getPropertyValue","closedDetails","closest","summary","parentNode","isDisabled","Node","ELEMENT_NODE","classList","contains","disabled","hasAttribute","getAttribute","findShadowRoot","documentElement","attachShadow","getRootNode","root","ShadowRoot","noop","reflow","offsetHeight","getjQuery","jQuery","body","DOMContentLoadedCallbacks","isRTL","dir","defineJQueryPlugin","plugin","callback","$","name","NAME","JQUERY_NO_CONFLICT","fn","jQueryInterface","Constructor","noConflict","readyState","addEventListener","push","execute","possibleCallback","args","defaultValue","executeAfterTransition","transitionElement","waitForTransition","emulatedDuration","transitionDuration","transitionDelay","floatTransitionDuration","Number","parseFloat","floatTransitionDelay","split","getTransitionDurationFromElement","called","handler","target","removeEventListener","setTimeout","getNextActiveElement","list","activeElement","shouldGetNext","isCycleAllowed","listLength","index","indexOf","Math","max","min","namespaceRegex","stripNameRegex","stripUidRegex","eventRegistry","uidEvent","customEvents","mouseenter","mouseleave","nativeEvents","Set","makeEventUid","uid","getElementEvents","findHandler","events","callable","delegationSelector","Object","values","find","event","normalizeParameters","originalTypeEvent","delegationFunction","isDelegated","typeEvent","getTypeEvent","addHandler","oneOff","wrapFunction","relatedTarget","delegateTarget","call","this","handlers","previousFunction","domElements","querySelectorAll","domElement","hydrateObj","EventHandler","off","type","apply","bootstrapDelegationHandler","bootstrapHandler","removeHandler","Boolean","removeNamespacedHandlers","namespace","storeElementEvent","handlerKey","entries","includes","on","one","inNamespace","isNamespace","startsWith","elementEvent","slice","keyHandlers","trigger","jQueryEvent","bubbles","nativeDispatch","defaultPrevented","isPropagationStopped","isImmediatePropagationStopped","isDefaultPrevented","evt","cancelable","preventDefault","obj","meta","value","_unused","defineProperty","configurable","normalizeData","toString","JSON","parse","decodeURIComponent","normalizeDataKey","chr","toLowerCase","Manipulator","setDataAttribute","setAttribute","removeDataAttribute","removeAttribute","getDataAttributes","attributes","bsKeys","dataset","filter","pureKey","charAt","getDataAttribute","Config","Default","DefaultType","Error","_getConfig","config","_mergeConfigObj","_configAfterMerge","_typeCheckConfig","jsonConfig","constructor","configTypes","property","expectedTypes","valueType","prototype","RegExp","test","TypeError","toUpperCase","BaseComponent","super","_element","_config","DATA_KEY","dispose","EVENT_KEY","propertyName","getOwnPropertyNames","_queueCallback","isAnimated","getInstance","getOrCreateInstance","VERSION","eventName","getSelector","hrefAttribute","trim","map","sel","join","SelectorEngine","concat","Element","findOne","children","child","matches","parents","ancestor","prev","previous","previousElementSibling","next","nextElementSibling","focusableChildren","focusables","el","getSelectorFromElement","getElementFromSelector","getMultipleElementsFromSelector","enableDismissTrigger","component","method","clickEvent","tagName","EVENT_CLOSE","EVENT_CLOSED","Alert","close","_destroyElement","each","data","undefined","SELECTOR_DATA_TOGGLE","Button","toggle","button","EVENT_TOUCHSTART","EVENT_TOUCHMOVE","EVENT_TOUCHEND","EVENT_POINTERDOWN","EVENT_POINTERUP","endCallback","leftCallback","rightCallback","Swipe","isSupported","_deltaX","_supportPointerEvents","PointerEvent","_initEvents","_start","_eventIsPointerPenTouch","clientX","touches","_end","_handleSwipe","_move","absDeltaX","abs","direction","add","pointerType","navigator","maxTouchPoints","DATA_API_KEY","ORDER_NEXT","ORDER_PREV","DIRECTION_LEFT","DIRECTION_RIGHT","EVENT_SLIDE","EVENT_SLID","EVENT_KEYDOWN","EVENT_MOUSEENTER","EVENT_MOUSELEAVE","EVENT_DRAG_START","EVENT_LOAD_DATA_API","EVENT_CLICK_DATA_API","CLASS_NAME_CAROUSEL","CLASS_NAME_ACTIVE","SELECTOR_ACTIVE","SELECTOR_ITEM","SELECTOR_ACTIVE_ITEM","KEY_TO_DIRECTION","ArrowLeft","ArrowRight","interval","keyboard","pause","ride","touch","wrap","Carousel","_interval","_activeElement","_isSliding","touchTimeout","_swipeHelper","_indicatorsElement","_addEventListeners","cycle","_slide","nextWhenVisible","hidden","_clearInterval","_updateInterval","setInterval","_maybeEnableCycle","to","items","_getItems","activeIndex","_getItemIndex","_getActive","order","defaultInterval","_keydown","_addTouchEventListeners","img","swipeConfig","_directionToOrder","endCallBack","clearTimeout","_setActiveIndicatorElement","activeIndicator","newActiveIndicator","elementInterval","parseInt","isNext","nextElement","nextElementIndex","triggerEvent","_orderToDirection","isCycling","directionalClassName","orderClassName","completeCallBack","_isAnimated","clearInterval","carousel","slideIndex","carousels","EVENT_SHOW","EVENT_SHOWN","EVENT_HIDE","EVENT_HIDDEN","CLASS_NAME_SHOW","CLASS_NAME_COLLAPSE","CLASS_NAME_COLLAPSING","CLASS_NAME_DEEPER_CHILDREN","parent","Collapse","_isTransitioning","_triggerArray","toggleList","elem","filterElement","foundElement","_initializeChildren","_addAriaAndCollapsedClass","_isShown","hide","show","activeChildren","_getFirstLevelChildren","activeInstance","dimension","_getDimension","style","scrollSize","complete","getBoundingClientRect","selected","triggerArray","isOpen","ARROW_UP_KEY","ARROW_DOWN_KEY","EVENT_KEYDOWN_DATA_API","EVENT_KEYUP_DATA_API","SELECTOR_DATA_TOGGLE_SHOWN","SELECTOR_MENU","PLACEMENT_TOP","PLACEMENT_TOPEND","PLACEMENT_BOTTOM","PLACEMENT_BOTTOMEND","PLACEMENT_RIGHT","PLACEMENT_LEFT","autoClose","boundary","display","offset","popperConfig","reference","Dropdown","_popper","_parent","_menu","_inNavbar","_detectNavbar","_createPopper","focus","_completeHide","destroy","update","Popper","referenceElement","_getPopperConfig","createPopper","_getPlacement","parentDropdown","isEnd","_getOffset","popperData","defaultBsPopperConfig","placement","modifiers","options","enabled","_selectMenuItem","clearMenus","openToggles","context","composedPath","isMenuTarget","dataApiKeydownHandler","isInput","isEscapeEvent","isUpOrDownEvent","getToggleButton","stopPropagation","EVENT_MOUSEDOWN","className","clickCallback","rootElement","Backdrop","_isAppended","_append","_getElement","_emulateAnimation","backdrop","createElement","append","EVENT_FOCUSIN","EVENT_KEYDOWN_TAB","TAB_NAV_BACKWARD","autofocus","trapElement","FocusTrap","_isActive","_lastTabNavDirection","activate","_handleFocusin","_handleKeydown","deactivate","elements","shiftKey","SELECTOR_FIXED_CONTENT","SELECTOR_STICKY_CONTENT","PROPERTY_PADDING","PROPERTY_MARGIN","ScrollBarHelper","getWidth","documentWidth","clientWidth","innerWidth","width","_disableOverFlow","_setElementAttributes","calculatedValue","reset","_resetElementAttributes","isOverflowing","_saveInitialAttribute","overflow","styleProperty","scrollbarWidth","_applyManipulationCallback","setProperty","actualValue","removeProperty","callBack","EVENT_HIDE_PREVENTED","EVENT_RESIZE","EVENT_CLICK_DISMISS","EVENT_MOUSEDOWN_DISMISS","EVENT_KEYDOWN_DISMISS","CLASS_NAME_OPEN","CLASS_NAME_STATIC","Modal","_dialog","_backdrop","_initializeBackDrop","_focustrap","_initializeFocusTrap","_scrollBar","_adjustDialog","_showElement","_hideModal","handleUpdate","scrollTop","modalBody","transitionComplete","_triggerBackdropTransition","event2","_resetAdjustments","isModalOverflowing","scrollHeight","clientHeight","initialOverflowY","overflowY","isBodyOverflowing","paddingLeft","paddingRight","showEvent","alreadyOpen","CLASS_NAME_SHOWING","CLASS_NAME_HIDING","OPEN_SELECTOR","scroll","Offcanvas","blur","completeCallback","position","DefaultAllowlist","a","area","b","br","col","code","dd","div","dl","dt","em","hr","h1","h2","h3","h4","h5","h6","i","li","ol","p","pre","s","small","span","sub","sup","strong","u","ul","uriAttributes","SAFE_URL_PATTERN","allowedAttribute","attribute","allowedAttributeList","attributeName","nodeName","nodeValue","attributeRegex","some","regex","allowList","content","extraClass","html","sanitize","sanitizeFn","template","DefaultContentType","entry","TemplateFactory","getContent","_resolvePossibleFunction","hasContent","changeContent","_checkContent","toHtml","templateWrapper","innerHTML","_maybeSanitize","text","_setContent","arg","templateElement","_putElementInTemplate","textContent","unsafeHtml","sanitizeFunction","createdDocument","DOMParser","parseFromString","elementName","attributeList","allowedAttributes","sanitizeHtml","DISALLOWED_ATTRIBUTES","CLASS_NAME_FADE","SELECTOR_MODAL","EVENT_MODAL_HIDE","TRIGGER_HOVER","TRIGGER_FOCUS","AttachmentMap","AUTO","TOP","RIGHT","BOTTOM","LEFT","animation","container","customClass","delay","fallbackPlacements","title","Tooltip","_isEnabled","_timeout","_isHovered","_activeTrigger","_templateFactory","_newContent","tip","_setListeners","_fixTitle","enable","disable","toggleEnabled","click","_leave","_enter","_hideModalHandler","_disposePopper","_isWithContent","isInTheDom","ownerDocument","_getTipElement","_isWithActiveTrigger","_getTitle","_createTipElement","_getContentForTemplate","_getTemplateFactory","tipId","prefix","floor","random","getElementById","getUID","setContent","_initializeOnDelegatedTarget","_getDelegateConfig","attachment","phase","state","triggers","eventIn","eventOut","_setTimeout","timeout","dataAttributes","dataAttribute","Popover","_getContent","EVENT_ACTIVATE","EVENT_CLICK","SELECTOR_TARGET_LINKS","SELECTOR_NAV_LINKS","SELECTOR_LINK_ITEMS","rootMargin","smoothScroll","threshold","ScrollSpy","_targetLinks","_observableSections","_rootElement","_activeTarget","_observer","_previousScrollData","visibleEntryTop","parentScrollTop","refresh","_initializeTargetsAndObservables","_maybeEnableSmoothScroll","disconnect","_getNewObserver","section","observe","observableSection","hash","height","offsetTop","scrollTo","top","behavior","IntersectionObserver","_observerCallback","targetElement","_process","userScrollsDown","isIntersecting","_clearActiveClass","entryIsLowerThanPrevious","targetLinks","anchor","decodeURI","_activateParents","listGroup","item","activeNodes","node","spy","ARROW_LEFT_KEY","ARROW_RIGHT_KEY","HOME_KEY","END_KEY","SELECTOR_DROPDOWN_TOGGLE","NOT_SELECTOR_DROPDOWN_TOGGLE","SELECTOR_INNER_ELEM","SELECTOR_DATA_TOGGLE_ACTIVE","Tab","_setInitialAttributes","_getChildren","innerElem","_elemIsActive","active","_getActiveElem","hideEvent","_deactivate","_activate","relatedElem","_toggleDropDown","nextActiveElement","preventScroll","_setAttributeIfNotExists","_setInitialAttributesOnChild","_getInnerElement","isActive","outerElem","_getOuterElement","_setInitialAttributesOnTargetPanel","open","EVENT_MOUSEOVER","EVENT_MOUSEOUT","EVENT_FOCUSOUT","CLASS_NAME_HIDE","autohide","Toast","_hasMouseInteraction","_hasKeyboardInteraction","_clearTimeout","_maybeScheduleHide","isShown","_onInteraction","isInteracting"],"mappings":"AAAA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACpEA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7uBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzgKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC9eA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACh0EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnkBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;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;;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;;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;;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;;AC5UA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;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;;AC7dA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC/DA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvPA;AACA;AACA;AACA;AACA;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;;ACpMA;AACA;AACA;AACA;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;;ACzHA;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;;AC5FA;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;;ACzRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxOA;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;;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;;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;;ACjNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5oBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACtRA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7tBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACjEA;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;;ACjGA;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;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACzCA;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;;AChMA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtOA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrxCA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACzBA;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;;ACjBA;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;;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;;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;;ACzJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;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;;AC/GA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtgDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AClCA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACnsBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjlEA;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;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;;AClYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACv+LA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1mBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9rBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACxWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACp7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;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;;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;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;;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;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;;ACrEA;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;;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;;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;;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;;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;;ACvIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;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;;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;;AC9FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrqBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC93DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACrvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;sLC9xBA,aAAoD,OAGhDA,IAC2C,mBAA3CC,MAAQC,QAARD,CAAiBE,IAAjBF,ICJJ,eAAoE,IACzC,CAArBG,KAAQC,qBAINC,GAASF,EAAQG,aAARH,CAAsBI,YAC/BC,EAAMH,EAAOI,gBAAPJ,GAAiC,IAAjCA,QACLK,GAAWF,IAAXE,GCPT,aAA+C,OACpB,MAArBP,KAAQQ,QADiC,GAItCR,EAAQS,UAART,EAAsBA,EAAQU,KCDvC,aAAiD,IAE3C,SACKC,UAASC,YAGVZ,EAAQQ,cACT,WACA,aACIR,GAAQG,aAARH,CAAsBY,SAC1B,kBACIZ,GAAQY,YAIwBC,KAAnCC,IAAAA,SAAUC,IAAAA,UAAWC,IAAAA,UAfkB,MAgB3C,yBAAwBC,IAAxB,CAA6BH,KAA7B,CAhB2C,GAoBxCI,EAAgBC,IAAhBD,ECvBT,aAAoD,OAC3CE,IAAaA,EAAUC,aAAvBD,CAAuCA,EAAUC,aAAjDD,GCIT,aAAsC,OACpB,GAAZE,IADgC,IAIpB,EAAZA,IAJgC,IAO7BC,OCVT,aAAiD,IAC3C,SACKZ,UAASa,gBAF6B,OAKzCC,GAAiBC,EAAK,EAALA,EAAWf,SAASC,IAApBc,CAA2B,KAG9CC,EAAe3B,EAAQ2B,YAAR3B,EAAwB,IARI,CAUxC2B,OAAmC3B,EAAQ4B,kBAVH,IAW9B,CAAC5B,EAAUA,EAAQ4B,kBAAnB,EAAuCD,gBAGlDnB,GAAWmB,GAAgBA,EAAanB,SAdC,MAgB3C,IAA0B,MAAbA,IAAb,EAAiD,MAAbA,IAhBO,CAuBY,CAAC,CAA1D,uBAAsBqB,OAAtB,CAA8BF,EAAanB,QAA3C,GACuD,QAAvDK,OAAuC,UAAvCA,CAxB6C,CA0BtCiB,IA1BsC,GAiBtC9B,EAAUA,EAAQG,aAARH,CAAsBwB,eAAhCxB,CAAkDW,SAASa,6BCxBnB,IACzChB,GAAaR,EAAbQ,SADyC,MAEhC,MAAbA,IAF6C,GAMlC,MAAbA,MAAuBsB,EAAgB9B,EAAQ+B,iBAAxBD,KANwB,ECKnD,aAAsC,OACZ,KAApBE,KAAKvB,UAD2B,GAE3BwB,EAAQD,EAAKvB,UAAbwB,ECGX,eAAmE,IAE7D,IAAa,CAACC,EAASjC,QAAvB,EAAmC,EAAnC,EAAgD,CAACkC,EAASlC,eACrDU,UAASa,mBAIZY,GACJF,EAASG,uBAATH,IACAI,KAAKC,4BACDC,EAAQJ,MACRK,EAAML,MAGNM,EAAQ/B,SAASgC,WAAThC,KACRiC,WAAgB,EAf2C,GAgB3DC,SAAY,EAhB+C,IAiBzDC,GAA4BJ,EAA5BI,2BAILZ,OACCC,KADDD,EAEDM,EAAMO,QAANP,UAEIQ,QAIGlB,QAIHmB,GAAehB,KAjC4C,MAkC7DgB,GAAavC,IAlCgD,CAmCxDwC,EAAuBD,EAAavC,IAApCwC,GAnCwD,CAqCxDA,IAAiCjB,KAAkBvB,IAAnDwC,ECzCX,aAAyD,IAAdC,0DAAO,MAC1CC,EAAqB,KAATD,KAAiB,WAAjBA,CAA+B,aAC3C3C,EAAWR,EAAQQ,YAER,MAAbA,MAAoC,MAAbA,KAAqB,IACxC6C,GAAOrD,EAAQG,aAARH,CAAsBwB,gBAC7B8B,EAAmBtD,EAAQG,aAARH,CAAsBsD,gBAAtBtD,UAClBsD,YAGFtD,MCPT,eAAuE,IAAlBuD,4CAAAA,eAC7CC,EAAYC,IAAmB,KAAnBA,EACZC,EAAaD,IAAmB,MAAnBA,EACbE,EAAWJ,EAAW,CAAC,CAAZA,CAAgB,WAC5BK,KAAOJ,MACPK,QAAUL,MACVM,MAAQJ,MACRK,OAASL,MCRhB,eAAqD,IAC7CM,GAAiB,GAATC,KAAe,MAAfA,CAAwB,MAChCC,EAAkB,MAAVF,IAAmB,OAAnBA,CAA6B,eAGzCG,YAAWC,oBAAAA,CAAXD,EACAA,WAAWC,oBAAAA,CAAXD,qBCd8C,OACzCE,IACLzD,YAAAA,CADKyD,CAELzD,YAAAA,CAFKyD,CAGLhB,YAAAA,CAHKgB,CAILhB,YAAAA,CAJKgB,CAKLhB,YAAAA,CALKgB,CAML3C,EAAK,EAALA,EACK4C,SAASjB,YAAAA,CAATiB,EACHA,SAASC,YAAgC,QAATN,KAAoB,KAApBA,CAA4B,OAAnDM,CAATD,CADGA,CAEHA,SAASC,YAAgC,QAATN,KAAoB,QAApBA,CAA+B,QAAtDM,CAATD,CAHF5C,CAIE,CAVG2C,EAcT,aAAiD,IACzCzD,GAAOD,EAASC,KAChByC,EAAO1C,EAASa,gBAChB+C,EAAgB7C,EAAK,EAALA,GAAYpB,0BAE3B,QACGkE,EAAQ,QAARA,OADH,OAEEA,EAAQ,OAARA,OAFF,ECfT,aAA+C,uBAGpCC,EAAQX,IAARW,CAAeA,EAAQC,aACtBD,EAAQb,GAARa,CAAcA,EAAQE,SCGlC,aAAuD,IACjDC,SAKA,IACElD,EAAK,EAALA,EAAU,GACL1B,EAAQ6E,qBAAR7E,EADK,IAENwD,GAAYC,IAAmB,KAAnBA,EACZC,EAAaD,IAAmB,MAAnBA,IACdG,MAJO,GAKPE,OALO,GAMPD,SANO,GAOPE,QAPP,QAUS/D,EAAQ6E,qBAAR7E,EAXX,CAcA,QAAQ,KAEF8E,GAAS,MACPF,EAAKd,IADE,KAERc,EAAKhB,GAFG,OAGNgB,EAAKb,KAALa,CAAaA,EAAKd,IAHZ,QAILc,EAAKf,MAALe,CAAcA,EAAKhB,GAJd,EAQTmB,EAA6B,MAArB/E,KAAQQ,QAARR,CAA8BgF,EAAehF,EAAQG,aAAvB6E,CAA9BhF,IACR0E,EACJK,EAAML,KAANK,EAAe/E,EAAQiF,WAAvBF,EAAsCD,EAAOJ,MACzCC,EACJI,EAAMJ,MAANI,EAAgB/E,EAAQkF,YAAxBH,EAAwCD,EAAOH,OAE7CQ,EAAiBnF,EAAQoF,WAARpF,GACjBqF,EAAgBrF,EAAQsF,YAARtF,MAIhBmF,KAAiC,IAC7Bf,GAASvD,QACG0E,IAAuB,GAAvBA,CAFiB,IAGlBA,IAAuB,GAAvBA,CAHkB,GAK5Bb,QAL4B,GAM5BC,gBAGFa,qBCzD6F,IAAvBC,4CAAAA,eACvEC,EAASC,EAAQ,EAARA,EACTC,EAA6B,MAApBC,KAAOrF,SAChBsF,EAAejB,KACfkB,EAAalB,KACbmB,EAAe9E,KAEfkD,EAASvD,KACToF,EAAiB9B,WAAWC,EAAO6B,cAAlB9B,EACjB+B,EAAkB/B,WAAWC,EAAO8B,eAAlB/B,EAGrBsB,IAZiG,KAavF7B,IAAMS,GAAS0B,EAAWnC,GAApBS,CAAyB,CAAzBA,CAbiF,GAcvFP,KAAOO,GAAS0B,EAAWjC,IAApBO,CAA0B,CAA1BA,CAdgF,KAgBhGI,GAAUe,EAAc,KACrBM,EAAalC,GAAbkC,CAAmBC,EAAWnC,GAA9BkC,EADqB,MAEpBA,EAAahC,IAAbgC,CAAoBC,EAAWjC,IAA/BgC,EAFoB,OAGnBA,EAAapB,KAHM,QAIlBoB,EAAanB,MAJK,CAAda,OAMNW,UAAY,IACZC,WAAa,EAMjB,MAAmB,IACfD,GAAYhC,WAAWC,EAAO+B,SAAlBhC,EACZiC,EAAajC,WAAWC,EAAOgC,UAAlBjC,IAEXP,KAAOqC,GAJM,GAKbpC,QAAUoC,GALG,GAMbnC,MAAQoC,GANK,GAObnC,OAASmC,GAPI,GAUbC,WAVa,GAWbC,oBAIRV,GAAU,EAAVA,CACIG,EAAO9C,QAAP8C,GADJH,CAEIG,OAAqD,MAA1BG,KAAaxF,cAElC6F,uBCnDwF,IAAvBC,4CAAAA,eACvEjD,EAAOrD,EAAQG,aAARH,CAAsBwB,gBAC7B+E,EAAiBC,OACjB9B,EAAQL,GAAShB,EAAK4B,WAAdZ,CAA2BnE,OAAOuG,UAAPvG,EAAqB,CAAhDmE,EACRM,EAASN,GAAShB,EAAK6B,YAAdb,CAA4BnE,OAAOwG,WAAPxG,EAAsB,CAAlDmE,EAETb,EAAY,EAAmC,CAAnC,CAAiBC,KAC7BC,EAAa,EAA2C,CAA3C,CAAiBD,IAAgB,MAAhBA,EAE9BkD,EAAS,KACRnD,EAAY+C,EAAe3C,GAA3BJ,CAAiC+C,EAAeJ,SADxC,MAEPzC,EAAa6C,EAAezC,IAA5BJ,CAAmC6C,EAAeH,UAF3C,QAAA,SAAA,QAORZ,MCTT,aAAyC,IACjChF,GAAWR,EAAQQ,YACR,MAAbA,MAAoC,MAAbA,iBAG2B,OAAlDK,OAAkC,UAAlCA,cAGEJ,GAAaU,KARoB,WAYhCyF,KCbT,aAA8D,IAEvD,IAAY,CAAC5G,EAAQ6G,aAArB,EAAsCnF,UAClCf,UAASa,gBAH0C,OAKxDsF,GAAK9G,EAAQ6G,aAL2C,CAMrDC,GAAoD,MAA9CjG,OAA6B,WAA7BA,CAN+C,IAOrDiG,EAAGD,oBAEHC,IAAMnG,SAASa,gBCExB,mBAME,IADAiE,4CAAAA,eAIIsB,EAAa,CAAEnD,IAAK,CAAP,CAAUE,KAAM,CAAhB,EACXnC,EAAe8D,EAAgBuB,IAAhBvB,CAAuDvC,IAA+B+D,IAA/B/D,KAGlD,UAAtBgE,OACWC,WAGV,IAECC,GACsB,cAAtBF,IAHD,IAIgBhG,EAAgBC,IAAhBD,CAJhB,CAK+B,MAA5BkG,KAAe5G,QALlB,KAMkB6G,EAAOlH,aAAPkH,CAAqB7F,eANvC,GAQ8B,QAAtB0F,IARR,GASgBG,EAAOlH,aAAPkH,CAAqB7F,eATrC,IAAA,IAcGiD,GAAU+B,YAOgB,MAA5BY,KAAe5G,QAAf4G,EAAsC,CAACR,KAAuB,OACtC5B,EAAeqC,EAAOlH,aAAtB6E,EAAlBL,IAAAA,OAAQD,IAAAA,QACLd,KAAOa,EAAQb,GAARa,CAAcA,EAAQ0B,SAFwB,GAGrDtC,OAASc,EAASF,EAAQb,GAH2B,GAIrDE,MAAQW,EAAQX,IAARW,CAAeA,EAAQ2B,UAJsB,GAKrDrC,MAAQW,EAAQD,EAAQX,IALrC,YAaQwD,GAAW,CA7CrB,IA8CMC,GAAqC,QAAnB,oBACbzD,MAAQyD,IAA4BD,EAAQxD,IAARwD,EAAgB,IACpD1D,KAAO2D,IAA4BD,EAAQ1D,GAAR0D,EAAe,IAClDvD,OAASwD,IAA4BD,EAAQvD,KAARuD,EAAiB,IACtDzD,QAAU0D,IAA4BD,EAAQzD,MAARyD,EAAkB,iBC3EjC,IAAjB5C,KAAAA,MAAOC,IAAAA,aACjBD,KAYT,qBAOE,IADA4C,0DAAU,KAEwB,CAAC,CAA/BE,KAAU3F,OAAV2F,CAAkB,MAAlBA,cAIET,GAAaU,WAObC,EAAQ,KACP,OACIX,EAAWrC,KADf,QAEKiD,EAAQ/D,GAAR+D,CAAcZ,EAAWnD,GAF9B,CADO,OAKL,OACEmD,EAAWhD,KAAXgD,CAAmBY,EAAQ5D,KAD7B,QAEGgD,EAAWpC,MAFd,CALK,QASJ,OACCoC,EAAWrC,KADZ,QAEEqC,EAAWlD,MAAXkD,CAAoBY,EAAQ9D,MAF9B,CATI,MAaN,OACG8D,EAAQ7D,IAAR6D,CAAeZ,EAAWjD,IAD7B,QAEIiD,EAAWpC,MAFf,CAbM,EAmBRiD,EAAcC,OAAOC,IAAPD,IACjBE,GADiBF,CACb,8BAEAH,WACGM,EAAQN,IAARM,GAJU,CAAAH,EAMjBI,IANiBJ,CAMZ,oBAAUK,GAAEC,IAAFD,CAASE,EAAED,IANT,CAAAN,EAQdQ,EAAgBT,EAAYU,MAAZV,CACpB,eAAGlD,KAAAA,MAAOC,IAAAA,aACRD,IAAS2C,EAAOpC,WAAhBP,EAA+BC,GAAU0C,EAAOnC,YAF9B,CAAA0C,EAKhBW,EAA2C,CAAvBF,GAAcG,MAAdH,CACtBA,EAAc,CAAdA,EAAiBI,GADKJ,CAEtBT,EAAY,CAAZA,EAAea,IAEbC,EAAYlB,EAAUmB,KAAVnB,CAAgB,GAAhBA,EAAqB,CAArBA,QAEXe,IAAqBG,OAAAA,CAA8B,EAAnDH,ECzDT,iBAA4F,IAAtB9C,0DAAgB,KAC9EmD,EAAqBnD,EAAgBuB,IAAhBvB,CAAuDvC,IAA+B+D,IAA/B/D,QAC3EsD,UCVT,aAA+C,IACvCtG,GAASF,EAAQG,aAARH,CAAsBI,YAC/BgE,EAASlE,EAAOI,gBAAPJ,IACT2I,EAAI1E,WAAWC,EAAO+B,SAAP/B,EAAoB,CAA/BD,EAAoCA,WAAWC,EAAO0E,YAAP1E,EAAuB,CAAlCD,EACxC4E,EAAI5E,WAAWC,EAAOgC,UAAPhC,EAAqB,CAAhCD,EAAqCA,WAAWC,EAAO4E,WAAP5E,EAAsB,CAAjCD,EACzCW,EAAS,OACN9E,EAAQoF,WAARpF,EADM,QAELA,EAAQsF,YAARtF,EAFK,WCLjB,aAAwD,IAChDiJ,GAAO,CAAEnF,KAAM,OAAR,CAAiBC,MAAO,MAAxB,CAAgCF,OAAQ,KAAxC,CAA+CD,IAAK,QAApD,QACN4D,GAAU0B,OAAV1B,CAAkB,wBAAlBA,CAA4C,kBAAWyB,KAAvD,CAAAzB,ECIT,iBAA8E,GAChEA,EAAUmB,KAAVnB,CAAgB,GAAhBA,EAAqB,CAArBA,CADgE,IAItE2B,GAAaC,KAGbC,EAAgB,OACbF,EAAWzE,KADE,QAEZyE,EAAWxE,MAFC,EAMhB2E,EAAmD,CAAC,CAA1C,oBAAkBzH,OAAlB,IACV0H,EAAWD,EAAU,KAAVA,CAAkB,OAC7BE,EAAgBF,EAAU,MAAVA,CAAmB,MACnCG,EAAcH,EAAU,QAAVA,CAAqB,QACnCI,EAAuB,EAAsB,OAAtB,CAAW,qBAGtCC,KACAA,KAAgC,CADhCA,CAEAR,KAA0B,OACxB3B,MAEAmC,KAAkCR,KAGlCQ,EAAiBC,IAAjBD,IChCN,eAAyC,OAEnCE,OAAMC,SAAND,CAAgBE,IAFmB,CAG9BC,EAAID,IAAJC,GAH8B,CAOhCA,EAAI1B,MAAJ0B,IAAkB,CAAlBA,ECLT,iBAAoD,IAE9CH,MAAMC,SAAND,CAAgBI,gBACXD,GAAIC,SAAJD,CAAc,kBAAOE,SAArB,CAAAF,KAIHG,GAAQJ,IAAU,kBAAOK,SAAjB,CAAAL,QACPC,GAAInI,OAAJmI,ICLT,iBAA4D,IACpDK,GAAiBC,aAEnBC,EAAUC,KAAVD,CAAgB,CAAhBA,CAAmBN,IAAqB,MAArBA,GAAnBM,WAEWE,QAAQ,WAAY,CAC7B9G,EAAS,UAATA,CAD6B,UAEvB+G,KAAK,wDAFkB,IAI3BC,GAAKhH,EAAS,UAATA,GAAwBA,EAASgH,GACxChH,EAASiH,OAATjH,EAAoBkH,IALS,KAS1BpG,QAAQ4C,OAAS7B,EAAcsF,EAAKrG,OAALqG,CAAazD,MAA3B7B,CATS,GAU1Bf,QAAQrD,UAAYoE,EAAcsF,EAAKrG,OAALqG,CAAa1J,SAA3BoE,CAVM,GAYxBmF,MAZwB,CAAnC,KCPF,YAAiC,KAE3B,KAAKI,KAAL,CAAWC,gBAIXF,GAAO,UACC,IADD,UAAA,eAAA,cAAA,WAAA,WAAA,IAUNrG,QAAQrD,UAAY6J,EACvB,KAAKF,KADkBE,CAEvB,KAAK5D,MAFkB4D,CAGvB,KAAK7J,SAHkB6J,CAIvB,KAAKC,OAAL,CAAaC,aAJUF,IAUpBzD,UAAY4D,EACf,KAAKF,OAAL,CAAa1D,SADE4D,CAEfN,EAAKrG,OAALqG,CAAa1J,SAFEgK,CAGf,KAAK/D,MAHU+D,CAIf,KAAKhK,SAJUgK,CAKf,KAAKF,OAAL,CAAaX,SAAb,CAAuBc,IAAvB,CAA4BnE,iBALbkE,CAMf,KAAKF,OAAL,CAAaX,SAAb,CAAuBc,IAAvB,CAA4B/D,OANb8D,IAUZE,kBAAoBR,EAAKtD,YAEzB2D,cAAgB,KAAKD,OAAL,CAAaC,gBAG7B1G,QAAQ4C,OAASkE,EACpB,KAAKlE,MADekE,CAEpBT,EAAKrG,OAALqG,CAAa1J,SAFOmK,CAGpBT,EAAKtD,SAHe+D,IAMjB9G,QAAQ4C,OAAOmE,SAAW,KAAKN,OAAL,CAAaC,aAAb,CAC3B,OAD2B,CAE3B,aAGGM,EAAa,KAAKlB,SAAlBkB,IAIF,KAAKV,KAAL,CAAWW,eAITR,QAAQS,kBAHRZ,MAAMW,kBACNR,QAAQU,cChEjB,eAAmE,OAC1DrB,GAAUsB,IAAVtB,CACL,eAAGuB,KAAAA,KAAMlB,IAAAA,cAAcA,IAAWkB,KAD7B,CAAAvB,ECAT,aAA2D,KAIpD,GAHCwB,+BAGD,CAFCC,EAAYzL,EAAS0L,MAAT1L,CAAgB,CAAhBA,EAAmB2L,WAAnB3L,GAAmCA,EAASiK,KAATjK,CAAe,CAAfA,CAEhD,CAAI4L,EAAI,EAAGA,EAAIJ,EAASvD,OAAQ2D,IAAK,IAClCC,GAASL,KACTM,EAAUD,QAAAA,MAC4B,WAAxC,QAAOzL,UAASC,IAATD,CAAc2L,KAAd3L,mBAIN,MCVT,YAAkC,aAC3BoK,MAAMC,eAGPuB,EAAkB,KAAKhC,SAAvBgC,CAAkC,YAAlCA,SACGlF,OAAOmF,gBAAgB,oBACvBnF,OAAOiF,MAAMd,SAAW,QACxBnE,OAAOiF,MAAM1I,IAAM,QACnByD,OAAOiF,MAAMxI,KAAO,QACpBuD,OAAOiF,MAAMvI,MAAQ,QACrBsD,OAAOiF,MAAMzI,OAAS,QACtBwD,OAAOiF,MAAMG,WAAa,QAC1BpF,OAAOiF,MAAMI,EAAyB,WAAzBA,GAAyC,SAGxDC,wBAID,KAAKzB,OAAL,CAAa0B,sBACVvF,OAAO5G,WAAWoM,YAAY,KAAKxF,QAEnC,KCzBT,aAA2C,IACnClH,GAAgBH,EAAQG,oBACvBA,GAAgBA,EAAcC,WAA9BD,CAA4CD,0BCJwB,IACrE4M,GAAmC,MAA1B9G,KAAaxF,SACtBuM,EAASD,EAAS9G,EAAa7F,aAAb6F,CAA2B5F,WAApC0M,KACRE,qBAAkC,CAAEC,UAAF,EAHkC,MAOvE/L,EAAgB6L,EAAOtM,UAAvBS,QAPuE,GAa7DgM,QAShB,mBAKE,GAEMC,aAFN,MAGqBH,iBAAiB,SAAUjC,EAAMoC,YAAa,CAAEF,UAAF,EAHnE,IAMMG,GAAgBlM,gBAGpB,SACA6J,EAAMoC,YACNpC,EAAMsC,iBAEFD,kBACAE,mBCpCR,YAA+C,CACxC,KAAKvC,KAAL,CAAWuC,aAD6B,QAEtCvC,MAAQwC,EACX,KAAKnM,SADMmM,CAEX,KAAKrC,OAFMqC,CAGX,KAAKxC,KAHMwC,CAIX,KAAKC,cAJMD,CAF8B,ECA/C,eAA+D,aAExCE,oBAAoB,SAAU1C,EAAMoC,eAGnDE,cAAc5C,QAAQ,WAAU,GAC7BgD,oBAAoB,SAAU1C,EAAMoC,YAD7C,KAKMA,YAAc,OACdE,mBACAD,cAAgB,OAChBE,mBCZR,YAAgD,CAC1C,KAAKvC,KAAL,CAAWuC,aAD+B,wBAEvB,KAAKE,eAFkB,MAGvCzC,MAAQ2C,EAAqB,KAAKtM,SAA1BsM,CAAqC,KAAK3C,KAA1C2C,CAH+B,ECFhD,aAAqC,OACtB,EAANC,MAAY,CAACC,MAAMzJ,aAANyJ,CAAbD,EAAqCE,YCE9C,eAAmD,QAC1C/F,QAAa2C,QAAQ,WAAQ,IAC9BqD,GAAO,GAIP,CAAC,CADH,oDAAsDjM,OAAtD,KAEAkM,EAAU3J,IAAV2J,CANgC,KAQzB,IARyB,IAU1BzB,SAAclI,MAVxB,GCHF,eAA2D,QAClD0D,QAAiB2C,QAAQ,WAAe,IACvCuD,GAAQC,KACVD,MAFyC,GAKnCxB,kBALmC,GAGnC0B,eAAmBD,KAH/B,GCUF,eAA6D,OAC7BnD,EAAKrG,QAA3B4C,IAAAA,OAAQjG,IAAAA,UACR+M,IACFC,EAAU,oBAAhB,EAEMC,EAAiBF,EAAM/M,EAAUsD,KAAhByJ,EACjBG,EAAcH,EAAM9G,EAAO3C,KAAbyJ,EAEdI,EAA2D,CAAC,CAA/C,oBAAkB1M,OAAlB,CAA0BiJ,EAAKtD,SAA/B,EACbgH,EAA8C,CAAC,CAAjC1D,KAAKtD,SAALsD,CAAejJ,OAAfiJ,CAAuB,GAAvBA,EAId2D,EAAsB,EAExBF,MALoBF,EAAiB,CAAjBA,EAAuBC,EAAc,CAKzDC,IAFwB,GAKtBG,EAAoB,YAEnB,MACCD,EAVoC,CAAvBJ,IAAiB,CAAjBA,EAAgD,CAApBC,IAAc,CAW3DK,EAAgB,EAAhBA,IACItH,EAAOvD,IAAPuD,CAAc,CADlBsH,CAEItH,EAAOvD,IAHP2K,CADD,KAMAC,EAAkBrH,EAAOzD,GAAzB8K,CANA,QAOGA,EAAkBrH,EAAOxD,MAAzB6K,CAPH,OAQED,EAAoBpH,EAAOtD,KAA3B0K,CARF,EC3BT,iBAIE,IACMG,GAAa7E,IAAgB,eAAG+B,KAAAA,WAAWA,MAA9B,CAAA/B,EAEb8E,EACJ,CAAC,EAAD,EACAtE,EAAUsB,IAAVtB,CAAe,WAAY,OAEvB5G,GAASmI,IAATnI,MACAA,EAASiH,OADTjH,EAEAA,EAASvB,KAATuB,CAAiBiL,EAAWxM,KAJhC,CAAAmI,KAQE,GAAa,IACTqE,qBAEElE,cACHoE,4BAAAA,8DAAAA,iBC1BT,aAAwD,OACpC,KAAdpG,IADkD,CAE7C,OAF6C,CAG7B,OAAdA,IAH2C,CAI7C,KAJ6C,GCQxD,aAA8D,IAAjBqG,4CAAAA,eACrCC,EAAQC,GAAgBpN,OAAhBoN,IACRjF,EAAMiF,GACTzE,KADSyE,CACHD,EAAQ,CADLC,EAETC,MAFSD,CAEFA,GAAgBzE,KAAhByE,CAAsB,CAAtBA,GAFEA,QAGLF,GAAU/E,EAAImF,OAAJnF,EAAV+E,GCJT,mBAA2E,IAEnEpG,GAAQyG,EAAIjF,KAAJiF,CAAU,2BAAVA,EACRpB,EAAQ,CAACrF,EAAM,CAANA,EACTmF,EAAOnF,EAAM,CAANA,KAGT,eAIsB,CAAtBmF,KAAKjM,OAALiM,CAAa,GAAbA,EAAyB,IACvB9N,iBAEG,mBAGA,QACA,qBAKD4E,GAAOY,WACNZ,MAAoB,GAApBA,EAbT,CAcO,GAAa,IAATkJ,MAA0B,IAATA,IAArB,CAAoC,IAErCuB,YACS,IAATvB,KACKzJ,GACL1D,SAASa,eAATb,CAAyBuE,YADpBb,CAELnE,OAAOwG,WAAPxG,EAAsB,CAFjBmE,EAKAA,GACL1D,SAASa,eAATb,CAAyBsE,WADpBZ,CAELnE,OAAOuG,UAAPvG,EAAqB,CAFhBmE,EAKFgL,EAAO,GAAPA,EAdF,UAiCT,mBAKE,IACM5K,SAKA6K,EAAyD,CAAC,CAA9C,oBAAkBzN,OAAlB,IAIZ0N,EAAY5I,EAAOgC,KAAPhC,CAAa,SAAbA,EAAwBoB,GAAxBpB,CAA4B,kBAAQ6I,GAAKC,IAALD,EAApC,CAAA7I,EAIZ+I,EAAUH,EAAU1N,OAAV0N,CACdxF,IAAgB,kBAAgC,CAAC,CAAzByF,KAAKG,MAALH,CAAY,MAAZA,CAAxB,CAAAzF,CADcwF,EAIZA,MAA0D,CAAC,CAArCA,QAAmB1N,OAAnB0N,CAA2B,GAA3BA,CAlB1B,UAmBU7E,KACN,+EApBJ,IA0BMkF,GAAa,cACfC,EAAkB,CAAC,CAAbH,KASN,GATMA,CACN,CACEH,EACG/E,KADH+E,CACS,CADTA,IAEGL,MAFHK,CAEU,CAACA,KAAmB5G,KAAnB4G,IAAqC,CAArCA,CAAD,CAFVA,CADF,CAIE,CAACA,KAAmB5G,KAAnB4G,IAAqC,CAArCA,CAAD,EAA0CL,MAA1C,CACEK,EAAU/E,KAAV+E,CAAgBG,EAAU,CAA1BH,CADF,CAJF,WAWEM,EAAI9H,GAAJ8H,CAAQ,aAAe,IAErBpG,GAAc,CAAW,CAAVuF,KAAc,EAAdA,EAAD,EAChB,QADgB,CAEhB,QACAc,WAEFC,GAGGC,MAHHD,CAGU,aAAU,OACQ,EAApB3H,KAAEA,EAAEI,MAAFJ,CAAW,CAAbA,GAAoD,CAAC,CAA3B,aAAWvG,OAAX,GADd,IAEZuG,EAAEI,MAAFJ,CAAW,IAFC,KAAA,SAMZA,EAAEI,MAAFJ,CAAW,KANC,KAAA,IAUPA,EAAE8G,MAAF9G,GAbb,CAAA2H,KAiBGhI,GAjBHgI,CAiBO,kBAAOE,WAjBd,CAAAF,CAPE,CAAAF,IA6BFpF,QAAQ,aAAe,GACtBA,QAAQ,aAAkB,CACvBsD,IADuB,SAEPyB,GAA2B,GAAnBO,KAAGG,EAAS,CAAZH,EAAyB,CAAC,CAA1BA,CAA8B,CAAtCP,CAFO,CAA7B,EADF,KAmBF,eAAiD,IAI3C/K,GAJiCkC,IAAAA,OAC7Ba,EAA8CsD,EAA9CtD,YAA8CsD,EAAnCrG,QAAW4C,IAAAA,OAAQjG,IAAAA,UAChC+O,EAAgB3I,EAAUmB,KAAVnB,CAAgB,GAAhBA,EAAqB,CAArBA,WAGlBuG,EAAU,EAAVA,EACQ,CAAC,EAAD,CAAU,CAAV,EAEAqC,WAGU,MAAlBD,QACKvM,KAAOa,EAAQ,CAARA,IACPX,MAAQW,EAAQ,CAARA,GACY,OAAlB0L,QACFvM,KAAOa,EAAQ,CAARA,IACPX,MAAQW,EAAQ,CAARA,GACY,KAAlB0L,QACFrM,MAAQW,EAAQ,CAARA,IACRb,KAAOa,EAAQ,CAARA,GACa,QAAlB0L,SACFrM,MAAQW,EAAQ,CAARA,IACRb,KAAOa,EAAQ,CAARA,KAGX4C,iBChHgBhD,KAAKgM,ML1DDhM,KAAViM,QAAUjM,KAAjB8J,S5BlBD9J,KAAKkM,OkCHmB,WAAlB,QAAOrQ,OAAP,EAAqD,WAApB,QAAOS,SAAxC,EAAyF,WAArB,QAAO6P,6BCInF,GADCC,+BACD,CAAItE,EAAI,EAAGA,EAAIsE,EAAsBjI,OAAQ2D,GAAK,KACjDuE,IAAsE,CAAzDF,YAAUG,SAAVH,CAAoB3O,OAApB2O,CAA4BC,IAA5BD,QACR,SAGJ,EAPgB,IAqCnBI,GAAqBF,IAAaxQ,OAAO2Q,WAY/BD,GAvChB,WAAsC,IAChCE,YACG,WAAM,SAAA,QAKJD,QAAQE,UAAUC,KAAK,UAAM,KAAA,IAApC,EALW,CAAb,EAqCcJ,CAzBhB,WAAiC,IAC3BK,YACG,WAAM,SAAA,YAGE,UAAM,KAAA,IAAjB,KAHS,CAAb,G3C1BI1P,GAASmP,IAAa,CAAC,EAAExQ,OAAOgR,oBAAPhR,EAA+BS,SAASwQ,YAA1C,EACvBzL,GAASgL,IAAa,UAAUzP,IAAV,CAAeuP,UAAUG,SAAzB,gnB4CItBS,GAAYV,IAAa,WAAWzP,IAAX,CAAgBuP,UAAUG,SAA1B,wKLJzB1B,GAAkBoC,GAAW7G,KAAX6G,CAAiB,CAAjBA,EMKlBC,GAAY,MACV,MADU,WAEL,WAFK,kBAGE,kBAHF,ECIGC,6BAS0B,YAAdrG,sEAAc,MAyF7CsC,eAAiB,iBAAMgE,uBAAsB,EAAKC,MAA3BD,CAzFsB,CAAA,MAEtCC,OAASC,GAAS,KAAKD,MAAL,CAAYE,IAAZ,CAAiB,IAAjB,CAATD,CAF6B,MAKtCxG,cAAeqG,EAAOK,WALgB,MAQtC7G,MAAQ,eAAA,aAAA,iBAAA,CAR8B,MAetC3J,UAAYA,GAAaA,EAAUyQ,MAAvBzQ,CAAgCA,EAAU,CAAVA,CAAhCA,EAf0B,MAgBtCiG,OAASA,GAAUA,EAAOwK,MAAjBxK,CAA0BA,EAAO,CAAPA,CAA1BA,EAhB6B,MAmBtC6D,QAAQX,YAnB8B,QAoBpCzC,WACFyJ,EAAOK,QAAPL,CAAgBhH,UAChBW,EAAQX,YACVE,QAAQ,WAAQ,GACZS,QAAQX,mBAEPgH,EAAOK,QAAPL,CAAgBhH,SAAhBgH,QAEArG,EAAQX,SAARW,CAAoBA,EAAQX,SAARW,GAApBA,IARR,EApB2C,MAiCtCX,UAAY1C,OAAOC,IAAPD,CAAY,KAAKqD,OAAL,CAAaX,SAAzB1C,EACdE,GADcF,CACV,+BAEA,EAAKqD,OAAL,CAAaX,SAAb,IAHU,CAAA1C,EAMdI,IANcJ,CAMT,oBAAUO,GAAEhG,KAAFgG,CAAUF,EAAE9F,KANb,CAAAyF,CAjC0B,MA6CtC0C,UAAUE,QAAQ,WAAmB,CACpCqH,EAAgBlH,OAAhBkH,EAA2BjH,EAAWiH,EAAgBC,MAA3BlH,CADS,IAEtBkH,OACd,EAAK3Q,UACL,EAAKiG,OACL,EAAK6D,UAEL,EAAKH,MAPX,EA7C2C,MA0DtC0G,QA1DsC,IA4DrCnE,GAAgB,KAAKpC,OAAL,CAAaoC,cA5DQ,QA+DpC0E,sBA/DoC,MAkEtCjH,MAAMuC,2DAKJ,OACAmE,GAAO1R,IAAP0R,CAAY,IAAZA,mCAEC,OACDQ,GAAQlS,IAARkS,CAAa,IAAbA,gDAEc,OACdD,GAAqBjS,IAArBiS,CAA0B,IAA1BA,iDAEe,OACfrF,GAAsB5M,IAAtB4M,CAA2B,IAA3BA,iBA1FU4E,IAoHZW,KApHYX,CAoHJ,CAAmB,WAAlB,QAAOrR,OAAP,CAAyCiS,MAAzC,CAAgCjS,MAAjC,EAAkDkS,YApH9Cb,GAsHZF,UAtHYE,IAAAA,GAwHZK,QAxHYL,CCMN,WAKF,QALE,iBAAA,iBAAA,mBAAA,UAgCH,UAAM,CAhCH,CAAA,UA0CH,UAAM,CA1CH,CAAA,WCcA,OASN,OAEE,GAFF,WAAA,IClCT,WAAoC,IAC5B/J,GAAYsD,EAAKtD,UACjB2I,EAAgB3I,EAAUmB,KAAVnB,CAAgB,GAAhBA,EAAqB,CAArBA,EAChB6K,EAAiB7K,EAAUmB,KAAVnB,CAAgB,GAAhBA,EAAqB,CAArBA,OAGH,OACYsD,EAAKrG,QAA3BrD,IAAAA,UAAWiG,IAAAA,OACbkH,EAA0D,CAAC,CAA9C,oBAAkB1M,OAAlB,IACbsB,EAAOoL,EAAa,MAAbA,CAAsB,MAC7B9E,EAAc8E,EAAa,OAAbA,CAAuB,SAErC+D,EAAe,eACFlR,KADE,aAGTA,KAAkBA,IAAlBA,CAA2CiG,KAHlC,IAOhB5C,QAAQ4C,eAAyBiL,eDejC,CATM,QAwDL,OAEC,GAFD,WAAA,KAAA,QAUE,CAVF,CAxDK,iBAsFI,OAER,GAFQ,WAAA,IE3GnB,aAAuD,IACjDpL,GACFgE,EAAQhE,iBAARgE,EAA6BpJ,EAAgBgJ,EAAKyH,QAALzH,CAAczD,MAA9BvF,EAK3BgJ,EAAKyH,QAALzH,CAAc1J,SAAd0J,IAPiD,KAQ/BhJ,IAR+B,KAc/C0Q,GAAgB9F,EAAyB,WAAzBA,EAChB+F,EAAe3H,EAAKyH,QAALzH,CAAczD,MAAdyD,CAAqBwB,MAClC1I,EAA0C6O,EAA1C7O,IAAKE,EAAqC2O,EAArC3O,KAAuB4O,EAAcD,OACrC7O,IAAM,EAjBkC,GAkBxCE,KAAO,EAlBiC,MAmBvB,EAnBuB,IAqB/CiD,GAAaU,EACjBqD,EAAKyH,QAALzH,CAAczD,MADGI,CAEjBqD,EAAKyH,QAALzH,CAAc1J,SAFGqG,CAGjByD,EAAQ5D,OAHSG,GAKjBqD,EAAKK,aALY1D,IAUN7D,KA/BwC,GAgCxCE,MAhCwC,OAAA,GAmC7CiD,YAnC6C,IAqC/C3E,GAAQ8I,EAAQyH,SAClBtL,EAASyD,EAAKrG,OAALqG,CAAazD,OAEpBuL,EAAQ,oBACO,IACb5E,GAAQ3G,WAEVA,MAAoBN,IAApBM,EACA,CAAC6D,EAAQ2H,wBAEDxO,GAASgD,IAAThD,CAA4B0C,IAA5B1C,aAPA,CAAA,sBAWS,IACbkF,GAAyB,OAAd/B,KAAwB,MAAxBA,CAAiC,MAC9CwG,EAAQ3G,WAEVA,MAAoBN,IAApBM,EACA,CAAC6D,EAAQ2H,wBAEDxO,EACNgD,IADMhD,CAEN0C,MACiB,OAAdS,KAAwBH,EAAO3C,KAA/B8C,CAAuCH,EAAO1C,MADjDoC,CAFM1C,cAlBA,WA4BRoG,QAAQ,WAAa,IACnBtH,GACmC,CAAC,CAAxC,kBAAgBtB,OAAhB,IAAwD,WAAxD,CAA4C,oBACrB+Q,QAH3B,KAMKnO,QAAQ4C,WFiCI,yCAAA,SAmBN,CAnBM,mBAyBI,cAzBJ,CAtFJ,cA2HC,OAEL,GAFK,WAAA,IGpJhB,WAA2C,OACXyD,EAAKrG,QAA3B4C,IAAAA,OAAQjG,IAAAA,UACVoG,EAAYsD,EAAKtD,SAALsD,CAAenC,KAAfmC,CAAqB,GAArBA,EAA0B,CAA1BA,EACZwF,IACA/B,EAAsD,CAAC,CAA1C,oBAAkB1M,OAAlB,IACbsB,EAAOoL,EAAa,OAAbA,CAAuB,SAC9BuE,EAASvE,EAAa,MAAbA,CAAsB,MAC/B9E,EAAc8E,EAAa,OAAbA,CAAuB,eAEvClH,MAAeiJ,EAAMlP,IAANkP,MACZ7L,QAAQ4C,UACXiJ,EAAMlP,IAANkP,EAA2BjJ,MAE3BA,KAAiBiJ,EAAMlP,IAANkP,MACd7L,QAAQ4C,UAAiBiJ,EAAMlP,IAANkP,KHsIlB,CA3HD,OA8IN,OAEE,GAFF,WAAA,IPlKT,aAA6C,UAEvC,CAACyC,EAAmBjI,EAAKyH,QAALzH,CAAcP,SAAjCwI,CAA4C,OAA5CA,CAAqD,cAArDA,cAIDC,GAAe9H,EAAQlL,WAGC,QAAxB,iBACa8K,EAAKyH,QAALzH,CAAczD,MAAdyD,CAAqBmI,aAArBnI,IAGX,qBAMA,CAACA,EAAKyH,QAALzH,CAAczD,MAAdyD,CAAqB/H,QAArB+H,mBACKJ,KACN,sEAMAlD,GAAYsD,EAAKtD,SAALsD,CAAenC,KAAfmC,CAAqB,GAArBA,EAA0B,CAA1BA,IACYA,EAAKrG,QAA3B4C,IAAAA,OAAQjG,IAAAA,UACVmN,EAAsD,CAAC,CAA1C,oBAAkB1M,OAAlB,IAEbqR,EAAM3E,EAAa,QAAbA,CAAwB,QAC9B4E,EAAkB5E,EAAa,KAAbA,CAAqB,OACvCpL,EAAOgQ,EAAgBC,WAAhBD,GACPE,EAAU9E,EAAa,MAAbA,CAAsB,MAChCuE,EAASvE,EAAa,QAAbA,CAAwB,QACjC+E,EAAmBlK,QAQrBhI,OAAuCiG,IA5CA,KA6CpC5C,QAAQ4C,WACXA,MAAgBjG,MAAhBiG,CA9CuC,EAiDvCjG,OAAqCiG,IAjDE,KAkDpC5C,QAAQ4C,WACXjG,OAAqCiG,IAnDE,IAqDtC5C,QAAQ4C,OAAS7B,EAAcsF,EAAKrG,OAALqG,CAAazD,MAA3B7B,CArDqB,IAwDrC+N,GAASnS,KAAkBA,KAAiB,CAAnCA,CAAuCkS,EAAmB,EAInEjT,EAAMQ,EAAyBiK,EAAKyH,QAALzH,CAAczD,MAAvCxG,EACN2S,EAAmBrP,WAAW9D,YAAAA,CAAX8D,EACnBsP,EAAmBtP,WAAW9D,oBAAAA,CAAX8D,EACrBuP,EACFH,EAASzI,EAAKrG,OAALqG,CAAazD,MAAbyD,GAATyI,cAGUlP,GAASA,EAASgD,MAAThD,GAATA,CAA8D,CAA9DA,IAEP2O,iBACAvO,QAAQkP,mBACHtP,aACG,SO0FN,SAQI,WARJ,CA9IM,MAoKP,OAEG,GAFH,WAAA,IH/KR,aAA4C,IAEtCkI,EAAkBzB,EAAKyH,QAALzH,CAAcP,SAAhCgC,CAA2C,OAA3CA,cAIAzB,EAAK8I,OAAL9I,EAAgBA,EAAKtD,SAALsD,GAAmBA,EAAKQ,8BAKtCvE,GAAaU,EACjBqD,EAAKyH,QAALzH,CAAczD,MADGI,CAEjBqD,EAAKyH,QAALzH,CAAc1J,SAFGqG,CAGjByD,EAAQ5D,OAHSG,CAIjByD,EAAQhE,iBAJSO,CAKjBqD,EAAKK,aALY1D,EAQfD,EAAYsD,EAAKtD,SAALsD,CAAenC,KAAfmC,CAAqB,GAArBA,EAA0B,CAA1BA,EACZ+I,EAAoBjK,KACpBlB,EAAYoC,EAAKtD,SAALsD,CAAenC,KAAfmC,CAAqB,GAArBA,EAA0B,CAA1BA,GAAgC,GAE5CgJ,YAEI5I,EAAQ6I,cACTzC,IAAU0C,OACD,gBAET1C,IAAU2C,YACDC,eAET5C,IAAU6C,mBACDD,wBAGAhJ,EAAQ6I,mBAGdtJ,QAAQ,aAAiB,IAC7BjD,OAAsBsM,EAAUtL,MAAVsL,GAAqB9E,EAAQ,aAI3ClE,EAAKtD,SAALsD,CAAenC,KAAfmC,CAAqB,GAArBA,EAA0B,CAA1BA,CALqB,GAMblB,IANa,IAQ3BP,GAAgByB,EAAKrG,OAALqG,CAAazD,OAC7B+M,EAAatJ,EAAKrG,OAALqG,CAAa1J,UAG1BkP,IACA+D,EACW,MAAd7M,MACC8I,EAAMjH,EAActF,KAApBuM,EAA6BA,EAAM8D,EAAWtQ,IAAjBwM,CAD9B9I,EAEc,OAAdA,MACC8I,EAAMjH,EAAcvF,IAApBwM,EAA4BA,EAAM8D,EAAWrQ,KAAjBuM,CAH7B9I,EAIc,KAAdA,MACC8I,EAAMjH,EAAcxF,MAApByM,EAA8BA,EAAM8D,EAAWxQ,GAAjB0M,CAL/B9I,EAMc,QAAdA,MACC8I,EAAMjH,EAAczF,GAApB0M,EAA2BA,EAAM8D,EAAWvQ,MAAjByM,EAEzBgE,EAAgBhE,EAAMjH,EAAcvF,IAApBwM,EAA4BA,EAAMvJ,EAAWjD,IAAjBwM,EAC5CiE,EAAiBjE,EAAMjH,EAActF,KAApBuM,EAA6BA,EAAMvJ,EAAWhD,KAAjBuM,EAC9CkE,EAAelE,EAAMjH,EAAczF,GAApB0M,EAA2BA,EAAMvJ,EAAWnD,GAAjB0M,EAC1CmE,EACJnE,EAAMjH,EAAcxF,MAApByM,EAA8BA,EAAMvJ,EAAWlD,MAAjByM,EAE1BoE,EACW,MAAdlN,SACc,OAAdA,OADAA,EAEc,KAAdA,OAFAA,EAGc,QAAdA,QAGG+G,EAAsD,CAAC,CAA1C,oBAAkB1M,OAAlB,IAGb8S,EACJ,CAAC,CAACzJ,EAAQ0J,cAAV,GACErG,GAA4B,OAAd7F,IAAd6F,KACCA,GAA4B,KAAd7F,IAAd6F,GADDA,EAEC,IAA6B,OAAd7F,IAAf,GAFD6F,EAGC,IAA6B,KAAd7F,IAAf,GAJH,EAOImM,EACJ,CAAC,CAAC3J,EAAQ4J,uBAAV,GACEvG,GAA4B,OAAd7F,IAAd6F,KACCA,GAA4B,KAAd7F,IAAd6F,GADDA,EAEC,IAA6B,OAAd7F,IAAf,GAFD6F,EAGC,IAA6B,KAAd7F,IAAf,GAJH,EAMIqM,EAAmBJ,KAtDQ,CAwD7BN,OAxD6B,MA0D1BT,UA1D0B,EA4D3BS,IA5D2B,MA6DjBP,EAAU9E,EAAQ,CAAlB8E,CA7DiB,QAiEjBkB,IAjEiB,IAoE1BxN,UAAYA,GAAakB,EAAY,KAAZA,CAA8B,EAA3ClB,CApEc,GAwE1B/C,QAAQ4C,aACRyD,EAAKrG,OAALqG,CAAazD,OACbkE,EACDT,EAAKyH,QAALzH,CAAczD,MADbkE,CAEDT,EAAKrG,OAALqG,CAAa1J,SAFZmK,CAGDT,EAAKtD,SAHJ+D,EA1E0B,GAiFxBE,EAAaX,EAAKyH,QAALzH,CAAcP,SAA3BkB,GAA4C,MAA5CA,CAjFwB,CAAnC,KGwIM,UAaM,MAbN,SAkBK,CAlBL,mBAyBe,UAzBf,kBAAA,2BAAA,CApKO,OAuNN,OAEE,GAFF,WAAA,II7OT,WAAoC,IAC5BjE,GAAYsD,EAAKtD,UACjB2I,EAAgB3I,EAAUmB,KAAVnB,CAAgB,GAAhBA,EAAqB,CAArBA,IACQsD,EAAKrG,QAA3B4C,IAAAA,OAAQjG,IAAAA,UACVkI,EAAuD,CAAC,CAA9C,oBAAkBzH,OAAlB,IAEVoT,EAA4D,CAAC,CAA5C,kBAAgBpT,OAAhB,aAEhByH,EAAU,MAAVA,CAAmB,OACxBlI,MACC6T,EAAiB5N,EAAOiC,EAAU,OAAVA,CAAoB,QAA3BjC,CAAjB4N,CAAwD,CADzD7T,IAGGoG,UAAYoC,OACZnF,QAAQ4C,OAAS7B,OJgOf,CAvNM,MA0OP,OAEG,GAFH,WAAA,IKhQR,WAAmC,IAC7B,CAACuN,EAAmBjI,EAAKyH,QAALzH,CAAcP,SAAjCwI,CAA4C,MAA5CA,CAAoD,iBAApDA,cAICpL,GAAUmD,EAAKrG,OAALqG,CAAa1J,UACvB8T,EAAQnL,EACZe,EAAKyH,QAALzH,CAAcP,SADFR,CAEZ,kBAA8B,iBAAlBpG,KAASmI,IAFT,CAAA/B,EAGZhD,cAGAY,EAAQ9D,MAAR8D,CAAiBuN,EAAMtR,GAAvB+D,EACAA,EAAQ7D,IAAR6D,CAAeuN,EAAMnR,KADrB4D,EAEAA,EAAQ/D,GAAR+D,CAAcuN,EAAMrR,MAFpB8D,EAGAA,EAAQ5D,KAAR4D,CAAgBuN,EAAMpR,KACtB,IAEIgH,OAAKqK,gBAIJA,OANL,GAOKlH,WAAW,uBAAyB,EAZ3C,KAaO,IAEDnD,OAAKqK,gBAIJA,OANA,GAOAlH,WAAW,mCLiOZ,CA1OO,cAkQC,OAEL,GAFK,WAAA,IJlRhB,aAAoD,IAC1CpF,GAASqC,EAATrC,EAAGE,EAAMmC,EAANnC,EACH1B,EAAWyD,EAAKrG,OAALqG,CAAXzD,OAGF+N,EAA8BrL,EAClCe,EAAKyH,QAALzH,CAAcP,SADoBR,CAElC,kBAA8B,YAAlBpG,KAASmI,IAFa,CAAA/B,EAGlCsL,gBACED,UAT8C,UAUxC1K,KACN,gIAX8C,IAiD9C5G,GAAMF,EAnCJyR,EACJD,WAEIlK,EAAQmK,eAFZD,GAIIzT,EAAeG,EAAgBgJ,EAAKyH,QAALzH,CAAczD,MAA9BvF,EACfwT,EAAmBzQ,KAGnBT,EAAS,UACHiD,EAAOmE,QADJ,EAIT/G,EAAU8Q,IAEY,CAA1BrV,QAAOsV,gBAAPtV,EAA+B,GAFjBqV,EAKVvR,EAAc,QAAN6E,KAAiB,KAAjBA,CAAyB,SACjC3E,EAAc,OAAN6E,KAAgB,MAAhBA,CAAyB,QAKjC0M,EAAmB/I,EAAyB,WAAzBA,OAYX,QAAV1I,IAG4B,MAA1BrC,KAAanB,SACT,CAACmB,EAAauD,YAAd,CAA6BT,EAAQZ,OAErC,CAACyR,EAAiB3Q,MAAlB,CAA2BF,EAAQZ,OAGrCY,EAAQb,MAEF,OAAVM,IAC4B,MAA1BvC,KAAanB,SACR,CAACmB,EAAasD,WAAd,CAA4BR,EAAQV,MAEpC,CAACuR,EAAiB5Q,KAAlB,CAA0BD,EAAQV,MAGpCU,EAAQX,KAEbuR,kDAEc,OACA,IACT5I,WAAa,gBACf,IAECiJ,GAAsB,QAAV1R,IAAqB,CAAC,CAAtBA,CAA0B,EACtC2R,EAAuB,OAAVzR,IAAoB,CAAC,CAArBA,CAAyB,OAC5BN,GAJX,MAKWE,GALX,GAME2I,WAAgBzI,MAAAA,MAInBiK,GAAa,eACFnD,EAAKtD,SADH,WAKdyG,mBAAiCnD,EAAKmD,cACtC7J,eAAyB0G,EAAK1G,UAC9BwR,kBAAmB9K,EAAKrG,OAALqG,CAAa6I,MAAU7I,EAAK8K,eIsLtC,mBAAA,GAkBT,QAlBS,GAwBT,OAxBS,CAlQD,YA4SD,OAEH,GAFG,WAAA,IM9Td,WAAyC,UAK7B9K,EAAKyH,QAALzH,CAAczD,OAAQyD,EAAK1G,UAIvB0G,EAAKyH,QAALzH,CAAczD,OAAQyD,EAAKmD,YAGrCnD,EAAKkI,YAALlI,EAAqBjD,OAAOC,IAAPD,CAAYiD,EAAK8K,WAAjB/N,EAA8BW,UAC3CsC,EAAKkI,aAAclI,EAAK8K,eNiTxB,QMjSd,mBAME,IAEMjM,GAAmBsB,QAA8CC,EAAQC,aAAtDF,EAKnBzD,EAAY4D,EAChBF,EAAQ1D,SADQ4D,OAKhBF,EAAQX,SAARW,CAAkBG,IAAlBH,CAAuBhE,iBALPkE,CAMhBF,EAAQX,SAARW,CAAkBG,IAAlBH,CAAuB5D,OANP8D,WASX8C,aAAa,qBAIF,CAAE1C,SAAUN,EAAQC,aAARD,CAAwB,OAAxBA,CAAkC,UAA9C,KNuQN,uBAAA,CA5SC,CDdA;;;;;;;ujBQPT2K,EAAa,IAAIC,IAEvBC,EAAe,CACbC,IAAIC,EAASC,EAAKC,GACXN,EAAWO,IAAIH,IAClBJ,EAAWG,IAAIC,EAAS,IAAIH,KAG9B,MAAMO,EAAcR,EAAWS,IAAIL,GAI9BI,EAAYD,IAAIF,IAA6B,IAArBG,EAAYE,KAMzCF,EAAYL,IAAIE,EAAKC,GAJnBK,QAAQC,MAAO,+EAA8EC,MAAMC,KAAKN,EAAYO,QAAQ,M,EAOhIN,IAAGA,CAACL,EAASC,IACPL,EAAWO,IAAIH,IACVJ,EAAWS,IAAIL,GAASK,IAAIJ,IAG9B,KAGTW,OAAOZ,EAASC,GACd,IAAKL,EAAWO,IAAIH,GAClB,OAGF,MAAMI,EAAcR,EAAWS,IAAIL,GAEnCI,EAAYS,OAAOZ,GAGM,IAArBG,EAAYE,MACdV,EAAWiB,OAAOb,EAEtB,GC5CIc,EAAiB,gBAOjBC,EAAgBC,IAChBA,GAAYC,OAAOC,KAAOD,OAAOC,IAAIC,SAEvCH,EAAWA,EAASI,QAAQ,iBAAiB,CAACC,EAAOC,IAAQ,IAAGJ,IAAIC,OAAOG,QAGtEN,GA+CHO,EAAuBvB,IAC3BA,EAAQwB,cAAc,IAAIC,MAAMX,GAAgB,EAG5CY,EAAYC,MACXA,GAA4B,iBAAXA,UAIO,IAAlBA,EAAOC,SAChBD,EAASA,EAAO,SAGgB,IAApBA,EAAOE,UAGjBC,EAAaH,GAEbD,EAAUC,GACLA,EAAOC,OAASD,EAAO,GAAKA,EAGf,iBAAXA,GAAuBA,EAAOI,OAAS,EACzCC,SAASC,cAAclB,EAAcY,IAGvC,KAGHO,EAAYlC,IAChB,IAAK0B,EAAU1B,IAAgD,IAApCA,EAAQmC,iBAAiBJ,OAClD,OAAO,EAGT,MAAMK,EAAgF,YAA7DC,iBAAiBrC,GAASsC,iBAAiB,cAE9DC,EAAgBvC,EAAQwC,QAAQ,uBAEtC,IAAKD,EACH,OAAOH,EAGT,GAAIG,IAAkBvC,EAAS,CAC7B,MAAMyC,EAAUzC,EAAQwC,QAAQ,WAChC,GAAIC,GAAWA,EAAQC,aAAeH,EACpC,OAAO,EAGT,GAAgB,OAAZE,EACF,OAAO,CAEX,CAEA,OAAOL,CAAgB,EAGnBO,EAAa3C,IACZA,GAAWA,EAAQ6B,WAAae,KAAKC,gBAItC7C,EAAQ8C,UAAUC,SAAS,mBAIC,IAArB/C,EAAQgD,SACVhD,EAAQgD,SAGVhD,EAAQiD,aAAa,aAAoD,UAArCjD,EAAQkD,aAAa,aAG5DC,EAAiBnD,IACrB,IAAKgC,SAASoB,gBAAgBC,aAC5B,OAAO,KAIT,GAAmC,mBAAxBrD,EAAQsD,YAA4B,CAC7C,MAAMC,EAAOvD,EAAQsD,cACrB,OAAOC,aAAgBC,WAAaD,EAAO,IAC7C,CAEA,OAAIvD,aAAmBwD,WACdxD,EAIJA,EAAQ0C,WAINS,EAAenD,EAAQ0C,YAHrB,IAGgC,EAGrCe,EAAOA,OAUPC,EAAS1D,IACbA,EAAQ2D,YAAY,EAGhBC,EAAYA,IACZ3C,OAAO4C,SAAW7B,SAAS8B,KAAKb,aAAa,qBACxChC,OAAO4C,OAGT,KAGHE,EAA4B,GAmB5BC,EAAQA,IAAuC,QAAjChC,SAASoB,gBAAgBa,IAEvCC,EAAqBC,IAnBAC,QAoBN,KACjB,MAAMC,EAAIT,IAEV,GAAIS,EAAG,CACL,MAAMC,EAAOH,EAAOI,KACdC,EAAqBH,EAAEI,GAAGH,GAChCD,EAAEI,GAAGH,GAAQH,EAAOO,gBACpBL,EAAEI,GAAGH,GAAMK,YAAcR,EACzBE,EAAEI,GAAGH,GAAMM,WAAa,KACtBP,EAAEI,GAAGH,GAAQE,EACNL,EAAOO,gBAElB,GA/B0B,YAAxB1C,SAAS6C,YAENd,EAA0BhC,QAC7BC,SAAS8C,iBAAiB,oBAAoB,KAC5C,IAAK,MAAMV,KAAYL,EACrBK,GACF,IAIJL,EAA0BgB,KAAKX,IAE/BA,GAoBA,EAGEY,EAAUA,CAACC,EAAkBC,EAAO,GAAIC,EAAeF,IACxB,mBAArBA,EAAkCA,KAAoBC,GAAQC,EAGxEC,EAAyBA,CAAChB,EAAUiB,EAAmBC,GAAoB,KAC/E,IAAKA,EAEH,YADAN,EAAQZ,GAIV,MACMmB,EA7LiCvF,KACvC,IAAKA,EACH,OAAO,EAIT,IAAIwF,mBAAEA,EAAkBC,gBAAEA,GAAoBxE,OAAOoB,iBAAiBrC,GAEtE,MAAM0F,EAA0BC,OAAOC,WAAWJ,GAC5CK,EAAuBF,OAAOC,WAAWH,GAG/C,OAAKC,GAA4BG,GAKjCL,EAAqBA,EAAmBM,MAAM,KAAK,GACnDL,EAAkBA,EAAgBK,MAAM,KAAK,GAxDf,KA0DtBH,OAAOC,WAAWJ,GAAsBG,OAAOC,WAAWH,KAPzD,CAOoG,EAyKpFM,CAAiCV,GADlC,EAGxB,IAAIW,GAAS,EAEb,MAAMC,EAAUA,EAAGC,aACbA,IAAWb,IAIfW,GAAS,EACTX,EAAkBc,oBAAoBrF,EAAgBmF,GACtDjB,EAAQZ,GAAS,EAGnBiB,EAAkBP,iBAAiBhE,EAAgBmF,GACnDG,YAAW,KACJJ,GACHzE,EAAqB8D,EACvB,GACCE,EAAiB,EAYhBc,EAAuBA,CAACC,EAAMC,EAAeC,EAAeC,KAChE,MAAMC,EAAaJ,EAAKvE,OACxB,IAAI4E,EAAQL,EAAKM,QAAQL,GAIzB,OAAe,IAAXI,GACMH,GAAiBC,EAAiBH,EAAKI,EAAa,GAAKJ,EAAK,IAGxEK,GAASH,EAAgB,GAAK,EAE1BC,IACFE,GAASA,EAAQD,GAAcA,GAG1BJ,EAAKO,KAAKC,IAAI,EAAGD,KAAKE,IAAIJ,EAAOD,EAAa,KAAI,EC7QrDM,EAAiB,qBACjBC,EAAiB,OACjBC,EAAgB,SAChBC,EAAgB,GACtB,IAAIC,EAAW,EACf,MAAMC,EAAe,CACnBC,WAAY,YACZC,WAAY,YAGRC,EAAe,IAAIC,IAAI,CAC3B,QACA,WACA,UACA,YACA,cACA,aACA,iBACA,YACA,WACA,YACA,cACA,YACA,UACA,WACA,QACA,oBACA,aACA,YACA,WACA,cACA,cACA,cACA,YACA,eACA,gBACA,eACA,gBACA,aACA,QACA,OACA,SACA,QACA,SACA,SACA,UACA,WACA,OACA,SACA,eACA,SACA,OACA,mBACA,mBACA,QACA,QACA,WAOF,SAASC,EAAa1H,EAAS2H,GAC7B,OAAQA,GAAQ,GAAEA,MAAQP,OAAiBpH,EAAQoH,UAAYA,GACjE,CAEA,SAASQ,EAAiB5H,GACxB,MAAM2H,EAAMD,EAAa1H,GAKzB,OAHAA,EAAQoH,SAAWO,EACnBR,EAAcQ,GAAOR,EAAcQ,IAAQ,GAEpCR,EAAcQ,EACvB,CAoCA,SAASE,EAAYC,EAAQC,EAAUC,EAAqB,MAC1D,OAAOC,OAAOC,OAAOJ,GAClBK,MAAKC,GAASA,EAAML,WAAaA,GAAYK,EAAMJ,qBAAuBA,GAC/E,CAEA,SAASK,EAAoBC,EAAmBrC,EAASsC,GACvD,MAAMC,EAAiC,iBAAZvC,EAErB8B,EAAWS,EAAcD,EAAsBtC,GAAWsC,EAChE,IAAIE,EAAYC,EAAaJ,GAM7B,OAJKd,EAAarH,IAAIsI,KACpBA,EAAYH,GAGP,CAACE,EAAaT,EAAUU,EACjC,CAEA,SAASE,EAAW3I,EAASsI,EAAmBrC,EAASsC,EAAoBK,GAC3E,GAAiC,iBAAtBN,IAAmCtI,EAC5C,OAGF,IAAKwI,EAAaT,EAAUU,GAAaJ,EAAoBC,EAAmBrC,EAASsC,GAIzF,GAAID,KAAqBjB,EAAc,CACrC,MAAMwB,EAAepE,GACZ,SAAU2D,GACf,IAAKA,EAAMU,eAAkBV,EAAMU,gBAAkBV,EAAMW,iBAAmBX,EAAMW,eAAehG,SAASqF,EAAMU,eAChH,OAAOrE,EAAGuE,KAAKC,KAAMb,E,EAK3BL,EAAWc,EAAad,EAC1B,CAEA,MAAMD,EAASF,EAAiB5H,GAC1BkJ,EAAWpB,EAAOW,KAAeX,EAAOW,GAAa,IACrDU,EAAmBtB,EAAYqB,EAAUnB,EAAUS,EAAcvC,EAAU,MAEjF,GAAIkD,EAGF,YAFAA,EAAiBP,OAASO,EAAiBP,QAAUA,GAKvD,MAAMjB,EAAMD,EAAaK,EAAUO,EAAkBlH,QAAQ4F,EAAgB,KACvEvC,EAAK+D,EAxEb,SAAoCxI,EAASgB,EAAUyD,GACrD,OAAO,SAASwB,EAAQmC,GACtB,MAAMgB,EAAcpJ,EAAQqJ,iBAAiBrI,GAE7C,IAAK,IAAIkF,OAAEA,GAAWkC,EAAOlC,GAAUA,IAAW+C,KAAM/C,EAASA,EAAOxD,WACtE,IAAK,MAAM4G,KAAcF,EACvB,GAAIE,IAAepD,EAUnB,OANAqD,EAAWnB,EAAO,CAAEW,eAAgB7C,IAEhCD,EAAQ2C,QACVY,EAAaC,IAAIzJ,EAASoI,EAAMsB,KAAM1I,EAAUyD,GAG3CA,EAAGkF,MAAMzD,EAAQ,CAACkC,G,CAIjC,CAqDIwB,CAA2B5J,EAASiG,EAAS8B,GArFjD,SAA0B/H,EAASyE,GACjC,OAAO,SAASwB,EAAQmC,GAOtB,OANAmB,EAAWnB,EAAO,CAAEW,eAAgB/I,IAEhCiG,EAAQ2C,QACVY,EAAaC,IAAIzJ,EAASoI,EAAMsB,KAAMjF,GAGjCA,EAAGkF,MAAM3J,EAAS,CAACoI,G,CAE9B,CA4EIyB,CAAiB7J,EAAS+H,GAE5BtD,EAAGuD,mBAAqBQ,EAAcvC,EAAU,KAChDxB,EAAGsD,SAAWA,EACdtD,EAAGmE,OAASA,EACZnE,EAAG2C,SAAWO,EACduB,EAASvB,GAAOlD,EAEhBzE,EAAQ8E,iBAAiB2D,EAAWhE,EAAI+D,EAC1C,CAEA,SAASsB,EAAc9J,EAAS8H,EAAQW,EAAWxC,EAAS+B,GAC1D,MAAMvD,EAAKoD,EAAYC,EAAOW,GAAYxC,EAAS+B,GAE9CvD,IAILzE,EAAQmG,oBAAoBsC,EAAWhE,EAAIsF,QAAQ/B,WAC5CF,EAAOW,GAAWhE,EAAG2C,UAC9B,CAEA,SAAS4C,EAAyBhK,EAAS8H,EAAQW,EAAWwB,GAC5D,MAAMC,EAAoBpC,EAAOW,IAAc,GAE/C,IAAK,MAAO0B,EAAY/B,KAAUH,OAAOmC,QAAQF,GAC3CC,EAAWE,SAASJ,IACtBH,EAAc9J,EAAS8H,EAAQW,EAAWL,EAAML,SAAUK,EAAMJ,mBAGtE,CAEA,SAASU,EAAaN,GAGpB,OADAA,EAAQA,EAAMhH,QAAQ6F,EAAgB,IAC/BI,EAAae,IAAUA,CAChC,CAEA,MAAMoB,EAAe,CACnBc,GAAGtK,EAASoI,EAAOnC,EAASsC,GAC1BI,EAAW3I,EAASoI,EAAOnC,EAASsC,GAAoB,E,EAG1DgC,IAAIvK,EAASoI,EAAOnC,EAASsC,GAC3BI,EAAW3I,EAASoI,EAAOnC,EAASsC,GAAoB,E,EAG1DkB,IAAIzJ,EAASsI,EAAmBrC,EAASsC,GACvC,GAAiC,iBAAtBD,IAAmCtI,EAC5C,OAGF,MAAOwI,EAAaT,EAAUU,GAAaJ,EAAoBC,EAAmBrC,EAASsC,GACrFiC,EAAc/B,IAAcH,EAC5BR,EAASF,EAAiB5H,GAC1BkK,EAAoBpC,EAAOW,IAAc,GACzCgC,EAAcnC,EAAkBoC,WAAW,KAEjD,QAAwB,IAAb3C,EAAX,CAUA,GAAI0C,EACF,IAAK,MAAME,KAAgB1C,OAAOtH,KAAKmH,GACrCkC,EAAyBhK,EAAS8H,EAAQ6C,EAAcrC,EAAkBsC,MAAM,IAIpF,IAAK,MAAOC,EAAazC,KAAUH,OAAOmC,QAAQF,GAAoB,CACpE,MAAMC,EAAaU,EAAYzJ,QAAQ8F,EAAe,IAEjDsD,IAAelC,EAAkB+B,SAASF,IAC7CL,EAAc9J,EAAS8H,EAAQW,EAAWL,EAAML,SAAUK,EAAMJ,mBAEpE,CAdA,KARA,CAEE,IAAKC,OAAOtH,KAAKuJ,GAAmBnI,OAClC,OAGF+H,EAAc9J,EAAS8H,EAAQW,EAAWV,EAAUS,EAAcvC,EAAU,KAE9E,C,EAiBF6E,QAAQ9K,EAASoI,EAAOlD,GACtB,GAAqB,iBAAVkD,IAAuBpI,EAChC,OAAO,KAGT,MAAMqE,EAAIT,IAIV,IAAImH,EAAc,KACdC,GAAU,EACVC,GAAiB,EACjBC,GAAmB,EALH9C,IADFM,EAAaN,IAQZ/D,IACjB0G,EAAc1G,EAAE5C,MAAM2G,EAAOlD,GAE7Bb,EAAErE,GAAS8K,QAAQC,GACnBC,GAAWD,EAAYI,uBACvBF,GAAkBF,EAAYK,gCAC9BF,EAAmBH,EAAYM,sBAGjC,MAAMC,EAAM/B,EAAW,IAAI9H,MAAM2G,EAAO,CAAE4C,UAASO,YAAY,IAASrG,GAcxE,OAZIgG,GACFI,EAAIE,iBAGFP,GACFjL,EAAQwB,cAAc8J,GAGpBA,EAAIJ,kBAAoBH,GAC1BA,EAAYS,iBAGPF,CACT,GAGF,SAAS/B,EAAWkC,EAAKC,EAAO,IAC9B,IAAK,MAAOzL,EAAK0L,KAAU1D,OAAOmC,QAAQsB,GACxC,IACED,EAAIxL,GAAO0L,C,CACX,MAAAC,GACA3D,OAAO4D,eAAeJ,EAAKxL,EAAK,CAC9B6L,cAAc,EACdzL,IAAGA,IACMsL,GAGb,CAGF,OAAOF,CACT,CCnTA,SAASM,EAAcJ,GACrB,GAAc,SAAVA,EACF,OAAO,EAGT,GAAc,UAAVA,EACF,OAAO,EAGT,GAAIA,IAAUhG,OAAOgG,GAAOK,WAC1B,OAAOrG,OAAOgG,GAGhB,GAAc,KAAVA,GAA0B,SAAVA,EAClB,OAAO,KAGT,GAAqB,iBAAVA,EACT,OAAOA,EAGT,IACE,OAAOM,KAAKC,MAAMC,mBAAmBR,G,CACrC,MAAAC,GACA,OAAOD,CACT,CACF,CAEA,SAASS,EAAiBnM,GACxB,OAAOA,EAAImB,QAAQ,UAAUiL,GAAQ,IAAGA,EAAIC,iBAC9C,CAEA,MAAMC,EAAc,CAClBC,iBAAiBxM,EAASC,EAAK0L,GAC7B3L,EAAQyM,aAAc,WAAUL,EAAiBnM,KAAQ0L,E,EAG3De,oBAAoB1M,EAASC,GAC3BD,EAAQ2M,gBAAiB,WAAUP,EAAiBnM,K,EAGtD2M,kBAAkB5M,GAChB,IAAKA,EACH,MAAO,GAGT,MAAM6M,EAAa,GACbC,EAAS7E,OAAOtH,KAAKX,EAAQ+M,SAASC,QAAO/M,GAAOA,EAAIyK,WAAW,QAAUzK,EAAIyK,WAAW,cAElG,IAAK,MAAMzK,KAAO6M,EAAQ,CACxB,IAAIG,EAAUhN,EAAImB,QAAQ,MAAO,IACjC6L,EAAUA,EAAQC,OAAO,GAAGZ,cAAgBW,EAAQrC,MAAM,EAAGqC,EAAQlL,QACrE8K,EAAWI,GAAWlB,EAAc/L,EAAQ+M,QAAQ9M,GACtD,CAEA,OAAO4M,C,EAGTM,iBAAgBA,CAACnN,EAASC,IACjB8L,EAAc/L,EAAQkD,aAAc,WAAUkJ,EAAiBnM,QCpD1E,MAAMmN,EAEJ,kBAAWC,GACT,MAAO,EACT,CAEA,sBAAWC,GACT,MAAO,EACT,CAEA,eAAW/I,GACT,MAAM,IAAIgJ,MAAM,sEAClB,CAEAC,WAAWC,GAIT,OAHAA,EAASxE,KAAKyE,gBAAgBD,GAC9BA,EAASxE,KAAK0E,kBAAkBF,GAChCxE,KAAK2E,iBAAiBH,GACfA,CACT,CAEAE,kBAAkBF,GAChB,OAAOA,CACT,CAEAC,gBAAgBD,EAAQzN,GACtB,MAAM6N,EAAanM,EAAU1B,GAAWuM,EAAYY,iBAAiBnN,EAAS,UAAY,GAE1F,MAAO,IACFiJ,KAAK6E,YAAYT,WACM,iBAAfQ,EAA0BA,EAAa,MAC9CnM,EAAU1B,GAAWuM,EAAYK,kBAAkB5M,GAAW,MAC5C,iBAAXyN,EAAsBA,EAAS,GAE9C,CAEAG,iBAAiBH,EAAQM,EAAc9E,KAAK6E,YAAYR,aACtD,IAAK,MAAOU,EAAUC,KAAkBhG,OAAOmC,QAAQ2D,GAAc,CACnE,MAAMpC,EAAQ8B,EAAOO,GACfE,EAAYxM,EAAUiK,GAAS,UH1BrChK,OADSA,EG2B+CgK,GHzBlD,GAAEhK,IAGLsG,OAAOkG,UAAUnC,SAAShD,KAAKrH,GAAQN,MAAM,eAAe,GAAGiL,cGwBlE,IAAK,IAAI8B,OAAOH,GAAeI,KAAKH,GAClC,MAAM,IAAII,UACP,GAAErF,KAAK6E,YAAYvJ,KAAKgK,0BAA0BP,qBAA4BE,yBAAiCD,MAGtH,CHlCWtM,KGmCb,ECvCF,MAAM6M,UAAsBpB,EAC1BU,YAAY9N,EAASyN,GACnBgB,SAEAzO,EAAU8B,EAAW9B,MAKrBiJ,KAAKyF,SAAW1O,EAChBiJ,KAAK0F,QAAU1F,KAAKuE,WAAWC,GAE/B3N,EAAKC,IAAIkJ,KAAKyF,SAAUzF,KAAK6E,YAAYc,SAAU3F,MACrD,CAGA4F,UACE/O,EAAKc,OAAOqI,KAAKyF,SAAUzF,KAAK6E,YAAYc,UAC5CpF,EAAaC,IAAIR,KAAKyF,SAAUzF,KAAK6E,YAAYgB,WAEjD,IAAK,MAAMC,KAAgB9G,OAAO+G,oBAAoB/F,MACpDA,KAAK8F,GAAgB,IAEzB,CAEAE,eAAe7K,EAAUpE,EAASkP,GAAa,GAC7C9J,EAAuBhB,EAAUpE,EAASkP,EAC5C,CAEA1B,WAAWC,GAIT,OAHAA,EAASxE,KAAKyE,gBAAgBD,EAAQxE,KAAKyF,UAC3CjB,EAASxE,KAAK0E,kBAAkBF,GAChCxE,KAAK2E,iBAAiBH,GACfA,CACT,CAGA,kBAAO0B,CAAYnP,GACjB,OAAOF,EAAKO,IAAIyB,EAAW9B,GAAUiJ,KAAK2F,SAC5C,CAEA,0BAAOQ,CAAoBpP,EAASyN,EAAS,IAC3C,OAAOxE,KAAKkG,YAAYnP,IAAY,IAAIiJ,KAAKjJ,EAA2B,iBAAXyN,EAAsBA,EAAS,KAC9F,CAEA,kBAAW4B,GACT,MApDY,OAqDd,CAEA,mBAAWT,GACT,MAAQ,MAAK3F,KAAK1E,MACpB,CAEA,oBAAWuK,GACT,MAAQ,IAAG7F,KAAK2F,UAClB,CAEA,gBAAOU,CAAUhL,GACf,MAAQ,GAAEA,IAAO2E,KAAK6F,WACxB,ECxEF,MAAMS,EAAcvP,IAClB,IAAIgB,EAAWhB,EAAQkD,aAAa,kBAEpC,IAAKlC,GAAyB,MAAbA,EAAkB,CACjC,IAAIwO,EAAgBxP,EAAQkD,aAAa,QAMzC,IAAKsM,IAAmBA,EAAcnF,SAAS,OAASmF,EAAc9E,WAAW,KAC/E,OAAO,KAIL8E,EAAcnF,SAAS,OAASmF,EAAc9E,WAAW,OAC3D8E,EAAiB,IAAGA,EAAc1J,MAAM,KAAK,MAG/C9E,EAAWwO,GAAmC,MAAlBA,EAAwBA,EAAcC,OAAS,IAC7E,CAEA,OAAOzO,EAAWA,EAAS8E,MAAM,KAAK4J,KAAIC,GAAO5O,EAAc4O,KAAMC,KAAK,KAAO,IAAI,EAGjFC,EAAiB,CACrB1H,KAAIA,CAACnH,EAAUhB,EAAUgC,SAASoB,kBACzB,GAAG0M,UAAUC,QAAQ5B,UAAU9E,iBAAiBL,KAAKhJ,EAASgB,IAGvEgP,QAAOA,CAAChP,EAAUhB,EAAUgC,SAASoB,kBAC5B2M,QAAQ5B,UAAUlM,cAAc+G,KAAKhJ,EAASgB,GAGvDiP,SAAQA,CAACjQ,EAASgB,IACT,GAAG8O,UAAU9P,EAAQiQ,UAAUjD,QAAOkD,GAASA,EAAMC,QAAQnP,KAGtEoP,QAAQpQ,EAASgB,GACf,MAAMoP,EAAU,GAChB,IAAIC,EAAWrQ,EAAQ0C,WAAWF,QAAQxB,GAE1C,KAAOqP,GACLD,EAAQrL,KAAKsL,GACbA,EAAWA,EAAS3N,WAAWF,QAAQxB,GAGzC,OAAOoP,C,EAGTE,KAAKtQ,EAASgB,GACZ,IAAIuP,EAAWvQ,EAAQwQ,uBAEvB,KAAOD,GAAU,CACf,GAAIA,EAASJ,QAAQnP,GACnB,MAAO,CAACuP,GAGVA,EAAWA,EAASC,sBACtB,CAEA,MAAO,E,EAGTC,KAAKzQ,EAASgB,GACZ,IAAIyP,EAAOzQ,EAAQ0Q,mBAEnB,KAAOD,GAAM,CACX,GAAIA,EAAKN,QAAQnP,GACf,MAAO,CAACyP,GAGVA,EAAOA,EAAKC,kBACd,CAEA,MAAO,E,EAGTC,kBAAkB3Q,GAChB,MAAM4Q,EAAa,CACjB,IACA,SACA,QACA,WACA,SACA,UACA,aACA,4BACAlB,KAAI1O,GAAa,GAAEA,2BAAiC4O,KAAK,KAE3D,OAAO3G,KAAKd,KAAKyI,EAAY5Q,GAASgN,QAAO6D,IAAOlO,EAAWkO,IAAO3O,EAAU2O,I,EAGlFC,uBAAuB9Q,GACrB,MAAMgB,EAAWuO,EAAYvP,GAE7B,OAAIgB,GACK6O,EAAeG,QAAQhP,GAAYA,EAGrC,I,EAGT+P,uBAAuB/Q,GACrB,MAAMgB,EAAWuO,EAAYvP,GAE7B,OAAOgB,EAAW6O,EAAeG,QAAQhP,GAAY,I,EAGvDgQ,gCAAgChR,GAC9B,MAAMgB,EAAWuO,EAAYvP,GAE7B,OAAOgB,EAAW6O,EAAe1H,KAAKnH,GAAY,EACpD,GC/GIiQ,EAAuBA,CAACC,EAAWC,EAAS,UAChD,MAAMC,EAAc,gBAAeF,EAAUpC,YACvCxK,EAAO4M,EAAU3M,KAEvBiF,EAAac,GAAGtI,SAAUoP,EAAa,qBAAoB9M,OAAU,SAAU8D,GAK7E,GAJI,CAAC,IAAK,QAAQiC,SAASpB,KAAKoI,UAC9BjJ,EAAMoD,iBAGJ7I,EAAWsG,MACb,OAGF,MAAM/C,EAAS2J,EAAekB,uBAAuB9H,OAASA,KAAKzG,QAAS,IAAG8B,KAC9D4M,EAAU9B,oBAAoBlJ,GAGtCiL,IACX,GAAE,ECXErC,EAAa,YAEbwC,EAAe,QAAOxC,IACtByC,EAAgB,SAAQzC,IAQ9B,MAAM0C,UAAchD,EAElB,eAAWjK,GACT,MAhBS,OAiBX,CAGAkN,QAGE,GAFmBjI,EAAasB,QAAQ7B,KAAKyF,SAAU4C,GAExCpG,iBACb,OAGFjC,KAAKyF,SAAS5L,UAAUlC,OApBJ,QAsBpB,MAAMsO,EAAajG,KAAKyF,SAAS5L,UAAUC,SAvBvB,QAwBpBkG,KAAKgG,gBAAe,IAAMhG,KAAKyI,mBAAmBzI,KAAKyF,SAAUQ,EACnE,CAGAwC,kBACEzI,KAAKyF,SAAS9N,SACd4I,EAAasB,QAAQ7B,KAAKyF,SAAU6C,GACpCtI,KAAK4F,SACP,CAGA,sBAAOnK,CAAgB+I,GACrB,OAAOxE,KAAK0I,MAAK,WACf,MAAMC,EAAOJ,EAAMpC,oBAAoBnG,MAEvC,GAAsB,iBAAXwE,EAAX,CAIA,QAAqBoE,IAAjBD,EAAKnE,IAAyBA,EAAO/C,WAAW,MAAmB,gBAAX+C,EAC1D,MAAM,IAAIa,UAAW,oBAAmBb,MAG1CmE,EAAKnE,GAAQxE,KANb,CAOF,GACF,EAOFgI,EAAqBO,EAAO,SAM5BtN,EAAmBsN,GCrEnB,MAMMM,EAAuB,4BAO7B,MAAMC,UAAevD,EAEnB,eAAWjK,GACT,MAhBS,QAiBX,CAGAyN,SAEE/I,KAAKyF,SAASjC,aAAa,eAAgBxD,KAAKyF,SAAS5L,UAAUkP,OAjB7C,UAkBxB,CAGA,sBAAOtN,CAAgB+I,GACrB,OAAOxE,KAAK0I,MAAK,WACf,MAAMC,EAAOG,EAAO3C,oBAAoBnG,MAEzB,WAAXwE,GACFmE,EAAKnE,IAET,GACF,EAOFjE,EAAac,GAAGtI,SAlCc,2BAkCkB8P,GAAsB1J,IACpEA,EAAMoD,iBAEN,MAAMyG,EAAS7J,EAAMlC,OAAO1D,QAAQsP,GACvBC,EAAO3C,oBAAoB6C,GAEnCD,QAAQ,IAOf9N,EAAmB6N,GCtDnB,MACMjD,EAAY,YACZoD,GAAoB,aAAYpD,IAChCqD,GAAmB,YAAWrD,IAC9BsD,GAAkB,WAAUtD,IAC5BuD,GAAqB,cAAavD,IAClCwD,GAAmB,YAAWxD,IAM9BzB,GAAU,CACdkF,YAAa,KACbC,aAAc,KACdC,cAAe,MAGXnF,GAAc,CAClBiF,YAAa,kBACbC,aAAc,kBACdC,cAAe,mBAOjB,MAAMC,WAActF,EAClBU,YAAY9N,EAASyN,GACnBgB,QACAxF,KAAKyF,SAAW1O,EAEXA,GAAY0S,GAAMC,gBAIvB1J,KAAK0F,QAAU1F,KAAKuE,WAAWC,GAC/BxE,KAAK2J,QAAU,EACf3J,KAAK4J,sBAAwB9I,QAAQ9I,OAAO6R,cAC5C7J,KAAK8J,cACP,CAGA,kBAAW1F,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,MArDS,OAsDX,CAGAsK,UACErF,EAAaC,IAAIR,KAAKyF,SAAUI,EAClC,CAGAkE,OAAO5K,GACAa,KAAK4J,sBAMN5J,KAAKgK,wBAAwB7K,KAC/Ba,KAAK2J,QAAUxK,EAAM8K,SANrBjK,KAAK2J,QAAUxK,EAAM+K,QAAQ,GAAGD,OAQpC,CAEAE,KAAKhL,GACCa,KAAKgK,wBAAwB7K,KAC/Ba,KAAK2J,QAAUxK,EAAM8K,QAAUjK,KAAK2J,SAGtC3J,KAAKoK,eACLrO,EAAQiE,KAAK0F,QAAQ4D,YACvB,CAEAe,MAAMlL,GACJa,KAAK2J,QAAUxK,EAAM+K,SAAW/K,EAAM+K,QAAQpR,OAAS,EACrD,EACAqG,EAAM+K,QAAQ,GAAGD,QAAUjK,KAAK2J,OACpC,CAEAS,eACE,MAAME,EAAY1M,KAAK2M,IAAIvK,KAAK2J,SAEhC,GAAIW,GAlFgB,GAmFlB,OAGF,MAAME,EAAYF,EAAYtK,KAAK2J,QAEnC3J,KAAK2J,QAAU,EAEVa,GAILzO,EAAQyO,EAAY,EAAIxK,KAAK0F,QAAQ8D,cAAgBxJ,KAAK0F,QAAQ6D,aACpE,CAEAO,cACM9J,KAAK4J,uBACPrJ,EAAac,GAAGrB,KAAKyF,SAAU2D,IAAmBjK,GAASa,KAAK+J,OAAO5K,KACvEoB,EAAac,GAAGrB,KAAKyF,SAAU4D,IAAiBlK,GAASa,KAAKmK,KAAKhL,KAEnEa,KAAKyF,SAAS5L,UAAU4Q,IAvGG,mBAyG3BlK,EAAac,GAAGrB,KAAKyF,SAAUwD,IAAkB9J,GAASa,KAAK+J,OAAO5K,KACtEoB,EAAac,GAAGrB,KAAKyF,SAAUyD,IAAiB/J,GAASa,KAAKqK,MAAMlL,KACpEoB,EAAac,GAAGrB,KAAKyF,SAAU0D,IAAgBhK,GAASa,KAAKmK,KAAKhL,KAEtE,CAEA6K,wBAAwB7K,GACtB,OAAOa,KAAK4J,wBAjHS,QAiHiBzK,EAAMuL,aAlHrB,UAkHyDvL,EAAMuL,YACxF,CAGA,kBAAOhB,GACL,MAAO,iBAAkB3Q,SAASoB,iBAAmBwQ,UAAUC,eAAiB,CAClF,ECrHF,MAEM/E,GAAa,eACbgF,GAAe,YAMfC,GAAa,OACbC,GAAa,OACbC,GAAiB,OACjBC,GAAkB,QAElBC,GAAe,QAAOrF,KACtBsF,GAAc,OAAMtF,KACpBuF,GAAiB,UAASvF,KAC1BwF,GAAoB,aAAYxF,KAChCyF,GAAoB,aAAYzF,KAChC0F,GAAoB,YAAW1F,KAC/B2F,GAAuB,OAAM3F,KAAYgF,KACzCY,GAAwB,QAAO5F,KAAYgF,KAE3Ca,GAAsB,WACtBC,GAAoB,SAOpBC,GAAkB,UAClBC,GAAgB,iBAChBC,GAAuBF,GAAkBC,GAMzCE,GAAmB,CACvBC,UAAkBf,GAClBgB,WAAmBjB,IAGf5G,GAAU,CACd8H,SAAU,IACVC,UAAU,EACVC,MAAO,QACPC,MAAM,EACNC,OAAO,EACPC,MAAM,GAGFlI,GAAc,CAClB6H,SAAU,mBACVC,SAAU,UACVC,MAAO,mBACPC,KAAM,mBACNC,MAAO,UACPC,KAAM,WAOR,MAAMC,WAAiBjH,EACrBV,YAAY9N,EAASyN,GACnBgB,MAAMzO,EAASyN,GAEfxE,KAAKyM,UAAY,KACjBzM,KAAK0M,eAAiB,KACtB1M,KAAK2M,YAAa,EAClB3M,KAAK4M,aAAe,KACpB5M,KAAK6M,aAAe,KAEpB7M,KAAK8M,mBAAqBlG,EAAeG,QAzCjB,uBAyC8C/G,KAAKyF,UAC3EzF,KAAK+M,qBAED/M,KAAK0F,QAAQ2G,OAASX,IACxB1L,KAAKgN,OAET,CAGA,kBAAW5I,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,MA9FS,UA+FX,CAGAkM,OACExH,KAAKiN,OAAOnC,GACd,CAEAoC,mBAIOnU,SAASoU,QAAUlU,EAAU+G,KAAKyF,WACrCzF,KAAKwH,MAET,CAEAH,OACErH,KAAKiN,OAAOlC,GACd,CAEAqB,QACMpM,KAAK2M,YACPrU,EAAqB0H,KAAKyF,UAG5BzF,KAAKoN,gBACP,CAEAJ,QACEhN,KAAKoN,iBACLpN,KAAKqN,kBAELrN,KAAKyM,UAAYa,aAAY,IAAMtN,KAAKkN,mBAAmBlN,KAAK0F,QAAQwG,SAC1E,CAEAqB,oBACOvN,KAAK0F,QAAQ2G,OAIdrM,KAAK2M,WACPpM,EAAae,IAAItB,KAAKyF,SAAU0F,IAAY,IAAMnL,KAAKgN,UAIzDhN,KAAKgN,QACP,CAEAQ,GAAG9P,GACD,MAAM+P,EAAQzN,KAAK0N,YACnB,GAAIhQ,EAAQ+P,EAAM3U,OAAS,GAAK4E,EAAQ,EACtC,OAGF,GAAIsC,KAAK2M,WAEP,YADApM,EAAae,IAAItB,KAAKyF,SAAU0F,IAAY,IAAMnL,KAAKwN,GAAG9P,KAI5D,MAAMiQ,EAAc3N,KAAK4N,cAAc5N,KAAK6N,cAC5C,GAAIF,IAAgBjQ,EAClB,OAGF,MAAMoQ,EAAQpQ,EAAQiQ,EAAc7C,GAAaC,GAEjD/K,KAAKiN,OAAOa,EAAOL,EAAM/P,GAC3B,CAEAkI,UACM5F,KAAK6M,cACP7M,KAAK6M,aAAajH,UAGpBJ,MAAMI,SACR,CAGAlB,kBAAkBF,GAEhB,OADAA,EAAOuJ,gBAAkBvJ,EAAO0H,SACzB1H,CACT,CAEAuI,qBACM/M,KAAK0F,QAAQyG,UACf5L,EAAac,GAAGrB,KAAKyF,SAAU2F,IAAejM,GAASa,KAAKgO,SAAS7O,KAG5C,UAAvBa,KAAK0F,QAAQ0G,QACf7L,EAAac,GAAGrB,KAAKyF,SAAU4F,IAAkB,IAAMrL,KAAKoM,UAC5D7L,EAAac,GAAGrB,KAAKyF,SAAU6F,IAAkB,IAAMtL,KAAKuN,uBAG1DvN,KAAK0F,QAAQ4G,OAAS7C,GAAMC,eAC9B1J,KAAKiO,yBAET,CAEAA,0BACE,IAAK,MAAMC,KAAOtH,EAAe1H,KAhKX,qBAgKmCc,KAAKyF,UAC5DlF,EAAac,GAAG6M,EAAK3C,IAAkBpM,GAASA,EAAMoD,mBAGxD,MAqBM4L,EAAc,CAClB5E,aAAcA,IAAMvJ,KAAKiN,OAAOjN,KAAKoO,kBAAkBpD,KACvDxB,cAAeA,IAAMxJ,KAAKiN,OAAOjN,KAAKoO,kBAAkBnD,KACxD3B,YAxBkB+E,KACS,UAAvBrO,KAAK0F,QAAQ0G,QAYjBpM,KAAKoM,QACDpM,KAAK4M,cACP0B,aAAatO,KAAK4M,cAGpB5M,KAAK4M,aAAezP,YAAW,IAAM6C,KAAKuN,qBAjNjB,IAiN+DvN,KAAK0F,QAAQwG,UAAS,GAShHlM,KAAK6M,aAAe,IAAIpD,GAAMzJ,KAAKyF,SAAU0I,EAC/C,CAEAH,SAAS7O,GACP,GAAI,kBAAkBiG,KAAKjG,EAAMlC,OAAOmL,SACtC,OAGF,MAAMoC,EAAYuB,GAAiB5M,EAAMnI,KACrCwT,IACFrL,EAAMoD,iBACNvC,KAAKiN,OAAOjN,KAAKoO,kBAAkB5D,IAEvC,CAEAoD,cAAc7W,GACZ,OAAOiJ,KAAK0N,YAAY/P,QAAQ5G,EAClC,CAEAwX,2BAA2B7Q,GACzB,IAAKsC,KAAK8M,mBACR,OAGF,MAAM0B,EAAkB5H,EAAeG,QAAQ6E,GAAiB5L,KAAK8M,oBAErE0B,EAAgB3U,UAAUlC,OAAOgU,IACjC6C,EAAgB9K,gBAAgB,gBAEhC,MAAM+K,EAAqB7H,EAAeG,QAAS,sBAAqBrJ,MAAWsC,KAAK8M,oBAEpF2B,IACFA,EAAmB5U,UAAU4Q,IAAIkB,IACjC8C,EAAmBjL,aAAa,eAAgB,QAEpD,CAEA6J,kBACE,MAAMtW,EAAUiJ,KAAK0M,gBAAkB1M,KAAK6N,aAE5C,IAAK9W,EACH,OAGF,MAAM2X,EAAkBhS,OAAOiS,SAAS5X,EAAQkD,aAAa,oBAAqB,IAElF+F,KAAK0F,QAAQwG,SAAWwC,GAAmB1O,KAAK0F,QAAQqI,eAC1D,CAEAd,OAAOa,EAAO/W,EAAU,MACtB,GAAIiJ,KAAK2M,WACP,OAGF,MAAMrP,EAAgB0C,KAAK6N,aACrBe,EAASd,IAAUhD,GACnB+D,EAAc9X,GAAWqG,EAAqB4C,KAAK0N,YAAapQ,EAAesR,EAAQ5O,KAAK0F,QAAQ6G,MAE1G,GAAIsC,IAAgBvR,EAClB,OAGF,MAAMwR,EAAmB9O,KAAK4N,cAAciB,GAEtCE,EAAe1I,GACZ9F,EAAasB,QAAQ7B,KAAKyF,SAAUY,EAAW,CACpDxG,cAAegP,EACfrE,UAAWxK,KAAKgP,kBAAkBlB,GAClCrW,KAAMuI,KAAK4N,cAActQ,GACzBkQ,GAAIsB,IAMR,GAFmBC,EAAa7D,IAEjBjJ,iBACb,OAGF,IAAK3E,IAAkBuR,EAGrB,OAGF,MAAMI,EAAYnO,QAAQd,KAAKyM,WAC/BzM,KAAKoM,QAELpM,KAAK2M,YAAa,EAElB3M,KAAKuO,2BAA2BO,GAChC9O,KAAK0M,eAAiBmC,EAEtB,MAAMK,EAAuBN,EAnSR,sBADF,oBAqSbO,EAAiBP,EAnSH,qBACA,qBAoSpBC,EAAYhV,UAAU4Q,IAAI0E,GAE1B1U,EAAOoU,GAEPvR,EAAczD,UAAU4Q,IAAIyE,GAC5BL,EAAYhV,UAAU4Q,IAAIyE,GAa1BlP,KAAKgG,gBAXoBoJ,KACvBP,EAAYhV,UAAUlC,OAAOuX,EAAsBC,GACnDN,EAAYhV,UAAU4Q,IAAIkB,IAE1BrO,EAAczD,UAAUlC,OAAOgU,GAAmBwD,EAAgBD,GAElElP,KAAK2M,YAAa,EAElBoC,EAAa5D,GAAW,GAGY7N,EAAe0C,KAAKqP,eAEtDJ,GACFjP,KAAKgN,OAET,CAEAqC,cACE,OAAOrP,KAAKyF,SAAS5L,UAAUC,SAlUV,QAmUvB,CAEA+T,aACE,OAAOjH,EAAeG,QAAQ+E,GAAsB9L,KAAKyF,SAC3D,CAEAiI,YACE,OAAO9G,EAAe1H,KAAK2M,GAAe7L,KAAKyF,SACjD,CAEA2H,iBACMpN,KAAKyM,YACP6C,cAActP,KAAKyM,WACnBzM,KAAKyM,UAAY,KAErB,CAEA2B,kBAAkB5D,GAChB,OAAIzP,IACKyP,IAAcQ,GAAiBD,GAAaD,GAG9CN,IAAcQ,GAAiBF,GAAaC,EACrD,CAEAiE,kBAAkBlB,GAChB,OAAI/S,IACK+S,IAAU/C,GAAaC,GAAiBC,GAG1C6C,IAAU/C,GAAaE,GAAkBD,EAClD,CAGA,sBAAOvP,CAAgB+I,GACrB,OAAOxE,KAAK0I,MAAK,WACf,MAAMC,EAAO6D,GAASrG,oBAAoBnG,KAAMwE,GAEhD,GAAsB,iBAAXA,GAKX,GAAsB,iBAAXA,EAAqB,CAC9B,QAAqBoE,IAAjBD,EAAKnE,IAAyBA,EAAO/C,WAAW,MAAmB,gBAAX+C,EAC1D,MAAM,IAAIa,UAAW,oBAAmBb,MAG1CmE,EAAKnE,IACP,OAVEmE,EAAK6E,GAAGhJ,EAWZ,GACF,EAOFjE,EAAac,GAAGtI,SAAU0S,GAlXE,uCAkXyC,SAAUtM,GAC7E,MAAMlC,EAAS2J,EAAekB,uBAAuB9H,MAErD,IAAK/C,IAAWA,EAAOpD,UAAUC,SAAS4R,IACxC,OAGFvM,EAAMoD,iBAEN,MAAMgN,EAAW/C,GAASrG,oBAAoBlJ,GACxCuS,EAAaxP,KAAK/F,aAAa,oBAErC,OAAIuV,GACFD,EAAS/B,GAAGgC,QACZD,EAAShC,qBAIyC,SAAhDjK,EAAYY,iBAAiBlE,KAAM,UACrCuP,EAAS/H,YACT+H,EAAShC,sBAIXgC,EAASlI,YACTkI,EAAShC,oBACX,IAEAhN,EAAac,GAAGrJ,OAAQwT,IAAqB,KAC3C,MAAMiE,EAAY7I,EAAe1H,KA9YR,6BAgZzB,IAAK,MAAMqQ,KAAYE,EACrBjD,GAASrG,oBAAoBoJ,EAC/B,IAOFtU,EAAmBuR,ICncnB,MAEM3G,GAAa,eAGb6J,GAAc,OAAM7J,KACpB8J,GAAe,QAAO9J,KACtB+J,GAAc,OAAM/J,KACpBgK,GAAgB,SAAQhK,KACxB4F,GAAwB,QAAO5F,cAE/BiK,GAAkB,OAClBC,GAAsB,WACtBC,GAAwB,aAExBC,GAA8B,WAAUF,OAAwBA,KAOhElH,GAAuB,8BAEvBzE,GAAU,CACd8L,OAAQ,KACRnH,QAAQ,GAGJ1E,GAAc,CAClB6L,OAAQ,iBACRnH,OAAQ,WAOV,MAAMoH,WAAiB5K,EACrBV,YAAY9N,EAASyN,GACnBgB,MAAMzO,EAASyN,GAEfxE,KAAKoQ,kBAAmB,EACxBpQ,KAAKqQ,cAAgB,GAErB,MAAMC,EAAa1J,EAAe1H,KAAK2J,IAEvC,IAAK,MAAM0H,KAAQD,EAAY,CAC7B,MAAMvY,EAAW6O,EAAeiB,uBAAuB0I,GACjDC,EAAgB5J,EAAe1H,KAAKnH,GACvCgM,QAAO0M,GAAgBA,IAAiBzQ,KAAKyF,WAE/B,OAAb1N,GAAqByY,EAAc1X,QACrCkH,KAAKqQ,cAAcvU,KAAKyU,EAE5B,CAEAvQ,KAAK0Q,sBAEA1Q,KAAK0F,QAAQwK,QAChBlQ,KAAK2Q,0BAA0B3Q,KAAKqQ,cAAerQ,KAAK4Q,YAGtD5Q,KAAK0F,QAAQqD,QACf/I,KAAK+I,QAET,CAGA,kBAAW3E,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,MA9ES,UA+EX,CAGAyN,SACM/I,KAAK4Q,WACP5Q,KAAK6Q,OAEL7Q,KAAK8Q,MAET,CAEAA,OACE,GAAI9Q,KAAKoQ,kBAAoBpQ,KAAK4Q,WAChC,OAGF,IAAIG,EAAiB,GASrB,GANI/Q,KAAK0F,QAAQwK,SACfa,EAAiB/Q,KAAKgR,uBA9EH,wCA+EhBjN,QAAOhN,GAAWA,IAAYiJ,KAAKyF,WACnCgB,KAAI1P,GAAWoZ,GAAShK,oBAAoBpP,EAAS,CAAEgS,QAAQ,OAGhEgI,EAAejY,QAAUiY,EAAe,GAAGX,iBAC7C,OAIF,GADmB7P,EAAasB,QAAQ7B,KAAKyF,SAAUiK,IACxCzN,iBACb,OAGF,IAAK,MAAMgP,KAAkBF,EAC3BE,EAAeJ,OAGjB,MAAMK,EAAYlR,KAAKmR,gBAEvBnR,KAAKyF,SAAS5L,UAAUlC,OAAOoY,IAC/B/P,KAAKyF,SAAS5L,UAAU4Q,IAAIuF,IAE5BhQ,KAAKyF,SAAS2L,MAAMF,GAAa,EAEjClR,KAAK2Q,0BAA0B3Q,KAAKqQ,eAAe,GACnDrQ,KAAKoQ,kBAAmB,EAExB,MAYMiB,EAAc,SADSH,EAAU,GAAG5L,cAAgB4L,EAAUvP,MAAM,KAG1E3B,KAAKgG,gBAdYsL,KACftR,KAAKoQ,kBAAmB,EAExBpQ,KAAKyF,SAAS5L,UAAUlC,OAAOqY,IAC/BhQ,KAAKyF,SAAS5L,UAAU4Q,IAAIsF,GAAqBD,IAEjD9P,KAAKyF,SAAS2L,MAAMF,GAAa,GAEjC3Q,EAAasB,QAAQ7B,KAAKyF,SAAUkK,GAAY,GAMpB3P,KAAKyF,UAAU,GAC7CzF,KAAKyF,SAAS2L,MAAMF,GAAc,GAAElR,KAAKyF,SAAS4L,MACpD,CAEAR,OACE,GAAI7Q,KAAKoQ,mBAAqBpQ,KAAK4Q,WACjC,OAIF,GADmBrQ,EAAasB,QAAQ7B,KAAKyF,SAAUmK,IACxC3N,iBACb,OAGF,MAAMiP,EAAYlR,KAAKmR,gBAEvBnR,KAAKyF,SAAS2L,MAAMF,GAAc,GAAElR,KAAKyF,SAAS8L,wBAAwBL,OAE1EzW,EAAOuF,KAAKyF,UAEZzF,KAAKyF,SAAS5L,UAAU4Q,IAAIuF,IAC5BhQ,KAAKyF,SAAS5L,UAAUlC,OAAOoY,GAAqBD,IAEpD,IAAK,MAAMjO,KAAW7B,KAAKqQ,cAAe,CACxC,MAAMtZ,EAAU6P,EAAekB,uBAAuBjG,GAElD9K,IAAYiJ,KAAK4Q,SAAS7Z,IAC5BiJ,KAAK2Q,0BAA0B,CAAC9O,IAAU,EAE9C,CAEA7B,KAAKoQ,kBAAmB,EASxBpQ,KAAKyF,SAAS2L,MAAMF,GAAa,GAEjClR,KAAKgG,gBATYsL,KACftR,KAAKoQ,kBAAmB,EACxBpQ,KAAKyF,SAAS5L,UAAUlC,OAAOqY,IAC/BhQ,KAAKyF,SAAS5L,UAAU4Q,IAAIsF,IAC5BxP,EAAasB,QAAQ7B,KAAKyF,SAAUoK,GAAa,GAKrB7P,KAAKyF,UAAU,EAC/C,CAEAmL,SAAS7Z,EAAUiJ,KAAKyF,UACtB,OAAO1O,EAAQ8C,UAAUC,SAASgW,GACpC,CAGApL,kBAAkBF,GAGhB,OAFAA,EAAOuE,OAASjI,QAAQ0D,EAAOuE,QAC/BvE,EAAO0L,OAASrX,EAAW2L,EAAO0L,QAC3B1L,CACT,CAEA2M,gBACE,OAAOnR,KAAKyF,SAAS5L,UAAUC,SAtLL,uBAEhB,QACC,QAoLb,CAEA4W,sBACE,IAAK1Q,KAAK0F,QAAQwK,OAChB,OAGF,MAAMlJ,EAAWhH,KAAKgR,uBAAuBnI,IAE7C,IAAK,MAAM9R,KAAWiQ,EAAU,CAC9B,MAAMwK,EAAW5K,EAAekB,uBAAuB/Q,GAEnDya,GACFxR,KAAK2Q,0BAA0B,CAAC5Z,GAAUiJ,KAAK4Q,SAASY,GAE5D,CACF,CAEAR,uBAAuBjZ,GACrB,MAAMiP,EAAWJ,EAAe1H,KAAK+Q,GAA4BjQ,KAAK0F,QAAQwK,QAE9E,OAAOtJ,EAAe1H,KAAKnH,EAAUiI,KAAK0F,QAAQwK,QAAQnM,QAAOhN,IAAYiQ,EAAS5F,SAASrK,IACjG,CAEA4Z,0BAA0Bc,EAAcC,GACtC,GAAKD,EAAa3Y,OAIlB,IAAK,MAAM/B,KAAW0a,EACpB1a,EAAQ8C,UAAUkP,OAvNK,aAuNyB2I,GAChD3a,EAAQyM,aAAa,gBAAiBkO,EAE1C,CAGA,sBAAOjW,CAAgB+I,GACrB,MAAMkB,EAAU,GAKhB,MAJsB,iBAAXlB,GAAuB,YAAYY,KAAKZ,KACjDkB,EAAQqD,QAAS,GAGZ/I,KAAK0I,MAAK,WACf,MAAMC,EAAOwH,GAAShK,oBAAoBnG,KAAM0F,GAEhD,GAAsB,iBAAXlB,EAAqB,CAC9B,QAA4B,IAAjBmE,EAAKnE,GACd,MAAM,IAAIa,UAAW,oBAAmBb,MAG1CmE,EAAKnE,IACP,CACF,GACF,EAOFjE,EAAac,GAAGtI,SAAU0S,GAAsB5C,IAAsB,SAAU1J,IAEjD,MAAzBA,EAAMlC,OAAOmL,SAAoBjJ,EAAMW,gBAAmD,MAAjCX,EAAMW,eAAesI,UAChFjJ,EAAMoD,iBAGR,IAAK,MAAMxL,KAAW6P,EAAemB,gCAAgC/H,MACnEmQ,GAAShK,oBAAoBpP,EAAS,CAAEgS,QAAQ,IAASA,QAE7D,IAMA9N,EAAmBkV,IC1QnB,MAAM7U,GAAO,WAEPuK,GAAa,eACbgF,GAAe,YAIf8G,GAAe,UACfC,GAAiB,YAGjBhC,GAAc,OAAM/J,KACpBgK,GAAgB,SAAQhK,KACxB6J,GAAc,OAAM7J,KACpB8J,GAAe,QAAO9J,KACtB4F,GAAwB,QAAO5F,KAAYgF,KAC3CgH,GAA0B,UAAShM,KAAYgF,KAC/CiH,GAAwB,QAAOjM,KAAYgF,KAE3CiF,GAAkB,OAOlBjH,GAAuB,4DACvBkJ,GAA8B,GAAElJ,MAAwBiH,KACxDkC,GAAgB,iBAKhBC,GAAgBlX,IAAU,UAAY,YACtCmX,GAAmBnX,IAAU,YAAc,UAC3CoX,GAAmBpX,IAAU,aAAe,eAC5CqX,GAAsBrX,IAAU,eAAiB,aACjDsX,GAAkBtX,IAAU,aAAe,cAC3CuX,GAAiBvX,IAAU,cAAgB,aAI3CqJ,GAAU,CACdmO,WAAW,EACXC,SAAU,kBACVC,QAAS,UACTC,OAAQ,CAAC,EAAG,GACZC,aAAc,KACdC,UAAW,UAGPvO,GAAc,CAClBkO,UAAW,mBACXC,SAAU,mBACVC,QAAS,SACTC,OAAQ,0BACRC,aAAc,yBACdC,UAAW,2BAOb,MAAMC,WAAiBtN,EACrBV,YAAY9N,EAASyN,GACnBgB,MAAMzO,EAASyN,GAEfxE,KAAK8S,QAAU,KACf9S,KAAK+S,QAAU/S,KAAKyF,SAAShM,WAE7BuG,KAAKgT,MAAQpM,EAAeY,KAAKxH,KAAKyF,SAAUuM,IAAe,IAC7DpL,EAAeS,KAAKrH,KAAKyF,SAAUuM,IAAe,IAClDpL,EAAeG,QAAQiL,GAAehS,KAAK+S,SAC7C/S,KAAKiT,UAAYjT,KAAKkT,eACxB,CAGA,kBAAW9O,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,OAAOA,EACT,CAGAyN,SACE,OAAO/I,KAAK4Q,WAAa5Q,KAAK6Q,OAAS7Q,KAAK8Q,MAC9C,CAEAA,OACE,GAAIpX,EAAWsG,KAAKyF,WAAazF,KAAK4Q,WACpC,OAGF,MAAM/Q,EAAgB,CACpBA,cAAeG,KAAKyF,UAKtB,IAFkBlF,EAAasB,QAAQ7B,KAAKyF,SAAUiK,GAAY7P,GAEpDoC,iBAAd,CAUA,GANAjC,KAAKmT,gBAMD,iBAAkBpa,SAASoB,kBAAoB6F,KAAK+S,QAAQxZ,QAtFxC,eAuFtB,IAAK,MAAMxC,IAAW,GAAG8P,UAAU9N,SAAS8B,KAAKmM,UAC/CzG,EAAac,GAAGtK,EAAS,YAAayD,GAI1CwF,KAAKyF,SAAS2N,QACdpT,KAAKyF,SAASjC,aAAa,iBAAiB,GAE5CxD,KAAKgT,MAAMnZ,UAAU4Q,IAAIqF,IACzB9P,KAAKyF,SAAS5L,UAAU4Q,IAAIqF,IAC5BvP,EAAasB,QAAQ7B,KAAKyF,SAAUkK,GAAa9P,EAnBjD,CAoBF,CAEAgR,OACE,GAAInX,EAAWsG,KAAKyF,YAAczF,KAAK4Q,WACrC,OAGF,MAAM/Q,EAAgB,CACpBA,cAAeG,KAAKyF,UAGtBzF,KAAKqT,cAAcxT,EACrB,CAEA+F,UACM5F,KAAK8S,SACP9S,KAAK8S,QAAQQ,UAGf9N,MAAMI,SACR,CAEA2N,SACEvT,KAAKiT,UAAYjT,KAAKkT,gBAClBlT,KAAK8S,SACP9S,KAAK8S,QAAQS,QAEjB,CAGAF,cAAcxT,GAEZ,IADkBU,EAAasB,QAAQ7B,KAAKyF,SAAUmK,GAAY/P,GACpDoC,iBAAd,CAMA,GAAI,iBAAkBlJ,SAASoB,gBAC7B,IAAK,MAAMpD,IAAW,GAAG8P,UAAU9N,SAAS8B,KAAKmM,UAC/CzG,EAAaC,IAAIzJ,EAAS,YAAayD,GAIvCwF,KAAK8S,SACP9S,KAAK8S,QAAQQ,UAGftT,KAAKgT,MAAMnZ,UAAUlC,OAAOmY,IAC5B9P,KAAKyF,SAAS5L,UAAUlC,OAAOmY,IAC/B9P,KAAKyF,SAASjC,aAAa,gBAAiB,SAC5CF,EAAYG,oBAAoBzD,KAAKgT,MAAO,UAC5CzS,EAAasB,QAAQ7B,KAAKyF,SAAUoK,GAAchQ,EAlBlD,CAmBF,CAEA0E,WAAWC,GAGT,GAAgC,iBAFhCA,EAASgB,MAAMjB,WAAWC,IAERoO,YAA2Bna,EAAU+L,EAAOoO,YACV,mBAA3CpO,EAAOoO,UAAUrB,sBAGxB,MAAM,IAAIlM,UAAW,GAAE/J,GAAKgK,+GAG9B,OAAOd,CACT,CAEA2O,gBACE,QAAsB,IAAXK,EACT,MAAM,IAAInO,UAAU,gEAGtB,IAAIoO,EAAmBzT,KAAKyF,SAEG,WAA3BzF,KAAK0F,QAAQkN,UACfa,EAAmBzT,KAAK+S,QACfta,EAAUuH,KAAK0F,QAAQkN,WAChCa,EAAmB5a,EAAWmH,KAAK0F,QAAQkN,WACA,iBAA3B5S,KAAK0F,QAAQkN,YAC7Ba,EAAmBzT,KAAK0F,QAAQkN,WAGlC,MAAMD,EAAe3S,KAAK0T,mBAC1B1T,KAAK8S,QAAUU,EAAOG,aAAaF,EAAkBzT,KAAKgT,MAAOL,EACnE,CAEA/B,WACE,OAAO5Q,KAAKgT,MAAMnZ,UAAUC,SAASgW,GACvC,CAEA8D,gBACE,MAAMC,EAAiB7T,KAAK+S,QAE5B,GAAIc,EAAeha,UAAUC,SAzMN,WA0MrB,OAAOuY,GAGT,GAAIwB,EAAeha,UAAUC,SA5MJ,aA6MvB,OAAOwY,GAGT,GAAIuB,EAAeha,UAAUC,SA/MA,iBAgN3B,MAhMsB,MAmMxB,GAAI+Z,EAAeha,UAAUC,SAlNE,mBAmN7B,MAnMyB,SAuM3B,MAAMga,EAAkF,QAA1E1a,iBAAiB4G,KAAKgT,OAAO3Z,iBAAiB,iBAAiBmN,OAE7E,OAAIqN,EAAeha,UAAUC,SA7NP,UA8Nbga,EAAQ5B,GAAmBD,GAG7B6B,EAAQ1B,GAAsBD,EACvC,CAEAe,gBACE,OAAkD,OAA3ClT,KAAKyF,SAASlM,QA5ND,UA6NtB,CAEAwa,aACE,MAAMrB,OAAEA,GAAW1S,KAAK0F,QAExB,MAAsB,iBAAXgN,EACFA,EAAO7V,MAAM,KAAK4J,KAAI/D,GAAShG,OAAOiS,SAASjM,EAAO,MAGzC,mBAAXgQ,EACFsB,GAActB,EAAOsB,EAAYhU,KAAKyF,UAGxCiN,CACT,CAEAgB,mBACE,MAAMO,EAAwB,CAC5BC,UAAWlU,KAAK4T,gBAChBO,UAAW,CAAC,CACV9Y,KAAM,kBACN+Y,QAAS,CACP5B,SAAUxS,KAAK0F,QAAQ8M,WAG3B,CACEnX,KAAM,SACN+Y,QAAS,CACP1B,OAAQ1S,KAAK+T,iBAcnB,OARI/T,KAAKiT,WAAsC,WAAzBjT,KAAK0F,QAAQ+M,WACjCnP,EAAYC,iBAAiBvD,KAAKgT,MAAO,SAAU,UACnDiB,EAAsBE,UAAY,CAAC,CACjC9Y,KAAM,cACNgZ,SAAS,KAIN,IACFJ,KACAlY,EAAQiE,KAAK0F,QAAQiN,aAAc,CAACsB,IAE3C,CAEAK,iBAAgBtd,IAAEA,EAAGiG,OAAEA,IACrB,MAAMwQ,EAAQ7G,EAAe1H,KA5QF,8DA4Q+Bc,KAAKgT,OAAOjP,QAAOhN,GAAWkC,EAAUlC,KAE7F0W,EAAM3U,QAMXsE,EAAqBqQ,EAAOxQ,EAAQjG,IAAQ4a,IAAiBnE,EAAMrM,SAASnE,IAASmW,OACvF,CAGA,sBAAO3X,CAAgB+I,GACrB,OAAOxE,KAAK0I,MAAK,WACf,MAAMC,EAAOkK,GAAS1M,oBAAoBnG,KAAMwE,GAEhD,GAAsB,iBAAXA,EAAX,CAIA,QAA4B,IAAjBmE,EAAKnE,GACd,MAAM,IAAIa,UAAW,oBAAmBb,MAG1CmE,EAAKnE,IANL,CAOF,GACF,CAEA,iBAAO+P,CAAWpV,GAChB,GA/TuB,IA+TnBA,EAAM6J,QAAiD,UAAf7J,EAAMsB,MAlUtC,QAkU0DtB,EAAMnI,IAC1E,OAGF,MAAMwd,EAAc5N,EAAe1H,KAAK6S,IAExC,IAAK,MAAMhJ,KAAUyL,EAAa,CAChC,MAAMC,EAAU5B,GAAS3M,YAAY6C,GACrC,IAAK0L,IAAyC,IAA9BA,EAAQ/O,QAAQ6M,UAC9B,SAGF,MAAMmC,EAAevV,EAAMuV,eACrBC,EAAeD,EAAatT,SAASqT,EAAQzB,OACnD,GACE0B,EAAatT,SAASqT,EAAQhP,WACC,WAA9BgP,EAAQ/O,QAAQ6M,YAA2BoC,GACb,YAA9BF,EAAQ/O,QAAQ6M,WAA2BoC,EAE5C,SAIF,GAAIF,EAAQzB,MAAMlZ,SAASqF,EAAMlC,UAA4B,UAAfkC,EAAMsB,MAzV1C,QAyV8DtB,EAAMnI,KAAoB,qCAAqCoO,KAAKjG,EAAMlC,OAAOmL,UACvJ,SAGF,MAAMvI,EAAgB,CAAEA,cAAe4U,EAAQhP,UAE5B,UAAftG,EAAMsB,OACRZ,EAAcsI,WAAahJ,GAG7BsV,EAAQpB,cAAcxT,EACxB,CACF,CAEA,4BAAO+U,CAAsBzV,GAI3B,MAAM0V,EAAU,kBAAkBzP,KAAKjG,EAAMlC,OAAOmL,SAC9C0M,EA7WS,WA6WO3V,EAAMnI,IACtB+d,EAAkB,CAACpD,GAAcC,IAAgBxQ,SAASjC,EAAMnI,KAEtE,IAAK+d,IAAoBD,EACvB,OAGF,GAAID,IAAYC,EACd,OAGF3V,EAAMoD,iBAGN,MAAMyS,EAAkBhV,KAAKkH,QAAQ2B,IACnC7I,KACC4G,EAAeS,KAAKrH,KAAM6I,IAAsB,IAC/CjC,EAAeY,KAAKxH,KAAM6I,IAAsB,IAChDjC,EAAeG,QAAQ8B,GAAsB1J,EAAMW,eAAerG,YAEhExC,EAAW4b,GAAS1M,oBAAoB6O,GAE9C,GAAID,EAIF,OAHA5V,EAAM8V,kBACNhe,EAAS6Z,YACT7Z,EAASqd,gBAAgBnV,GAIvBlI,EAAS2Z,aACXzR,EAAM8V,kBACNhe,EAAS4Z,OACTmE,EAAgB5B,QAEpB,EAOF7S,EAAac,GAAGtI,SAAU8Y,GAAwBhJ,GAAsBgK,GAAS+B,uBACjFrU,EAAac,GAAGtI,SAAU8Y,GAAwBG,GAAea,GAAS+B,uBAC1ErU,EAAac,GAAGtI,SAAU0S,GAAsBoH,GAAS0B,YACzDhU,EAAac,GAAGtI,SAAU+Y,GAAsBe,GAAS0B,YACzDhU,EAAac,GAAGtI,SAAU0S,GAAsB5C,IAAsB,SAAU1J,GAC9EA,EAAMoD,iBACNsQ,GAAS1M,oBAAoBnG,MAAM+I,QACrC,IAMA9N,EAAmB4X,ICnbnB,MAAMvX,GAAO,WAEPwU,GAAkB,OAClBoF,GAAmB,gBAAe5Z,KAElC8I,GAAU,CACd+Q,UAAW,iBACXC,cAAe,KACfnP,YAAY,EACZhN,WAAW,EACXoc,YAAa,QAGThR,GAAc,CAClB8Q,UAAW,SACXC,cAAe,kBACfnP,WAAY,UACZhN,UAAW,UACXoc,YAAa,oBAOf,MAAMC,WAAiBnR,EACrBU,YAAYL,GACVgB,QACAxF,KAAK0F,QAAU1F,KAAKuE,WAAWC,GAC/BxE,KAAKuV,aAAc,EACnBvV,KAAKyF,SAAW,IAClB,CAGA,kBAAWrB,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,OAAOA,EACT,CAGAwV,KAAK3V,GACH,IAAK6E,KAAK0F,QAAQzM,UAEhB,YADA8C,EAAQZ,GAIV6E,KAAKwV,UAEL,MAAMze,EAAUiJ,KAAKyV,cACjBzV,KAAK0F,QAAQO,YACfxL,EAAO1D,GAGTA,EAAQ8C,UAAU4Q,IAAIqF,IAEtB9P,KAAK0V,mBAAkB,KACrB3Z,EAAQZ,EAAS,GAErB,CAEA0V,KAAK1V,GACE6E,KAAK0F,QAAQzM,WAKlB+G,KAAKyV,cAAc5b,UAAUlC,OAAOmY,IAEpC9P,KAAK0V,mBAAkB,KACrB1V,KAAK4F,UACL7J,EAAQZ,EAAS,KARjBY,EAAQZ,EAUZ,CAEAyK,UACO5F,KAAKuV,cAIVhV,EAAaC,IAAIR,KAAKyF,SAAUyP,IAEhClV,KAAKyF,SAAS9N,SACdqI,KAAKuV,aAAc,EACrB,CAGAE,cACE,IAAKzV,KAAKyF,SAAU,CAClB,MAAMkQ,EAAW5c,SAAS6c,cAAc,OACxCD,EAASR,UAAYnV,KAAK0F,QAAQyP,UAC9BnV,KAAK0F,QAAQO,YACf0P,EAAS9b,UAAU4Q,IAjGH,QAoGlBzK,KAAKyF,SAAWkQ,CAClB,CAEA,OAAO3V,KAAKyF,QACd,CAEAf,kBAAkBF,GAGhB,OADAA,EAAO6Q,YAAcxc,EAAW2L,EAAO6Q,aAChC7Q,CACT,CAEAgR,UACE,GAAIxV,KAAKuV,YACP,OAGF,MAAMxe,EAAUiJ,KAAKyV,cACrBzV,KAAK0F,QAAQ2P,YAAYQ,OAAO9e,GAEhCwJ,EAAac,GAAGtK,EAASme,IAAiB,KACxCnZ,EAAQiE,KAAK0F,QAAQ0P,cAAc,IAGrCpV,KAAKuV,aAAc,CACrB,CAEAG,kBAAkBva,GAChBgB,EAAuBhB,EAAU6E,KAAKyV,cAAezV,KAAK0F,QAAQO,WACpE,ECpIF,MAEMJ,GAAa,gBACbiQ,GAAiB,UAASjQ,KAC1BkQ,GAAqB,cAAalQ,KAIlCmQ,GAAmB,WAEnB5R,GAAU,CACd6R,WAAW,EACXC,YAAa,MAGT7R,GAAc,CAClB4R,UAAW,UACXC,YAAa,WAOf,MAAMC,WAAkBhS,EACtBU,YAAYL,GACVgB,QACAxF,KAAK0F,QAAU1F,KAAKuE,WAAWC,GAC/BxE,KAAKoW,WAAY,EACjBpW,KAAKqW,qBAAuB,IAC9B,CAGA,kBAAWjS,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,MA1CS,WA2CX,CAGAgb,WACMtW,KAAKoW,YAILpW,KAAK0F,QAAQuQ,WACfjW,KAAK0F,QAAQwQ,YAAY9C,QAG3B7S,EAAaC,IAAIzH,SAAU8M,IAC3BtF,EAAac,GAAGtI,SAAU+c,IAAe3W,GAASa,KAAKuW,eAAepX,KACtEoB,EAAac,GAAGtI,SAAUgd,IAAmB5W,GAASa,KAAKwW,eAAerX,KAE1Ea,KAAKoW,WAAY,EACnB,CAEAK,aACOzW,KAAKoW,YAIVpW,KAAKoW,WAAY,EACjB7V,EAAaC,IAAIzH,SAAU8M,IAC7B,CAGA0Q,eAAepX,GACb,MAAM+W,YAAEA,GAAgBlW,KAAK0F,QAE7B,GAAIvG,EAAMlC,SAAWlE,UAAYoG,EAAMlC,SAAWiZ,GAAeA,EAAYpc,SAASqF,EAAMlC,QAC1F,OAGF,MAAMyZ,EAAW9P,EAAec,kBAAkBwO,GAE1B,IAApBQ,EAAS5d,OACXod,EAAY9C,QACHpT,KAAKqW,uBAAyBL,GACvCU,EAASA,EAAS5d,OAAS,GAAGsa,QAE9BsD,EAAS,GAAGtD,OAEhB,CAEAoD,eAAerX,GApFD,QAqFRA,EAAMnI,MAIVgJ,KAAKqW,qBAAuBlX,EAAMwX,SAAWX,GAxFzB,UAyFtB,EChGF,MAAMY,GAAyB,oDACzBC,GAA0B,cAC1BC,GAAmB,gBACnBC,GAAkB,eAMxB,MAAMC,GACJnS,cACE7E,KAAKyF,SAAW1M,SAAS8B,IAC3B,CAGAoc,WAEE,MAAMC,EAAgBne,SAASoB,gBAAgBgd,YAC/C,OAAOvZ,KAAK2M,IAAIvS,OAAOof,WAAaF,EACtC,CAEArG,OACE,MAAMwG,EAAQrX,KAAKiX,WACnBjX,KAAKsX,mBAELtX,KAAKuX,sBAAsBvX,KAAKyF,SAAUqR,IAAkBU,GAAmBA,EAAkBH,IAEjGrX,KAAKuX,sBAAsBX,GAAwBE,IAAkBU,GAAmBA,EAAkBH,IAC1GrX,KAAKuX,sBAAsBV,GAAyBE,IAAiBS,GAAmBA,EAAkBH,GAC5G,CAEAI,QACEzX,KAAK0X,wBAAwB1X,KAAKyF,SAAU,YAC5CzF,KAAK0X,wBAAwB1X,KAAKyF,SAAUqR,IAC5C9W,KAAK0X,wBAAwBd,GAAwBE,IACrD9W,KAAK0X,wBAAwBb,GAAyBE,GACxD,CAEAY,gBACE,OAAO3X,KAAKiX,WAAa,CAC3B,CAGAK,mBACEtX,KAAK4X,sBAAsB5X,KAAKyF,SAAU,YAC1CzF,KAAKyF,SAAS2L,MAAMyG,SAAW,QACjC,CAEAN,sBAAsBxf,EAAU+f,EAAe3c,GAC7C,MAAM4c,EAAiB/X,KAAKiX,WAW5BjX,KAAKgY,2BAA2BjgB,GAVHhB,IAC3B,GAAIA,IAAYiJ,KAAKyF,UAAYzN,OAAOof,WAAargB,EAAQogB,YAAcY,EACzE,OAGF/X,KAAK4X,sBAAsB7gB,EAAS+gB,GACpC,MAAMN,EAAkBxf,OAAOoB,iBAAiBrC,GAASsC,iBAAiBye,GAC1E/gB,EAAQqa,MAAM6G,YAAYH,EAAgB,GAAE3c,EAASuB,OAAOC,WAAW6a,QAAsB,GAIjG,CAEAI,sBAAsB7gB,EAAS+gB,GAC7B,MAAMI,EAAcnhB,EAAQqa,MAAM/X,iBAAiBye,GAC/CI,GACF5U,EAAYC,iBAAiBxM,EAAS+gB,EAAeI,EAEzD,CAEAR,wBAAwB3f,EAAU+f,GAahC9X,KAAKgY,2BAA2BjgB,GAZHhB,IAC3B,MAAM2L,EAAQY,EAAYY,iBAAiBnN,EAAS+gB,GAEtC,OAAVpV,GAKJY,EAAYG,oBAAoB1M,EAAS+gB,GACzC/gB,EAAQqa,MAAM6G,YAAYH,EAAepV,IALvC3L,EAAQqa,MAAM+G,eAAeL,EAKgB,GAInD,CAEAE,2BAA2BjgB,EAAUqgB,GACnC,GAAI3f,EAAUV,GACZqgB,EAASrgB,QAIX,IAAK,MAAM2O,KAAOE,EAAe1H,KAAKnH,EAAUiI,KAAKyF,UACnD2S,EAAS1R,EAEb,ECxFF,MAEMb,GAAa,YAIb+J,GAAc,OAAM/J,KACpBwS,GAAwB,gBAAexS,KACvCgK,GAAgB,SAAQhK,KACxB6J,GAAc,OAAM7J,KACpB8J,GAAe,QAAO9J,KACtByS,GAAgB,SAAQzS,KACxB0S,GAAuB,gBAAe1S,KACtC2S,GAA2B,oBAAmB3S,KAC9C4S,GAAyB,kBAAiB5S,KAC1C4F,GAAwB,QAAO5F,cAE/B6S,GAAkB,aAElB5I,GAAkB,OAClB6I,GAAoB,eAOpBvU,GAAU,CACduR,UAAU,EACVvC,OAAO,EACPjH,UAAU,GAGN9H,GAAc,CAClBsR,SAAU,mBACVvC,MAAO,UACPjH,SAAU,WAOZ,MAAMyM,WAAcrT,EAClBV,YAAY9N,EAASyN,GACnBgB,MAAMzO,EAASyN,GAEfxE,KAAK6Y,QAAUjS,EAAeG,QAxBV,gBAwBmC/G,KAAKyF,UAC5DzF,KAAK8Y,UAAY9Y,KAAK+Y,sBACtB/Y,KAAKgZ,WAAahZ,KAAKiZ,uBACvBjZ,KAAK4Q,UAAW,EAChB5Q,KAAKoQ,kBAAmB,EACxBpQ,KAAKkZ,WAAa,IAAIlC,GAEtBhX,KAAK+M,oBACP,CAGA,kBAAW3I,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,MAnES,OAoEX,CAGAyN,OAAOlJ,GACL,OAAOG,KAAK4Q,SAAW5Q,KAAK6Q,OAAS7Q,KAAK8Q,KAAKjR,EACjD,CAEAiR,KAAKjR,GACCG,KAAK4Q,UAAY5Q,KAAKoQ,kBAIR7P,EAAasB,QAAQ7B,KAAKyF,SAAUiK,GAAY,CAChE7P,kBAGYoC,mBAIdjC,KAAK4Q,UAAW,EAChB5Q,KAAKoQ,kBAAmB,EAExBpQ,KAAKkZ,WAAWrI,OAEhB9X,SAAS8B,KAAKhB,UAAU4Q,IAAIiO,IAE5B1Y,KAAKmZ,gBAELnZ,KAAK8Y,UAAUhI,MAAK,IAAM9Q,KAAKoZ,aAAavZ,KAC9C,CAEAgR,OACO7Q,KAAK4Q,WAAY5Q,KAAKoQ,mBAIT7P,EAAasB,QAAQ7B,KAAKyF,SAAUmK,IAExC3N,mBAIdjC,KAAK4Q,UAAW,EAChB5Q,KAAKoQ,kBAAmB,EACxBpQ,KAAKgZ,WAAWvC,aAEhBzW,KAAKyF,SAAS5L,UAAUlC,OAAOmY,IAE/B9P,KAAKgG,gBAAe,IAAMhG,KAAKqZ,cAAcrZ,KAAKyF,SAAUzF,KAAKqP,gBACnE,CAEAzJ,UACErF,EAAaC,IAAIxI,OAAQ6N,IACzBtF,EAAaC,IAAIR,KAAK6Y,QAAShT,IAE/B7F,KAAK8Y,UAAUlT,UACf5F,KAAKgZ,WAAWvC,aAEhBjR,MAAMI,SACR,CAEA0T,eACEtZ,KAAKmZ,eACP,CAGAJ,sBACE,OAAO,IAAIzD,GAAS,CAClBrc,UAAW6H,QAAQd,KAAK0F,QAAQiQ,UAChC1P,WAAYjG,KAAKqP,eAErB,CAEA4J,uBACE,OAAO,IAAI9C,GAAU,CACnBD,YAAalW,KAAKyF,UAEtB,CAEA2T,aAAavZ,GAEN9G,SAAS8B,KAAKf,SAASkG,KAAKyF,WAC/B1M,SAAS8B,KAAKgb,OAAO7V,KAAKyF,UAG5BzF,KAAKyF,SAAS2L,MAAMqB,QAAU,QAC9BzS,KAAKyF,SAAS/B,gBAAgB,eAC9B1D,KAAKyF,SAASjC,aAAa,cAAc,GACzCxD,KAAKyF,SAASjC,aAAa,OAAQ,UACnCxD,KAAKyF,SAAS8T,UAAY,EAE1B,MAAMC,EAAY5S,EAAeG,QAxIT,cAwIsC/G,KAAK6Y,SAC/DW,IACFA,EAAUD,UAAY,GAGxB9e,EAAOuF,KAAKyF,UAEZzF,KAAKyF,SAAS5L,UAAU4Q,IAAIqF,IAa5B9P,KAAKgG,gBAXsByT,KACrBzZ,KAAK0F,QAAQ0N,OACfpT,KAAKgZ,WAAW1C,WAGlBtW,KAAKoQ,kBAAmB,EACxB7P,EAAasB,QAAQ7B,KAAKyF,SAAUkK,GAAa,CAC/C9P,iBACA,GAGoCG,KAAK6Y,QAAS7Y,KAAKqP,cAC7D,CAEAtC,qBACExM,EAAac,GAAGrB,KAAKyF,SAAUgT,IAAuBtZ,IApLvC,WAqLTA,EAAMnI,MAINgJ,KAAK0F,QAAQyG,SACfnM,KAAK6Q,OAIP7Q,KAAK0Z,6BAA4B,IAGnCnZ,EAAac,GAAGrJ,OAAQsgB,IAAc,KAChCtY,KAAK4Q,WAAa5Q,KAAKoQ,kBACzBpQ,KAAKmZ,eACP,IAGF5Y,EAAac,GAAGrB,KAAKyF,SAAU+S,IAAyBrZ,IAEtDoB,EAAae,IAAItB,KAAKyF,SAAU8S,IAAqBoB,IAC/C3Z,KAAKyF,WAAatG,EAAMlC,QAAU+C,KAAKyF,WAAakU,EAAO1c,SAIjC,WAA1B+C,KAAK0F,QAAQiQ,SAKb3V,KAAK0F,QAAQiQ,UACf3V,KAAK6Q,OALL7Q,KAAK0Z,6BAMP,GACA,GAEN,CAEAL,aACErZ,KAAKyF,SAAS2L,MAAMqB,QAAU,OAC9BzS,KAAKyF,SAASjC,aAAa,eAAe,GAC1CxD,KAAKyF,SAAS/B,gBAAgB,cAC9B1D,KAAKyF,SAAS/B,gBAAgB,QAC9B1D,KAAKoQ,kBAAmB,EAExBpQ,KAAK8Y,UAAUjI,MAAK,KAClB9X,SAAS8B,KAAKhB,UAAUlC,OAAO+gB,IAC/B1Y,KAAK4Z,oBACL5Z,KAAKkZ,WAAWzB,QAChBlX,EAAasB,QAAQ7B,KAAKyF,SAAUoK,GAAa,GAErD,CAEAR,cACE,OAAOrP,KAAKyF,SAAS5L,UAAUC,SA5NX,OA6NtB,CAEA4f,6BAEE,GADkBnZ,EAAasB,QAAQ7B,KAAKyF,SAAU4S,IACxCpW,iBACZ,OAGF,MAAM4X,EAAqB7Z,KAAKyF,SAASqU,aAAe/gB,SAASoB,gBAAgB4f,aAC3EC,EAAmBha,KAAKyF,SAAS2L,MAAM6I,UAEpB,WAArBD,GAAiCha,KAAKyF,SAAS5L,UAAUC,SAAS6e,MAIjEkB,IACH7Z,KAAKyF,SAAS2L,MAAM6I,UAAY,UAGlCja,KAAKyF,SAAS5L,UAAU4Q,IAAIkO,IAC5B3Y,KAAKgG,gBAAe,KAClBhG,KAAKyF,SAAS5L,UAAUlC,OAAOghB,IAC/B3Y,KAAKgG,gBAAe,KAClBhG,KAAKyF,SAAS2L,MAAM6I,UAAYD,CAAgB,GAC/Cha,KAAK6Y,QAAQ,GACf7Y,KAAK6Y,SAER7Y,KAAKyF,SAAS2N,QAChB,CAMA+F,gBACE,MAAMU,EAAqB7Z,KAAKyF,SAASqU,aAAe/gB,SAASoB,gBAAgB4f,aAC3EhC,EAAiB/X,KAAKkZ,WAAWjC,WACjCiD,EAAoBnC,EAAiB,EAE3C,GAAImC,IAAsBL,EAAoB,CAC5C,MAAM9U,EAAWhK,IAAU,cAAgB,eAC3CiF,KAAKyF,SAAS2L,MAAMrM,GAAa,GAAEgT,KACrC,CAEA,IAAKmC,GAAqBL,EAAoB,CAC5C,MAAM9U,EAAWhK,IAAU,eAAiB,cAC5CiF,KAAKyF,SAAS2L,MAAMrM,GAAa,GAAEgT,KACrC,CACF,CAEA6B,oBACE5Z,KAAKyF,SAAS2L,MAAM+I,YAAc,GAClCna,KAAKyF,SAAS2L,MAAMgJ,aAAe,EACrC,CAGA,sBAAO3e,CAAgB+I,EAAQ3E,GAC7B,OAAOG,KAAK0I,MAAK,WACf,MAAMC,EAAOiQ,GAAMzS,oBAAoBnG,KAAMwE,GAE7C,GAAsB,iBAAXA,EAAX,CAIA,QAA4B,IAAjBmE,EAAKnE,GACd,MAAM,IAAIa,UAAW,oBAAmBb,MAG1CmE,EAAKnE,GAAQ3E,EANb,CAOF,GACF,EAOFU,EAAac,GAAGtI,SAAU0S,GAnSG,4BAmSyC,SAAUtM,GAC9E,MAAMlC,EAAS2J,EAAekB,uBAAuB9H,MAEjD,CAAC,IAAK,QAAQoB,SAASpB,KAAKoI,UAC9BjJ,EAAMoD,iBAGRhC,EAAae,IAAIrE,EAAQyS,IAAY2K,IAC/BA,EAAUpY,kBAKd1B,EAAae,IAAIrE,EAAQ4S,IAAc,KACjC5W,EAAU+G,OACZA,KAAKoT,OACP,GACA,IAIJ,MAAMkH,EAAc1T,EAAeG,QA3Tf,eA4ThBuT,GACF1B,GAAM1S,YAAYoU,GAAazJ,OAGpB+H,GAAMzS,oBAAoBlJ,GAElC8L,OAAO/I,KACd,IAEAgI,EAAqB4Q,IAMrB3d,EAAmB2d,IC/VnB,MAEM/S,GAAa,gBACbgF,GAAe,YACfW,GAAuB,OAAM3F,KAAYgF,KAGzCiF,GAAkB,OAClByK,GAAqB,UACrBC,GAAoB,SAEpBC,GAAgB,kBAEhB/K,GAAc,OAAM7J,KACpB8J,GAAe,QAAO9J,KACtB+J,GAAc,OAAM/J,KACpBwS,GAAwB,gBAAexS,KACvCgK,GAAgB,SAAQhK,KACxByS,GAAgB,SAAQzS,KACxB4F,GAAwB,QAAO5F,KAAYgF,KAC3C4N,GAAyB,kBAAiB5S,KAI1CzB,GAAU,CACduR,UAAU,EACVxJ,UAAU,EACVuO,QAAQ,GAGJrW,GAAc,CAClBsR,SAAU,mBACVxJ,SAAU,UACVuO,OAAQ,WAOV,MAAMC,WAAkBpV,EACtBV,YAAY9N,EAASyN,GACnBgB,MAAMzO,EAASyN,GAEfxE,KAAK4Q,UAAW,EAChB5Q,KAAK8Y,UAAY9Y,KAAK+Y,sBACtB/Y,KAAKgZ,WAAahZ,KAAKiZ,uBACvBjZ,KAAK+M,oBACP,CAGA,kBAAW3I,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,MA5DS,WA6DX,CAGAyN,OAAOlJ,GACL,OAAOG,KAAK4Q,SAAW5Q,KAAK6Q,OAAS7Q,KAAK8Q,KAAKjR,EACjD,CAEAiR,KAAKjR,GACCG,KAAK4Q,UAISrQ,EAAasB,QAAQ7B,KAAKyF,SAAUiK,GAAY,CAAE7P,kBAEtDoC,mBAIdjC,KAAK4Q,UAAW,EAChB5Q,KAAK8Y,UAAUhI,OAEV9Q,KAAK0F,QAAQgV,SAChB,IAAI1D,IAAkBnG,OAGxB7Q,KAAKyF,SAASjC,aAAa,cAAc,GACzCxD,KAAKyF,SAASjC,aAAa,OAAQ,UACnCxD,KAAKyF,SAAS5L,UAAU4Q,IAAI8P,IAY5Bva,KAAKgG,gBAVoBoJ,KAClBpP,KAAK0F,QAAQgV,SAAU1a,KAAK0F,QAAQiQ,UACvC3V,KAAKgZ,WAAW1C,WAGlBtW,KAAKyF,SAAS5L,UAAU4Q,IAAIqF,IAC5B9P,KAAKyF,SAAS5L,UAAUlC,OAAO4iB,IAC/Bha,EAAasB,QAAQ7B,KAAKyF,SAAUkK,GAAa,CAAE9P,iBAAgB,GAG/BG,KAAKyF,UAAU,GACvD,CAEAoL,OACO7Q,KAAK4Q,WAIQrQ,EAAasB,QAAQ7B,KAAKyF,SAAUmK,IAExC3N,mBAIdjC,KAAKgZ,WAAWvC,aAChBzW,KAAKyF,SAASmV,OACd5a,KAAK4Q,UAAW,EAChB5Q,KAAKyF,SAAS5L,UAAU4Q,IAAI+P,IAC5Bxa,KAAK8Y,UAAUjI,OAcf7Q,KAAKgG,gBAZoB6U,KACvB7a,KAAKyF,SAAS5L,UAAUlC,OAAOmY,GAAiB0K,IAChDxa,KAAKyF,SAAS/B,gBAAgB,cAC9B1D,KAAKyF,SAAS/B,gBAAgB,QAEzB1D,KAAK0F,QAAQgV,SAChB,IAAI1D,IAAkBS,QAGxBlX,EAAasB,QAAQ7B,KAAKyF,SAAUoK,GAAa,GAGb7P,KAAKyF,UAAU,IACvD,CAEAG,UACE5F,KAAK8Y,UAAUlT,UACf5F,KAAKgZ,WAAWvC,aAChBjR,MAAMI,SACR,CAGAmT,sBACE,MAUM9f,EAAY6H,QAAQd,KAAK0F,QAAQiQ,UAEvC,OAAO,IAAIL,GAAS,CAClBH,UAlJsB,qBAmJtBlc,YACAgN,YAAY,EACZoP,YAAarV,KAAKyF,SAAShM,WAC3B2b,cAAenc,EAjBKmc,KACU,WAA1BpV,KAAK0F,QAAQiQ,SAKjB3V,KAAK6Q,OAJHtQ,EAAasB,QAAQ7B,KAAKyF,SAAU4S,GAI3B,EAWgC,MAE/C,CAEAY,uBACE,OAAO,IAAI9C,GAAU,CACnBD,YAAalW,KAAKyF,UAEtB,CAEAsH,qBACExM,EAAac,GAAGrB,KAAKyF,SAAUgT,IAAuBtZ,IAtKvC,WAuKTA,EAAMnI,MAINgJ,KAAK0F,QAAQyG,SACfnM,KAAK6Q,OAIPtQ,EAAasB,QAAQ7B,KAAKyF,SAAU4S,IAAqB,GAE7D,CAGA,sBAAO5c,CAAgB+I,GACrB,OAAOxE,KAAK0I,MAAK,WACf,MAAMC,EAAOgS,GAAUxU,oBAAoBnG,KAAMwE,GAEjD,GAAsB,iBAAXA,EAAX,CAIA,QAAqBoE,IAAjBD,EAAKnE,IAAyBA,EAAO/C,WAAW,MAAmB,gBAAX+C,EAC1D,MAAM,IAAIa,UAAW,oBAAmBb,MAG1CmE,EAAKnE,GAAQxE,KANb,CAOF,GACF,EAOFO,EAAac,GAAGtI,SAAU0S,GAzLG,gCAyLyC,SAAUtM,GAC9E,MAAMlC,EAAS2J,EAAekB,uBAAuB9H,MAMrD,GAJI,CAAC,IAAK,QAAQoB,SAASpB,KAAKoI,UAC9BjJ,EAAMoD,iBAGJ7I,EAAWsG,MACb,OAGFO,EAAae,IAAIrE,EAAQ4S,IAAc,KAEjC5W,EAAU+G,OACZA,KAAKoT,OACP,IAIF,MAAMkH,EAAc1T,EAAeG,QAAQ0T,IACvCH,GAAeA,IAAgBrd,GACjC0d,GAAUzU,YAAYoU,GAAazJ,OAGxB8J,GAAUxU,oBAAoBlJ,GACtC8L,OAAO/I,KACd,IAEAO,EAAac,GAAGrJ,OAAQwT,IAAqB,KAC3C,IAAK,MAAMzT,KAAY6O,EAAe1H,KAAKub,IACzCE,GAAUxU,oBAAoBpO,GAAU+Y,MAC1C,IAGFvQ,EAAac,GAAGrJ,OAAQsgB,IAAc,KACpC,IAAK,MAAMvhB,KAAW6P,EAAe1H,KAAK,gDACG,UAAvC9F,iBAAiBrC,GAAS+jB,UAC5BH,GAAUxU,oBAAoBpP,GAAS8Z,MAE3C,IAGF7I,EAAqB2S,IAMrB1f,EAAmB0f,IC/QnB,MAEaI,GAAmB,CAE9B,IAAK,CAAC,QAAS,MAAO,KAAM,OAAQ,OAJP,kBAK7BC,EAAG,CAAC,SAAU,OAAQ,QAAS,OAC/BC,KAAM,GACNC,EAAG,GACHC,GAAI,GACJC,IAAK,GACLC,KAAM,GACNC,GAAI,GACJC,IAAK,GACLC,GAAI,GACJC,GAAI,GACJC,GAAI,GACJC,GAAI,GACJC,GAAI,GACJC,GAAI,GACJC,GAAI,GACJC,GAAI,GACJC,GAAI,GACJC,GAAI,GACJC,EAAG,GACHhO,IAAK,CAAC,MAAO,SAAU,MAAO,QAAS,QAAS,UAChDiO,GAAI,GACJC,GAAI,GACJC,EAAG,GACHC,IAAK,GACLC,EAAG,GACHC,MAAO,GACPC,KAAM,GACNC,IAAK,GACLC,IAAK,GACLC,OAAQ,GACRC,EAAG,GACHC,GAAI,IAIAC,GAAgB,IAAIve,IAAI,CAC5B,aACA,OACA,OACA,WACA,WACA,SACA,MACA,eAUIwe,GAAmB,0DAEnBC,GAAmBA,CAACC,EAAWC,KACnC,MAAMC,EAAgBF,EAAUG,SAASha,cAEzC,OAAI8Z,EAAqB/b,SAASgc,IAC5BL,GAAc7lB,IAAIkmB,IACbtc,QAAQkc,GAAiB5X,KAAK8X,EAAUI,YAO5CH,EAAqBpZ,QAAOwZ,GAAkBA,aAA0BpY,SAC5EqY,MAAKC,GAASA,EAAMrY,KAAKgY,IAAe,EC/DvChZ,GAAU,CACdsZ,UAAW3C,GACX4C,QAAS,GACTC,WAAY,GACZC,MAAM,EACNC,UAAU,EACVC,WAAY,KACZC,SAAU,eAGN3Z,GAAc,CAClBqZ,UAAW,SACXC,QAAS,SACTC,WAAY,oBACZC,KAAM,UACNC,SAAU,UACVC,WAAY,kBACZC,SAAU,UAGNC,GAAqB,CACzBC,MAAO,iCACPnmB,SAAU,oBAOZ,MAAMomB,WAAwBha,EAC5BU,YAAYL,GACVgB,QACAxF,KAAK0F,QAAU1F,KAAKuE,WAAWC,EACjC,CAGA,kBAAWJ,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,MA/CS,iBAgDX,CAGA8iB,aACE,OAAOpf,OAAOC,OAAOe,KAAK0F,QAAQiY,SAC/BlX,KAAIjC,GAAUxE,KAAKqe,yBAAyB7Z,KAC5CT,OAAOjD,QACZ,CAEAwd,aACE,OAAOte,KAAKoe,aAAatlB,OAAS,CACpC,CAEAylB,cAAcZ,GAGZ,OAFA3d,KAAKwe,cAAcb,GACnB3d,KAAK0F,QAAQiY,QAAU,IAAK3d,KAAK0F,QAAQiY,WAAYA,GAC9C3d,IACT,CAEAye,SACE,MAAMC,EAAkB3lB,SAAS6c,cAAc,OAC/C8I,EAAgBC,UAAY3e,KAAK4e,eAAe5e,KAAK0F,QAAQsY,UAE7D,IAAK,MAAOjmB,EAAU8mB,KAAS7f,OAAOmC,QAAQnB,KAAK0F,QAAQiY,SACzD3d,KAAK8e,YAAYJ,EAAiBG,EAAM9mB,GAG1C,MAAMimB,EAAWU,EAAgB1X,SAAS,GACpC4W,EAAa5d,KAAKqe,yBAAyBre,KAAK0F,QAAQkY,YAM9D,OAJIA,GACFI,EAASnkB,UAAU4Q,OAAOmT,EAAW/gB,MAAM,MAGtCmhB,CACT,CAGArZ,iBAAiBH,GACfgB,MAAMb,iBAAiBH,GACvBxE,KAAKwe,cAAcha,EAAOmZ,QAC5B,CAEAa,cAAcO,GACZ,IAAK,MAAOhnB,EAAU4lB,KAAY3e,OAAOmC,QAAQ4d,GAC/CvZ,MAAMb,iBAAiB,CAAE5M,WAAUmmB,MAAOP,GAAWM,GAEzD,CAEAa,YAAYd,EAAUL,EAAS5lB,GAC7B,MAAMinB,EAAkBpY,EAAeG,QAAQhP,EAAUimB,GAEpDgB,KAILrB,EAAU3d,KAAKqe,yBAAyBV,IAOpCllB,EAAUklB,GACZ3d,KAAKif,sBAAsBpmB,EAAW8kB,GAAUqB,GAI9Chf,KAAK0F,QAAQmY,KACfmB,EAAgBL,UAAY3e,KAAK4e,eAAejB,GAIlDqB,EAAgBE,YAAcvB,EAd5BqB,EAAgBrnB,SAepB,CAEAinB,eAAeG,GACb,OAAO/e,KAAK0F,QAAQoY,SDzDjB,SAAsBqB,EAAYzB,EAAW0B,GAClD,IAAKD,EAAWrmB,OACd,OAAOqmB,EAGT,GAAIC,GAAgD,mBAArBA,EAC7B,OAAOA,EAAiBD,GAG1B,MACME,GADY,IAAIrnB,OAAOsnB,WACKC,gBAAgBJ,EAAY,aACxDzI,EAAW,GAAG7P,UAAUwY,EAAgBxkB,KAAKuF,iBAAiB,MAEpE,IAAK,MAAMrJ,KAAW2f,EAAU,CAC9B,MAAM8I,EAAczoB,EAAQsmB,SAASha,cAErC,IAAKrE,OAAOtH,KAAKgmB,GAAWtc,SAASoe,GAAc,CACjDzoB,EAAQY,SACR,QACF,CAEA,MAAM8nB,EAAgB,GAAG5Y,UAAU9P,EAAQ6M,YACrC8b,EAAoB,GAAG7Y,OAAO6W,EAAU,MAAQ,GAAIA,EAAU8B,IAAgB,IAEpF,IAAK,MAAMtC,KAAauC,EACjBxC,GAAiBC,EAAWwC,IAC/B3oB,EAAQ2M,gBAAgBwZ,EAAUG,SAGxC,CAEA,OAAOgC,EAAgBxkB,KAAK8jB,SAC9B,CCyBmCgB,CAAaZ,EAAK/e,KAAK0F,QAAQgY,UAAW1d,KAAK0F,QAAQqY,YAAcgB,CACtG,CAEAV,yBAAyBU,GACvB,OAAOhjB,EAAQgjB,EAAK,CAAC/e,MACvB,CAEAif,sBAAsBloB,EAASioB,GAC7B,GAAIhf,KAAK0F,QAAQmY,KAGf,OAFAmB,EAAgBL,UAAY,QAC5BK,EAAgBnJ,OAAO9e,GAIzBioB,EAAgBE,YAAcnoB,EAAQmoB,WACxC,ECvIF,MACMU,GAAwB,IAAIphB,IAAI,CAAC,WAAY,YAAa,eAE1DqhB,GAAkB,OAElB/P,GAAkB,OAGlBgQ,GAAkB,SAElBC,GAAmB,gBAEnBC,GAAgB,QAChBC,GAAgB,QAehBC,GAAgB,CACpBC,KAAM,OACNC,IAAK,MACLC,MAAOtlB,IAAU,OAAS,QAC1BulB,OAAQ,SACRC,KAAMxlB,IAAU,QAAU,QAGtBqJ,GAAU,CACdsZ,UAAW3C,GACXyF,WAAW,EACXhO,SAAU,kBACViO,WAAW,EACXC,YAAa,GACbC,MAAO,EACPC,mBAAoB,CAAC,MAAO,QAAS,SAAU,QAC/C/C,MAAM,EACNnL,OAAQ,CAAC,EAAG,GACZwB,UAAW,MACXvB,aAAc,KACdmL,UAAU,EACVC,WAAY,KACZhmB,UAAU,EACVimB,SAAU,+GAIV6C,MAAO,GACPhf,QAAS,eAGLwC,GAAc,CAClBqZ,UAAW,SACX8C,UAAW,UACXhO,SAAU,mBACViO,UAAW,2BACXC,YAAa,oBACbC,MAAO,kBACPC,mBAAoB,QACpB/C,KAAM,UACNnL,OAAQ,0BACRwB,UAAW,oBACXvB,aAAc,yBACdmL,SAAU,UACVC,WAAY,kBACZhmB,SAAU,mBACVimB,SAAU,SACV6C,MAAO,4BACPhf,QAAS,UAOX,MAAMif,WAAgBvb,EACpBV,YAAY9N,EAASyN,GACnB,QAAsB,IAAXgP,EACT,MAAM,IAAInO,UAAU,+DAGtBG,MAAMzO,EAASyN,GAGfxE,KAAK+gB,YAAa,EAClB/gB,KAAKghB,SAAW,EAChBhhB,KAAKihB,WAAa,KAClBjhB,KAAKkhB,eAAiB,GACtBlhB,KAAK8S,QAAU,KACf9S,KAAKmhB,iBAAmB,KACxBnhB,KAAKohB,YAAc,KAGnBphB,KAAKqhB,IAAM,KAEXrhB,KAAKshB,gBAEAthB,KAAK0F,QAAQ3N,UAChBiI,KAAKuhB,WAET,CAGA,kBAAWnd,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,MAxHS,SAyHX,CAGAkmB,SACExhB,KAAK+gB,YAAa,CACpB,CAEAU,UACEzhB,KAAK+gB,YAAa,CACpB,CAEAW,gBACE1hB,KAAK+gB,YAAc/gB,KAAK+gB,UAC1B,CAEAhY,SACO/I,KAAK+gB,aAIV/gB,KAAKkhB,eAAeS,OAAS3hB,KAAKkhB,eAAeS,MAC7C3hB,KAAK4Q,WACP5Q,KAAK4hB,SAIP5hB,KAAK6hB,SACP,CAEAjc,UACE0I,aAAatO,KAAKghB,UAElBzgB,EAAaC,IAAIR,KAAKyF,SAASlM,QAAQumB,IAAiBC,GAAkB/f,KAAK8hB,mBAE3E9hB,KAAKyF,SAASxL,aAAa,2BAC7B+F,KAAKyF,SAASjC,aAAa,QAASxD,KAAKyF,SAASxL,aAAa,2BAGjE+F,KAAK+hB,iBACLvc,MAAMI,SACR,CAEAkL,OACE,GAAoC,SAAhC9Q,KAAKyF,SAAS2L,MAAMqB,QACtB,MAAM,IAAInO,MAAM,uCAGlB,IAAMtE,KAAKgiB,mBAAoBhiB,KAAK+gB,WAClC,OAGF,MAAM1G,EAAY9Z,EAAasB,QAAQ7B,KAAKyF,SAAUzF,KAAK6E,YAAYwB,UAzJxD,SA2JT4b,GADa/nB,EAAe8F,KAAKyF,WACLzF,KAAKyF,SAASyc,cAAc/nB,iBAAiBL,SAASkG,KAAKyF,UAE7F,GAAI4U,EAAUpY,mBAAqBggB,EACjC,OAIFjiB,KAAK+hB,iBAEL,MAAMV,EAAMrhB,KAAKmiB,iBAEjBniB,KAAKyF,SAASjC,aAAa,mBAAoB6d,EAAIpnB,aAAa,OAEhE,MAAMwmB,UAAEA,GAAczgB,KAAK0F,QAe3B,GAbK1F,KAAKyF,SAASyc,cAAc/nB,gBAAgBL,SAASkG,KAAKqhB,OAC7DZ,EAAU5K,OAAOwL,GACjB9gB,EAAasB,QAAQ7B,KAAKyF,SAAUzF,KAAK6E,YAAYwB,UA1KpC,cA6KnBrG,KAAK8S,QAAU9S,KAAKmT,cAAckO,GAElCA,EAAIxnB,UAAU4Q,IAAIqF,IAMd,iBAAkB/W,SAASoB,gBAC7B,IAAK,MAAMpD,IAAW,GAAG8P,UAAU9N,SAAS8B,KAAKmM,UAC/CzG,EAAac,GAAGtK,EAAS,YAAayD,GAc1CwF,KAAKgG,gBAVYsL,KACf/Q,EAAasB,QAAQ7B,KAAKyF,SAAUzF,KAAK6E,YAAYwB,UA7LvC,WA+LU,IAApBrG,KAAKihB,YACPjhB,KAAK4hB,SAGP5hB,KAAKihB,YAAa,CAAK,GAGKjhB,KAAKqhB,IAAKrhB,KAAKqP,cAC/C,CAEAwB,OACE,GAAK7Q,KAAK4Q,aAIQrQ,EAAasB,QAAQ7B,KAAKyF,SAAUzF,KAAK6E,YAAYwB,UAjNxD,SAkNDpE,iBAAd,CASA,GALYjC,KAAKmiB,iBACbtoB,UAAUlC,OAAOmY,IAIjB,iBAAkB/W,SAASoB,gBAC7B,IAAK,MAAMpD,IAAW,GAAG8P,UAAU9N,SAAS8B,KAAKmM,UAC/CzG,EAAaC,IAAIzJ,EAAS,YAAayD,GAI3CwF,KAAKkhB,eAA4B,OAAI,EACrClhB,KAAKkhB,eAAejB,KAAiB,EACrCjgB,KAAKkhB,eAAelB,KAAiB,EACrChgB,KAAKihB,WAAa,KAelBjhB,KAAKgG,gBAbYsL,KACXtR,KAAKoiB,yBAIJpiB,KAAKihB,YACRjhB,KAAK+hB,iBAGP/hB,KAAKyF,SAAS/B,gBAAgB,oBAC9BnD,EAAasB,QAAQ7B,KAAKyF,SAAUzF,KAAK6E,YAAYwB,UA/OtC,WA+O8D,GAGjDrG,KAAKqhB,IAAKrhB,KAAKqP,cA/B7C,CAgCF,CAEAkE,SACMvT,KAAK8S,SACP9S,KAAK8S,QAAQS,QAEjB,CAGAyO,iBACE,OAAOlhB,QAAQd,KAAKqiB,YACtB,CAEAF,iBAKE,OAJKniB,KAAKqhB,MACRrhB,KAAKqhB,IAAMrhB,KAAKsiB,kBAAkBtiB,KAAKohB,aAAephB,KAAKuiB,2BAGtDviB,KAAKqhB,GACd,CAEAiB,kBAAkB3E,GAChB,MAAM0D,EAAMrhB,KAAKwiB,oBAAoB7E,GAASc,SAG9C,IAAK4C,EACH,OAAO,KAGTA,EAAIxnB,UAAUlC,OAAOkoB,GAAiB/P,IAEtCuR,EAAIxnB,UAAU4Q,IAAK,MAAKzK,KAAK6E,YAAYvJ,aAEzC,MAAMmnB,EpBrRKC,KACb,GACEA,GAAU9kB,KAAK+kB,MAjCH,IAiCS/kB,KAAKglB,gBACnB7pB,SAAS8pB,eAAeH,IAEjC,OAAOA,CAAM,EoBgRGI,CAAO9iB,KAAK6E,YAAYvJ,MAAMyH,WAQ5C,OANAse,EAAI7d,aAAa,KAAMif,GAEnBziB,KAAKqP,eACPgS,EAAIxnB,UAAU4Q,IAAIoV,IAGbwB,CACT,CAEA0B,WAAWpF,GACT3d,KAAKohB,YAAczD,EACf3d,KAAK4Q,aACP5Q,KAAK+hB,iBACL/hB,KAAK8Q,OAET,CAEA0R,oBAAoB7E,GAalB,OAZI3d,KAAKmhB,iBACPnhB,KAAKmhB,iBAAiB5C,cAAcZ,GAEpC3d,KAAKmhB,iBAAmB,IAAIhD,GAAgB,IACvCne,KAAK0F,QAGRiY,UACAC,WAAY5d,KAAKqe,yBAAyBre,KAAK0F,QAAQgb,eAIpD1gB,KAAKmhB,gBACd,CAEAoB,yBACE,MAAO,CACL,iBAA0BviB,KAAKqiB,YAEnC,CAEAA,YACE,OAAOriB,KAAKqe,yBAAyBre,KAAK0F,QAAQmb,QAAU7gB,KAAKyF,SAASxL,aAAa,yBACzF,CAGA+oB,6BAA6B7jB,GAC3B,OAAOa,KAAK6E,YAAYsB,oBAAoBhH,EAAMW,eAAgBE,KAAKijB,qBACzE,CAEA5T,cACE,OAAOrP,KAAK0F,QAAQ8a,WAAcxgB,KAAKqhB,KAAOrhB,KAAKqhB,IAAIxnB,UAAUC,SAAS+lB,GAC5E,CAEAjP,WACE,OAAO5Q,KAAKqhB,KAAOrhB,KAAKqhB,IAAIxnB,UAAUC,SAASgW,GACjD,CAEAqD,cAAckO,GACZ,MAAMnN,EAAYnY,EAAQiE,KAAK0F,QAAQwO,UAAW,CAAClU,KAAMqhB,EAAKrhB,KAAKyF,WAC7Dyd,EAAahD,GAAchM,EAAU5O,eAC3C,OAAOkO,EAAOG,aAAa3T,KAAKyF,SAAU4b,EAAKrhB,KAAK0T,iBAAiBwP,GACvE,CAEAnP,aACE,MAAMrB,OAAEA,GAAW1S,KAAK0F,QAExB,MAAsB,iBAAXgN,EACFA,EAAO7V,MAAM,KAAK4J,KAAI/D,GAAShG,OAAOiS,SAASjM,EAAO,MAGzC,mBAAXgQ,EACFsB,GAActB,EAAOsB,EAAYhU,KAAKyF,UAGxCiN,CACT,CAEA2L,yBAAyBU,GACvB,OAAOhjB,EAAQgjB,EAAK,CAAC/e,KAAKyF,UAC5B,CAEAiO,iBAAiBwP,GACf,MAAMjP,EAAwB,CAC5BC,UAAWgP,EACX/O,UAAW,CACT,CACE9Y,KAAM,OACN+Y,QAAS,CACPwM,mBAAoB5gB,KAAK0F,QAAQkb,qBAGrC,CACEvlB,KAAM,SACN+Y,QAAS,CACP1B,OAAQ1S,KAAK+T,eAGjB,CACE1Y,KAAM,kBACN+Y,QAAS,CACP5B,SAAUxS,KAAK0F,QAAQ8M,WAG3B,CACEnX,KAAM,QACN+Y,QAAS,CACPrd,QAAU,IAAGiJ,KAAK6E,YAAYvJ,eAGlC,CACED,KAAM,kBACNgZ,SAAS,EACT8O,MAAO,aACP3nB,GAAImN,IAGF3I,KAAKmiB,iBAAiB3e,aAAa,wBAAyBmF,EAAKya,MAAMlP,UAAU,KAMzF,MAAO,IACFD,KACAlY,EAAQiE,KAAK0F,QAAQiN,aAAc,CAACsB,IAE3C,CAEAqN,gBACE,MAAM+B,EAAWrjB,KAAK0F,QAAQ7D,QAAQhF,MAAM,KAE5C,IAAK,MAAMgF,KAAWwhB,EACpB,GAAgB,UAAZxhB,EACFtB,EAAac,GAAGrB,KAAKyF,SAAUzF,KAAK6E,YAAYwB,UAtZpC,SAsZ4DrG,KAAK0F,QAAQ3N,UAAUoH,IAC7Ea,KAAKgjB,6BAA6B7jB,GAC1C4J,QAAQ,SAEb,GAjaU,WAiaNlH,EAA4B,CACrC,MAAMyhB,EAAUzhB,IAAYme,GAC1BhgB,KAAK6E,YAAYwB,UAzZF,cA0ZfrG,KAAK6E,YAAYwB,UA5ZL,WA6ZRkd,EAAW1hB,IAAYme,GAC3BhgB,KAAK6E,YAAYwB,UA3ZF,cA4ZfrG,KAAK6E,YAAYwB,UA9ZJ,YAgaf9F,EAAac,GAAGrB,KAAKyF,SAAU6d,EAAStjB,KAAK0F,QAAQ3N,UAAUoH,IAC7D,MAAMsV,EAAUzU,KAAKgjB,6BAA6B7jB,GAClDsV,EAAQyM,eAA8B,YAAf/hB,EAAMsB,KAAqBwf,GAAgBD,KAAiB,EACnFvL,EAAQoN,QAAQ,IAElBthB,EAAac,GAAGrB,KAAKyF,SAAU8d,EAAUvjB,KAAK0F,QAAQ3N,UAAUoH,IAC9D,MAAMsV,EAAUzU,KAAKgjB,6BAA6B7jB,GAClDsV,EAAQyM,eAA8B,aAAf/hB,EAAMsB,KAAsBwf,GAAgBD,IACjEvL,EAAQhP,SAAS3L,SAASqF,EAAMU,eAElC4U,EAAQmN,QAAQ,GAEpB,CAGF5hB,KAAK8hB,kBAAoB,KACnB9hB,KAAKyF,UACPzF,KAAK6Q,MACP,EAGFtQ,EAAac,GAAGrB,KAAKyF,SAASlM,QAAQumB,IAAiBC,GAAkB/f,KAAK8hB,kBAChF,CAEAP,YACE,MAAMV,EAAQ7gB,KAAKyF,SAASxL,aAAa,SAEpC4mB,IAIA7gB,KAAKyF,SAASxL,aAAa,eAAkB+F,KAAKyF,SAASyZ,YAAY1Y,QAC1ExG,KAAKyF,SAASjC,aAAa,aAAcqd,GAG3C7gB,KAAKyF,SAASjC,aAAa,yBAA0Bqd,GACrD7gB,KAAKyF,SAAS/B,gBAAgB,SAChC,CAEAme,SACM7hB,KAAK4Q,YAAc5Q,KAAKihB,WAC1BjhB,KAAKihB,YAAa,GAIpBjhB,KAAKihB,YAAa,EAElBjhB,KAAKwjB,aAAY,KACXxjB,KAAKihB,YACPjhB,KAAK8Q,MACP,GACC9Q,KAAK0F,QAAQib,MAAM7P,MACxB,CAEA8Q,SACM5hB,KAAKoiB,yBAITpiB,KAAKihB,YAAa,EAElBjhB,KAAKwjB,aAAY,KACVxjB,KAAKihB,YACRjhB,KAAK6Q,MACP,GACC7Q,KAAK0F,QAAQib,MAAM9P,MACxB,CAEA2S,YAAYxmB,EAASymB,GACnBnV,aAAatO,KAAKghB,UAClBhhB,KAAKghB,SAAW7jB,WAAWH,EAASymB,EACtC,CAEArB,uBACE,OAAOpjB,OAAOC,OAAOe,KAAKkhB,gBAAgB9f,UAAS,EACrD,CAEAmD,WAAWC,GACT,MAAMkf,EAAiBpgB,EAAYK,kBAAkB3D,KAAKyF,UAE1D,IAAK,MAAMke,KAAiB3kB,OAAOtH,KAAKgsB,GAClC9D,GAAsB1oB,IAAIysB,WACrBD,EAAeC,GAW1B,OAPAnf,EAAS,IACJkf,KACmB,iBAAXlf,GAAuBA,EAASA,EAAS,IAEtDA,EAASxE,KAAKyE,gBAAgBD,GAC9BA,EAASxE,KAAK0E,kBAAkBF,GAChCxE,KAAK2E,iBAAiBH,GACfA,CACT,CAEAE,kBAAkBF,GAkBhB,OAjBAA,EAAOic,WAAiC,IAArBjc,EAAOic,UAAsB1nB,SAAS8B,KAAOhC,EAAW2L,EAAOic,WAEtD,iBAAjBjc,EAAOmc,QAChBnc,EAAOmc,MAAQ,CACb7P,KAAMtM,EAAOmc,MACb9P,KAAMrM,EAAOmc,QAIW,iBAAjBnc,EAAOqc,QAChBrc,EAAOqc,MAAQrc,EAAOqc,MAAM9d,YAGA,iBAAnByB,EAAOmZ,UAChBnZ,EAAOmZ,QAAUnZ,EAAOmZ,QAAQ5a,YAG3ByB,CACT,CAEAye,qBACE,MAAMze,EAAS,GAEf,IAAK,MAAOxN,EAAK0L,KAAU1D,OAAOmC,QAAQnB,KAAK0F,SACzC1F,KAAK6E,YAAYT,QAAQpN,KAAS0L,IACpC8B,EAAOxN,GAAO0L,GAUlB,OANA8B,EAAOzM,UAAW,EAClByM,EAAO3C,QAAU,SAKV2C,CACT,CAEAud,iBACM/hB,KAAK8S,UACP9S,KAAK8S,QAAQQ,UACbtT,KAAK8S,QAAU,MAGb9S,KAAKqhB,MACPrhB,KAAKqhB,IAAI1pB,SACTqI,KAAKqhB,IAAM,KAEf,CAGA,sBAAO5lB,CAAgB+I,GACrB,OAAOxE,KAAK0I,MAAK,WACf,MAAMC,EAAOmY,GAAQ3a,oBAAoBnG,KAAMwE,GAE/C,GAAsB,iBAAXA,EAAX,CAIA,QAA4B,IAAjBmE,EAAKnE,GACd,MAAM,IAAIa,UAAW,oBAAmBb,MAG1CmE,EAAKnE,IANL,CAOF,GACF,EAOFvJ,EAAmB6lB,ICxmBnB,MAKM1c,GAAU,IACX0c,GAAQ1c,QACXuZ,QAAS,GACTjL,OAAQ,CAAC,EAAG,GACZwB,UAAW,QACX8J,SAAU,8IAKVnc,QAAS,SAGLwC,GAAc,IACfyc,GAAQzc,YACXsZ,QAAS,kCAOX,MAAMiG,WAAgB9C,GAEpB,kBAAW1c,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,MAtCS,SAuCX,CAGA0mB,iBACE,OAAOhiB,KAAKqiB,aAAeriB,KAAK6jB,aAClC,CAGAtB,yBACE,MAAO,CACL,kBAAkBviB,KAAKqiB,YACvB,gBAAoBriB,KAAK6jB,cAE7B,CAEAA,cACE,OAAO7jB,KAAKqe,yBAAyBre,KAAK0F,QAAQiY,QACpD,CAGA,sBAAOliB,CAAgB+I,GACrB,OAAOxE,KAAK0I,MAAK,WACf,MAAMC,EAAOib,GAAQzd,oBAAoBnG,KAAMwE,GAE/C,GAAsB,iBAAXA,EAAX,CAIA,QAA4B,IAAjBmE,EAAKnE,GACd,MAAM,IAAIa,UAAW,oBAAmBb,MAG1CmE,EAAKnE,IANL,CAOF,GACF,EAOFvJ,EAAmB2oB,IC5EnB,MAEM/d,GAAa,gBAGbie,GAAkB,WAAUje,KAC5Bke,GAAe,QAAOle,KACtB2F,GAAuB,OAAM3F,cAG7B8F,GAAoB,SAGpBqY,GAAwB,SAExBC,GAAqB,YAGrBC,GAAuB,GAAED,mBAA+CA,uBAIxE7f,GAAU,CACdsO,OAAQ,KACRyR,WAAY,eACZC,cAAc,EACdnnB,OAAQ,KACRonB,UAAW,CAAC,GAAK,GAAK,IAGlBhgB,GAAc,CAClBqO,OAAQ,gBACRyR,WAAY,SACZC,aAAc,UACdnnB,OAAQ,UACRonB,UAAW,SAOb,MAAMC,WAAkB/e,EACtBV,YAAY9N,EAASyN,GACnBgB,MAAMzO,EAASyN,GAGfxE,KAAKukB,aAAe,IAAI3tB,IACxBoJ,KAAKwkB,oBAAsB,IAAI5tB,IAC/BoJ,KAAKykB,aAA6D,YAA9CrrB,iBAAiB4G,KAAKyF,UAAUwU,UAA0B,KAAOja,KAAKyF,SAC1FzF,KAAK0kB,cAAgB,KACrB1kB,KAAK2kB,UAAY,KACjB3kB,KAAK4kB,oBAAsB,CACzBC,gBAAiB,EACjBC,gBAAiB,GAEnB9kB,KAAK+kB,SACP,CAGA,kBAAW3gB,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,MArES,WAsEX,CAGAypB,UACE/kB,KAAKglB,mCACLhlB,KAAKilB,2BAEDjlB,KAAK2kB,UACP3kB,KAAK2kB,UAAUO,aAEfllB,KAAK2kB,UAAY3kB,KAAKmlB,kBAGxB,IAAK,MAAMC,KAAWplB,KAAKwkB,oBAAoBvlB,SAC7Ce,KAAK2kB,UAAUU,QAAQD,EAE3B,CAEAxf,UACE5F,KAAK2kB,UAAUO,aACf1f,MAAMI,SACR,CAGAlB,kBAAkBF,GAWhB,OATAA,EAAOvH,OAASpE,EAAW2L,EAAOvH,SAAWlE,SAAS8B,KAGtD2J,EAAO2f,WAAa3f,EAAOkO,OAAU,GAAElO,EAAOkO,oBAAsBlO,EAAO2f,WAE3C,iBAArB3f,EAAO6f,YAChB7f,EAAO6f,UAAY7f,EAAO6f,UAAUxnB,MAAM,KAAK4J,KAAI/D,GAAShG,OAAOC,WAAW+F,MAGzE8B,CACT,CAEAygB,2BACOjlB,KAAK0F,QAAQ0e,eAKlB7jB,EAAaC,IAAIR,KAAK0F,QAAQzI,OAAQ8mB,IAEtCxjB,EAAac,GAAGrB,KAAK0F,QAAQzI,OAAQ8mB,GAAaC,IAAuB7kB,IACvE,MAAMmmB,EAAoBtlB,KAAKwkB,oBAAoBptB,IAAI+H,EAAMlC,OAAOsoB,MACpE,GAAID,EAAmB,CACrBnmB,EAAMoD,iBACN,MAAMjI,EAAO0F,KAAKykB,cAAgBzsB,OAC5BwtB,EAASF,EAAkBG,UAAYzlB,KAAKyF,SAASggB,UAC3D,GAAInrB,EAAKorB,SAEP,YADAprB,EAAKorB,SAAS,CAAEC,IAAKH,EAAQI,SAAU,WAKzCtrB,EAAKif,UAAYiM,CACnB,KAEJ,CAEAL,kBACE,MAAM/Q,EAAU,CACd9Z,KAAM0F,KAAKykB,aACXJ,UAAWrkB,KAAK0F,QAAQ2e,UACxBF,WAAYnkB,KAAK0F,QAAQye,YAG3B,OAAO,IAAI0B,sBAAqB1kB,GAAWnB,KAAK8lB,kBAAkB3kB,IAAUiT,EAC9E,CAGA0R,kBAAkB3kB,GAChB,MAAM4kB,EAAgB7H,GAASle,KAAKukB,aAAantB,IAAK,IAAG8mB,EAAMjhB,OAAO5E,MAChEie,EAAW4H,IACfle,KAAK4kB,oBAAoBC,gBAAkB3G,EAAMjhB,OAAOwoB,UACxDzlB,KAAKgmB,SAASD,EAAc7H,GAAO,EAG/B4G,GAAmB9kB,KAAKykB,cAAgB1rB,SAASoB,iBAAiBof,UAClE0M,EAAkBnB,GAAmB9kB,KAAK4kB,oBAAoBE,gBACpE9kB,KAAK4kB,oBAAoBE,gBAAkBA,EAE3C,IAAK,MAAM5G,KAAS/c,EAAS,CAC3B,IAAK+c,EAAMgI,eAAgB,CACzBlmB,KAAK0kB,cAAgB,KACrB1kB,KAAKmmB,kBAAkBJ,EAAc7H,IAErC,QACF,CAEA,MAAMkI,EAA2BlI,EAAMjhB,OAAOwoB,WAAazlB,KAAK4kB,oBAAoBC,gBAEpF,GAAIoB,GAAmBG,GAGrB,GAFA9P,EAAS4H,IAEJ4G,EACH,YAOCmB,GAAoBG,GACvB9P,EAAS4H,EAEb,CACF,CAEA8G,mCACEhlB,KAAKukB,aAAe,IAAI3tB,IACxBoJ,KAAKwkB,oBAAsB,IAAI5tB,IAE/B,MAAMyvB,EAAczf,EAAe1H,KAAK8kB,GAAuBhkB,KAAK0F,QAAQzI,QAE5E,IAAK,MAAMqpB,KAAUD,EAAa,CAEhC,IAAKC,EAAOf,MAAQ7rB,EAAW4sB,GAC7B,SAGF,MAAMhB,EAAoB1e,EAAeG,QAAQwf,UAAUD,EAAOf,MAAOvlB,KAAKyF,UAG1ExM,EAAUqsB,KACZtlB,KAAKukB,aAAaztB,IAAIyvB,UAAUD,EAAOf,MAAOe,GAC9CtmB,KAAKwkB,oBAAoB1tB,IAAIwvB,EAAOf,KAAMD,GAE9C,CACF,CAEAU,SAAS/oB,GACH+C,KAAK0kB,gBAAkBznB,IAI3B+C,KAAKmmB,kBAAkBnmB,KAAK0F,QAAQzI,QACpC+C,KAAK0kB,cAAgBznB,EACrBA,EAAOpD,UAAU4Q,IAAIkB,IACrB3L,KAAKwmB,iBAAiBvpB,GAEtBsD,EAAasB,QAAQ7B,KAAKyF,SAAUqe,GAAgB,CAAEjkB,cAAe5C,IACvE,CAEAupB,iBAAiBvpB,GAEf,GAAIA,EAAOpD,UAAUC,SAlNQ,iBAmN3B8M,EAAeG,QAxMY,mBAwMsB9J,EAAO1D,QAzMpC,cA0MjBM,UAAU4Q,IAAIkB,SAInB,IAAK,MAAM8a,KAAa7f,EAAeO,QAAQlK,EAnNnB,qBAsN1B,IAAK,MAAMypB,KAAQ9f,EAAeS,KAAKof,EAAWvC,IAChDwC,EAAK7sB,UAAU4Q,IAAIkB,GAGzB,CAEAwa,kBAAkBjW,GAChBA,EAAOrW,UAAUlC,OAAOgU,IAExB,MAAMgb,EAAc/f,EAAe1H,KAAM,GAAE8kB,MAAyBrY,KAAqBuE,GACzF,IAAK,MAAM0W,KAAQD,EACjBC,EAAK/sB,UAAUlC,OAAOgU,GAE1B,CAGA,sBAAOlQ,CAAgB+I,GACrB,OAAOxE,KAAK0I,MAAK,WACf,MAAMC,EAAO2b,GAAUne,oBAAoBnG,KAAMwE,GAEjD,GAAsB,iBAAXA,EAAX,CAIA,QAAqBoE,IAAjBD,EAAKnE,IAAyBA,EAAO/C,WAAW,MAAmB,gBAAX+C,EAC1D,MAAM,IAAIa,UAAW,oBAAmBb,MAG1CmE,EAAKnE,IANL,CAOF,GACF,EAOFjE,EAAac,GAAGrJ,OAAQwT,IAAqB,KAC3C,IAAK,MAAMqb,KAAOjgB,EAAe1H,KA9PT,0BA+PtBolB,GAAUne,oBAAoB0gB,EAChC,IAOF5rB,EAAmBqpB,ICrRnB,MAEMze,GAAa,UAEb+J,GAAc,OAAM/J,KACpBgK,GAAgB,SAAQhK,KACxB6J,GAAc,OAAM7J,KACpB8J,GAAe,QAAO9J,KACtB4F,GAAwB,QAAO5F,KAC/BuF,GAAiB,UAASvF,KAC1B2F,GAAuB,OAAM3F,KAE7BihB,GAAiB,YACjBC,GAAkB,aAClBpV,GAAe,UACfC,GAAiB,YACjBoV,GAAW,OACXC,GAAU,MAEVtb,GAAoB,SACpBkU,GAAkB,OAClB/P,GAAkB,OAGlBoX,GAA2B,mBAE3BC,GAAgC,QAAOD,MAKvCre,GAAuB,2EACvBue,GAAuB,YAFMD,uBAAiDA,mBAA6CA,OAE/Ete,KAE5Cwe,GAA+B,IAAG1b,8BAA6CA,+BAA8CA,4BAMnI,MAAM2b,WAAY/hB,EAChBV,YAAY9N,GACVyO,MAAMzO,GACNiJ,KAAK+S,QAAU/S,KAAKyF,SAASlM,QAfN,uCAiBlByG,KAAK+S,UAOV/S,KAAKunB,sBAAsBvnB,KAAK+S,QAAS/S,KAAKwnB,gBAE9CjnB,EAAac,GAAGrB,KAAKyF,SAAU2F,IAAejM,GAASa,KAAKgO,SAAS7O,KACvE,CAGA,eAAW7D,GACT,MA3DS,KA4DX,CAGAwV,OACE,MAAM2W,EAAYznB,KAAKyF,SACvB,GAAIzF,KAAK0nB,cAAcD,GACrB,OAIF,MAAME,EAAS3nB,KAAK4nB,iBAEdC,EAAYF,EAChBpnB,EAAasB,QAAQ8lB,EAAQ/X,GAAY,CAAE/P,cAAe4nB,IAC1D,KAEgBlnB,EAAasB,QAAQ4lB,EAAW/X,GAAY,CAAE7P,cAAe8nB,IAEjE1lB,kBAAqB4lB,GAAaA,EAAU5lB,mBAI1DjC,KAAK8nB,YAAYH,EAAQF,GACzBznB,KAAK+nB,UAAUN,EAAWE,GAC5B,CAGAI,UAAUhxB,EAASixB,GACZjxB,IAILA,EAAQ8C,UAAU4Q,IAAIkB,IAEtB3L,KAAK+nB,UAAUnhB,EAAekB,uBAAuB/Q,IAgBrDiJ,KAAKgG,gBAdYsL,KACsB,QAAjCva,EAAQkD,aAAa,SAKzBlD,EAAQ2M,gBAAgB,YACxB3M,EAAQyM,aAAa,iBAAiB,GACtCxD,KAAKioB,gBAAgBlxB,GAAS,GAC9BwJ,EAAasB,QAAQ9K,EAAS4Y,GAAa,CACzC9P,cAAemoB,KARfjxB,EAAQ8C,UAAU4Q,IAAIqF,GAStB,GAG0B/Y,EAASA,EAAQ8C,UAAUC,SAAS+lB,KACpE,CAEAiI,YAAY/wB,EAASixB,GACdjxB,IAILA,EAAQ8C,UAAUlC,OAAOgU,IACzB5U,EAAQ6jB,OAER5a,KAAK8nB,YAAYlhB,EAAekB,uBAAuB/Q,IAcvDiJ,KAAKgG,gBAZYsL,KACsB,QAAjCva,EAAQkD,aAAa,SAKzBlD,EAAQyM,aAAa,iBAAiB,GACtCzM,EAAQyM,aAAa,WAAY,MACjCxD,KAAKioB,gBAAgBlxB,GAAS,GAC9BwJ,EAAasB,QAAQ9K,EAAS8Y,GAAc,CAAEhQ,cAAemoB,KAP3DjxB,EAAQ8C,UAAUlC,OAAOmY,GAOgD,GAG/C/Y,EAASA,EAAQ8C,UAAUC,SAAS+lB,KACpE,CAEA7R,SAAS7O,GACP,IAAM,CAAC2nB,GAAgBC,GAAiBpV,GAAcC,GAAgBoV,GAAUC,IAAS7lB,SAASjC,EAAMnI,KACtG,OAGFmI,EAAM8V,kBACN9V,EAAMoD,iBAEN,MAAMyE,EAAWhH,KAAKwnB,eAAezjB,QAAOhN,IAAY2C,EAAW3C,KACnE,IAAImxB,EAEJ,GAAI,CAAClB,GAAUC,IAAS7lB,SAASjC,EAAMnI,KACrCkxB,EAAoBlhB,EAAS7H,EAAMnI,MAAQgwB,GAAW,EAAIhgB,EAASlO,OAAS,OACvE,CACL,MAAM8V,EAAS,CAACmY,GAAiBnV,IAAgBxQ,SAASjC,EAAMnI,KAChEkxB,EAAoB9qB,EAAqB4J,EAAU7H,EAAMlC,OAAQ2R,GAAQ,EAC3E,CAEIsZ,IACFA,EAAkB9U,MAAM,CAAE+U,eAAe,IACzCb,GAAInhB,oBAAoB+hB,GAAmBpX,OAE/C,CAEA0W,eACE,OAAO5gB,EAAe1H,KAAKkoB,GAAqBpnB,KAAK+S,QACvD,CAEA6U,iBACE,OAAO5nB,KAAKwnB,eAAetoB,MAAK+H,GAASjH,KAAK0nB,cAAczgB,MAAW,IACzE,CAEAsgB,sBAAsBrX,EAAQlJ,GAC5BhH,KAAKooB,yBAAyBlY,EAAQ,OAAQ,WAE9C,IAAK,MAAMjJ,KAASD,EAClBhH,KAAKqoB,6BAA6BphB,EAEtC,CAEAohB,6BAA6BphB,GAC3BA,EAAQjH,KAAKsoB,iBAAiBrhB,GAC9B,MAAMshB,EAAWvoB,KAAK0nB,cAAczgB,GAC9BuhB,EAAYxoB,KAAKyoB,iBAAiBxhB,GACxCA,EAAMzD,aAAa,gBAAiB+kB,GAEhCC,IAAcvhB,GAChBjH,KAAKooB,yBAAyBI,EAAW,OAAQ,gBAG9CD,GACHthB,EAAMzD,aAAa,WAAY,MAGjCxD,KAAKooB,yBAAyBnhB,EAAO,OAAQ,OAG7CjH,KAAK0oB,mCAAmCzhB,EAC1C,CAEAyhB,mCAAmCzhB,GACjC,MAAMhK,EAAS2J,EAAekB,uBAAuBb,GAEhDhK,IAIL+C,KAAKooB,yBAAyBnrB,EAAQ,OAAQ,YAE1CgK,EAAM5O,IACR2H,KAAKooB,yBAAyBnrB,EAAQ,kBAAoB,GAAEgK,EAAM5O,MAEtE,CAEA4vB,gBAAgBlxB,EAAS4xB,GACvB,MAAMH,EAAYxoB,KAAKyoB,iBAAiB1xB,GACxC,IAAKyxB,EAAU3uB,UAAUC,SAhMN,YAiMjB,OAGF,MAAMiP,EAASA,CAAChR,EAAUod,KACxB,MAAMpe,EAAU6P,EAAeG,QAAQhP,EAAUywB,GAC7CzxB,GACFA,EAAQ8C,UAAUkP,OAAOoM,EAAWwT,EACtC,EAGF5f,EAAOme,GAA0Bvb,IACjC5C,EAzM2B,iBAyMI+G,IAC/B0Y,EAAUhlB,aAAa,gBAAiBmlB,EAC1C,CAEAP,yBAAyBrxB,EAASmmB,EAAWxa,GACtC3L,EAAQiD,aAAakjB,IACxBnmB,EAAQyM,aAAa0Z,EAAWxa,EAEpC,CAEAglB,cAAcnX,GACZ,OAAOA,EAAK1W,UAAUC,SAAS6R,GACjC,CAGA2c,iBAAiB/X,GACf,OAAOA,EAAKrJ,QAAQkgB,IAAuB7W,EAAO3J,EAAeG,QAAQqgB,GAAqB7W,EAChG,CAGAkY,iBAAiBlY,GACf,OAAOA,EAAKhX,QA1NO,gCA0NoBgX,CACzC,CAGA,sBAAO9U,CAAgB+I,GACrB,OAAOxE,KAAK0I,MAAK,WACf,MAAMC,EAAO2e,GAAInhB,oBAAoBnG,MAErC,GAAsB,iBAAXwE,EAAX,CAIA,QAAqBoE,IAAjBD,EAAKnE,IAAyBA,EAAO/C,WAAW,MAAmB,gBAAX+C,EAC1D,MAAM,IAAIa,UAAW,oBAAmBb,MAG1CmE,EAAKnE,IANL,CAOF,GACF,EAOFjE,EAAac,GAAGtI,SAAU0S,GAAsB5C,IAAsB,SAAU1J,GAC1E,CAAC,IAAK,QAAQiC,SAASpB,KAAKoI,UAC9BjJ,EAAMoD,iBAGJ7I,EAAWsG,OAIfsnB,GAAInhB,oBAAoBnG,MAAM8Q,MAChC,IAKAvQ,EAAac,GAAGrJ,OAAQwT,IAAqB,KAC3C,IAAK,MAAMzU,KAAW6P,EAAe1H,KAAKmoB,IACxCC,GAAInhB,oBAAoBpP,EAC1B,IAMFkE,EAAmBqsB,ICxSnB,MAEMzhB,GAAa,YAEb+iB,GAAmB,YAAW/iB,KAC9BgjB,GAAkB,WAAUhjB,KAC5BiQ,GAAiB,UAASjQ,KAC1BijB,GAAkB,WAAUjjB,KAC5B+J,GAAc,OAAM/J,KACpBgK,GAAgB,SAAQhK,KACxB6J,GAAc,OAAM7J,KACpB8J,GAAe,QAAO9J,KAGtBkjB,GAAkB,OAClBjZ,GAAkB,OAClByK,GAAqB,UAErBlW,GAAc,CAClBmc,UAAW,UACXwI,SAAU,UACVrI,MAAO,UAGHvc,GAAU,CACdoc,WAAW,EACXwI,UAAU,EACVrI,MAAO,KAOT,MAAMsI,WAAc1jB,EAClBV,YAAY9N,EAASyN,GACnBgB,MAAMzO,EAASyN,GAEfxE,KAAKghB,SAAW,KAChBhhB,KAAKkpB,sBAAuB,EAC5BlpB,KAAKmpB,yBAA0B,EAC/BnpB,KAAKshB,eACP,CAGA,kBAAWld,GACT,OAAOA,EACT,CAEA,sBAAWC,GACT,OAAOA,EACT,CAEA,eAAW/I,GACT,MAtDS,OAuDX,CAGAwV,OACoBvQ,EAAasB,QAAQ7B,KAAKyF,SAAUiK,IAExCzN,mBAIdjC,KAAKopB,gBAEDppB,KAAK0F,QAAQ8a,WACfxgB,KAAKyF,SAAS5L,UAAU4Q,IAvDN,QAiEpBzK,KAAKyF,SAAS5L,UAAUlC,OAAOoxB,IAC/BtuB,EAAOuF,KAAKyF,UACZzF,KAAKyF,SAAS5L,UAAU4Q,IAAIqF,GAAiByK,IAE7Cva,KAAKgG,gBAXYsL,KACftR,KAAKyF,SAAS5L,UAAUlC,OAAO4iB,IAC/Bha,EAAasB,QAAQ7B,KAAKyF,SAAUkK,IAEpC3P,KAAKqpB,oBAAoB,GAOGrpB,KAAKyF,SAAUzF,KAAK0F,QAAQ8a,WAC5D,CAEA3P,OACO7Q,KAAKspB,YAIQ/oB,EAAasB,QAAQ7B,KAAKyF,SAAUmK,IAExC3N,mBAUdjC,KAAKyF,SAAS5L,UAAU4Q,IAAI8P,IAC5Bva,KAAKgG,gBAPYsL,KACftR,KAAKyF,SAAS5L,UAAU4Q,IAAIse,IAC5B/oB,KAAKyF,SAAS5L,UAAUlC,OAAO4iB,GAAoBzK,IACnDvP,EAAasB,QAAQ7B,KAAKyF,SAAUoK,GAAa,GAIrB7P,KAAKyF,SAAUzF,KAAK0F,QAAQ8a,YAC5D,CAEA5a,UACE5F,KAAKopB,gBAEDppB,KAAKspB,WACPtpB,KAAKyF,SAAS5L,UAAUlC,OAAOmY,IAGjCtK,MAAMI,SACR,CAEA0jB,UACE,OAAOtpB,KAAKyF,SAAS5L,UAAUC,SAASgW,GAC1C,CAIAuZ,qBACOrpB,KAAK0F,QAAQsjB,WAIdhpB,KAAKkpB,sBAAwBlpB,KAAKmpB,0BAItCnpB,KAAKghB,SAAW7jB,YAAW,KACzB6C,KAAK6Q,MAAM,GACV7Q,KAAK0F,QAAQib,QAClB,CAEA4I,eAAepqB,EAAOqqB,GACpB,OAAQrqB,EAAMsB,MACZ,IAAK,YACL,IAAK,WACHT,KAAKkpB,qBAAuBM,EAC5B,MAGF,IAAK,UACL,IAAK,WACHxpB,KAAKmpB,wBAA0BK,EASnC,GAAIA,EAEF,YADAxpB,KAAKopB,gBAIP,MAAMva,EAAc1P,EAAMU,cACtBG,KAAKyF,WAAaoJ,GAAe7O,KAAKyF,SAAS3L,SAAS+U,IAI5D7O,KAAKqpB,oBACP,CAEA/H,gBACE/gB,EAAac,GAAGrB,KAAKyF,SAAUmjB,IAAiBzpB,GAASa,KAAKupB,eAAepqB,GAAO,KACpFoB,EAAac,GAAGrB,KAAKyF,SAAUojB,IAAgB1pB,GAASa,KAAKupB,eAAepqB,GAAO,KACnFoB,EAAac,GAAGrB,KAAKyF,SAAUqQ,IAAe3W,GAASa,KAAKupB,eAAepqB,GAAO,KAClFoB,EAAac,GAAGrB,KAAKyF,SAAUqjB,IAAgB3pB,GAASa,KAAKupB,eAAepqB,GAAO,IACrF,CAEAiqB,gBACE9a,aAAatO,KAAKghB,UAClBhhB,KAAKghB,SAAW,IAClB,CAGA,sBAAOvlB,CAAgB+I,GACrB,OAAOxE,KAAK0I,MAAK,WACf,MAAMC,EAAOsgB,GAAM9iB,oBAAoBnG,KAAMwE,GAE7C,GAAsB,iBAAXA,EAAqB,CAC9B,QAA4B,IAAjBmE,EAAKnE,GACd,MAAM,IAAIa,UAAW,oBAAmBb,MAG1CmE,EAAKnE,GAAQxE,KACf,CACF,GACF,E,OAOFgI,EAAqBihB,IAMrBhuB,EAAmBguB,IC1MJ,CACb1gB,QACAO,SACA0D,YACA2D,YACA0C,YACA+F,SACA+B,aACAiJ,WACAU,aACAgD,OACA2B,SACAnI,W;;AChCF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxpBA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzwCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtgFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACl4CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5pBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/jCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC1zBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpLA;AACA;AACA;AACA;AACA;AACA;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;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACt0JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACpnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7iBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7jBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC71CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9qBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC72KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACz3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1JA;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;;AChIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjRA;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;;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;;AC3GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACdA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/HA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtkBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjPA;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;;AC5EA;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;;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;;ACzFA;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;;ACrCA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACl6BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC1VA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACjNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACp+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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;ACtLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5SA;AACA;AACA;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;;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;;AC9CA;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;;ACtMA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9sBA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClwCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;ACzHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC7CA;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;;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;;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;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;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;;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;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;;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;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1PA;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;;AClBA;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;;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;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;;ACrEA;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;;ACrBA;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;;AC9NA;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;;AC3BA;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;;ACrBA;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;;ACrBA;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;;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;;AC3CA;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;;ACRA;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;;AClBA;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;;AC/JA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;AC9DA;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;;AChCA;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;;ACvBA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtRA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;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;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;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;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;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;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;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClQA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5tBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/HA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACziBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrqBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;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;;ACxRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC7LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjmBA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACjDA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AClMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACtDA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;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;;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;;ACxUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;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;AACA;AACA;AACA;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;;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;;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;;AC5JA;","file":"vendor.js"}